RTEMS 4.11
Annotated Report
Sat Mar 19 22:55:20 2011

0004a4fc <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 ) {
   4a4fc:	7007           	moveq #7,%d0                                
#define MAXSYMLINK 5                                                  
                                                                      
int IMFS_Set_handlers(                                                
  rtems_filesystem_location_info_t   *loc                             
)                                                                     
{                                                                     
   4a4fe:	4e56 0000      	linkw %fp,#0                                
   4a502:	206e 0008      	moveal %fp@(8),%a0                          
   4a506:	2f0a           	movel %a2,%sp@-                             
  IMFS_jnode_t    *node = loc->node_access;                           
  IMFS_fs_info_t  *fs_info;                                           
                                                                      
  fs_info = loc->mt_entry->fs_info;                                   
   4a508:	2468 0010      	moveal %a0@(16),%a2                         
  switch( node->type ) {                                              
   4a50c:	2250           	moveal %a0@,%a1                             
)                                                                     
{                                                                     
  IMFS_jnode_t    *node = loc->node_access;                           
  IMFS_fs_info_t  *fs_info;                                           
                                                                      
  fs_info = loc->mt_entry->fs_info;                                   
   4a50e:	246a 0034      	moveal %a2@(52),%a2                         
  switch( node->type ) {                                              
   4a512:	b0a9 0048      	cmpl %a1@(72),%d0                           
   4a516:	6526           	bcss 4a53e <IMFS_Set_handlers+0x42>         <== NEVER TAKEN
   4a518:	2029 0048      	movel %a1@(72),%d0                          
   4a51c:	d080           	addl %d0,%d0                                
   4a51e:	303b 0808      	movew %pc@(4a528 <IMFS_Set_handlers+0x2c>,%d0:l),%d0
   4a522:	48c0           	extl %d0                                    
   4a524:	4efb 0802      	jmp %pc@(4a528 <IMFS_Set_handlers+0x2c>,%d0:l)
   4a528:	0016           	.short 0x0016                               <== NOT EXECUTED
   4a52a:	0010           	.short 0x0010                               <== NOT EXECUTED
   4a52c:	004c           	.short 0x004c                               <== NOT EXECUTED
   4a52e:	002c           	.short 0x002c                               <== NOT EXECUTED
   4a530:	002c           	.short 0x002c                               <== NOT EXECUTED
   4a532:	001e           	.short 0x001e                               <== NOT EXECUTED
   4a534:	001e           	.short 0x001e                               <== NOT EXECUTED
   4a536:	003e           	.short 0x003e                               <== NOT EXECUTED
    case IMFS_DIRECTORY:                                              
      loc->handlers = fs_info->directory_handlers;                    
   4a538:	216a 000c 0008 	movel %a2@(12),%a0@(8)                      
      loc->handlers = fs_info->fifo_handlers;                         
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
   4a53e:	245f           	moveal %sp@+,%a2                            
   4a540:	4280           	clrl %d0                                    
   4a542:	4e5e           	unlk %fp                                    
   4a544:	4e75           	rts                                         
   4a546:	4280           	clrl %d0                                    
      break;                                                          
    case IMFS_LINEAR_FILE:                                            
      loc->handlers = fs_info->memfile_handlers;                      
      break;                                                          
    case IMFS_MEMORY_FILE:                                            
      loc->handlers = fs_info->memfile_handlers;                      
   4a548:	216a 0008 0008 	movel %a2@(8),%a0@(8)                       
      loc->handlers = fs_info->fifo_handlers;                         
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
   4a54e:	245f           	moveal %sp@+,%a2                            
   4a550:	4e5e           	unlk %fp                                    
   4a552:	4e75           	rts                                         
   4a554:	245f           	moveal %sp@+,%a2                            
    case IMFS_DEVICE:                                                 
      loc->handlers = &IMFS_device_handlers;                          
      break;                                                          
    case IMFS_SYM_LINK:                                               
    case IMFS_HARD_LINK:                                              
      loc->handlers = &IMFS_link_handlers;                            
   4a556:	203c 0005 e688 	movel #386696,%d0                           
      loc->handlers = fs_info->fifo_handlers;                         
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
   4a55c:	4e5e           	unlk %fp                                    
    case IMFS_DEVICE:                                                 
      loc->handlers = &IMFS_device_handlers;                          
      break;                                                          
    case IMFS_SYM_LINK:                                               
    case IMFS_HARD_LINK:                                              
      loc->handlers = &IMFS_link_handlers;                            
   4a55e:	2140 0008      	movel %d0,%a0@(8)                           
      loc->handlers = fs_info->fifo_handlers;                         
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
   4a562:	4280           	clrl %d0                                    
   4a564:	4e75           	rts                                         
   4a566:	4280           	clrl %d0                                    
      break;                                                          
    case IMFS_MEMORY_FILE:                                            
      loc->handlers = fs_info->memfile_handlers;                      
      break;                                                          
    case IMFS_FIFO:                                                   
      loc->handlers = fs_info->fifo_handlers;                         
   4a568:	216a 0010 0008 	movel %a2@(16),%a0@(8)                      
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
   4a56e:	245f           	moveal %sp@+,%a2                            
   4a570:	4e5e           	unlk %fp                                    
   4a572:	4e75           	rts                                         
   4a574:	245f           	moveal %sp@+,%a2                            
  switch( node->type ) {                                              
    case IMFS_DIRECTORY:                                              
      loc->handlers = fs_info->directory_handlers;                    
      break;                                                          
    case IMFS_DEVICE:                                                 
      loc->handlers = &IMFS_device_handlers;                          
   4a576:	203c 0005 e618 	movel #386584,%d0                           
      loc->handlers = fs_info->fifo_handlers;                         
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
   4a57c:	4e5e           	unlk %fp                                    
  switch( node->type ) {                                              
    case IMFS_DIRECTORY:                                              
      loc->handlers = fs_info->directory_handlers;                    
      break;                                                          
    case IMFS_DEVICE:                                                 
      loc->handlers = &IMFS_device_handlers;                          
   4a57e:	2140 0008      	movel %d0,%a0@(8)                           
      loc->handlers = fs_info->fifo_handlers;                         
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
   4a582:	4280           	clrl %d0                                    <== NOT EXECUTED
                                                                      

0004af1c <IMFS_check_node_remove>: void IMFS_check_node_remove( IMFS_jnode_t *jnode ) {
   4af1c:	4e56 0000      	linkw %fp,#0                                
   4af20:	2f0a           	movel %a2,%sp@-                             
   4af22:	246e 0008      	moveal %fp@(8),%a2                          
  if ( !rtems_libio_is_file_open( jnode ) && jnode->st_nlink < 1 ) {  
   4af26:	2f0a           	movel %a2,%sp@-                             
   4af28:	4eb9 0004 b642 	jsr 4b642 <rtems_libio_is_file_open>        
   4af2e:	588f           	addql #4,%sp                                
   4af30:	4a80           	tstl %d0                                    
   4af32:	6634           	bnes 4af68 <IMFS_check_node_remove+0x4c>    
   4af34:	4a6a 0032      	tstw %a2@(50)                               
   4af38:	662e           	bnes 4af68 <IMFS_check_node_remove+0x4c>    
    if ( rtems_filesystem_current.node_access == jnode )              
   4af3a:	2079 0005 f4e4 	moveal 5f4e4 <rtems_current_user_env>,%a0   
   4af40:	b5e8 0004      	cmpal %a0@(4),%a2                           
   4af44:	6744           	beqs 4af8a <IMFS_check_node_remove+0x6e>    
       rtems_filesystem_current.node_access = NULL;                   
                                                                      
    switch ( jnode->type ) {                                          
   4af46:	202a 0048      	movel %a2@(72),%d0                          
   4af4a:	7204           	moveq #4,%d1                                
   4af4c:	b280           	cmpl %d0,%d1                                
   4af4e:	6748           	beqs 4af98 <IMFS_check_node_remove+0x7c>    
   4af50:	123c 0005      	moveb #5,%d1                                
   4af54:	b280           	cmpl %d0,%d1                                
   4af56:	6718           	beqs 4af70 <IMFS_check_node_remove+0x54>    
        break;                                                        
      default:                                                        
        break;                                                        
    }                                                                 
                                                                      
    free( jnode );                                                    
   4af58:	2d4a 0008      	movel %a2,%fp@(8)                           
  }                                                                   
}                                                                     
   4af5c:	246e fffc      	moveal %fp@(-4),%a2                         
   4af60:	4e5e           	unlk %fp                                    
        break;                                                        
      default:                                                        
        break;                                                        
    }                                                                 
                                                                      
    free( jnode );                                                    
   4af62:	4ef9 0004 2fe4 	jmp 42fe4 <free>                            
  }                                                                   
}                                                                     
   4af68:	246e fffc      	moveal %fp@(-4),%a2                         
   4af6c:	4e5e           	unlk %fp                                    
   4af6e:	4e75           	rts                                         
    if ( rtems_filesystem_current.node_access == jnode )              
       rtems_filesystem_current.node_access = NULL;                   
                                                                      
    switch ( jnode->type ) {                                          
      case IMFS_MEMORY_FILE:                                          
        IMFS_memfile_remove( jnode );                                 
   4af70:	2f0a           	movel %a2,%sp@-                             
   4af72:	4eb9 0004 d5f0 	jsr 4d5f0 <IMFS_memfile_remove>             
        break;                                                        
   4af78:	588f           	addql #4,%sp                                
        break;                                                        
      default:                                                        
        break;                                                        
    }                                                                 
                                                                      
    free( jnode );                                                    
   4af7a:	2d4a 0008      	movel %a2,%fp@(8)                           
  }                                                                   
}                                                                     
   4af7e:	246e fffc      	moveal %fp@(-4),%a2                         
   4af82:	4e5e           	unlk %fp                                    
        break;                                                        
      default:                                                        
        break;                                                        
    }                                                                 
                                                                      
    free( jnode );                                                    
   4af84:	4ef9 0004 2fe4 	jmp 42fe4 <free>                            
{                                                                     
  if ( !rtems_libio_is_file_open( jnode ) && jnode->st_nlink < 1 ) {  
    if ( rtems_filesystem_current.node_access == jnode )              
       rtems_filesystem_current.node_access = NULL;                   
                                                                      
    switch ( jnode->type ) {                                          
   4af8a:	202a 0048      	movel %a2@(72),%d0                          
   4af8e:	7204           	moveq #4,%d1                                
                                                                      
void IMFS_check_node_remove( IMFS_jnode_t *jnode )                    
{                                                                     
  if ( !rtems_libio_is_file_open( jnode ) && jnode->st_nlink < 1 ) {  
    if ( rtems_filesystem_current.node_access == jnode )              
       rtems_filesystem_current.node_access = NULL;                   
   4af90:	42a8 0004      	clrl %a0@(4)                                
                                                                      
    switch ( jnode->type ) {                                          
   4af94:	b280           	cmpl %d0,%d1                                
   4af96:	66b8           	bnes 4af50 <IMFS_check_node_remove+0x34>    <== ALWAYS TAKEN
      case IMFS_MEMORY_FILE:                                          
        IMFS_memfile_remove( jnode );                                 
        break;                                                        
      case IMFS_SYM_LINK:                                             
        free( jnode->info.sym_link.name );                            
   4af98:	2f2a 004c      	movel %a2@(76),%sp@-                        
   4af9c:	4eb9 0004 2fe4 	jsr 42fe4 <free>                            
        break;                                                        
   4afa2:	588f           	addql #4,%sp                                
      default:                                                        
        break;                                                        
    }                                                                 
                                                                      
    free( jnode );                                                    
   4afa4:	2d4a 0008      	movel %a2,%fp@(8)                           
  }                                                                   
}                                                                     
   4afa8:	246e fffc      	moveal %fp@(-4),%a2                         
   4afac:	4e5e           	unlk %fp                                    
        break;                                                        
      default:                                                        
        break;                                                        
    }                                                                 
                                                                      
    free( jnode );                                                    
   4afae:	4ef9 0004 2fe4 	jmp 42fe4 <free>                            
                                                                      

0004a1dc <IMFS_chown>: int IMFS_chown( rtems_filesystem_location_info_t *pathloc, /* IN */ uid_t owner, /* IN */ gid_t group /* IN */ ) {
   4a1dc:	4e56 ffe8      	linkw %fp,#-24                              
   4a1e0:	206e 0008      	moveal %fp@(8),%a0                          
   4a1e4:	48d7 041c      	moveml %d2-%d4/%a2,%sp@                     
  IMFS_jnode_t  *jnode;                                               
#if defined(RTEMS_POSIX_API)                                          
  uid_t          st_uid;                                              
#endif                                                                
                                                                      
  jnode = (IMFS_jnode_t *) pathloc->node_access;                      
   4a1e8:	2450           	moveal %a0@,%a2                             
   */                                                                 
                                                                      
#if defined(RTEMS_POSIX_API)                                          
  st_uid = geteuid();                                                 
                                                                      
  if ( ( st_uid != jnode->st_uid ) && ( st_uid != 0 ) )               
   4a1ea:	4284           	clrl %d4                                    
int IMFS_chown(                                                       
  rtems_filesystem_location_info_t  *pathloc,       /* IN */          
  uid_t                              owner,         /* IN */          
  gid_t                              group          /* IN */          
)                                                                     
{                                                                     
   4a1ec:	362e 000e      	movew %fp@(14),%d3                          
   4a1f0:	342e 0012      	movew %fp@(18),%d2                          
  /*                                                                  
   *  Verify I am the owner of the node or the super user.            
   */                                                                 
                                                                      
#if defined(RTEMS_POSIX_API)                                          
  st_uid = geteuid();                                                 
   4a1f4:	4eb9 0004 b3d0 	jsr 4b3d0 <geteuid>                         
                                                                      
  if ( ( st_uid != jnode->st_uid ) && ( st_uid != 0 ) )               
   4a1fa:	4281           	clrl %d1                                    
   4a1fc:	382a 0038      	movew %a2@(56),%d4                          
   4a200:	3200           	movew %d0,%d1                               
   4a202:	b284           	cmpl %d4,%d1                                
   4a204:	6704           	beqs 4a20a <IMFS_chown+0x2e>                
   4a206:	4a40           	tstw %d0                                    
   4a208:	6628           	bnes 4a232 <IMFS_chown+0x56>                <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EPERM );                    
#endif                                                                
                                                                      
  jnode->st_uid = owner;                                              
   4a20a:	3543 0038      	movew %d3,%a2@(56)                          
  jnode->st_gid = group;                                              
   4a20e:	3542 003a      	movew %d2,%a2@(58)                          
                                                                      
  IMFS_update_ctime( jnode );                                         
   4a212:	42a7           	clrl %sp@-                                  
   4a214:	486e fff8      	pea %fp@(-8)                                
   4a218:	4eb9 0004 3074 	jsr 43074 <gettimeofday>                    
   4a21e:	256e fff8 0044 	movel %fp@(-8),%a2@(68)                     
                                                                      
  return 0;                                                           
   4a224:	508f           	addql #8,%sp                                
   4a226:	4280           	clrl %d0                                    
}                                                                     
   4a228:	4cee 041c ffe8 	moveml %fp@(-24),%d2-%d4/%a2                
   4a22e:	4e5e           	unlk %fp                                    
   4a230:	4e75           	rts                                         
                                                                      
#if defined(RTEMS_POSIX_API)                                          
  st_uid = geteuid();                                                 
                                                                      
  if ( ( st_uid != jnode->st_uid ) && ( st_uid != 0 ) )               
    rtems_set_errno_and_return_minus_one( EPERM );                    
   4a232:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         
   4a238:	7201           	moveq #1,%d1                                
   4a23a:	2040           	moveal %d0,%a0                              
   4a23c:	70ff           	moveq #-1,%d0                               
  jnode->st_gid = group;                                              
                                                                      
  IMFS_update_ctime( jnode );                                         
                                                                      
  return 0;                                                           
}                                                                     
   4a23e:	4cee 041c ffe8 	moveml %fp@(-24),%d2-%d4/%a2                
                                                                      
#if defined(RTEMS_POSIX_API)                                          
  st_uid = geteuid();                                                 
                                                                      
  if ( ( st_uid != jnode->st_uid ) && ( st_uid != 0 ) )               
    rtems_set_errno_and_return_minus_one( EPERM );                    
   4a244:	2081           	movel %d1,%a0@                              
  jnode->st_gid = group;                                              
                                                                      
  IMFS_update_ctime( jnode );                                         
                                                                      
  return 0;                                                           
}                                                                     
   4a246:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004a2ca <IMFS_create_node>: IMFS_jnode_types_t type, const char *name, mode_t mode, const IMFS_types_union *info ) {
   4a2ca:	4e56 ffec      	linkw %fp,#-20                              
   4a2ce:	206e 0008      	moveal %fp@(8),%a0                          
   4a2d2:	48d7 3c04      	moveml %d2/%a2-%a5,%sp@                     
   4a2d6:	242e 000c      	movel %fp@(12),%d2                          
   4a2da:	286e 0018      	moveal %fp@(24),%a4                         
  IMFS_fs_info_t      *fs_info;                                       
                                                                      
  /*                                                                  
   *  MUST have a parent node to call this routine.                   
   */                                                                 
  if ( parent_loc == NULL )                                           
   4a2de:	4a88           	tstl %a0                                    
   4a2e0:	6700 00ac      	beqw 4a38e <IMFS_create_node+0xc4>          
    return NULL;                                                      
                                                                      
  parent = parent_loc->node_access;                                   
  fs_info = parent_loc->mt_entry->fs_info;                            
   4a2e4:	2268 0010      	moveal %a0@(16),%a1                         
                                                                      
  /*                                                                  
   *  Reject creation of FIFOs if support is disabled.                
   */                                                                 
  if ( type == IMFS_FIFO &&                                           
   4a2e8:	7007           	moveq #7,%d0                                
   *  MUST have a parent node to call this routine.                   
   */                                                                 
  if ( parent_loc == NULL )                                           
    return NULL;                                                      
                                                                      
  parent = parent_loc->node_access;                                   
   4a2ea:	2650           	moveal %a0@,%a3                             
  fs_info = parent_loc->mt_entry->fs_info;                            
   4a2ec:	2469 0034      	moveal %a1@(52),%a2                         
                                                                      
  /*                                                                  
   *  Reject creation of FIFOs if support is disabled.                
   */                                                                 
  if ( type == IMFS_FIFO &&                                           
   4a2f0:	b082           	cmpl %d2,%d0                                
   4a2f2:	6700 008c      	beqw 4a380 <IMFS_create_node+0xb6>          
    return NULL;                                                      
                                                                      
  /*                                                                  
   *  Allocate filesystem node and fill in basic information          
   */                                                                 
  node  = IMFS_allocate_node( type, name, mode & ~rtems_filesystem_umask );
   4a2f6:	2079 0005 f4e4 	moveal 5f4e4 <rtems_current_user_env>,%a0   
   4a2fc:	2028 002c      	movel %a0@(44),%d0                          
   4a300:	4680           	notl %d0                                    
   4a302:	c0ae 0014      	andl %fp@(20),%d0                           
   4a306:	2f00           	movel %d0,%sp@-                             
   4a308:	2f2e 0010      	movel %fp@(16),%sp@-                        
   4a30c:	2f02           	movel %d2,%sp@-                             
   4a30e:	4eb9 0004 a24c 	jsr 4a24c <IMFS_allocate_node>              
  if ( !node )                                                        
   4a314:	4fef 000c      	lea %sp@(12),%sp                            
    return NULL;                                                      
                                                                      
  /*                                                                  
   *  Allocate filesystem node and fill in basic information          
   */                                                                 
  node  = IMFS_allocate_node( type, name, mode & ~rtems_filesystem_umask );
   4a318:	2a40           	moveal %d0,%a5                              
  if ( !node )                                                        
   4a31a:	4a80           	tstl %d0                                    
   4a31c:	6756           	beqs 4a374 <IMFS_create_node+0xaa>          
    return NULL;                                                      
                                                                      
  /*                                                                  
   *  Set the type specific information                               
   */                                                                 
  if ( type == IMFS_DIRECTORY ) {                                     
   4a31e:	7001           	moveq #1,%d0                                
   4a320:	b082           	cmpl %d2,%d0                                
   4a322:	6778           	beqs 4a39c <IMFS_create_node+0xd2>          
    rtems_chain_initialize_empty(&node->info.directory.Entries);      
  } else if ( type == IMFS_HARD_LINK ) {                              
   4a324:	7003           	moveq #3,%d0                                
   4a326:	b082           	cmpl %d2,%d0                                
   4a328:	6700 00d6      	beqw 4a400 <IMFS_create_node+0x136>         
    node->info.hard_link.link_node = info->hard_link.link_node;       
  } else if ( type == IMFS_SYM_LINK ) {                               
   4a32c:	7204           	moveq #4,%d1                                
   4a32e:	b282           	cmpl %d2,%d1                                
   4a330:	6700 00ce      	beqw 4a400 <IMFS_create_node+0x136>         
    node->info.sym_link.name = info->sym_link.name;                   
  } else if ( type == IMFS_DEVICE ) {                                 
   4a334:	7002           	moveq #2,%d0                                
   4a336:	b082           	cmpl %d2,%d0                                
   4a338:	6700 0098      	beqw 4a3d2 <IMFS_create_node+0x108>         
    node->info.device.major = info->device.major;                     
    node->info.device.minor = info->device.minor;                     
  } else if ( type == IMFS_LINEAR_FILE ) {                            
   4a33c:	7206           	moveq #6,%d1                                
   4a33e:	b282           	cmpl %d2,%d1                                
   4a340:	6700 010e      	beqw 4a450 <IMFS_create_node+0x186>         
    node->info.linearfile.size      = 0;                              
    node->info.linearfile.direct    = 0;                              
  } else if ( type == IMFS_MEMORY_FILE ) {                            
   4a344:	7205           	moveq #5,%d1                                
   4a346:	b282           	cmpl %d2,%d1                                
   4a348:	6700 013a      	beqw 4a484 <IMFS_create_node+0x1ba>         
      node->info.file.size            = 0;                            
      node->info.file.indirect        = 0;                            
      node->info.file.doubly_indirect = 0;                            
      node->info.file.triply_indirect = 0;                            
  } else if ( type == IMFS_FIFO ) {                                   
   4a34c:	7207           	moveq #7,%d1                                
   4a34e:	b282           	cmpl %d2,%d1                                
   4a350:	6700 00d6      	beqw 4a428 <IMFS_create_node+0x15e>         
                                                                      
  /*                                                                  
   *  This node MUST have a parent, so put it in that directory list. 
   */                                                                 
  node->Parent = parent;                                              
  node->st_ino = ++fs_info->ino_count;                                
   4a354:	202a 0004      	movel %a2@(4),%d0                           <== NOT EXECUTED
   4a358:	5280           	addql #1,%d0                                <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   *  This node MUST have a parent, so put it in that directory list. 
   */                                                                 
  node->Parent = parent;                                              
   4a35a:	2b4b 0008      	movel %a3,%a5@(8)                           <== NOT EXECUTED
  node->st_ino = ++fs_info->ino_count;                                
   4a35e:	2540 0004      	movel %d0,%a2@(4)                           <== NOT EXECUTED
   4a362:	2b40 0034      	movel %d0,%a5@(52)                          <== NOT EXECUTED
   4a366:	2f0d           	movel %a5,%sp@-                             <== NOT EXECUTED
   4a368:	486b 004c      	pea %a3@(76)                                <== NOT EXECUTED
   4a36c:	4eb9 0004 71dc 	jsr 471dc <_Chain_Append>                   <== NOT EXECUTED
                                                                      
  rtems_chain_append( &parent->info.directory.Entries, &node->Node ); 
                                                                      
  return node;                                                        
   4a372:	508f           	addql #8,%sp                                <== NOT EXECUTED
}                                                                     
   4a374:	200d           	movel %a5,%d0                               
   4a376:	4cee 3c04 ffec 	moveml %fp@(-20),%d2/%a2-%a5                
   4a37c:	4e5e           	unlk %fp                                    
   4a37e:	4e75           	rts                                         
  fs_info = parent_loc->mt_entry->fs_info;                            
                                                                      
  /*                                                                  
   *  Reject creation of FIFOs if support is disabled.                
   */                                                                 
  if ( type == IMFS_FIFO &&                                           
   4a380:	223c 0005 e5a8 	movel #386472,%d1                           
   4a386:	b2aa 0010      	cmpl %a2@(16),%d1                           
   4a38a:	6600 ff6a      	bnew 4a2f6 <IMFS_create_node+0x2c>          
       fs_info->fifo_handlers == &rtems_filesystem_handlers_default ) 
    return NULL;                                                      
   4a38e:	9bcd           	subal %a5,%a5                               
  node->st_ino = ++fs_info->ino_count;                                
                                                                      
  rtems_chain_append( &parent->info.directory.Entries, &node->Node ); 
                                                                      
  return node;                                                        
}                                                                     
   4a390:	200d           	movel %a5,%d0                               
   4a392:	4cee 3c04 ffec 	moveml %fp@(-20),%d2/%a2-%a5                
   4a398:	4e5e           	unlk %fp                                    
   4a39a:	4e75           	rts                                         
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
   4a39c:	41ed 0050      	lea %a5@(80),%a0                            
   4a3a0:	2b48 004c      	movel %a0,%a5@(76)                          
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
   4a3a4:	41ed 004c      	lea %a5@(76),%a0                            
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
   4a3a8:	42ad 0050      	clrl %a5@(80)                               
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
   4a3ac:	2b48 0054      	movel %a0,%a5@(84)                          
                                                                      
  /*                                                                  
   *  This node MUST have a parent, so put it in that directory list. 
   */                                                                 
  node->Parent = parent;                                              
  node->st_ino = ++fs_info->ino_count;                                
   4a3b0:	202a 0004      	movel %a2@(4),%d0                           
   4a3b4:	5280           	addql #1,%d0                                
  }                                                                   
                                                                      
  /*                                                                  
   *  This node MUST have a parent, so put it in that directory list. 
   */                                                                 
  node->Parent = parent;                                              
   4a3b6:	2b4b 0008      	movel %a3,%a5@(8)                           
  node->st_ino = ++fs_info->ino_count;                                
   4a3ba:	2540 0004      	movel %d0,%a2@(4)                           
   4a3be:	2b40 0034      	movel %d0,%a5@(52)                          
   4a3c2:	2f0d           	movel %a5,%sp@-                             
   4a3c4:	486b 004c      	pea %a3@(76)                                
   4a3c8:	4eb9 0004 71dc 	jsr 471dc <_Chain_Append>                   
                                                                      
  rtems_chain_append( &parent->info.directory.Entries, &node->Node ); 
                                                                      
  return node;                                                        
   4a3ce:	508f           	addql #8,%sp                                
   4a3d0:	60a2           	bras 4a374 <IMFS_create_node+0xaa>          
  } else if ( type == IMFS_HARD_LINK ) {                              
    node->info.hard_link.link_node = info->hard_link.link_node;       
  } else if ( type == IMFS_SYM_LINK ) {                               
    node->info.sym_link.name = info->sym_link.name;                   
  } else if ( type == IMFS_DEVICE ) {                                 
    node->info.device.major = info->device.major;                     
   4a3d2:	2b54 004c      	movel %a4@,%a5@(76)                         
    node->info.device.minor = info->device.minor;                     
   4a3d6:	2b6c 0004 0050 	movel %a4@(4),%a5@(80)                      
                                                                      
  /*                                                                  
   *  This node MUST have a parent, so put it in that directory list. 
   */                                                                 
  node->Parent = parent;                                              
  node->st_ino = ++fs_info->ino_count;                                
   4a3dc:	202a 0004      	movel %a2@(4),%d0                           
   4a3e0:	5280           	addql #1,%d0                                
  }                                                                   
                                                                      
  /*                                                                  
   *  This node MUST have a parent, so put it in that directory list. 
   */                                                                 
  node->Parent = parent;                                              
   4a3e2:	2b4b 0008      	movel %a3,%a5@(8)                           
  node->st_ino = ++fs_info->ino_count;                                
   4a3e6:	2540 0004      	movel %d0,%a2@(4)                           
   4a3ea:	2b40 0034      	movel %d0,%a5@(52)                          
   4a3ee:	2f0d           	movel %a5,%sp@-                             
   4a3f0:	486b 004c      	pea %a3@(76)                                
   4a3f4:	4eb9 0004 71dc 	jsr 471dc <_Chain_Append>                   
                                                                      
  rtems_chain_append( &parent->info.directory.Entries, &node->Node ); 
                                                                      
  return node;                                                        
   4a3fa:	508f           	addql #8,%sp                                
   4a3fc:	6000 ff76      	braw 4a374 <IMFS_create_node+0xaa>          
  if ( type == IMFS_DIRECTORY ) {                                     
    rtems_chain_initialize_empty(&node->info.directory.Entries);      
  } else if ( type == IMFS_HARD_LINK ) {                              
    node->info.hard_link.link_node = info->hard_link.link_node;       
  } else if ( type == IMFS_SYM_LINK ) {                               
    node->info.sym_link.name = info->sym_link.name;                   
   4a400:	2b54 004c      	movel %a4@,%a5@(76)                         
                                                                      
  /*                                                                  
   *  This node MUST have a parent, so put it in that directory list. 
   */                                                                 
  node->Parent = parent;                                              
  node->st_ino = ++fs_info->ino_count;                                
   4a404:	202a 0004      	movel %a2@(4),%d0                           
   4a408:	5280           	addql #1,%d0                                
  }                                                                   
                                                                      
  /*                                                                  
   *  This node MUST have a parent, so put it in that directory list. 
   */                                                                 
  node->Parent = parent;                                              
   4a40a:	2b4b 0008      	movel %a3,%a5@(8)                           
  node->st_ino = ++fs_info->ino_count;                                
   4a40e:	2540 0004      	movel %d0,%a2@(4)                           
   4a412:	2b40 0034      	movel %d0,%a5@(52)                          
   4a416:	2f0d           	movel %a5,%sp@-                             
   4a418:	486b 004c      	pea %a3@(76)                                
   4a41c:	4eb9 0004 71dc 	jsr 471dc <_Chain_Append>                   
                                                                      
  rtems_chain_append( &parent->info.directory.Entries, &node->Node ); 
                                                                      
  return node;                                                        
   4a422:	508f           	addql #8,%sp                                
   4a424:	6000 ff4e      	braw 4a374 <IMFS_create_node+0xaa>          
      node->info.file.size            = 0;                            
      node->info.file.indirect        = 0;                            
      node->info.file.doubly_indirect = 0;                            
      node->info.file.triply_indirect = 0;                            
  } else if ( type == IMFS_FIFO ) {                                   
    node->info.fifo.pipe = NULL;                                      
   4a428:	42ad 004c      	clrl %a5@(76)                               
                                                                      
  /*                                                                  
   *  This node MUST have a parent, so put it in that directory list. 
   */                                                                 
  node->Parent = parent;                                              
  node->st_ino = ++fs_info->ino_count;                                
   4a42c:	202a 0004      	movel %a2@(4),%d0                           
  }                                                                   
                                                                      
  /*                                                                  
   *  This node MUST have a parent, so put it in that directory list. 
   */                                                                 
  node->Parent = parent;                                              
   4a430:	2b4b 0008      	movel %a3,%a5@(8)                           
  node->st_ino = ++fs_info->ino_count;                                
   4a434:	5280           	addql #1,%d0                                
   4a436:	2540 0004      	movel %d0,%a2@(4)                           
   4a43a:	2b40 0034      	movel %d0,%a5@(52)                          
   4a43e:	2f0d           	movel %a5,%sp@-                             
   4a440:	486b 004c      	pea %a3@(76)                                
   4a444:	4eb9 0004 71dc 	jsr 471dc <_Chain_Append>                   
                                                                      
  rtems_chain_append( &parent->info.directory.Entries, &node->Node ); 
                                                                      
  return node;                                                        
   4a44a:	508f           	addql #8,%sp                                
   4a44c:	6000 ff26      	braw 4a374 <IMFS_create_node+0xaa>          
  } else if ( type == IMFS_DEVICE ) {                                 
    node->info.device.major = info->device.major;                     
    node->info.device.minor = info->device.minor;                     
  } else if ( type == IMFS_LINEAR_FILE ) {                            
    node->info.linearfile.size      = 0;                              
    node->info.linearfile.direct    = 0;                              
   4a450:	42ad 0054      	clrl %a5@(84)                               
    node->info.sym_link.name = info->sym_link.name;                   
  } else if ( type == IMFS_DEVICE ) {                                 
    node->info.device.major = info->device.major;                     
    node->info.device.minor = info->device.minor;                     
  } else if ( type == IMFS_LINEAR_FILE ) {                            
    node->info.linearfile.size      = 0;                              
   4a454:	4280           	clrl %d0                                    
   4a456:	4281           	clrl %d1                                    
  }                                                                   
                                                                      
  /*                                                                  
   *  This node MUST have a parent, so put it in that directory list. 
   */                                                                 
  node->Parent = parent;                                              
   4a458:	2b4b 0008      	movel %a3,%a5@(8)                           
    node->info.sym_link.name = info->sym_link.name;                   
  } else if ( type == IMFS_DEVICE ) {                                 
    node->info.device.major = info->device.major;                     
    node->info.device.minor = info->device.minor;                     
  } else if ( type == IMFS_LINEAR_FILE ) {                            
    node->info.linearfile.size      = 0;                              
   4a45c:	2b40 004c      	movel %d0,%a5@(76)                          
   4a460:	2b41 0050      	movel %d1,%a5@(80)                          
                                                                      
  /*                                                                  
   *  This node MUST have a parent, so put it in that directory list. 
   */                                                                 
  node->Parent = parent;                                              
  node->st_ino = ++fs_info->ino_count;                                
   4a464:	202a 0004      	movel %a2@(4),%d0                           
   4a468:	5280           	addql #1,%d0                                
   4a46a:	2540 0004      	movel %d0,%a2@(4)                           
   4a46e:	2b40 0034      	movel %d0,%a5@(52)                          
   4a472:	2f0d           	movel %a5,%sp@-                             
   4a474:	486b 004c      	pea %a3@(76)                                
   4a478:	4eb9 0004 71dc 	jsr 471dc <_Chain_Append>                   
                                                                      
  rtems_chain_append( &parent->info.directory.Entries, &node->Node ); 
                                                                      
  return node;                                                        
   4a47e:	508f           	addql #8,%sp                                
   4a480:	6000 fef2      	braw 4a374 <IMFS_create_node+0xaa>          
  } else if ( type == IMFS_LINEAR_FILE ) {                            
    node->info.linearfile.size      = 0;                              
    node->info.linearfile.direct    = 0;                              
  } else if ( type == IMFS_MEMORY_FILE ) {                            
      node->info.file.size            = 0;                            
      node->info.file.indirect        = 0;                            
   4a484:	42ad 0054      	clrl %a5@(84)                               
    node->info.device.minor = info->device.minor;                     
  } else if ( type == IMFS_LINEAR_FILE ) {                            
    node->info.linearfile.size      = 0;                              
    node->info.linearfile.direct    = 0;                              
  } else if ( type == IMFS_MEMORY_FILE ) {                            
      node->info.file.size            = 0;                            
   4a488:	4280           	clrl %d0                                    
   4a48a:	4281           	clrl %d1                                    
      node->info.file.indirect        = 0;                            
      node->info.file.doubly_indirect = 0;                            
   4a48c:	42ad 0058      	clrl %a5@(88)                               
    node->info.device.minor = info->device.minor;                     
  } else if ( type == IMFS_LINEAR_FILE ) {                            
    node->info.linearfile.size      = 0;                              
    node->info.linearfile.direct    = 0;                              
  } else if ( type == IMFS_MEMORY_FILE ) {                            
      node->info.file.size            = 0;                            
   4a490:	2b40 004c      	movel %d0,%a5@(76)                          
   4a494:	2b41 0050      	movel %d1,%a5@(80)                          
      node->info.file.indirect        = 0;                            
      node->info.file.doubly_indirect = 0;                            
      node->info.file.triply_indirect = 0;                            
   4a498:	42ad 005c      	clrl %a5@(92)                               
                                                                      
  /*                                                                  
   *  This node MUST have a parent, so put it in that directory list. 
   */                                                                 
  node->Parent = parent;                                              
  node->st_ino = ++fs_info->ino_count;                                
   4a49c:	202a 0004      	movel %a2@(4),%d0                           
   4a4a0:	5280           	addql #1,%d0                                
  }                                                                   
                                                                      
  /*                                                                  
   *  This node MUST have a parent, so put it in that directory list. 
   */                                                                 
  node->Parent = parent;                                              
   4a4a2:	2b4b 0008      	movel %a3,%a5@(8)                           
  node->st_ino = ++fs_info->ino_count;                                
   4a4a6:	2540 0004      	movel %d0,%a2@(4)                           
   4a4aa:	2b40 0034      	movel %d0,%a5@(52)                          
   4a4ae:	2f0d           	movel %a5,%sp@-                             
   4a4b0:	486b 004c      	pea %a3@(76)                                
   4a4b4:	4eb9 0004 71dc 	jsr 471dc <_Chain_Append>                   
                                                                      
  rtems_chain_append( &parent->info.directory.Entries, &node->Node ); 
                                                                      
  return node;                                                        
   4a4ba:	508f           	addql #8,%sp                                
   4a4bc:	6000 feb6      	braw 4a374 <IMFS_create_node+0xaa>          
                                                                      

00045214 <IMFS_dump_directory>: */ void IMFS_dump_directory( IMFS_jnode_t *the_directory, int level ) {
   45214:	4e56 ffe0      	linkw %fp,#-32                              
   45218:	206e 0008      	moveal %fp@(8),%a0                          
   4521c:	48d7 3c3c      	moveml %d2-%d5/%a2-%a5,%sp@                 
RTEMS_INLINE_ROUTINE bool _Chain_Is_tail(                             
  Chain_Control *the_chain,                                           
  const Chain_Node    *the_node                                       
)                                                                     
{                                                                     
  return (the_node == _Chain_Tail(the_chain));                        
   45220:	2808           	movel %a0,%d4                               
   45222:	0684 0000 0050 	addil #80,%d4                               
   45228:	262e 000c      	movel %fp@(12),%d3                          
 *                                                                    
 */                                                                   
int IMFS_memfile_maximum_size( void )                                 
{                                                                     
  return IMFS_MEMFILE_MAXIMUM_SIZE;                                   
}                                                                     
   4522c:	2668 004c      	moveal %a0@(76),%a3                         
  IMFS_assert( level >= 0 );                                          
  IMFS_assert( the_directory->type == IMFS_DIRECTORY );               
                                                                      
  the_chain = &the_directory->info.directory.Entries;                 
                                                                      
  for ( the_node = rtems_chain_first( the_chain );                    
   45230:	b88b           	cmpl %a3,%d4                                
   45232:	6754           	beqs 45288 <IMFS_dump_directory+0x74>       
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
      fprintf(stdout, "...." );                                       
    IMFS_print_jnode( the_jnode );                                    
    if ( the_jnode->type == IMFS_DIRECTORY )                          
      IMFS_dump_directory( the_jnode, level + 1 );                    
   45234:	2a03           	movel %d3,%d5                               
   45236:	49f9 0004 5088 	lea 45088 <IMFS_print_jnode>,%a4            
   4523c:	45f9 0005 4210 	lea 54210 <fwrite>,%a2                      
   45242:	5285           	addql #1,%d5                                
   45244:	4bf9 0004 5214 	lea 45214 <IMFS_dump_directory>,%a5         
        !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++ )                                      
   4524a:	4a83           	tstl %d3                                    
   4524c:	6d26           	blts 45274 <IMFS_dump_directory+0x60>       <== NEVER TAKEN
   4524e:	4282           	clrl %d2                                    
      fprintf(stdout, "...." );                                       
   45250:	2079 0006 584c 	moveal 6584c <_impure_ptr>,%a0              
        !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++ )                                      
   45256:	5282           	addql #1,%d2                                
      fprintf(stdout, "...." );                                       
   45258:	2f28 0008      	movel %a0@(8),%sp@-                         
   4525c:	4878 0004      	pea 4 <CONTEXT_ARG>                         
   45260:	4878 0001      	pea 1 <ADD>                                 
   45264:	4879 0006 3f17 	pea 63f17 <IntUartPollCallbacks.6374+0x83>  
   4526a:	4e92           	jsr %a2@                                    
        !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++ )                                      
   4526c:	4fef 0010      	lea %sp@(16),%sp                            
   45270:	b483           	cmpl %d3,%d2                                
   45272:	6fdc           	bles 45250 <IMFS_dump_directory+0x3c>       
      fprintf(stdout, "...." );                                       
    IMFS_print_jnode( the_jnode );                                    
   45274:	2f0b           	movel %a3,%sp@-                             
   45276:	4e94           	jsr %a4@                                    
    if ( the_jnode->type == IMFS_DIRECTORY )                          
   45278:	588f           	addql #4,%sp                                
   4527a:	7001           	moveq #1,%d0                                
   4527c:	b0ab 0048      	cmpl %a3@(72),%d0                           
   45280:	6710           	beqs 45292 <IMFS_dump_directory+0x7e>       
                                                                      
  the_chain = &the_directory->info.directory.Entries;                 
                                                                      
  for ( the_node = rtems_chain_first( the_chain );                    
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
   45282:	2653           	moveal %a3@,%a3                             
  IMFS_assert( level >= 0 );                                          
  IMFS_assert( the_directory->type == IMFS_DIRECTORY );               
                                                                      
  the_chain = &the_directory->info.directory.Entries;                 
                                                                      
  for ( the_node = rtems_chain_first( the_chain );                    
   45284:	b88b           	cmpl %a3,%d4                                
   45286:	66c2           	bnes 4524a <IMFS_dump_directory+0x36>       
      fprintf(stdout, "...." );                                       
    IMFS_print_jnode( the_jnode );                                    
    if ( the_jnode->type == IMFS_DIRECTORY )                          
      IMFS_dump_directory( the_jnode, level + 1 );                    
  }                                                                   
}                                                                     
   45288:	4cee 3c3c ffe0 	moveml %fp@(-32),%d2-%d5/%a2-%a5            
   4528e:	4e5e           	unlk %fp                                    
   45290:	4e75           	rts                                         
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
      fprintf(stdout, "...." );                                       
    IMFS_print_jnode( the_jnode );                                    
    if ( the_jnode->type == IMFS_DIRECTORY )                          
      IMFS_dump_directory( the_jnode, level + 1 );                    
   45292:	2f05           	movel %d5,%sp@-                             
   45294:	2f0b           	movel %a3,%sp@-                             
   45296:	4e95           	jsr %a5@                                    
                                                                      
  the_chain = &the_directory->info.directory.Entries;                 
                                                                      
  for ( the_node = rtems_chain_first( the_chain );                    
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
   45298:	2653           	moveal %a3@,%a3                             
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
      fprintf(stdout, "...." );                                       
    IMFS_print_jnode( the_jnode );                                    
    if ( the_jnode->type == IMFS_DIRECTORY )                          
      IMFS_dump_directory( the_jnode, level + 1 );                    
   4529a:	508f           	addql #8,%sp                                
  IMFS_assert( level >= 0 );                                          
  IMFS_assert( the_directory->type == IMFS_DIRECTORY );               
                                                                      
  the_chain = &the_directory->info.directory.Entries;                 
                                                                      
  for ( the_node = rtems_chain_first( the_chain );                    
   4529c:	b88b           	cmpl %a3,%d4                                
   4529e:	66aa           	bnes 4524a <IMFS_dump_directory+0x36>       
   452a0:	60e6           	bras 45288 <IMFS_dump_directory+0x74>       
                                                                      

0004a66c <IMFS_eval_path>: 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 ) ) {
   4a66c:	70f8           	moveq #-8,%d0                               
  const char                        *pathname,     /* IN     */       
  size_t                             pathnamelen,  /* IN     */       
  int                                flags,        /* IN     */       
  rtems_filesystem_location_info_t  *pathloc       /* IN/OUT */       
                   )                                                  
{                                                                     
   4a66e:	4e56 ffb0      	linkw %fp,#-80                              
  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 ) ) {                       
   4a672:	c0ae 0010      	andl %fp@(16),%d0                           
  const char                        *pathname,     /* IN     */       
  size_t                             pathnamelen,  /* IN     */       
  int                                flags,        /* IN     */       
  rtems_filesystem_location_info_t  *pathloc       /* IN/OUT */       
                   )                                                  
{                                                                     
   4a676:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
   4a67a:	2a6e 0008      	moveal %fp@(8),%a5                          
   4a67e:	246e 000c      	moveal %fp@(12),%a2                         
   4a682:	286e 0014      	moveal %fp@(20),%a4                         
  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 ) ) {                       
   4a686:	4a80           	tstl %d0                                    
   4a688:	6600 0238      	bnew 4a8c2 <IMFS_eval_path+0x256>           
   4a68c:	2c0e           	movel %fp,%d6                               
   4a68e:	280e           	movel %fp,%d4                               
  size_t                             pathnamelen,  /* IN     */       
  int                                flags,        /* IN     */       
  rtems_filesystem_location_info_t  *pathloc       /* IN/OUT */       
                   )                                                  
{                                                                     
  int                                 i = 0;                          
   4a690:	4282           	clrl %d2                                    
   4a692:	5986           	subql #4,%d6                                
   4a694:	0684 ffff ffdb 	addil #-37,%d4                              
   4a69a:	2a3c 0004 adf8 	movel #306680,%d5                           
        }                                                             
                                                                      
        /*                                                            
         *  Otherwise find the token name in the present location.    
         */                                                           
        node = IMFS_find_match_in_dir( node, token );                 
   4a6a0:	2e3c 0004 ad7c 	movel #306556,%d7                           
  /*                                                                  
   *  This was filled in by the caller and is valid in the            
   *  mount table.                                                    
   */                                                                 
                                                                      
  node = pathloc->node_access;                                        
   4a6a6:	2654           	moveal %a4@,%a3                             
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
                                                                      
    type = IMFS_get_token( &pathname[i], pathnamelen, token, &len );  
   4a6a8:	2f06           	movel %d6,%sp@-                             
   4a6aa:	2045           	moveal %d5,%a0                              
   4a6ac:	2f04           	movel %d4,%sp@-                             
   4a6ae:	2f0a           	movel %a2,%sp@-                             
   4a6b0:	4875 2800      	pea %a5@(00000000,%d2:l)                    
   4a6b4:	4e90           	jsr %a0@                                    
    pathnamelen -= len;                                               
    i += len;                                                         
                                                                      
    if ( !pathloc->node_access )                                      
   4a6b6:	2054           	moveal %a4@,%a0                             
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
                                                                      
    type = IMFS_get_token( &pathname[i], pathnamelen, token, &len );  
   4a6b8:	2600           	movel %d0,%d3                               
    pathnamelen -= len;                                               
    i += len;                                                         
                                                                      
    if ( !pathloc->node_access )                                      
   4a6ba:	4fef 0010      	lea %sp@(16),%sp                            
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
                                                                      
    type = IMFS_get_token( &pathname[i], pathnamelen, token, &len );  
    pathnamelen -= len;                                               
   4a6be:	202e fffc      	movel %fp@(-4),%d0                          
    i += len;                                                         
                                                                      
    if ( !pathloc->node_access )                                      
   4a6c2:	4a88           	tstl %a0                                    
   4a6c4:	6700 00f8      	beqw 4a7be <IMFS_eval_path+0x152>           
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
                                                                      
    type = IMFS_get_token( &pathname[i], pathnamelen, token, &len );  
    pathnamelen -= len;                                               
   4a6c8:	95c0           	subal %d0,%a2                               
    i += len;                                                         
   4a6ca:	d480           	addl %d0,%d2                                
      rtems_set_errno_and_return_minus_one( ENOENT );                 
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
    if ( type != IMFS_NO_MORE_PATH )                                  
   4a6cc:	4a83           	tstl %d3                                    
   4a6ce:	6662           	bnes 4a732 <IMFS_eval_path+0xc6>            
   *  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 ) {                               
   4a6d0:	7201           	moveq #1,%d1                                
   4a6d2:	b2a8 0048      	cmpl %a0@(72),%d1                           
   4a6d6:	6600 0132      	bnew 4a80a <IMFS_eval_path+0x19e>           
    if ( node->info.directory.mt_fs != NULL ) {                       
   4a6da:	2068 0058      	moveal %a0@(88),%a0                         
   4a6de:	4a88           	tstl %a0                                    
   4a6e0:	6700 0128      	beqw 4a80a <IMFS_eval_path+0x19e>           
   4a6e4:	28a8 001c      	movel %a0@(28),%a4@                         
   4a6e8:	2268 0028      	moveal %a0@(40),%a1                         
   4a6ec:	2628 0020      	movel %a0@(32),%d3                          
   4a6f0:	2228 0024      	movel %a0@(36),%d1                          
   4a6f4:	2028 002c      	movel %a0@(44),%d0                          
      newloc   = node->info.directory.mt_fs->mt_fs_root;              
      *pathloc = newloc;                                              
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
   4a6f8:	2f0c           	movel %a4,%sp@-                             
   4a6fa:	2f2e 0010      	movel %fp@(16),%sp@-                        
   4a6fe:	206e fffc      	moveal %fp@(-4),%a0                         
   4a702:	4872 8800      	pea %a2@(00000000,%a0:l)                    
   4a706:	9488           	subl %a0,%d2                                
   4a708:	4875 2800      	pea %a5@(00000000,%d2:l)                    
   4a70c:	2051           	moveal %a1@,%a0                             
   *                                                                  
   *  NOTE: The behavior of stat() on a mount point appears to be questionable.
   */                                                                 
                                                                      
  if ( node->type == IMFS_DIRECTORY ) {                               
    if ( node->info.directory.mt_fs != NULL ) {                       
   4a70e:	2943 0004      	movel %d3,%a4@(4)                           
   4a712:	2941 0008      	movel %d1,%a4@(8)                           
   4a716:	2949 000c      	movel %a1,%a4@(12)                          
   4a71a:	2940 0010      	movel %d0,%a4@(16)                          
      newloc   = node->info.directory.mt_fs->mt_fs_root;              
      *pathloc = newloc;                                              
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
   4a71e:	4e90           	jsr %a0@                                    
   4a720:	4fef 0010      	lea %sp@(16),%sp                            
   4a724:	2600           	movel %d0,%d3                               
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
   4a726:	2003           	movel %d3,%d0                               
   4a728:	4cee 3cfc ffb0 	moveml %fp@(-80),%d2-%d7/%a2-%a5            
   4a72e:	4e5e           	unlk %fp                                    
   4a730:	4e75           	rts                                         
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
    if ( type != IMFS_NO_MORE_PATH )                                  
      if ( node->type == IMFS_DIRECTORY )                             
   4a732:	7001           	moveq #1,%d0                                
   4a734:	b0ab 0048      	cmpl %a3@(72),%d0                           
   4a738:	6700 00b8      	beqw 4a7f2 <IMFS_eval_path+0x186>           
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
          rtems_set_errno_and_return_minus_one( EACCES );             
                                                                      
    node = pathloc->node_access;                                      
   4a73c:	2648           	moveal %a0,%a3                              
                                                                      
    switch( type ) {                                                  
   4a73e:	7003           	moveq #3,%d0                                
   4a740:	b083           	cmpl %d3,%d0                                
   4a742:	671c           	beqs 4a760 <IMFS_eval_path+0xf4>            
   4a744:	7204           	moveq #4,%d1                                
   4a746:	b283           	cmpl %d3,%d1                                
   4a748:	6700 008e      	beqw 4a7d8 <IMFS_eval_path+0x16c>           
   4a74c:	103c 0002      	moveb #2,%d0                                
   4a750:	b083           	cmpl %d3,%d0                                
   4a752:	6748           	beqs 4a79c <IMFS_eval_path+0x130>           
                                                                      
  /*                                                                  
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
   4a754:	7004           	moveq #4,%d0                                
   4a756:	b083           	cmpl %d3,%d0                                
   4a758:	6600 ff4e      	bnew 4a6a8 <IMFS_eval_path+0x3c>            
   4a75c:	6000 ff72      	braw 4a6d0 <IMFS_eval_path+0x64>            <== NOT EXECUTED
                                                                      
      case IMFS_NAME:                                                 
        /*                                                            
         *  If we are at a link follow it.                            
         */                                                           
        if ( node->type == IMFS_HARD_LINK ) {                         
   4a760:	2028 0048      	movel %a0@(72),%d0                          
   4a764:	7203           	moveq #3,%d1                                
   4a766:	b280           	cmpl %d0,%d1                                
   4a768:	6700 00d8      	beqw 4a842 <IMFS_eval_path+0x1d6>           
	   * It would be a design error if we evaluated the link and         
	   * was broken.                                                     
	   */                                                                
          IMFS_assert( node );                                        
                                                                      
        } else if ( node->type == IMFS_SYM_LINK ) {                   
   4a76c:	7204           	moveq #4,%d1                                
   4a76e:	b280           	cmpl %d0,%d1                                
   4a770:	6700 0134      	beqw 4a8a6 <IMFS_eval_path+0x23a>           
        }                                                             
                                                                      
        /*                                                            
         *  Only a directory can be decended into.                    
         */                                                           
        if ( node->type != IMFS_DIRECTORY )                           
   4a774:	7201           	moveq #1,%d1                                
   4a776:	b280           	cmpl %d0,%d1                                
   4a778:	6600 0162      	bnew 4a8dc <IMFS_eval_path+0x270>           
                                                                      
        /*                                                            
         *  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 ) {                   
   4a77c:	206b 0058      	moveal %a3@(88),%a0                         
   4a780:	4a88           	tstl %a0                                    
   4a782:	6600 ff60      	bnew 4a6e4 <IMFS_eval_path+0x78>            
        }                                                             
                                                                      
        /*                                                            
         *  Otherwise find the token name in the present location.    
         */                                                           
        node = IMFS_find_match_in_dir( node, token );                 
   4a786:	2f04           	movel %d4,%sp@-                             
   4a788:	2047           	moveal %d7,%a0                              
   4a78a:	2f0b           	movel %a3,%sp@-                             
   4a78c:	4e90           	jsr %a0@                                    
        if ( !node )                                                  
   4a78e:	508f           	addql #8,%sp                                
        }                                                             
                                                                      
        /*                                                            
         *  Otherwise find the token name in the present location.    
         */                                                           
        node = IMFS_find_match_in_dir( node, token );                 
   4a790:	2640           	moveal %d0,%a3                              
        if ( !node )                                                  
   4a792:	4a80           	tstl %d0                                    
   4a794:	6728           	beqs 4a7be <IMFS_eval_path+0x152>           
                                                                      
        /*                                                            
         *  Set the node access to the point we have found.           
         */                                                           
                                                                      
        pathloc->node_access = node;                                  
   4a796:	288b           	movel %a3,%a4@                              
   4a798:	6000 ff0e      	braw 4a6a8 <IMFS_eval_path+0x3c>            
      case IMFS_UP_DIR:                                               
        /*                                                            
         *  Am I at the root of all filesystems? (chroot'ed?)         
         */                                                           
                                                                      
        if ( pathloc->node_access == rtems_filesystem_root.node_access )
   4a79c:	2279 0005 f4e4 	moveal 5f4e4 <rtems_current_user_env>,%a1   
   4a7a2:	b1e9 0018      	cmpal %a1@(24),%a0                          
   4a7a6:	6700 ff00      	beqw 4a6a8 <IMFS_eval_path+0x3c>            
        /*                                                            
         *  Am I at the root of this mounted filesystem?              
         */                                                           
                                                                      
        if (pathloc->node_access ==                                   
            pathloc->mt_entry->mt_fs_root.node_access) {              
   4a7aa:	226c 0010      	moveal %a4@(16),%a1                         
                                                                      
        /*                                                            
         *  Am I at the root of this mounted filesystem?              
         */                                                           
                                                                      
        if (pathloc->node_access ==                                   
   4a7ae:	b1e9 001c      	cmpal %a1@(28),%a0                          
   4a7b2:	6700 00a4      	beqw 4a858 <IMFS_eval_path+0x1ec>           
                                               pathnamelen+len,       
                                               flags,pathloc);        
          }                                                           
        } else {                                                      
                                                                      
          if ( !node->Parent )                                        
   4a7b6:	2668 0008      	moveal %a0@(8),%a3                          
   4a7ba:	4a8b           	tstl %a3                                    
   4a7bc:	66d8           	bnes 4a796 <IMFS_eval_path+0x12a>           
        /*                                                            
         *  Otherwise find the token name in the present location.    
         */                                                           
        node = IMFS_find_match_in_dir( node, token );                 
        if ( !node )                                                  
          rtems_set_errno_and_return_minus_one( ENOENT );             
   4a7be:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         
   4a7c4:	76ff           	moveq #-1,%d3                               
   4a7c6:	7a02           	moveq #2,%d5                                
   4a7c8:	2040           	moveal %d0,%a0                              
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
   4a7ca:	2003           	movel %d3,%d0                               
        /*                                                            
         *  Otherwise find the token name in the present location.    
         */                                                           
        node = IMFS_find_match_in_dir( node, token );                 
        if ( !node )                                                  
          rtems_set_errno_and_return_minus_one( ENOENT );             
   4a7cc:	2085           	movel %d5,%a0@                              
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
   4a7ce:	4cee 3cfc ffb0 	moveml %fp@(-80),%d2-%d7/%a2-%a5            
   4a7d4:	4e5e           	unlk %fp                                    
   4a7d6:	4e75           	rts                                         
      case IMFS_NO_MORE_PATH:                                         
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
                                                                      
      case IMFS_INVALID_TOKEN:                                        
        rtems_set_errno_and_return_minus_one( ENAMETOOLONG );         
   4a7d8:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         
   4a7de:	76ff           	moveq #-1,%d3                               
   4a7e0:	785b           	moveq #91,%d4                               
   4a7e2:	2040           	moveal %d0,%a0                              
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
   4a7e4:	2003           	movel %d3,%d0                               
      case IMFS_NO_MORE_PATH:                                         
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
                                                                      
      case IMFS_INVALID_TOKEN:                                        
        rtems_set_errno_and_return_minus_one( ENAMETOOLONG );         
   4a7e6:	2084           	movel %d4,%a0@                              
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
   4a7e8:	4cee 3cfc ffb0 	moveml %fp@(-80),%d2-%d7/%a2-%a5            
   4a7ee:	4e5e           	unlk %fp                                    
   4a7f0:	4e75           	rts                                         
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
    if ( type != IMFS_NO_MORE_PATH )                                  
      if ( node->type == IMFS_DIRECTORY )                             
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
   4a7f2:	4878 0001      	pea 1 <ADD>                                 
   4a7f6:	2f0c           	movel %a4,%sp@-                             
   4a7f8:	4eb9 0004 a586 	jsr 4a586 <IMFS_evaluate_permission>        
   4a7fe:	508f           	addql #8,%sp                                
   4a800:	4a80           	tstl %d0                                    
   4a802:	6724           	beqs 4a828 <IMFS_eval_path+0x1bc>           
   4a804:	2054           	moveal %a4@,%a0                             
   4a806:	6000 ff34      	braw 4a73c <IMFS_eval_path+0xd0>            
                                          flags, pathloc );           
    } else {                                                          
      result = IMFS_Set_handlers( pathloc );                          
    }                                                                 
  } else {                                                            
    result = IMFS_Set_handlers( pathloc );                            
   4a80a:	2f0c           	movel %a4,%sp@-                             
   4a80c:	4eb9 0004 a4fc 	jsr 4a4fc <IMFS_Set_handlers>               
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
   4a812:	2eae 0010      	movel %fp@(16),%sp@                         
                                          flags, pathloc );           
    } else {                                                          
      result = IMFS_Set_handlers( pathloc );                          
    }                                                                 
  } else {                                                            
    result = IMFS_Set_handlers( pathloc );                            
   4a816:	2600           	movel %d0,%d3                               
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
   4a818:	2f0c           	movel %a4,%sp@-                             
   4a81a:	4eb9 0004 a586 	jsr 4a586 <IMFS_evaluate_permission>        
   4a820:	508f           	addql #8,%sp                                
   4a822:	4a80           	tstl %d0                                    
   4a824:	6600 ff00      	bnew 4a726 <IMFS_eval_path+0xba>            
    rtems_set_errno_and_return_minus_one( EACCES );                   
   4a828:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         
   4a82e:	76ff           	moveq #-1,%d3                               
   4a830:	740d           	moveq #13,%d2                               
   4a832:	2040           	moveal %d0,%a0                              
                                                                      
  return result;                                                      
}                                                                     
   4a834:	2003           	movel %d3,%d0                               
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
    rtems_set_errno_and_return_minus_one( EACCES );                   
   4a836:	2082           	movel %d2,%a0@                              
                                                                      
  return result;                                                      
}                                                                     
   4a838:	4cee 3cfc ffb0 	moveml %fp@(-80),%d2-%d7/%a2-%a5            
   4a83e:	4e5e           	unlk %fp                                    
   4a840:	4e75           	rts                                         
      case IMFS_NAME:                                                 
        /*                                                            
         *  If we are at a link follow it.                            
         */                                                           
        if ( node->type == IMFS_HARD_LINK ) {                         
          IMFS_evaluate_hard_link( pathloc, 0 );                      
   4a842:	42a7           	clrl %sp@-                                  
   4a844:	2f0c           	movel %a4,%sp@-                             
   4a846:	4eb9 0004 a620 	jsr 4a620 <IMFS_evaluate_hard_link>         
          node = pathloc->node_access;                                
   4a84c:	2654           	moveal %a4@,%a3                             
   4a84e:	508f           	addql #8,%sp                                
   4a850:	202b 0048      	movel %a3@(72),%d0                          
   4a854:	6000 ff1e      	braw 4a774 <IMFS_eval_path+0x108>           
                                                                      
        /*                                                            
         *  Am I at the root of this mounted filesystem?              
         */                                                           
                                                                      
        if (pathloc->node_access ==                                   
   4a858:	28a9 0008      	movel %a1@(8),%a4@                          
   4a85c:	2069 0014      	moveal %a1@(20),%a0                         
   4a860:	2629 000c      	movel %a1@(12),%d3                          
   4a864:	2229 0010      	movel %a1@(16),%d1                          
   4a868:	2029 0018      	movel %a1@(24),%d0                          
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;       /* Throw out the .. in this case */          
          } else {                                                    
            newloc = pathloc->mt_entry->mt_point_node;                
            *pathloc = newloc;                                        
            return (*pathloc->ops->evalpath_h)(&(pathname[i-len]),    
   4a86c:	2f0c           	movel %a4,%sp@-                             
   4a86e:	2f2e 0010      	movel %fp@(16),%sp@-                        
   4a872:	226e fffc      	moveal %fp@(-4),%a1                         
   4a876:	4872 9800      	pea %a2@(00000000,%a1:l)                    
   4a87a:	9489           	subl %a1,%d2                                
   4a87c:	4875 2800      	pea %a5@(00000000,%d2:l)                    
   4a880:	2250           	moveal %a0@,%a1                             
                                                                      
        /*                                                            
         *  Am I at the root of this mounted filesystem?              
         */                                                           
                                                                      
        if (pathloc->node_access ==                                   
   4a882:	2943 0004      	movel %d3,%a4@(4)                           
   4a886:	2941 0008      	movel %d1,%a4@(8)                           
   4a88a:	2948 000c      	movel %a0,%a4@(12)                          
   4a88e:	2940 0010      	movel %d0,%a4@(16)                          
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;       /* Throw out the .. in this case */          
          } else {                                                    
            newloc = pathloc->mt_entry->mt_point_node;                
            *pathloc = newloc;                                        
            return (*pathloc->ops->evalpath_h)(&(pathname[i-len]),    
   4a892:	4e91           	jsr %a1@                                    
   4a894:	4fef 0010      	lea %sp@(16),%sp                            
   4a898:	2600           	movel %d0,%d3                               
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
   4a89a:	2003           	movel %d3,%d0                               
   4a89c:	4cee 3cfc ffb0 	moveml %fp@(-80),%d2-%d7/%a2-%a5            
   4a8a2:	4e5e           	unlk %fp                                    
   4a8a4:	4e75           	rts                                         
	   * was broken.                                                     
	   */                                                                
          IMFS_assert( node );                                        
                                                                      
        } else if ( node->type == IMFS_SYM_LINK ) {                   
          result = IMFS_evaluate_sym_link( pathloc, 0 );              
   4a8a6:	42a7           	clrl %sp@-                                  
   4a8a8:	2f0c           	movel %a4,%sp@-                             
   4a8aa:	4eb9 0004 a904 	jsr 4a904 <IMFS_evaluate_sym_link>          
                                                                      
          /*                                                          
           *  In contrast to a hard link, it is possible to have a broken
           *  symbolic link.                                          
           */                                                         
          node = pathloc->node_access;                                
   4a8b0:	2654           	moveal %a4@,%a3                             
          if ( result == -1 )                                         
   4a8b2:	508f           	addql #8,%sp                                
   4a8b4:	72ff           	moveq #-1,%d1                               
   4a8b6:	b280           	cmpl %d0,%d1                                
   4a8b8:	673c           	beqs 4a8f6 <IMFS_eval_path+0x28a>           <== NEVER TAKEN
                                                                      
          /*                                                          
           *  In contrast to a hard link, it is possible to have a broken
           *  symbolic link.                                          
           */                                                         
          node = pathloc->node_access;                                
   4a8ba:	202b 0048      	movel %a3@(72),%d0                          
   4a8be:	6000 feb4      	braw 4a774 <IMFS_eval_path+0x108>           
  rtems_filesystem_location_info_t    newloc;                         
  IMFS_jnode_t                       *node;                           
  int                                 result;                         
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) ) {                       
    rtems_set_errno_and_return_minus_one( EIO );                      
   4a8c2:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         <== NOT EXECUTED
   4a8c8:	76ff           	moveq #-1,%d3                               <== NOT EXECUTED
   4a8ca:	7e05           	moveq #5,%d7                                <== NOT EXECUTED
   4a8cc:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
   4a8ce:	2003           	movel %d3,%d0                               <== NOT EXECUTED
  rtems_filesystem_location_info_t    newloc;                         
  IMFS_jnode_t                       *node;                           
  int                                 result;                         
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) ) {                       
    rtems_set_errno_and_return_minus_one( EIO );                      
   4a8d0:	2087           	movel %d7,%a0@                              <== NOT EXECUTED
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
   4a8d2:	4cee 3cfc ffb0 	moveml %fp@(-80),%d2-%d7/%a2-%a5            <== NOT EXECUTED
   4a8d8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   4a8da:	4e75           	rts                                         <== NOT EXECUTED
                                                                      
        /*                                                            
         *  Only a directory can be decended into.                    
         */                                                           
        if ( node->type != IMFS_DIRECTORY )                           
          rtems_set_errno_and_return_minus_one( ENOTDIR );            
   4a8dc:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         
   4a8e2:	76ff           	moveq #-1,%d3                               
   4a8e4:	7c14           	moveq #20,%d6                               
   4a8e6:	2040           	moveal %d0,%a0                              
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
   4a8e8:	2003           	movel %d3,%d0                               
                                                                      
        /*                                                            
         *  Only a directory can be decended into.                    
         */                                                           
        if ( node->type != IMFS_DIRECTORY )                           
          rtems_set_errno_and_return_minus_one( ENOTDIR );            
   4a8ea:	2086           	movel %d6,%a0@                              
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
   4a8ec:	4cee 3cfc ffb0 	moveml %fp@(-80),%d2-%d7/%a2-%a5            
   4a8f2:	4e5e           	unlk %fp                                    
   4a8f4:	4e75           	rts                                         
   4a8f6:	2600           	movel %d0,%d3                               <== NOT EXECUTED
   4a8f8:	2003           	movel %d3,%d0                               <== NOT EXECUTED
   4a8fa:	4cee 3cfc ffb0 	moveml %fp@(-80),%d2-%d7/%a2-%a5            <== NOT EXECUTED
   4a900:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004aa46 <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 */ ) {
   4aa46:	4e56 ffb0      	linkw %fp,#-80                              
   4aa4a:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
   4aa4e:	286e 0008      	moveal %fp@(8),%a4                          
   4aa52:	2e0e           	movel %fp,%d7                               
   4aa54:	2c0e           	movel %fp,%d6                               
  int                                 i = 0;                          
   4aa56:	4284           	clrl %d4                                    
   4aa58:	5987           	subql #4,%d7                                
   4aa5a:	0686 ffff ffdb 	addil #-37,%d6                              
   4aa60:	4bf9 0004 adf8 	lea 4adf8 <IMFS_get_token>,%a5              
  node = pathloc->node_access;                                        
                                                                      
  /*                                                                  
   * Get the path length.                                             
   */                                                                 
  pathlen = strlen( path );                                           
   4aa66:	2f0c           	movel %a4,%sp@-                             
int IMFS_evaluate_for_make(                                           
   const char                         *path,       /* IN     */       
   rtems_filesystem_location_info_t   *pathloc,    /* IN/OUT */       
   const char                        **name        /* OUT    */       
)                                                                     
{                                                                     
   4aa68:	266e 000c      	moveal %fp@(12),%a3                         
  node = pathloc->node_access;                                        
                                                                      
  /*                                                                  
   * Get the path length.                                             
   */                                                                 
  pathlen = strlen( path );                                           
   4aa6c:	4eb9 0005 0028 	jsr 50028 <strlen>                          
                                                                      
  /*                                                                  
   * This was filled in by the caller and is valid in the             
   * mount table.                                                     
   */                                                                 
  node = pathloc->node_access;                                        
   4aa72:	2453           	moveal %a3@,%a2                             
                                                                      
  /*                                                                  
   * Get the path length.                                             
   */                                                                 
  pathlen = strlen( path );                                           
   4aa74:	588f           	addql #4,%sp                                
   4aa76:	2400           	movel %d0,%d2                               
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
   4aa78:	2f07           	movel %d7,%sp@-                             
   4aa7a:	2f06           	movel %d6,%sp@-                             
   4aa7c:	2f02           	movel %d2,%sp@-                             
   4aa7e:	4874 4800      	pea %a4@(00000000,%d4:l)                    
   4aa82:	4e95           	jsr %a5@                                    
    pathlen -= len;                                                   
   4aa84:	2a2e fffc      	movel %fp@(-4),%d5                          
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
   4aa88:	2600           	movel %d0,%d3                               
    pathlen -= len;                                                   
    i +=  len;                                                        
                                                                      
    if ( !pathloc->node_access )                                      
   4aa8a:	4fef 0010      	lea %sp@(16),%sp                            
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
    pathlen -= len;                                                   
   4aa8e:	9485           	subl %d5,%d2                                
    i +=  len;                                                        
                                                                      
    if ( !pathloc->node_access )                                      
   4aa90:	2053           	moveal %a3@,%a0                             
   4aa92:	4a88           	tstl %a0                                    
   4aa94:	6700 00ca      	beqw 4ab60 <IMFS_evaluate_for_make+0x11a>   
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
                                                                      
    if ( type != IMFS_NO_MORE_PATH )                                  
   4aa98:	4a80           	tstl %d0                                    
   4aa9a:	6742           	beqs 4aade <IMFS_evaluate_for_make+0x98>    
      if ( node->type == IMFS_DIRECTORY )                             
   4aa9c:	7001           	moveq #1,%d0                                
   4aa9e:	b0aa 0048      	cmpl %a2@(72),%d0                           
   4aaa2:	6700 00d6      	beqw 4ab7a <IMFS_evaluate_for_make+0x134>   
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
    pathlen -= len;                                                   
    i +=  len;                                                        
   4aaa6:	d885           	addl %d5,%d4                                
    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;                                      
   4aaa8:	2448           	moveal %a0,%a2                              
                                                                      
    switch( type ) {                                                  
   4aaaa:	7002           	moveq #2,%d0                                
   4aaac:	b083           	cmpl %d3,%d0                                
   4aaae:	6700 008e      	beqw 4ab3e <IMFS_evaluate_for_make+0xf8>    
   4aab2:	6426           	bccs 4aada <IMFS_evaluate_for_make+0x94>    
   4aab4:	7203           	moveq #3,%d1                                
   4aab6:	b283           	cmpl %d3,%d1                                
   4aab8:	673e           	beqs 4aaf8 <IMFS_evaluate_for_make+0xb2>    
   4aaba:	7004           	moveq #4,%d0                                
   4aabc:	b083           	cmpl %d3,%d0                                
   4aabe:	66b8           	bnes 4aa78 <IMFS_evaluate_for_make+0x32>    <== NEVER TAKEN
      case IMFS_NO_MORE_PATH:                                         
        rtems_set_errno_and_return_minus_one( EEXIST );               
        break;                                                        
                                                                      
      case IMFS_INVALID_TOKEN:                                        
        rtems_set_errno_and_return_minus_one( ENAMETOOLONG );         
   4aac0:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         
   4aac6:	7c5b           	moveq #91,%d6                               
   4aac8:	76ff           	moveq #-1,%d3                               
   4aaca:	2040           	moveal %d0,%a0                              
   4aacc:	2086           	movel %d6,%a0@                              
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_WX ) )   
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
   4aace:	2003           	movel %d3,%d0                               
   4aad0:	4cee 3cfc ffb0 	moveml %fp@(-80),%d2-%d7/%a2-%a5            
   4aad6:	4e5e           	unlk %fp                                    
   4aad8:	4e75           	rts                                         
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
           rtems_set_errno_and_return_minus_one( EACCES );            
                                                                      
    node = pathloc->node_access;                                      
                                                                      
    switch( type ) {                                                  
   4aada:	4a83           	tstl %d3                                    
   4aadc:	669a           	bnes 4aa78 <IMFS_evaluate_for_make+0x32>    <== ALWAYS TAKEN
          pathloc->node_access = node;                                
                                                                      
        break;                                                        
                                                                      
      case IMFS_NO_MORE_PATH:                                         
        rtems_set_errno_and_return_minus_one( EEXIST );               
   4aade:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         
   4aae4:	76ff           	moveq #-1,%d3                               
   4aae6:	7e11           	moveq #17,%d7                               
   4aae8:	2040           	moveal %d0,%a0                              
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_WX ) )   
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
   4aaea:	2003           	movel %d3,%d0                               
          pathloc->node_access = node;                                
                                                                      
        break;                                                        
                                                                      
      case IMFS_NO_MORE_PATH:                                         
        rtems_set_errno_and_return_minus_one( EEXIST );               
   4aaec:	2087           	movel %d7,%a0@                              
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_WX ) )   
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
   4aaee:	4cee 3cfc ffb0 	moveml %fp@(-80),%d2-%d7/%a2-%a5            
   4aaf4:	4e5e           	unlk %fp                                    
   4aaf6:	4e75           	rts                                         
        pathloc->node_access = node;                                  
        break;                                                        
                                                                      
      case IMFS_NAME:                                                 
                                                                      
	if ( node->type == IMFS_HARD_LINK ) {                                
   4aaf8:	2028 0048      	movel %a0@(72),%d0                          
   4aafc:	7203           	moveq #3,%d1                                
   4aafe:	b280           	cmpl %d0,%d1                                
   4ab00:	6700 014e      	beqw 4ac50 <IMFS_evaluate_for_make+0x20a>   
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
          if ( result == -1 )                                         
            return -1;                                                
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
   4ab04:	7204           	moveq #4,%d1                                
   4ab06:	b280           	cmpl %d0,%d1                                
   4ab08:	6700 0146      	beqw 4ac50 <IMFS_evaluate_for_make+0x20a>   
          if ( result == -1 )                                         
            return -1;                                                
	}                                                                    
                                                                      
        node = pathloc->node_access;                                  
        if ( !node )                                                  
   4ab0c:	4a8a           	tstl %a2                                    
   4ab0e:	6700 015c      	beqw 4ac6c <IMFS_evaluate_for_make+0x226>   
                                                                      
        /*                                                            
         * Only a directory can be decended into.                     
	 */                                                                  
                                                                      
        if ( node->type != IMFS_DIRECTORY )                           
   4ab12:	7001           	moveq #1,%d0                                
   4ab14:	b0aa 0048      	cmpl %a2@(72),%d0                           
   4ab18:	6600 0152      	bnew 4ac6c <IMFS_evaluate_for_make+0x226>   
	/*                                                                   
	 * 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 ) {                   
   4ab1c:	206a 0058      	moveal %a2@(88),%a0                         
   4ab20:	4a88           	tstl %a0                                    
   4ab22:	6600 0162      	bnew 4ac86 <IMFS_evaluate_for_make+0x240>   
                                                                      
	/*                                                                   
	 * Otherwise find the token name in the present location.            
	 */                                                                  
                                                                      
        node = IMFS_find_match_in_dir( node, token );                 
   4ab26:	2f06           	movel %d6,%sp@-                             
   4ab28:	2f0a           	movel %a2,%sp@-                             
   4ab2a:	4eb9 0004 ad7c 	jsr 4ad7c <IMFS_find_match_in_dir>          
	/*                                                                   
	 * If there is no node we have found the name of the node we         
         * wish to create.                                            
	 */                                                                  
                                                                      
        if ( ! node )                                                 
   4ab30:	508f           	addql #8,%sp                                
                                                                      
	/*                                                                   
	 * Otherwise find the token name in the present location.            
	 */                                                                  
                                                                      
        node = IMFS_find_match_in_dir( node, token );                 
   4ab32:	2440           	moveal %d0,%a2                              
	/*                                                                   
	 * If there is no node we have found the name of the node we         
         * wish to create.                                            
	 */                                                                  
                                                                      
        if ( ! node )                                                 
   4ab34:	4a80           	tstl %d0                                    
   4ab36:	675a           	beqs 4ab92 <IMFS_evaluate_for_make+0x14c>   
          done = true;                                                
        else                                                          
          pathloc->node_access = node;                                
   4ab38:	268a           	movel %a2,%a3@                              
   4ab3a:	6000 ff3c      	braw 4aa78 <IMFS_evaluate_for_make+0x32>    
      case IMFS_UP_DIR:                                               
       /*                                                             
        *  Am I at the root of all filesystems? (chroot'ed?)          
	*/                                                                   
                                                                      
       if ( pathloc->node_access == rtems_filesystem_root.node_access )
   4ab3e:	2279 0005 f4e4 	moveal 5f4e4 <rtems_current_user_env>,%a1   
   4ab44:	b1e9 0018      	cmpal %a1@(24),%a0                          
   4ab48:	6700 ff2e      	beqw 4aa78 <IMFS_evaluate_for_make+0x32>    
                                                                      
	/*                                                                   
	 * Am I at the root of this mounted filesystem?                      
	 */                                                                  
                                                                      
        if (pathloc->node_access == pathloc->mt_entry->mt_fs_root.node_access){
   4ab4c:	226b 0010      	moveal %a3@(16),%a1                         
   4ab50:	b1e9 001c      	cmpal %a1@(28),%a0                          
   4ab54:	6700 00b0      	beqw 4ac06 <IMFS_evaluate_for_make+0x1c0>   
            *pathloc = newloc;                                        
            return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
	  }                                                                  
	} else {                                                             
                                                                      
          if ( !node->Parent )                                        
   4ab58:	2468 0008      	moveal %a0@(8),%a2                          
   4ab5c:	4a8a           	tstl %a2                                    
   4ab5e:	66d8           	bnes 4ab38 <IMFS_evaluate_for_make+0xf2>    
   * Verify there is not any invalid stuff at the end of the name.    
   */                                                                 
                                                                      
  for( ; path[i] != '\0'; i++) {                                      
    if ( !IMFS_is_separator( path[ i ] ) )                            
      rtems_set_errno_and_return_minus_one( ENOENT );                 
   4ab60:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         
   4ab66:	76ff           	moveq #-1,%d3                               
   4ab68:	7a02           	moveq #2,%d5                                
   4ab6a:	2040           	moveal %d0,%a0                              
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_WX ) )   
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
   4ab6c:	2003           	movel %d3,%d0                               
   * Verify there is not any invalid stuff at the end of the name.    
   */                                                                 
                                                                      
  for( ; path[i] != '\0'; i++) {                                      
    if ( !IMFS_is_separator( path[ i ] ) )                            
      rtems_set_errno_and_return_minus_one( ENOENT );                 
   4ab6e:	2085           	movel %d5,%a0@                              
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_WX ) )   
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
   4ab70:	4cee 3cfc ffb0 	moveml %fp@(-80),%d2-%d7/%a2-%a5            
   4ab76:	4e5e           	unlk %fp                                    
   4ab78:	4e75           	rts                                         
     * I cannot move out of this directory without execute permission.
     */                                                               
                                                                      
    if ( type != IMFS_NO_MORE_PATH )                                  
      if ( node->type == IMFS_DIRECTORY )                             
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
   4ab7a:	4878 0001      	pea 1 <ADD>                                 
   4ab7e:	2f0b           	movel %a3,%sp@-                             
   4ab80:	4eb9 0004 a586 	jsr 4a586 <IMFS_evaluate_permission>        
   4ab86:	508f           	addql #8,%sp                                
   4ab88:	4a80           	tstl %d0                                    
   4ab8a:	6760           	beqs 4abec <IMFS_evaluate_for_make+0x1a6>   
   4ab8c:	2053           	moveal %a3@,%a0                             
   4ab8e:	6000 ff16      	braw 4aaa6 <IMFS_evaluate_for_make+0x60>    
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  *name = &path[ i - len ];                                           
   4ab92:	2004           	movel %d4,%d0                               
   4ab94:	90ae fffc      	subl %fp@(-4),%d0                           
   4ab98:	d08c           	addl %a4,%d0                                
   4ab9a:	206e 0010      	moveal %fp@(16),%a0                         
   4ab9e:	2080           	movel %d0,%a0@                              
  /*                                                                  
   * 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++) {                                      
   4aba0:	1034 4800      	moveb %a4@(00000000,%d4:l),%d0              
   4aba4:	671a           	beqs 4abc0 <IMFS_evaluate_for_make+0x17a>   
   4aba6:	4bf9 0004 3f3c 	lea 43f3c <rtems_filesystem_is_separator>,%a5
 *  pathloc is returned with a pointer to the parent of the new node. 
 *  name is returned with a pointer to the first character in the     
 *  new node name.  The parent node is verified to be a directory.    
 */                                                                   
                                                                      
int IMFS_evaluate_for_make(                                           
   4abac:	45f4 4801      	lea %a4@(00000001,%d4:l),%a2                
   * 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 ] ) )                            
   4abb0:	49c0           	extbl %d0                                   
   4abb2:	2f00           	movel %d0,%sp@-                             
   4abb4:	4e95           	jsr %a5@                                    
   4abb6:	588f           	addql #4,%sp                                
   4abb8:	4a80           	tstl %d0                                    
   4abba:	67a4           	beqs 4ab60 <IMFS_evaluate_for_make+0x11a>   
  /*                                                                  
   * 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++) {                                      
   4abbc:	101a           	moveb %a2@+,%d0                             
   4abbe:	66f0           	bnes 4abb0 <IMFS_evaluate_for_make+0x16a>   
                                                                      
  /*                                                                  
   * Verify we can execute and write to this directory.               
   */                                                                 
                                                                      
  result = IMFS_Set_handlers( pathloc );                              
   4abc0:	2f0b           	movel %a3,%sp@-                             
   4abc2:	4eb9 0004 a4fc 	jsr 4a4fc <IMFS_Set_handlers>               
                                                                      
  /*                                                                  
   * The returned node must be a directory                            
   */                                                                 
  node = pathloc->node_access;                                        
  if ( node->type != IMFS_DIRECTORY )                                 
   4abc8:	2053           	moveal %a3@,%a0                             
                                                                      
  /*                                                                  
   * Verify we can execute and write to this directory.               
   */                                                                 
                                                                      
  result = IMFS_Set_handlers( pathloc );                              
   4abca:	2600           	movel %d0,%d3                               
                                                                      
  /*                                                                  
   * The returned node must be a directory                            
   */                                                                 
  node = pathloc->node_access;                                        
  if ( node->type != IMFS_DIRECTORY )                                 
   4abcc:	588f           	addql #4,%sp                                
   4abce:	7001           	moveq #1,%d0                                
   4abd0:	b0a8 0048      	cmpl %a0@(72),%d0                           
   4abd4:	6600 0096      	bnew 4ac6c <IMFS_evaluate_for_make+0x226>   
                                                                      
  /*                                                                  
   * We must have Write and execute permission on the returned node.  
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_WX ) )   
   4abd8:	4878 0003      	pea 3 <DIVIDE>                              
   4abdc:	2f0b           	movel %a3,%sp@-                             
   4abde:	4eb9 0004 a586 	jsr 4a586 <IMFS_evaluate_permission>        
   4abe4:	508f           	addql #8,%sp                                
   4abe6:	4a80           	tstl %d0                                    
   4abe8:	6600 fee4      	bnew 4aace <IMFS_evaluate_for_make+0x88>    
    rtems_set_errno_and_return_minus_one( EACCES );                   
   4abec:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         
   4abf2:	76ff           	moveq #-1,%d3                               
   4abf4:	740d           	moveq #13,%d2                               
   4abf6:	2040           	moveal %d0,%a0                              
                                                                      
  return result;                                                      
}                                                                     
   4abf8:	2003           	movel %d3,%d0                               
  /*                                                                  
   * We must have Write and execute permission on the returned node.  
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_WX ) )   
    rtems_set_errno_and_return_minus_one( EACCES );                   
   4abfa:	2082           	movel %d2,%a0@                              
                                                                      
  return result;                                                      
}                                                                     
   4abfc:	4cee 3cfc ffb0 	moveml %fp@(-80),%d2-%d7/%a2-%a5            
   4ac02:	4e5e           	unlk %fp                                    
   4ac04:	4e75           	rts                                         
                                                                      
	/*                                                                   
	 * Am I at the root of this mounted filesystem?                      
	 */                                                                  
                                                                      
        if (pathloc->node_access == pathloc->mt_entry->mt_fs_root.node_access){
   4ac06:	2429 000c      	movel %a1@(12),%d2                          
            break;                                                    
                                                                      
	  } else {                                                           
            newloc = pathloc->mt_entry->mt_point_node;                
            *pathloc = newloc;                                        
            return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
   4ac0a:	98ae fffc      	subl %fp@(-4),%d4                           
                                                                      
	/*                                                                   
	 * Am I at the root of this mounted filesystem?                      
	 */                                                                  
                                                                      
        if (pathloc->node_access == pathloc->mt_entry->mt_fs_root.node_access){
   4ac0e:	26a9 0008      	movel %a1@(8),%a3@                          
   4ac12:	2069 0014      	moveal %a1@(20),%a0                         
   4ac16:	2229 0010      	movel %a1@(16),%d1                          
   4ac1a:	2029 0018      	movel %a1@(24),%d0                          
            break;                                                    
                                                                      
	  } else {                                                           
            newloc = pathloc->mt_entry->mt_point_node;                
            *pathloc = newloc;                                        
            return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
   4ac1e:	2f2e 0010      	movel %fp@(16),%sp@-                        
   4ac22:	2f0b           	movel %a3,%sp@-                             
   4ac24:	4874 4800      	pea %a4@(00000000,%d4:l)                    
   4ac28:	2268 0004      	moveal %a0@(4),%a1                          
                                                                      
	/*                                                                   
	 * Am I at the root of this mounted filesystem?                      
	 */                                                                  
                                                                      
        if (pathloc->node_access == pathloc->mt_entry->mt_fs_root.node_access){
   4ac2c:	2742 0004      	movel %d2,%a3@(4)                           
   4ac30:	2741 0008      	movel %d1,%a3@(8)                           
   4ac34:	2748 000c      	movel %a0,%a3@(12)                          
   4ac38:	2740 0010      	movel %d0,%a3@(16)                          
            break;                                                    
                                                                      
	  } else {                                                           
            newloc = pathloc->mt_entry->mt_point_node;                
            *pathloc = newloc;                                        
            return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
   4ac3c:	4e91           	jsr %a1@                                    
   4ac3e:	4fef 000c      	lea %sp@(12),%sp                            
   4ac42:	2600           	movel %d0,%d3                               
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_WX ) )   
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
   4ac44:	2003           	movel %d3,%d0                               
   4ac46:	4cee 3cfc ffb0 	moveml %fp@(-80),%d2-%d7/%a2-%a5            
   4ac4c:	4e5e           	unlk %fp                                    
   4ac4e:	4e75           	rts                                         
          if ( result == -1 )                                         
            return -1;                                                
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
   4ac50:	42a7           	clrl %sp@-                                  
   4ac52:	2f0b           	movel %a3,%sp@-                             
   4ac54:	4eb9 0004 a98c 	jsr 4a98c <IMFS_evaluate_link>              
                                                                      
          if ( result == -1 )                                         
   4ac5a:	508f           	addql #8,%sp                                
          if ( result == -1 )                                         
            return -1;                                                
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
   4ac5c:	2600           	movel %d0,%d3                               
                                                                      
          if ( result == -1 )                                         
   4ac5e:	70ff           	moveq #-1,%d0                               
   4ac60:	b083           	cmpl %d3,%d0                                
   4ac62:	6700 fe6a      	beqw 4aace <IMFS_evaluate_for_make+0x88>    
   4ac66:	2453           	moveal %a3@,%a2                             
   4ac68:	6000 fea2      	braw 4ab0c <IMFS_evaluate_for_make+0xc6>    
  /*                                                                  
   * The returned node must be a directory                            
   */                                                                 
  node = pathloc->node_access;                                        
  if ( node->type != IMFS_DIRECTORY )                                 
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
   4ac6c:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         
   4ac72:	76ff           	moveq #-1,%d3                               
   4ac74:	7814           	moveq #20,%d4                               
   4ac76:	2040           	moveal %d0,%a0                              
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_WX ) )   
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
   4ac78:	2003           	movel %d3,%d0                               
  /*                                                                  
   * The returned node must be a directory                            
   */                                                                 
  node = pathloc->node_access;                                        
  if ( node->type != IMFS_DIRECTORY )                                 
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
   4ac7a:	2084           	movel %d4,%a0@                              
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_WX ) )   
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
   4ac7c:	4cee 3cfc ffb0 	moveml %fp@(-80),%d2-%d7/%a2-%a5            
   4ac82:	4e5e           	unlk %fp                                    
   4ac84:	4e75           	rts                                         
	/*                                                                   
	 * 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 ) {                   
   4ac86:	2428 0020      	movel %a0@(32),%d2                          
          newloc  = node->info.directory.mt_fs->mt_fs_root;           
          *pathloc = newloc;                                          
          return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
   4ac8a:	98ae fffc      	subl %fp@(-4),%d4                           
	/*                                                                   
	 * 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 ) {                   
   4ac8e:	26a8 001c      	movel %a0@(28),%a3@                         
   4ac92:	2268 0028      	moveal %a0@(40),%a1                         
   4ac96:	2228 0024      	movel %a0@(36),%d1                          
   4ac9a:	2028 002c      	movel %a0@(44),%d0                          
          newloc  = node->info.directory.mt_fs->mt_fs_root;           
          *pathloc = newloc;                                          
          return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
   4ac9e:	2f2e 0010      	movel %fp@(16),%sp@-                        
   4aca2:	2f0b           	movel %a3,%sp@-                             
   4aca4:	4874 4800      	pea %a4@(00000000,%d4:l)                    
   4aca8:	2069 0004      	moveal %a1@(4),%a0                          
	/*                                                                   
	 * 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 ) {                   
   4acac:	2742 0004      	movel %d2,%a3@(4)                           
   4acb0:	2741 0008      	movel %d1,%a3@(8)                           
   4acb4:	2749 000c      	movel %a1,%a3@(12)                          
   4acb8:	2740 0010      	movel %d0,%a3@(16)                          
          newloc  = node->info.directory.mt_fs->mt_fs_root;           
          *pathloc = newloc;                                          
          return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
   4acbc:	4e90           	jsr %a0@                                    
   4acbe:	4fef 000c      	lea %sp@(12),%sp                            
   4acc2:	2600           	movel %d0,%d3                               
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_WX ) )   
    rtems_set_errno_and_return_minus_one( EACCES );                   
                                                                      
  return result;                                                      
}                                                                     
   4acc4:	2003           	movel %d3,%d0                               
   4acc6:	4cee 3cfc ffb0 	moveml %fp@(-80),%d2-%d7/%a2-%a5            
   4accc:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004a98c <IMFS_evaluate_link>: */ int IMFS_evaluate_link( rtems_filesystem_location_info_t *node, /* IN/OUT */ int flags /* IN */ ) {
   4a98c:	4e56 ffec      	linkw %fp,#-20                              
     */                                                               
                                                                      
    rtems_filesystem_link_counts ++;                                  
    if ( rtems_filesystem_link_counts > MAXSYMLINK ) {                
      rtems_filesystem_link_counts = 0;                               
      rtems_set_errno_and_return_minus_one( ELOOP );                  
   4a990:	2079 0005 f4e4 	moveal 5f4e4 <rtems_current_user_env>,%a0   
 */                                                                   
int IMFS_evaluate_link(                                               
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
   4a996:	48d7 3c04      	moveml %d2/%a2-%a5,%sp@                     
   4a99a:	266e 0008      	moveal %fp@(8),%a3                          
                                                                      
    if ( jnode->type == IMFS_HARD_LINK )                              
      result = IMFS_evaluate_hard_link( node, flags );                
                                                                      
    else if (jnode->type == IMFS_SYM_LINK )                           
      result = IMFS_evaluate_sym_link( node, flags );                 
   4a99e:	4bf9 0004 a904 	lea 4a904 <IMFS_evaluate_sym_link>,%a5      
    /*                                                                
     *  Follow the Link node.                                         
     */                                                               
                                                                      
    if ( jnode->type == IMFS_HARD_LINK )                              
      result = IMFS_evaluate_hard_link( node, flags );                
   4a9a4:	49f9 0004 a620 	lea 4a620 <IMFS_evaluate_hard_link>,%a4     
 */                                                                   
int IMFS_evaluate_link(                                               
  rtems_filesystem_location_info_t  *node,   /* IN/OUT */             
  int                                flags   /* IN     */             
)                                                                     
{                                                                     
   4a9aa:	242e 000c      	movel %fp@(12),%d2                          
  IMFS_jnode_t                     *jnode;                            
  int                               result = 0;                       
                                                                      
  do {                                                                
    jnode  = node->node_access;                                       
   4a9ae:	2453           	moveal %a3@,%a2                             
    /*                                                                
     * Increment and check the link counter.                          
     */                                                               
                                                                      
    rtems_filesystem_link_counts ++;                                  
    if ( rtems_filesystem_link_counts > MAXSYMLINK ) {                
   4a9b0:	4281           	clrl %d1                                    
                                                                      
    /*                                                                
     * Increment and check the link counter.                          
     */                                                               
                                                                      
    rtems_filesystem_link_counts ++;                                  
   4a9b2:	3028 0030      	movew %a0@(48),%d0                          
   4a9b6:	5280           	addql #1,%d0                                
    if ( rtems_filesystem_link_counts > MAXSYMLINK ) {                
   4a9b8:	3200           	movew %d0,%d1                               
                                                                      
    /*                                                                
     * Increment and check the link counter.                          
     */                                                               
                                                                      
    rtems_filesystem_link_counts ++;                                  
   4a9ba:	3140 0030      	movew %d0,%a0@(48)                          
    if ( rtems_filesystem_link_counts > MAXSYMLINK ) {                
   4a9be:	7005           	moveq #5,%d0                                
   4a9c0:	b081           	cmpl %d1,%d0                                
   4a9c2:	6564           	bcss 4aa28 <IMFS_evaluate_link+0x9c>        
                                                                      
    /*                                                                
     *  Follow the Link node.                                         
     */                                                               
                                                                      
    if ( jnode->type == IMFS_HARD_LINK )                              
   4a9c4:	202a 0048      	movel %a2@(72),%d0                          
   4a9c8:	7203           	moveq #3,%d1                                
   4a9ca:	b280           	cmpl %d0,%d1                                
   4a9cc:	6740           	beqs 4aa0e <IMFS_evaluate_link+0x82>        
      result = IMFS_evaluate_hard_link( node, flags );                
                                                                      
    else if (jnode->type == IMFS_SYM_LINK )                           
   4a9ce:	7204           	moveq #4,%d1                                
   4a9d0:	b280           	cmpl %d0,%d1                                
   4a9d2:	671a           	beqs 4a9ee <IMFS_evaluate_link+0x62>        
      result = IMFS_evaluate_sym_link( node, flags );                 
                                                                      
  } while ( ( result == 0 ) && ( ( jnode->type == IMFS_SYM_LINK  ) || 
   4a9d4:	5780           	subql #3,%d0                                
   4a9d6:	7201           	moveq #1,%d1                                
   4a9d8:	b280           	cmpl %d0,%d1                                
   4a9da:	64d2           	bccs 4a9ae <IMFS_evaluate_link+0x22>        <== NEVER TAKEN
   4a9dc:	4280           	clrl %d0                                    
                                                                      
  /*                                                                  
   * Clear link counter.                                              
   */                                                                 
                                                                      
  rtems_filesystem_link_counts = 0;                                   
   4a9de:	4241           	clrw %d1                                    
   4a9e0:	3141 0030      	movew %d1,%a0@(48)                          
                                                                      
  return result;                                                      
}                                                                     
   4a9e4:	4cee 3c04 ffec 	moveml %fp@(-20),%d2/%a2-%a5                
   4a9ea:	4e5e           	unlk %fp                                    
   4a9ec:	4e75           	rts                                         
                                                                      
    if ( jnode->type == IMFS_HARD_LINK )                              
      result = IMFS_evaluate_hard_link( node, flags );                
                                                                      
    else if (jnode->type == IMFS_SYM_LINK )                           
      result = IMFS_evaluate_sym_link( node, flags );                 
   4a9ee:	2f02           	movel %d2,%sp@-                             
   4a9f0:	2f0b           	movel %a3,%sp@-                             
   4a9f2:	4e95           	jsr %a5@                                    
   4a9f4:	508f           	addql #8,%sp                                
                                                                      
  } while ( ( result == 0 ) && ( ( jnode->type == IMFS_SYM_LINK  ) || 
                                 ( jnode->type == IMFS_HARD_LINK ) ) );
   4a9f6:	4a80           	tstl %d0                                    
   4a9f8:	6620           	bnes 4aa1a <IMFS_evaluate_link+0x8e>        
   4a9fa:	202a 0048      	movel %a2@(72),%d0                          
      result = IMFS_evaluate_hard_link( node, flags );                
                                                                      
    else if (jnode->type == IMFS_SYM_LINK )                           
      result = IMFS_evaluate_sym_link( node, flags );                 
                                                                      
  } while ( ( result == 0 ) && ( ( jnode->type == IMFS_SYM_LINK  ) || 
   4a9fe:	7201           	moveq #1,%d1                                
   4aa00:	5780           	subql #3,%d0                                
                                 ( jnode->type == IMFS_HARD_LINK ) ) );
   4aa02:	2079 0005 f4e4 	moveal 5f4e4 <rtems_current_user_env>,%a0   
      result = IMFS_evaluate_hard_link( node, flags );                
                                                                      
    else if (jnode->type == IMFS_SYM_LINK )                           
      result = IMFS_evaluate_sym_link( node, flags );                 
                                                                      
  } while ( ( result == 0 ) && ( ( jnode->type == IMFS_SYM_LINK  ) || 
   4aa08:	b280           	cmpl %d0,%d1                                
   4aa0a:	64a2           	bccs 4a9ae <IMFS_evaluate_link+0x22>        <== ALWAYS TAKEN
   4aa0c:	60ce           	bras 4a9dc <IMFS_evaluate_link+0x50>        <== NOT EXECUTED
    /*                                                                
     *  Follow the Link node.                                         
     */                                                               
                                                                      
    if ( jnode->type == IMFS_HARD_LINK )                              
      result = IMFS_evaluate_hard_link( node, flags );                
   4aa0e:	2f02           	movel %d2,%sp@-                             
   4aa10:	2f0b           	movel %a3,%sp@-                             
   4aa12:	4e94           	jsr %a4@                                    
   4aa14:	508f           	addql #8,%sp                                
                                                                      
    else if (jnode->type == IMFS_SYM_LINK )                           
      result = IMFS_evaluate_sym_link( node, flags );                 
                                                                      
  } while ( ( result == 0 ) && ( ( jnode->type == IMFS_SYM_LINK  ) || 
                                 ( jnode->type == IMFS_HARD_LINK ) ) );
   4aa16:	4a80           	tstl %d0                                    
   4aa18:	67e0           	beqs 4a9fa <IMFS_evaluate_link+0x6e>        
   4aa1a:	2079 0005 f4e4 	moveal 5f4e4 <rtems_current_user_env>,%a0   
                                                                      
  /*                                                                  
   * Clear link counter.                                              
   */                                                                 
                                                                      
  rtems_filesystem_link_counts = 0;                                   
   4aa20:	4241           	clrw %d1                                    
   4aa22:	3141 0030      	movew %d1,%a0@(48)                          
   4aa26:	60bc           	bras 4a9e4 <IMFS_evaluate_link+0x58>        
     * Increment and check the link counter.                          
     */                                                               
                                                                      
    rtems_filesystem_link_counts ++;                                  
    if ( rtems_filesystem_link_counts > MAXSYMLINK ) {                
      rtems_filesystem_link_counts = 0;                               
   4aa28:	4241           	clrw %d1                                    
   4aa2a:	3141 0030      	movew %d1,%a0@(48)                          
      rtems_set_errno_and_return_minus_one( ELOOP );                  
   4aa2e:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         
   4aa34:	725c           	moveq #92,%d1                               
   4aa36:	2040           	moveal %d0,%a0                              
   4aa38:	70ff           	moveq #-1,%d0                               
   */                                                                 
                                                                      
  rtems_filesystem_link_counts = 0;                                   
                                                                      
  return result;                                                      
}                                                                     
   4aa3a:	4cee 3c04 ffec 	moveml %fp@(-20),%d2/%a2-%a5                
     */                                                               
                                                                      
    rtems_filesystem_link_counts ++;                                  
    if ( rtems_filesystem_link_counts > MAXSYMLINK ) {                
      rtems_filesystem_link_counts = 0;                               
      rtems_set_errno_and_return_minus_one( ELOOP );                  
   4aa40:	2081           	movel %d1,%a0@                              
   */                                                                 
                                                                      
  rtems_filesystem_link_counts = 0;                                   
                                                                      
  return result;                                                      
}                                                                     
   4aa42:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004a586 <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 ) )
   4a586:	70f8           	moveq #-8,%d0                               
 */                                                                   
int IMFS_evaluate_permission(                                         
  rtems_filesystem_location_info_t  *node,                            
  int                                flags                            
)                                                                     
{                                                                     
   4a588:	4e56 fff4      	linkw %fp,#-12                              
   4a58c:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
   4a590:	242e 000c      	movel %fp@(12),%d2                          
  uid_t         st_uid;                                               
  gid_t         st_gid;                                               
  IMFS_jnode_t *jnode;                                                
  int           flags_to_test;                                        
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) )                         
   4a594:	c082           	andl %d2,%d0                                
   4a596:	6670           	bnes 4a608 <IMFS_evaluate_permission+0x82>  <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EPERM );                    
                                                                      
  jnode = node->node_access;                                          
   4a598:	206e 0008      	moveal %fp@(8),%a0                          
   4a59c:	2450           	moveal %a0@,%a2                             
                                                                      
#if defined(RTEMS_POSIX_API)                                          
  st_uid = geteuid();                                                 
   4a59e:	4eb9 0004 b3d0 	jsr 4b3d0 <geteuid>                         
   4a5a4:	3600           	movew %d0,%d3                               
  st_gid = getegid();                                                 
   4a5a6:	4eb9 0004 b3bc 	jsr 4b3bc <getegid>                         
   * Check if I am owner or a group member or someone else.           
   */                                                                 
                                                                      
  flags_to_test = flags;                                              
                                                                      
  if ( st_uid == jnode->st_uid )                                      
   4a5ac:	4281           	clrl %d1                                    
   4a5ae:	0283 0000 ffff 	andil #65535,%d3                            
   4a5b4:	322a 0038      	movew %a2@(56),%d1                          
   4a5b8:	b681           	cmpl %d1,%d3                                
   4a5ba:	6728           	beqs 4a5e4 <IMFS_evaluate_permission+0x5e>  
    flags_to_test <<= 6;                                              
  else if ( st_gid == jnode->st_gid )                                 
   4a5bc:	4281           	clrl %d1                                    
   4a5be:	0280 0000 ffff 	andil #65535,%d0                            
   4a5c4:	322a 003a      	movew %a2@(58),%d1                          
   4a5c8:	b081           	cmpl %d1,%d0                                
   4a5ca:	672a           	beqs 4a5f6 <IMFS_evaluate_permission+0x70>  <== ALWAYS TAKEN
                                                                      
  /*                                                                  
   * If all of the flags are set we have permission                   
   * to do this.                                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
   4a5cc:	2002           	movel %d2,%d0                               <== NOT EXECUTED
   4a5ce:	c0aa 002e      	andl %a2@(46),%d0                           <== NOT EXECUTED
  gid_t         st_gid;                                               
  IMFS_jnode_t *jnode;                                                
  int           flags_to_test;                                        
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) )                         
    rtems_set_errno_and_return_minus_one( EPERM );                    
   4a5d2:	b082           	cmpl %d2,%d0                                <== NOT EXECUTED
   4a5d4:	57c0           	seq %d0                                     <== NOT EXECUTED
   4a5d6:	49c0           	extbl %d0                                   <== NOT EXECUTED
   4a5d8:	4480           	negl %d0                                    <== NOT EXECUTED
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
    return 1;                                                         
                                                                      
  return 0;                                                           
}                                                                     
   4a5da:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
   4a5e0:	4e5e           	unlk %fp                                    
   4a5e2:	4e75           	rts                                         
   */                                                                 
                                                                      
  flags_to_test = flags;                                              
                                                                      
  if ( st_uid == jnode->st_uid )                                      
    flags_to_test <<= 6;                                              
   4a5e4:	ed8a           	lsll #6,%d2                                 
                                                                      
  /*                                                                  
   * If all of the flags are set we have permission                   
   * to do this.                                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
   4a5e6:	2002           	movel %d2,%d0                               
   4a5e8:	c0aa 002e      	andl %a2@(46),%d0                           
  gid_t         st_gid;                                               
  IMFS_jnode_t *jnode;                                                
  int           flags_to_test;                                        
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) )                         
    rtems_set_errno_and_return_minus_one( EPERM );                    
   4a5ec:	b082           	cmpl %d2,%d0                                
   4a5ee:	57c0           	seq %d0                                     
   4a5f0:	49c0           	extbl %d0                                   
   4a5f2:	4480           	negl %d0                                    
   4a5f4:	60e4           	bras 4a5da <IMFS_evaluate_permission+0x54>  
  flags_to_test = flags;                                              
                                                                      
  if ( st_uid == jnode->st_uid )                                      
    flags_to_test <<= 6;                                              
  else if ( st_gid == jnode->st_gid )                                 
    flags_to_test <<= 3;                                              
   4a5f6:	e78a           	lsll #3,%d2                                 
                                                                      
  /*                                                                  
   * If all of the flags are set we have permission                   
   * to do this.                                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
   4a5f8:	2002           	movel %d2,%d0                               
   4a5fa:	c0aa 002e      	andl %a2@(46),%d0                           
  gid_t         st_gid;                                               
  IMFS_jnode_t *jnode;                                                
  int           flags_to_test;                                        
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) )                         
    rtems_set_errno_and_return_minus_one( EPERM );                    
   4a5fe:	b082           	cmpl %d2,%d0                                
   4a600:	57c0           	seq %d0                                     
   4a602:	49c0           	extbl %d0                                   
   4a604:	4480           	negl %d0                                    
   4a606:	60d2           	bras 4a5da <IMFS_evaluate_permission+0x54>  
   4a608:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         <== NOT EXECUTED
   4a60e:	7201           	moveq #1,%d1                                <== NOT EXECUTED
   4a610:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4a612:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
    return 1;                                                         
                                                                      
  return 0;                                                           
}                                                                     
   4a614:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                <== NOT EXECUTED
  gid_t         st_gid;                                               
  IMFS_jnode_t *jnode;                                                
  int           flags_to_test;                                        
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) )                         
    rtems_set_errno_and_return_minus_one( EPERM );                    
   4a61a:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
    return 1;                                                         
                                                                      
  return 0;                                                           
}                                                                     
   4a61c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004e148 <IMFS_fchmod>: int IMFS_fchmod( rtems_filesystem_location_info_t *loc, mode_t mode ) {
   4e148:	4e56 fff8      	linkw %fp,#-8                               
   4e14c:	206e 0008      	moveal %fp@(8),%a0                          
   4e150:	2f0a           	movel %a2,%sp@-                             
  IMFS_jnode_t  *jnode;                                               
#if defined(RTEMS_POSIX_API)                                          
  uid_t          st_uid;                                              
#endif                                                                
                                                                      
  jnode = loc->node_access;                                           
   4e152:	2450           	moveal %a0@,%a2                             
                                                                      
int IMFS_fchmod(                                                      
  rtems_filesystem_location_info_t *loc,                              
  mode_t                            mode                              
)                                                                     
{                                                                     
   4e154:	2f02           	movel %d2,%sp@-                             
   *  Verify I am the owner of the node or the super user.            
   */                                                                 
#if defined(RTEMS_POSIX_API)                                          
  st_uid = geteuid();                                                 
                                                                      
  if ( ( st_uid != jnode->st_uid ) && ( st_uid != 0 ) )               
   4e156:	4282           	clrl %d2                                    
                                                                      
  /*                                                                  
   *  Verify I am the owner of the node or the super user.            
   */                                                                 
#if defined(RTEMS_POSIX_API)                                          
  st_uid = geteuid();                                                 
   4e158:	4eb9 0004 b3d0 	jsr 4b3d0 <geteuid>                         
                                                                      
  if ( ( st_uid != jnode->st_uid ) && ( st_uid != 0 ) )               
   4e15e:	4281           	clrl %d1                                    
   4e160:	342a 0038      	movew %a2@(56),%d2                          
   4e164:	3200           	movew %d0,%d1                               
   4e166:	b282           	cmpl %d2,%d1                                
   4e168:	6704           	beqs 4e16e <IMFS_fchmod+0x26>               
   4e16a:	4a40           	tstw %d0                                    
   4e16c:	663c           	bnes 4e1aa <IMFS_fchmod+0x62>               <== ALWAYS TAKEN
                                                                      
  /*                                                                  
   * Change only the RWX permissions on the jnode to mode.            
   */                                                                 
                                                                      
  jnode->st_mode &= ~(S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
   4e16e:	202a 002e      	movel %a2@(46),%d0                          
  jnode->st_mode |= mode & (S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
   4e172:	222e 000c      	movel %fp@(12),%d1                          
                                                                      
  /*                                                                  
   * Change only the RWX permissions on the jnode to mode.            
   */                                                                 
                                                                      
  jnode->st_mode &= ~(S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
   4e176:	0280 ffff f000 	andil #-4096,%d0                            
  jnode->st_mode |= mode & (S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
   4e17c:	0281 0000 0fff 	andil #4095,%d1                             
   4e182:	8280           	orl %d0,%d1                                 
   4e184:	2541 002e      	movel %d1,%a2@(46)                          
                                                                      
  IMFS_update_ctime( jnode );                                         
   4e188:	42a7           	clrl %sp@-                                  
   4e18a:	486e fff8      	pea %fp@(-8)                                
   4e18e:	4eb9 0004 3074 	jsr 43074 <gettimeofday>                    
   4e194:	256e fff8 0044 	movel %fp@(-8),%a2@(68)                     
                                                                      
  return 0;                                                           
   4e19a:	508f           	addql #8,%sp                                
   4e19c:	4280           	clrl %d0                                    
}                                                                     
   4e19e:	242e fff0      	movel %fp@(-16),%d2                         
   4e1a2:	246e fff4      	moveal %fp@(-12),%a2                        
   4e1a6:	4e5e           	unlk %fp                                    
   4e1a8:	4e75           	rts                                         
   */                                                                 
#if defined(RTEMS_POSIX_API)                                          
  st_uid = geteuid();                                                 
                                                                      
  if ( ( st_uid != jnode->st_uid ) && ( st_uid != 0 ) )               
    rtems_set_errno_and_return_minus_one( EPERM );                    
   4e1aa:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         
  jnode->st_mode |= mode & (S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
                                                                      
  IMFS_update_ctime( jnode );                                         
                                                                      
  return 0;                                                           
}                                                                     
   4e1b0:	242e fff0      	movel %fp@(-16),%d2                         
   */                                                                 
#if defined(RTEMS_POSIX_API)                                          
  st_uid = geteuid();                                                 
                                                                      
  if ( ( st_uid != jnode->st_uid ) && ( st_uid != 0 ) )               
    rtems_set_errno_and_return_minus_one( EPERM );                    
   4e1b4:	2040           	moveal %d0,%a0                              
   4e1b6:	7201           	moveq #1,%d1                                
   4e1b8:	70ff           	moveq #-1,%d0                               
  jnode->st_mode |= mode & (S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
                                                                      
  IMFS_update_ctime( jnode );                                         
                                                                      
  return 0;                                                           
}                                                                     
   4e1ba:	246e fff4      	moveal %fp@(-12),%a2                        
   4e1be:	4e5e           	unlk %fp                                    
   */                                                                 
#if defined(RTEMS_POSIX_API)                                          
  st_uid = geteuid();                                                 
                                                                      
  if ( ( st_uid != jnode->st_uid ) && ( st_uid != 0 ) )               
    rtems_set_errno_and_return_minus_one( EPERM );                    
   4e1c0:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
  jnode->st_mode |= mode & (S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
                                                                      
  IMFS_update_ctime( jnode );                                         
                                                                      
  return 0;                                                           
}                                                                     
                                                                      

00043900 <IMFS_fifo_lseek>: rtems_off64_t IMFS_fifo_lseek( rtems_libio_t *iop, rtems_off64_t offset, int whence ) {
   43900:	4e56 0000      	linkw %fp,#0                                
   43904:	206e 0008      	moveal %fp@(8),%a0                          
   43908:	2f03           	movel %d3,%sp@-                             
   4390a:	2f02           	movel %d2,%sp@-                             
  off_t err = pipe_lseek(LIBIO2PIPE(iop), offset, whence, iop);       
   4390c:	2f08           	movel %a0,%sp@-                             
   4390e:	2f2e 0014      	movel %fp@(20),%sp@-                        
   43912:	2068 0018      	moveal %a0@(24),%a0                         
   43916:	2f2e 0010      	movel %fp@(16),%sp@-                        
   4391a:	2f2e 000c      	movel %fp@(12),%sp@-                        
   4391e:	2f28 004c      	movel %a0@(76),%sp@-                        
   43922:	4eb9 0004 dc6a 	jsr 4dc6a <pipe_lseek>                      
  IMFS_FIFO_RETURN(err);                                              
   43928:	4fef 0014      	lea %sp@(20),%sp                            
  rtems_libio_t *iop,                                                 
  rtems_off64_t  offset,                                              
  int            whence                                               
)                                                                     
{                                                                     
  off_t err = pipe_lseek(LIBIO2PIPE(iop), offset, whence, iop);       
   4392c:	2600           	movel %d0,%d3                               
   4392e:	2400           	movel %d0,%d2                               
   43930:	5bc1           	smi %d1                                     
   43932:	49c1           	extbl %d1                                   
  IMFS_FIFO_RETURN(err);                                              
   43934:	4a81           	tstl %d1                                    
   43936:	6b10           	bmis 43948 <IMFS_fifo_lseek+0x48>           <== ALWAYS TAKEN
}                                                                     
   43938:	2001           	movel %d1,%d0                               <== NOT EXECUTED
   4393a:	2202           	movel %d2,%d1                               <== NOT EXECUTED
   4393c:	242e fff8      	movel %fp@(-8),%d2                          <== NOT EXECUTED
   43940:	262e fffc      	movel %fp@(-4),%d3                          <== NOT EXECUTED
   43944:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   43946:	4e75           	rts                                         <== NOT EXECUTED
  rtems_off64_t  offset,                                              
  int            whence                                               
)                                                                     
{                                                                     
  off_t err = pipe_lseek(LIBIO2PIPE(iop), offset, whence, iop);       
  IMFS_FIFO_RETURN(err);                                              
   43948:	4eb9 0005 11b0 	jsr 511b0 <__errno>                         
   4394e:	4483           	negl %d3                                    
   43950:	2040           	moveal %d0,%a0                              
   43952:	72ff           	moveq #-1,%d1                               
   43954:	74ff           	moveq #-1,%d2                               
   43956:	2083           	movel %d3,%a0@                              
}                                                                     
   43958:	262e fffc      	movel %fp@(-4),%d3                          
   4395c:	2001           	movel %d1,%d0                               
   4395e:	2202           	movel %d2,%d1                               
   43960:	242e fff8      	movel %fp@(-8),%d2                          
   43964:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000439f6 <IMFS_fifo_write>: ssize_t IMFS_fifo_write( rtems_libio_t *iop, const void *buffer, size_t count ) {
   439f6:	4e56 fff8      	linkw %fp,#-8                               
   439fa:	206e 0008      	moveal %fp@(8),%a0                          
   439fe:	2f0a           	movel %a2,%sp@-                             
   43a00:	2f02           	movel %d2,%sp@-                             
  IMFS_jnode_t *jnode = iop->pathinfo.node_access;                    
                                                                      
  int err = pipe_write(JNODE2PIPE(jnode), buffer, count, iop);        
   43a02:	2f08           	movel %a0,%sp@-                             
   43a04:	2f2e 0010      	movel %fp@(16),%sp@-                        
  rtems_libio_t *iop,                                                 
  const void    *buffer,                                              
  size_t         count                                                
)                                                                     
{                                                                     
  IMFS_jnode_t *jnode = iop->pathinfo.node_access;                    
   43a08:	2468 0018      	moveal %a0@(24),%a2                         
                                                                      
  int err = pipe_write(JNODE2PIPE(jnode), buffer, count, iop);        
   43a0c:	2f2e 000c      	movel %fp@(12),%sp@-                        
   43a10:	2f2a 004c      	movel %a2@(76),%sp@-                        
   43a14:	4eb9 0004 d9e6 	jsr 4d9e6 <pipe_write>                      
  if (err > 0) {                                                      
   43a1a:	4fef 0010      	lea %sp@(16),%sp                            
  size_t         count                                                
)                                                                     
{                                                                     
  IMFS_jnode_t *jnode = iop->pathinfo.node_access;                    
                                                                      
  int err = pipe_write(JNODE2PIPE(jnode), buffer, count, iop);        
   43a1e:	2400           	movel %d0,%d2                               
  if (err > 0) {                                                      
   43a20:	6f28           	bles 43a4a <IMFS_fifo_write+0x54>           
    IMFS_mtime_ctime_update(jnode);                                   
   43a22:	42a7           	clrl %sp@-                                  
   43a24:	486e fff8      	pea %fp@(-8)                                
   43a28:	4eb9 0004 4e40 	jsr 44e40 <gettimeofday>                    
   43a2e:	222e fff8      	movel %fp@(-8),%d1                          
   43a32:	2002           	movel %d2,%d0                               
   43a34:	508f           	addql #8,%sp                                
   43a36:	2541 0040      	movel %d1,%a2@(64)                          
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
}                                                                     
   43a3a:	242e fff0      	movel %fp@(-16),%d2                         
{                                                                     
  IMFS_jnode_t *jnode = iop->pathinfo.node_access;                    
                                                                      
  int err = pipe_write(JNODE2PIPE(jnode), buffer, count, iop);        
  if (err > 0) {                                                      
    IMFS_mtime_ctime_update(jnode);                                   
   43a3e:	2541 0044      	movel %d1,%a2@(68)                          
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
}                                                                     
   43a42:	246e fff4      	moveal %fp@(-12),%a2                        
   43a46:	4e5e           	unlk %fp                                    
   43a48:	4e75           	rts                                         
  int err = pipe_write(JNODE2PIPE(jnode), buffer, count, iop);        
  if (err > 0) {                                                      
    IMFS_mtime_ctime_update(jnode);                                   
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
   43a4a:	4a80           	tstl %d0                                    
   43a4c:	660e           	bnes 43a5c <IMFS_fifo_write+0x66>           <== ALWAYS TAKEN
}                                                                     
   43a4e:	242e fff0      	movel %fp@(-16),%d2                         <== NOT EXECUTED
  int err = pipe_write(JNODE2PIPE(jnode), buffer, count, iop);        
  if (err > 0) {                                                      
    IMFS_mtime_ctime_update(jnode);                                   
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
   43a52:	4280           	clrl %d0                                    <== NOT EXECUTED
}                                                                     
   43a54:	246e fff4      	moveal %fp@(-12),%a2                        <== NOT EXECUTED
   43a58:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   43a5a:	4e75           	rts                                         <== NOT EXECUTED
  int err = pipe_write(JNODE2PIPE(jnode), buffer, count, iop);        
  if (err > 0) {                                                      
    IMFS_mtime_ctime_update(jnode);                                   
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
   43a5c:	4eb9 0005 11b0 	jsr 511b0 <__errno>                         
   43a62:	4482           	negl %d2                                    
   43a64:	2040           	moveal %d0,%a0                              
   43a66:	70ff           	moveq #-1,%d0                               
   43a68:	2082           	movel %d2,%a0@                              
}                                                                     
   43a6a:	242e fff0      	movel %fp@(-16),%d2                         
   43a6e:	246e fff4      	moveal %fp@(-12),%a2                        
   43a72:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004ad7c <IMFS_find_match_in_dir>: IMFS_jnode_t *IMFS_find_match_in_dir( IMFS_jnode_t *directory, char *name ) {
   4ad7c:	4e56 fff0      	linkw %fp,#-16                              
   4ad80:	48d7 0c0c      	moveml %d2-%d3/%a2-%a3,%sp@                 
                                                                      
  /*                                                                  
   *  Check for "." and ".."                                          
   */                                                                 
                                                                      
  if ( !strcmp( name, dotname ) )                                     
   4ad84:	4879 0005 e610 	pea 5e610 <dotname>                         
   4ad8a:	47f9 0004 fad0 	lea 4fad0 <strcmp>,%a3                      
                                                                      
IMFS_jnode_t *IMFS_find_match_in_dir(                                 
  IMFS_jnode_t *directory,                                            
  char         *name                                                  
)                                                                     
{                                                                     
   4ad90:	242e 000c      	movel %fp@(12),%d2                          
                                                                      
  /*                                                                  
   *  Check for "." and ".."                                          
   */                                                                 
                                                                      
  if ( !strcmp( name, dotname ) )                                     
   4ad94:	2f02           	movel %d2,%sp@-                             
                                                                      
IMFS_jnode_t *IMFS_find_match_in_dir(                                 
  IMFS_jnode_t *directory,                                            
  char         *name                                                  
)                                                                     
{                                                                     
   4ad96:	246e 0008      	moveal %fp@(8),%a2                          
                                                                      
  /*                                                                  
   *  Check for "." and ".."                                          
   */                                                                 
                                                                      
  if ( !strcmp( name, dotname ) )                                     
   4ad9a:	4e93           	jsr %a3@                                    
   4ad9c:	508f           	addql #8,%sp                                
   4ad9e:	4a80           	tstl %d0                                    
   4ada0:	6714           	beqs 4adb6 <IMFS_find_match_in_dir+0x3a>    <== NEVER TAKEN
    return directory;                                                 
                                                                      
  if ( !strcmp( name, dotdotname ) )                                  
   4ada2:	4879 0005 e612 	pea 5e612 <dotdotname>                      
   4ada8:	2f02           	movel %d2,%sp@-                             
   4adaa:	4e93           	jsr %a3@                                    
   4adac:	508f           	addql #8,%sp                                
   4adae:	4a80           	tstl %d0                                    
   4adb0:	6610           	bnes 4adc2 <IMFS_find_match_in_dir+0x46>    <== ALWAYS TAKEN
    return directory->Parent;                                         
   4adb2:	246a 0008      	moveal %a2@(8),%a2                          <== NOT EXECUTED
    if ( !strcmp( name, the_jnode->name ) )                           
      return the_jnode;                                               
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
   4adb6:	200a           	movel %a2,%d0                               
   4adb8:	4cee 0c0c fff0 	moveml %fp@(-16),%d2-%d3/%a2-%a3            
   4adbe:	4e5e           	unlk %fp                                    
   4adc0:	4e75           	rts                                         
RTEMS_INLINE_ROUTINE bool _Chain_Is_tail(                             
  Chain_Control *the_chain,                                           
  const Chain_Node    *the_node                                       
)                                                                     
{                                                                     
  return (the_node == _Chain_Tail(the_chain));                        
   4adc2:	260a           	movel %a2,%d3                               
   4adc4:	0683 0000 0050 	addil #80,%d3                               
   4adca:	202a 004c      	movel %a2@(76),%d0                          
  if ( !strcmp( name, dotdotname ) )                                  
    return directory->Parent;                                         
                                                                      
  the_chain = &directory->info.directory.Entries;                     
                                                                      
  for ( the_node = rtems_chain_first( the_chain );                    
   4adce:	b680           	cmpl %d0,%d3                                
   4add0:	6716           	beqs 4ade8 <IMFS_find_match_in_dir+0x6c>    
   4add2:	2440           	moveal %d0,%a2                              
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
                                                                      
    the_jnode = (IMFS_jnode_t *) the_node;                            
                                                                      
    if ( !strcmp( name, the_jnode->name ) )                           
   4add4:	486a 000c      	pea %a2@(12)                                
   4add8:	2f02           	movel %d2,%sp@-                             
   4adda:	4e93           	jsr %a3@                                    
   4addc:	508f           	addql #8,%sp                                
   4adde:	4a80           	tstl %d0                                    
   4ade0:	67d4           	beqs 4adb6 <IMFS_find_match_in_dir+0x3a>    
                                                                      
  the_chain = &directory->info.directory.Entries;                     
                                                                      
  for ( the_node = rtems_chain_first( the_chain );                    
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
   4ade2:	2452           	moveal %a2@,%a2                             
  if ( !strcmp( name, dotdotname ) )                                  
    return directory->Parent;                                         
                                                                      
  the_chain = &directory->info.directory.Entries;                     
                                                                      
  for ( the_node = rtems_chain_first( the_chain );                    
   4ade4:	b68a           	cmpl %a2,%d3                                
   4ade6:	66ec           	bnes 4add4 <IMFS_find_match_in_dir+0x58>    
                                                                      
    if ( !strcmp( name, the_jnode->name ) )                           
      return the_jnode;                                               
  }                                                                   
                                                                      
  return 0;                                                           
   4ade8:	95ca           	subal %a2,%a2                               
}                                                                     
   4adea:	200a           	movel %a2,%d0                               
   4adec:	4cee 0c0c fff0 	moveml %fp@(-16),%d2-%d3/%a2-%a3            
   4adf2:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004acd0 <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 ) {
   4acd0:	4e56 ffd8      	linkw %fp,#-40                              
   4acd4:	206e 0008      	moveal %fp@(8),%a0                          
   4acd8:	48d7 3c04      	moveml %d2/%a2-%a5,%sp@                     
    * Traverse tree that starts at the mt_fs_root and deallocate memory
    * associated memory space                                         
    */                                                                
                                                                      
   jnode = (IMFS_jnode_t *)temp_mt_entry->mt_fs_root.node_access;     
   loc = temp_mt_entry->mt_fs_root;                                   
   4acdc:	47ee ffec      	lea %fp@(-20),%a3                           
   4ace0:	49f9 0004 a4fc 	lea 4a4fc <IMFS_Set_handlers>,%a4           
     next = jnode->Parent;                                            
     loc.node_access = (void *)jnode;                                 
     IMFS_Set_handlers( &loc );                                       
                                                                      
     if ( jnode->type != IMFS_DIRECTORY ) {                           
        result = IMFS_unlink( NULL, &loc );                           
   4ace6:	4bf9 0004 28a8 	lea 428a8 <IMFS_unlink>,%a5                 
    * 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;                                   
   4acec:	26a8 001c      	movel %a0@(28),%a3@                         
   /*                                                                 
    * 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;     
   4acf0:	2468 001c      	moveal %a0@(28),%a2                         
   loc = temp_mt_entry->mt_fs_root;                                   
   4acf4:	2d68 0020 fff0 	movel %a0@(32),%fp@(-16)                    
   4acfa:	2d68 0024 fff4 	movel %a0@(36),%fp@(-12)                    
   4ad00:	2d68 0028 fff8 	movel %a0@(40),%fp@(-8)                     
   4ad06:	2d68 002c fffc 	movel %a0@(44),%fp@(-4)                     
                                                                      
   /*                                                                 
    *  Set this to null to indicate that it is being unmounted.       
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
   4ad0c:	42a8 001c      	clrl %a0@(28)                               
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
   4ad10:	242a 0008      	movel %a2@(8),%d2                           
     loc.node_access = (void *)jnode;                                 
   4ad14:	2d4a ffec      	movel %a2,%fp@(-20)                         
     IMFS_Set_handlers( &loc );                                       
   4ad18:	2f0b           	movel %a3,%sp@-                             
   4ad1a:	4e94           	jsr %a4@                                    
                                                                      
     if ( jnode->type != IMFS_DIRECTORY ) {                           
   4ad1c:	588f           	addql #4,%sp                                
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
   4ad1e:	200a           	movel %a2,%d0                               
   4ad20:	0680 0000 0050 	addil #80,%d0                               
   4ad26:	7201           	moveq #1,%d1                                
   4ad28:	b2aa 0048      	cmpl %a2@(72),%d1                           
   4ad2c:	6634           	bnes 4ad62 <IMFS_fsunmount+0x92>            <== NEVER TAKEN
        result = IMFS_unlink( NULL, &loc );                           
        if (result != 0)                                              
          return -1;                                                  
        jnode = next;                                                 
     } else if ( jnode_has_no_children( jnode ) ) {                   
   4ad2e:	b0aa 004c      	cmpl %a2@(76),%d0                           
   4ad32:	672e           	beqs 4ad62 <IMFS_fsunmount+0x92>            
        result = IMFS_unlink( NULL, &loc );                           
        if (result != 0)                                              
          return -1;                                                  
        jnode = next;                                                 
     }                                                                
     if ( jnode != NULL ) {                                           
   4ad34:	4a8a           	tstl %a2                                    
   4ad36:	671e           	beqs 4ad56 <IMFS_fsunmount+0x86>            
       if ( jnode->type == IMFS_DIRECTORY ) {                         
   4ad38:	7001           	moveq #1,%d0                                
   4ad3a:	b0aa 0048      	cmpl %a2@(72),%d0                           
   4ad3e:	66d0           	bnes 4ad10 <IMFS_fsunmount+0x40>            <== NEVER TAKEN
   4ad40:	220a           	movel %a2,%d1                               
   4ad42:	0681 0000 0050 	addil #80,%d1                               
       }                                                              
     }                                                                
   } while (jnode != NULL);                                           
                                                                      
   return 0;                                                          
}                                                                     
   4ad48:	202a 004c      	movel %a2@(76),%d0                          
          return -1;                                                  
        jnode = next;                                                 
     }                                                                
     if ( jnode != NULL ) {                                           
       if ( jnode->type == IMFS_DIRECTORY ) {                         
         if ( jnode_has_children( jnode ) )                           
   4ad4c:	b280           	cmpl %d0,%d1                                
   4ad4e:	67c0           	beqs 4ad10 <IMFS_fsunmount+0x40>            
           jnode = jnode_get_first_child( jnode );                    
   4ad50:	2440           	moveal %d0,%a2                              
       }                                                              
     }                                                                
   } while (jnode != NULL);                                           
   4ad52:	4a80           	tstl %d0                                    
   4ad54:	66ba           	bnes 4ad10 <IMFS_fsunmount+0x40>            
                                                                      
   return 0;                                                          
   4ad56:	4280           	clrl %d0                                    
}                                                                     
   4ad58:	4cee 3c04 ffd8 	moveml %fp@(-40),%d2/%a2-%a5                
   4ad5e:	4e5e           	unlk %fp                                    
   4ad60:	4e75           	rts                                         
        result = IMFS_unlink( NULL, &loc );                           
        if (result != 0)                                              
          return -1;                                                  
        jnode = next;                                                 
     } else if ( jnode_has_no_children( jnode ) ) {                   
        result = IMFS_unlink( NULL, &loc );                           
   4ad62:	2f0b           	movel %a3,%sp@-                             
        if (result != 0)                                              
          return -1;                                                  
        jnode = next;                                                 
   4ad64:	2442           	moveal %d2,%a2                              
        result = IMFS_unlink( NULL, &loc );                           
        if (result != 0)                                              
          return -1;                                                  
        jnode = next;                                                 
     } else if ( jnode_has_no_children( jnode ) ) {                   
        result = IMFS_unlink( NULL, &loc );                           
   4ad66:	42a7           	clrl %sp@-                                  
   4ad68:	4e95           	jsr %a5@                                    
        if (result != 0)                                              
   4ad6a:	508f           	addql #8,%sp                                
   4ad6c:	4a80           	tstl %d0                                    
   4ad6e:	67c4           	beqs 4ad34 <IMFS_fsunmount+0x64>            <== ALWAYS TAKEN
          return -1;                                                  
   4ad70:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
       }                                                              
     }                                                                
   } while (jnode != NULL);                                           
                                                                      
   return 0;                                                          
}                                                                     
   4ad72:	4cee 3c04 ffd8 	moveml %fp@(-40),%d2/%a2-%a5                <== NOT EXECUTED
   4ad78:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004adf8 <IMFS_get_token>: const char *path, int pathlen, char *token, int *token_len ) {
   4adf8:	4e56 ffe4      	linkw %fp,#-28                              
   4adfc:	48d7 3c1c      	moveml %d2-%d4/%a2-%a5,%sp@                 
  register char c;                                                    
                                                                      
  /*                                                                  
   *  Copy a name into token.  (Remember NULL is a token.)            
   */                                                                 
  c = path[i];                                                        
   4ae00:	246e 0008      	moveal %fp@(8),%a2                          
   4ae04:	49f9 0004 3f3c 	lea 43f3c <rtems_filesystem_is_separator>,%a4
  int               pathlen,                                          
  char             *token,                                            
  int              *token_len                                         
)                                                                     
{                                                                     
  register int i = 0;                                                 
   4ae0a:	4282           	clrl %d2                                    
  register char c;                                                    
                                                                      
  /*                                                                  
   *  Copy a name into token.  (Remember NULL is a token.)            
   */                                                                 
  c = path[i];                                                        
   4ae0c:	161a           	moveb %a2@+,%d3                             
  const char       *path,                                             
  int               pathlen,                                          
  char             *token,                                            
  int              *token_len                                         
)                                                                     
{                                                                     
   4ae0e:	2a6e 0010      	moveal %fp@(16),%a5                         
  register char c;                                                    
                                                                      
  /*                                                                  
   *  Copy a name into token.  (Remember NULL is a token.)            
   */                                                                 
  c = path[i];                                                        
   4ae12:	264d           	moveal %a5,%a3                              
  while ( (!IMFS_is_separator(c)) && (i < pathlen) && (i <= IMFS_NAME_MAX) ) {
   4ae14:	1003           	moveb %d3,%d0                               
  const char       *path,                                             
  int               pathlen,                                          
  char             *token,                                            
  int              *token_len                                         
)                                                                     
{                                                                     
   4ae16:	282e 000c      	movel %fp@(12),%d4                          
                                                                      
  /*                                                                  
   *  Copy a name into token.  (Remember NULL is a token.)            
   */                                                                 
  c = path[i];                                                        
  while ( (!IMFS_is_separator(c)) && (i < pathlen) && (i <= IMFS_NAME_MAX) ) {
   4ae1a:	49c0           	extbl %d0                                   
   4ae1c:	2f00           	movel %d0,%sp@-                             
   4ae1e:	4e94           	jsr %a4@                                    
   4ae20:	588f           	addql #4,%sp                                
   4ae22:	4a80           	tstl %d0                                    
   4ae24:	6620           	bnes 4ae46 <IMFS_get_token+0x4e>            
   4ae26:	b882           	cmpl %d2,%d4                                
   4ae28:	6f1c           	bles 4ae46 <IMFS_get_token+0x4e>            
                                                                      
     token[i] = c;                                                    
                                                                      
     if ( i == IMFS_NAME_MAX )                                        
   4ae2a:	7020           	moveq #32,%d0                               
   *  Copy a name into token.  (Remember NULL is a token.)            
   */                                                                 
  c = path[i];                                                        
  while ( (!IMFS_is_separator(c)) && (i < pathlen) && (i <= IMFS_NAME_MAX) ) {
                                                                      
     token[i] = c;                                                    
   4ae2c:	16c3           	moveb %d3,%a3@+                             
                                                                      
     if ( i == IMFS_NAME_MAX )                                        
   4ae2e:	b082           	cmpl %d2,%d0                                
   4ae30:	6700 0082      	beqw 4aeb4 <IMFS_get_token+0xbc>            
       return IMFS_INVALID_TOKEN;                                     
                                                                      
     if ( !IMFS_is_valid_name_char(c) )                               
       type = IMFS_INVALID_TOKEN;                                     
                                                                      
     c = path [++i];                                                  
   4ae34:	5282           	addql #1,%d2                                
   4ae36:	161a           	moveb %a2@+,%d3                             
                                                                      
  /*                                                                  
   *  Copy a name into token.  (Remember NULL is a token.)            
   */                                                                 
  c = path[i];                                                        
  while ( (!IMFS_is_separator(c)) && (i < pathlen) && (i <= IMFS_NAME_MAX) ) {
   4ae38:	1003           	moveb %d3,%d0                               
   4ae3a:	49c0           	extbl %d0                                   
   4ae3c:	2f00           	movel %d0,%sp@-                             
   4ae3e:	4e94           	jsr %a4@                                    
   4ae40:	588f           	addql #4,%sp                                
   4ae42:	4a80           	tstl %d0                                    
   4ae44:	67e0           	beqs 4ae26 <IMFS_get_token+0x2e>            
                                                                      
  /*                                                                  
   *  Copy a seperator into token.                                    
   */                                                                 
                                                                      
  if ( i == 0 ) {                                                     
   4ae46:	4a82           	tstl %d2                                    
   4ae48:	6626           	bnes 4ae70 <IMFS_get_token+0x78>            
    token[i] = c;                                                     
   4ae4a:	1a83           	moveb %d3,%a5@                              
                                                                      
    if ( (token[i] != '\0') && pathlen ) {                            
   4ae4c:	6718           	beqs 4ae66 <IMFS_get_token+0x6e>            
   4ae4e:	4a84           	tstl %d4                                    
   4ae50:	6714           	beqs 4ae66 <IMFS_get_token+0x6e>            
                                                                      
  /*                                                                  
   *  Set token_len to the number of characters copied.               
   */                                                                 
                                                                      
  *token_len = i;                                                     
   4ae52:	206e 0014      	moveal %fp@(20),%a0                         
                                                                      
  if ( i == 0 ) {                                                     
    token[i] = c;                                                     
                                                                      
    if ( (token[i] != '\0') && pathlen ) {                            
      i++;                                                            
   4ae56:	7401           	moveq #1,%d2                                
      type = IMFS_CURRENT_DIR;                                        
   4ae58:	7001           	moveq #1,%d0                                
                                                                      
  /*                                                                  
   *  Set token_len to the number of characters copied.               
   */                                                                 
                                                                      
  *token_len = i;                                                     
   4ae5a:	2082           	movel %d2,%a0@                              
    else if ( strcmp( token, "." ) == 0 )                             
      type = IMFS_CURRENT_DIR;                                        
  }                                                                   
                                                                      
  return type;                                                        
}                                                                     
   4ae5c:	4cee 3c1c ffe4 	moveml %fp@(-28),%d2-%d4/%a2-%a5            
   4ae62:	4e5e           	unlk %fp                                    
   4ae64:	4e75           	rts                                         
                                                                      
  /*                                                                  
   *  Set token_len to the number of characters copied.               
   */                                                                 
                                                                      
  *token_len = i;                                                     
   4ae66:	206e 0014      	moveal %fp@(20),%a0                         
                                                                      
    if ( (token[i] != '\0') && pathlen ) {                            
      i++;                                                            
      type = IMFS_CURRENT_DIR;                                        
    } else {                                                          
      type = IMFS_NO_MORE_PATH;                                       
   4ae6a:	4280           	clrl %d0                                    
                                                                      
  /*                                                                  
   *  Set token_len to the number of characters copied.               
   */                                                                 
                                                                      
  *token_len = i;                                                     
   4ae6c:	2082           	movel %d2,%a0@                              
   4ae6e:	60ec           	bras 4ae5c <IMFS_get_token+0x64>            
      i++;                                                            
      type = IMFS_CURRENT_DIR;                                        
    } else {                                                          
      type = IMFS_NO_MORE_PATH;                                       
    }                                                                 
  } else if (token[ i-1 ] != '\0') {                                  
   4ae70:	4a35 28ff      	tstb %a5@(ffffffff,%d2:l)                   
   4ae74:	6706           	beqs 4ae7c <IMFS_get_token+0x84>            <== NEVER TAKEN
    token[i] = '\0';                                                  
   4ae76:	4200           	clrb %d0                                    
   4ae78:	1b80 2800      	moveb %d0,%a5@(00000000,%d2:l)              
   *  If we copied something that was not a seperator see if          
   *  it was a special name.                                          
   */                                                                 
                                                                      
  if ( type == IMFS_NAME ) {                                          
    if ( strcmp( token, "..") == 0 )                                  
   4ae7c:	4879 0005 e615 	pea 5e615 <dotdotname+0x3>                  
   4ae82:	45f9 0004 fad0 	lea 4fad0 <strcmp>,%a2                      
                                                                      
  /*                                                                  
   *  Set token_len to the number of characters copied.               
   */                                                                 
                                                                      
  *token_len = i;                                                     
   4ae88:	206e 0014      	moveal %fp@(20),%a0                         
   4ae8c:	2082           	movel %d2,%a0@                              
   *  If we copied something that was not a seperator see if          
   *  it was a special name.                                          
   */                                                                 
                                                                      
  if ( type == IMFS_NAME ) {                                          
    if ( strcmp( token, "..") == 0 )                                  
   4ae8e:	2f0d           	movel %a5,%sp@-                             
   4ae90:	4e92           	jsr %a2@                                    
   4ae92:	508f           	addql #8,%sp                                
   4ae94:	4a80           	tstl %d0                                    
   4ae96:	6728           	beqs 4aec0 <IMFS_get_token+0xc8>            
      type = IMFS_UP_DIR;                                             
    else if ( strcmp( token, "." ) == 0 )                             
   4ae98:	4879 0005 e616 	pea 5e616 <dotdotname+0x4>                  
   4ae9e:	2f0d           	movel %a5,%sp@-                             
   4aea0:	4e92           	jsr %a2@                                    
   4aea2:	508f           	addql #8,%sp                                
   4aea4:	4a80           	tstl %d0                                    
   4aea6:	6724           	beqs 4aecc <IMFS_get_token+0xd4>            
   4aea8:	7003           	moveq #3,%d0                                
      type = IMFS_CURRENT_DIR;                                        
  }                                                                   
                                                                      
  return type;                                                        
}                                                                     
   4aeaa:	4cee 3c1c ffe4 	moveml %fp@(-28),%d2-%d4/%a2-%a5            
   4aeb0:	4e5e           	unlk %fp                                    
   4aeb2:	4e75           	rts                                         
  while ( (!IMFS_is_separator(c)) && (i < pathlen) && (i <= IMFS_NAME_MAX) ) {
                                                                      
     token[i] = c;                                                    
                                                                      
     if ( i == IMFS_NAME_MAX )                                        
       return IMFS_INVALID_TOKEN;                                     
   4aeb4:	7004           	moveq #4,%d0                                
    else if ( strcmp( token, "." ) == 0 )                             
      type = IMFS_CURRENT_DIR;                                        
  }                                                                   
                                                                      
  return type;                                                        
}                                                                     
   4aeb6:	4cee 3c1c ffe4 	moveml %fp@(-28),%d2-%d4/%a2-%a5            
   4aebc:	4e5e           	unlk %fp                                    
   4aebe:	4e75           	rts                                         
   *  it was a special name.                                          
   */                                                                 
                                                                      
  if ( type == IMFS_NAME ) {                                          
    if ( strcmp( token, "..") == 0 )                                  
      type = IMFS_UP_DIR;                                             
   4aec0:	7002           	moveq #2,%d0                                
    else if ( strcmp( token, "." ) == 0 )                             
      type = IMFS_CURRENT_DIR;                                        
  }                                                                   
                                                                      
  return type;                                                        
}                                                                     
   4aec2:	4cee 3c1c ffe4 	moveml %fp@(-28),%d2-%d4/%a2-%a5            
   4aec8:	4e5e           	unlk %fp                                    
   4aeca:	4e75           	rts                                         
                                                                      
  if ( type == IMFS_NAME ) {                                          
    if ( strcmp( token, "..") == 0 )                                  
      type = IMFS_UP_DIR;                                             
    else if ( strcmp( token, "." ) == 0 )                             
      type = IMFS_CURRENT_DIR;                                        
   4aecc:	7001           	moveq #1,%d0                                
  }                                                                   
                                                                      
  return type;                                                        
}                                                                     
   4aece:	4cee 3c1c ffe4 	moveml %fp@(-28),%d2-%d4/%a2-%a5            
   4aed4:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042420 <IMFS_initialize_support>: /* * check, whether requested bytes per block is valid */ for (bit_mask = 16; !is_valid && (bit_mask <= 512); bit_mask <<= 1) { if (bit_mask == requested_bytes_per_block) {
   42420:	7010           	moveq #16,%d0                               
   const rtems_filesystem_operations_table    *op_table,              
   const rtems_filesystem_file_handlers_r     *memfile_handlers,      
   const rtems_filesystem_file_handlers_r     *directory_handlers,    
   const rtems_filesystem_file_handlers_r     *fifo_handlers          
)                                                                     
{                                                                     
   42422:	4e56 fff4      	linkw %fp,#-12                              
  IMFS_jnode_t                          *jnode;                       
                                                                      
  /*                                                                  
   * determine/check value for imfs_memfile_bytes_per_block           
   */                                                                 
  IMFS_determine_bytes_per_block(&imfs_memfile_bytes_per_block,       
   42426:	2239 0005 f298 	movel 5f298 <imfs_rq_memfile_bytes_per_block>,%d1
   const rtems_filesystem_operations_table    *op_table,              
   const rtems_filesystem_file_handlers_r     *memfile_handlers,      
   const rtems_filesystem_file_handlers_r     *directory_handlers,    
   const rtems_filesystem_file_handlers_r     *fifo_handlers          
)                                                                     
{                                                                     
   4242c:	48d7 0c04      	moveml %d2/%a2-%a3,%sp@                     
   42430:	246e 0008      	moveal %fp@(8),%a2                          
   42434:	242e 0014      	movel %fp@(20),%d2                          
                                                                      
  /*                                                                  
   * check, whether requested bytes per block is valid                
   */                                                                 
  for (bit_mask = 16; !is_valid && (bit_mask <= 512); bit_mask <<= 1) {
    if (bit_mask == requested_bytes_per_block) {                      
   42438:	b081           	cmpl %d1,%d0                                
   4243a:	6724           	beqs 42460 <IMFS_initialize_support+0x40>   
      is_valid = true;                                                
      break;                                                          
    }                                                                 
    if(bit_mask > requested_bytes_per_block)                          
   4243c:	103c 000f      	moveb #15,%d0                               
   42440:	b081           	cmpl %d1,%d0                                
   42442:	6c16           	bges 4245a <IMFS_initialize_support+0x3a>   
   42444:	307c 0005      	moveaw #5,%a0                               
   42448:	103c 0020      	moveb #32,%d0                               
  int bit_mask;                                                       
                                                                      
  /*                                                                  
   * check, whether requested bytes per block is valid                
   */                                                                 
  for (bit_mask = 16; !is_valid && (bit_mask <= 512); bit_mask <<= 1) {
   4244c:	5388           	subql #1,%a0                                
    if (bit_mask == requested_bytes_per_block) {                      
   4244e:	b081           	cmpl %d1,%d0                                
   42450:	670e           	beqs 42460 <IMFS_initialize_support+0x40>   
      is_valid = true;                                                
      break;                                                          
    }                                                                 
    if(bit_mask > requested_bytes_per_block)                          
   42452:	6e06           	bgts 4245a <IMFS_initialize_support+0x3a>   <== NEVER TAKEN
  int bit_mask;                                                       
                                                                      
  /*                                                                  
   * check, whether requested bytes per block is valid                
   */                                                                 
  for (bit_mask = 16; !is_valid && (bit_mask <= 512); bit_mask <<= 1) {
   42454:	d080           	addl %d0,%d0                                
   42456:	4a88           	tstl %a0                                    
   42458:	66f2           	bnes 4244c <IMFS_initialize_support+0x2c>   <== ALWAYS TAKEN
    if(bit_mask > requested_bytes_per_block)                          
      break;                                                          
  }                                                                   
  *dest_bytes_per_block = ((is_valid)                                 
			   ? requested_bytes_per_block                                     
			   : default_bytes_per_block);                                     
   4245a:	223c 0000 0080 	movel #128,%d1                              
      break;                                                          
    }                                                                 
    if(bit_mask > requested_bytes_per_block)                          
      break;                                                          
  }                                                                   
  *dest_bytes_per_block = ((is_valid)                                 
   42460:	23c1 0006 0314 	movel %d1,60314 <imfs_memfile_bytes_per_block>
  /*                                                                  
   *  Create the root node                                            
   *                                                                  
   *  NOTE: UNIX root is 755 and owned by root/root (0/0).            
   */                                                                 
  temp_mt_entry->mt_fs_root.node_access      = IMFS_create_root_node();
   42466:	4eb9 0004 a4c0 	jsr 4a4c0 <IMFS_create_root_node>           
  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 ) );                    
   4246c:	4878 0014      	pea 14 <OPER2>                              
   *  NOTE: UNIX root is 755 and owned by root/root (0/0).            
   */                                                                 
  temp_mt_entry->mt_fs_root.node_access      = IMFS_create_root_node();
  temp_mt_entry->mt_fs_root.handlers         = directory_handlers;    
  temp_mt_entry->mt_fs_root.ops              = op_table;              
  temp_mt_entry->pathconf_limits_and_options = IMFS_LIMITS_AND_OPTIONS;
   42470:	41f9 0005 e5e0 	lea 5e5e0 <IMFS_LIMITS_AND_OPTIONS>,%a0     
   42476:	43f9 0005 e5e4 	lea 5e5e4 <IMFS_LIMITS_AND_OPTIONS+0x4>,%a1 
  /*                                                                  
   *  Create the root node                                            
   *                                                                  
   *  NOTE: UNIX root is 755 and owned by root/root (0/0).            
   */                                                                 
  temp_mt_entry->mt_fs_root.node_access      = IMFS_create_root_node();
   4247c:	2640           	moveal %d0,%a3                              
  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;
   4247e:	2550 0038      	movel %a0@,%a2@(56)                         
   42482:	41f9 0005 e5e8 	lea 5e5e8 <IMFS_LIMITS_AND_OPTIONS+0x8>,%a0 
   42488:	2551 003c      	movel %a1@,%a2@(60)                         
   4248c:	43f9 0005 e5ec 	lea 5e5ec <IMFS_LIMITS_AND_OPTIONS+0xc>,%a1 
   42492:	2550 0040      	movel %a0@,%a2@(64)                         
   42496:	41f9 0005 e5f0 	lea 5e5f0 <IMFS_LIMITS_AND_OPTIONS+0x10>,%a0
   4249c:	2551 0044      	movel %a1@,%a2@(68)                         
   424a0:	43f9 0005 e5f4 	lea 5e5f4 <IMFS_LIMITS_AND_OPTIONS+0x14>,%a1
                                                                      
  /*                                                                  
   * Create custom file system data.                                  
   */                                                                 
  fs_info = calloc( 1, sizeof( IMFS_fs_info_t ) );                    
   424a6:	4878 0001      	pea 1 <ADD>                                 
   *  NOTE: UNIX root is 755 and owned by root/root (0/0).            
   */                                                                 
  temp_mt_entry->mt_fs_root.node_access      = IMFS_create_root_node();
  temp_mt_entry->mt_fs_root.handlers         = directory_handlers;    
  temp_mt_entry->mt_fs_root.ops              = op_table;              
  temp_mt_entry->pathconf_limits_and_options = IMFS_LIMITS_AND_OPTIONS;
   424aa:	2550 0048      	movel %a0@,%a2@(72)                         
   424ae:	41f9 0005 e5f8 	lea 5e5f8 <IMFS_LIMITS_AND_OPTIONS+0x18>,%a0
   424b4:	2551 004c      	movel %a1@,%a2@(76)                         
   424b8:	43f9 0005 e5fc 	lea 5e5fc <IMFS_LIMITS_AND_OPTIONS+0x1c>,%a1
   424be:	2550 0050      	movel %a0@,%a2@(80)                         
   424c2:	41f9 0005 e600 	lea 5e600 <IMFS_LIMITS_AND_OPTIONS+0x20>,%a0
   424c8:	2551 0054      	movel %a1@,%a2@(84)                         
   424cc:	43f9 0005 e604 	lea 5e604 <IMFS_LIMITS_AND_OPTIONS+0x24>,%a1
   424d2:	2550 0058      	movel %a0@,%a2@(88)                         
   424d6:	41f9 0005 e608 	lea 5e608 <IMFS_LIMITS_AND_OPTIONS+0x28>,%a0
   424dc:	2551 005c      	movel %a1@,%a2@(92)                         
   424e0:	43f9 0005 e60c 	lea 5e60c <IMFS_LIMITS_AND_OPTIONS+0x2c>,%a1
   424e6:	2550 0060      	movel %a0@,%a2@(96)                         
   424ea:	2551 0064      	movel %a1@,%a2@(100)                        
   *                                                                  
   *  NOTE: UNIX root is 755 and owned by root/root (0/0).            
   */                                                                 
  temp_mt_entry->mt_fs_root.node_access      = IMFS_create_root_node();
  temp_mt_entry->mt_fs_root.handlers         = directory_handlers;    
  temp_mt_entry->mt_fs_root.ops              = op_table;              
   424ee:	256e 000c 0028 	movel %fp@(12),%a2@(40)                     
  /*                                                                  
   *  Create the root node                                            
   *                                                                  
   *  NOTE: UNIX root is 755 and owned by root/root (0/0).            
   */                                                                 
  temp_mt_entry->mt_fs_root.node_access      = IMFS_create_root_node();
   424f4:	2540 001c      	movel %d0,%a2@(28)                          
  temp_mt_entry->mt_fs_root.handlers         = directory_handlers;    
   424f8:	2542 0024      	movel %d2,%a2@(36)                          
  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 ) );                    
   424fc:	4eb9 0004 2bd8 	jsr 42bd8 <calloc>                          
  if ( !fs_info ) {                                                   
   42502:	508f           	addql #8,%sp                                
  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 ) );                    
   42504:	2040           	moveal %d0,%a0                              
  if ( !fs_info ) {                                                   
   42506:	4a80           	tstl %d0                                    
   42508:	673c           	beqs 42546 <IMFS_initialize_support+0x126>  
    free(temp_mt_entry->mt_fs_root.node_access);                      
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
  }                                                                   
  temp_mt_entry->fs_info = fs_info;                                   
   4250a:	2548 0034      	movel %a0,%a2@(52)                          
                                                                      
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
   4250e:	2239 0006 0318 	movel 60318 <imfs_instance.5975>,%d1        
   42514:	2241           	moveal %d1,%a1                              
   42516:	5289           	addql #1,%a1                                
  fs_info->fifo_handlers         = fifo_handlers;                     
                                                                      
  jnode = temp_mt_entry->mt_fs_root.node_access;                      
  jnode->st_ino = fs_info->ino_count;                                 
                                                                      
  return 0;                                                           
   42518:	4280           	clrl %d0                                    
                                                                      
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
   4251a:	2081           	movel %d1,%a0@                              
  fs_info->ino_count             = 1;                                 
   4251c:	7201           	moveq #1,%d1                                
  fs_info->memfile_handlers      = memfile_handlers;                  
   4251e:	216e 0010 0008 	movel %fp@(16),%a0@(8)                      
  fs_info->directory_handlers    = directory_handlers;                
  fs_info->fifo_handlers         = fifo_handlers;                     
   42524:	216e 0018 0010 	movel %fp@(24),%a0@(16)                     
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
  fs_info->ino_count             = 1;                                 
  fs_info->memfile_handlers      = memfile_handlers;                  
  fs_info->directory_handlers    = directory_handlers;                
   4252a:	2142 000c      	movel %d2,%a0@(12)                          
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
  fs_info->ino_count             = 1;                                 
   4252e:	2141 0004      	movel %d1,%a0@(4)                           
  fs_info->memfile_handlers      = memfile_handlers;                  
  fs_info->directory_handlers    = directory_handlers;                
  fs_info->fifo_handlers         = fifo_handlers;                     
                                                                      
  jnode = temp_mt_entry->mt_fs_root.node_access;                      
  jnode->st_ino = fs_info->ino_count;                                 
   42532:	2741 0034      	movel %d1,%a3@(52)                          
                                                                      
  return 0;                                                           
}                                                                     
   42536:	4cee 0c04 fff4 	moveml %fp@(-12),%d2/%a2-%a3                
                                                                      
  /*                                                                  
   * Set st_ino for the root to 1.                                    
   */                                                                 
                                                                      
  fs_info->instance              = imfs_instance++;                   
   4253c:	23c9 0006 0318 	movel %a1,60318 <imfs_instance.5975>        
                                                                      
  jnode = temp_mt_entry->mt_fs_root.node_access;                      
  jnode->st_ino = fs_info->ino_count;                                 
                                                                      
  return 0;                                                           
}                                                                     
   42542:	4e5e           	unlk %fp                                    
   42544:	4e75           	rts                                         
  /*                                                                  
   * Create custom file system data.                                  
   */                                                                 
  fs_info = calloc( 1, sizeof( IMFS_fs_info_t ) );                    
  if ( !fs_info ) {                                                   
    free(temp_mt_entry->mt_fs_root.node_access);                      
   42546:	2f0b           	movel %a3,%sp@-                             
   42548:	4eb9 0004 2fe4 	jsr 42fe4 <free>                            
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
   4254e:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         
   42554:	588f           	addql #4,%sp                                
   42556:	720c           	moveq #12,%d1                               
   42558:	2040           	moveal %d0,%a0                              
   4255a:	70ff           	moveq #-1,%d0                               
                                                                      
  jnode = temp_mt_entry->mt_fs_root.node_access;                      
  jnode->st_ino = fs_info->ino_count;                                 
                                                                      
  return 0;                                                           
}                                                                     
   4255c:	4cee 0c04 fff4 	moveml %fp@(-12),%d2/%a2-%a3                
   * Create custom file system data.                                  
   */                                                                 
  fs_info = calloc( 1, sizeof( IMFS_fs_info_t ) );                    
  if ( !fs_info ) {                                                   
    free(temp_mt_entry->mt_fs_root.node_access);                      
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
   42562:	2081           	movel %d1,%a0@                              
                                                                      
  jnode = temp_mt_entry->mt_fs_root.node_access;                      
  jnode->st_ino = fs_info->ino_count;                                 
                                                                      
  return 0;                                                           
}                                                                     
   42564:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004d732 <IMFS_memfile_extend>: IMFS_assert( the_jnode->type == IMFS_MEMORY_FILE ); /* * Verify new file size is supported */ if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )
   4d732:	4280           	clrl %d0                                    
 */                                                                   
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
   4d734:	4e56 ffdc      	linkw %fp,#-36                              
   4d738:	48d7 1cfc      	moveml %d2-%d7/%a2-%a4,%sp@                 
    IMFS_assert( the_jnode->type == IMFS_MEMORY_FILE );               
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
   4d73c:	2c39 0006 0314 	movel 60314 <imfs_memfile_bytes_per_block>,%d6
   4d742:	2406           	movel %d6,%d2                               
   4d744:	e48a           	lsrl #2,%d2                                 
   4d746:	2802           	movel %d2,%d4                               
   4d748:	5284           	addql #1,%d4                                
   4d74a:	4c02 4800      	mulsl %d2,%d4                               
 */                                                                   
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
   4d74e:	246e 0008      	moveal %fp@(8),%a2                          
    IMFS_assert( the_jnode->type == IMFS_MEMORY_FILE );               
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
   4d752:	5284           	addql #1,%d4                                
   4d754:	4c02 4800      	mulsl %d2,%d4                               
 */                                                                   
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
   4d758:	242e 000c      	movel %fp@(12),%d2                          
   4d75c:	262e 0010      	movel %fp@(16),%d3                          
    IMFS_assert( the_jnode->type == IMFS_MEMORY_FILE );               
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
   4d760:	5384           	subql #1,%d4                                
   4d762:	4c06 4800      	mulsl %d6,%d4                               
   4d766:	2204           	movel %d4,%d1                               
   4d768:	2800           	movel %d0,%d4                               
   4d76a:	2a01           	movel %d1,%d5                               
   4d76c:	9a83           	subl %d3,%d5                                
   4d76e:	9982           	subxl %d2,%d4                               
   4d770:	6f00 00ae      	blew 4d820 <IMFS_memfile_extend+0xee>       
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  /*                                                                  
   *  Verify new file size is actually larger than current size       
   */                                                                 
  if ( new_length <= the_jnode->info.file.size )                      
   4d774:	282a 004c      	movel %a2@(76),%d4                          
   4d778:	2a2a 0050      	movel %a2@(80),%d5                          
   4d77c:	2002           	movel %d2,%d0                               
   4d77e:	2203           	movel %d3,%d1                               
   4d780:	9285           	subl %d5,%d1                                
   4d782:	9184           	subxl %d4,%d0                               
   4d784:	6f5e           	bles 4d7e4 <IMFS_memfile_extend+0xb2>       
    return 0;                                                         
                                                                      
  /*                                                                  
   *  Calculate the number of range of blocks to allocate             
   */                                                                 
  new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK;             
   4d786:	49f9 0005 b450 	lea 5b450 <__divdi3>,%a4                    
   4d78c:	2e06           	movel %d6,%d7                               
   4d78e:	5bc6           	smi %d6                                     
   4d790:	49c6           	extbl %d6                                   
   4d792:	2f07           	movel %d7,%sp@-                             
   4d794:	2f06           	movel %d6,%sp@-                             
   4d796:	2f03           	movel %d3,%sp@-                             
   4d798:	2f02           	movel %d2,%sp@-                             
   4d79a:	4e94           	jsr %a4@                                    
   4d79c:	4fef 0010      	lea %sp@(16),%sp                            
   4d7a0:	2641           	moveal %d1,%a3                              
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
   4d7a2:	2f07           	movel %d7,%sp@-                             
   4d7a4:	2f06           	movel %d6,%sp@-                             
   4d7a6:	2f05           	movel %d5,%sp@-                             
   4d7a8:	2f04           	movel %d4,%sp@-                             
   4d7aa:	4e94           	jsr %a4@                                    
   4d7ac:	4fef 0010      	lea %sp@(16),%sp                            
   4d7b0:	2c01           	movel %d1,%d6                               
                                                                      
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
   4d7b2:	b28b           	cmpl %a3,%d1                                
   4d7b4:	621a           	bhis 4d7d0 <IMFS_memfile_extend+0x9e>       <== NEVER TAKEN
   4d7b6:	2801           	movel %d1,%d4                               
   4d7b8:	49f9 0004 d544 	lea 4d544 <IMFS_memfile_addblock>,%a4       
    if ( IMFS_memfile_addblock( the_jnode, block ) ) {                
   4d7be:	2f04           	movel %d4,%sp@-                             
   4d7c0:	2f0a           	movel %a2,%sp@-                             
   4d7c2:	4e94           	jsr %a4@                                    
   4d7c4:	508f           	addql #8,%sp                                
   4d7c6:	4a80           	tstl %d0                                    
   4d7c8:	6626           	bnes 4d7f0 <IMFS_memfile_extend+0xbe>       
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
                                                                      
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
   4d7ca:	5284           	addql #1,%d4                                
   4d7cc:	b88b           	cmpl %a3,%d4                                
   4d7ce:	63ee           	blss 4d7be <IMFS_memfile_extend+0x8c>       
                                                                      
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
  the_jnode->info.file.size = new_length;                             
  return 0;                                                           
   4d7d0:	4280           	clrl %d0                                    
  }                                                                   
                                                                      
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
  the_jnode->info.file.size = new_length;                             
   4d7d2:	2542 004c      	movel %d2,%a2@(76)                          
   4d7d6:	2543 0050      	movel %d3,%a2@(80)                          
  return 0;                                                           
}                                                                     
   4d7da:	4cee 1cfc ffdc 	moveml %fp@(-36),%d2-%d7/%a2-%a4            
   4d7e0:	4e5e           	unlk %fp                                    
   4d7e2:	4e75           	rts                                         
                                                                      
  /*                                                                  
   *  Verify new file size is actually larger than current size       
   */                                                                 
  if ( new_length <= the_jnode->info.file.size )                      
    return 0;                                                         
   4d7e4:	4280           	clrl %d0                                    
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
  the_jnode->info.file.size = new_length;                             
  return 0;                                                           
}                                                                     
   4d7e6:	4cee 1cfc ffdc 	moveml %fp@(-36),%d2-%d7/%a2-%a4            
   4d7ec:	4e5e           	unlk %fp                                    
   4d7ee:	4e75           	rts                                         
  /*                                                                  
   *  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-- ) {                        
   4d7f0:	b886           	cmpl %d6,%d4                                
   4d7f2:	6514           	bcss 4d808 <IMFS_memfile_extend+0xd6>       <== NEVER TAKEN
   4d7f4:	47f9 0004 d70a 	lea 4d70a <IMFS_memfile_remove_block>,%a3   
         IMFS_memfile_remove_block( the_jnode, block );               
   4d7fa:	2f04           	movel %d4,%sp@-                             
  /*                                                                  
   *  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-- ) {                        
   4d7fc:	5384           	subql #1,%d4                                
         IMFS_memfile_remove_block( the_jnode, block );               
   4d7fe:	2f0a           	movel %a2,%sp@-                             
   4d800:	4e93           	jsr %a3@                                    
  /*                                                                  
   *  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-- ) {                        
   4d802:	508f           	addql #8,%sp                                
   4d804:	b886           	cmpl %d6,%d4                                
   4d806:	64f2           	bccs 4d7fa <IMFS_memfile_extend+0xc8>       
         IMFS_memfile_remove_block( the_jnode, block );               
       }                                                              
       rtems_set_errno_and_return_minus_one( ENOSPC );                
   4d808:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         
   4d80e:	721c           	moveq #28,%d1                               
   4d810:	2040           	moveal %d0,%a0                              
   4d812:	70ff           	moveq #-1,%d0                               
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
  the_jnode->info.file.size = new_length;                             
  return 0;                                                           
}                                                                     
   4d814:	4cee 1cfc ffdc 	moveml %fp@(-36),%d2-%d7/%a2-%a4            
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
    if ( IMFS_memfile_addblock( the_jnode, block ) ) {                
       for ( ; block>=old_blocks ; block-- ) {                        
         IMFS_memfile_remove_block( the_jnode, block );               
       }                                                              
       rtems_set_errno_and_return_minus_one( ENOSPC );                
   4d81a:	2081           	movel %d1,%a0@                              
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
  the_jnode->info.file.size = new_length;                             
  return 0;                                                           
}                                                                     
   4d81c:	4e5e           	unlk %fp                                    
   4d81e:	4e75           	rts                                         
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   4d820:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         
   4d826:	7416           	moveq #22,%d2                               
   4d828:	2040           	moveal %d0,%a0                              
   4d82a:	70ff           	moveq #-1,%d0                               
   4d82c:	2082           	movel %d2,%a0@                              
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
  the_jnode->info.file.size = new_length;                             
  return 0;                                                           
}                                                                     
   4d82e:	4cee 1cfc ffdc 	moveml %fp@(-36),%d2-%d7/%a2-%a4            
   4d834:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004d118 <IMFS_memfile_get_block_pointer>: #endif IMFS_jnode_t *the_jnode, unsigned int block, int malloc_it ) {
   4d118:	4e56 fff0      	linkw %fp,#-16                              
  my_block = block;                                                   
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
  if ( my_block <= LAST_INDIRECT ) {                                  
   4d11c:	2239 0006 0314 	movel 60314 <imfs_memfile_bytes_per_block>,%d1
   4d122:	e489           	lsrl #2,%d1                                 
   4d124:	2001           	movel %d1,%d0                               
   4d126:	5380           	subql #1,%d0                                
#endif                                                                
   IMFS_jnode_t   *the_jnode,                                         
   unsigned int    block,                                             
   int             malloc_it                                          
)                                                                     
{                                                                     
   4d128:	48d7 041c      	moveml %d2-%d4/%a2,%sp@                     
   4d12c:	246e 0008      	moveal %fp@(8),%a2                          
   4d130:	242e 000c      	movel %fp@(12),%d2                          
   4d134:	206e 0010      	moveal %fp@(16),%a0                         
  my_block = block;                                                   
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
  if ( my_block <= LAST_INDIRECT ) {                                  
   4d138:	b082           	cmpl %d2,%d0                                
   4d13a:	651e           	bcss 4d15a <IMFS_memfile_get_block_pointer+0x42>
    p = info->indirect;                                               
   4d13c:	226a 0054      	moveal %a2@(84),%a1                         
                                                                      
    if ( malloc_it ) {                                                
   4d140:	4a88           	tstl %a0                                    
   4d142:	675a           	beqs 4d19e <IMFS_memfile_get_block_pointer+0x86>
                                                                      
      if ( !p ) {                                                     
   4d144:	4a89           	tstl %a1                                    
   4d146:	6700 00c0      	beqw 4d208 <IMFS_memfile_get_block_pointer+0xf0>
    }                                                                 
                                                                      
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    return &info->indirect[ my_block ];                               
   4d14a:	43f1 2c00      	lea %a1@(00000000,%d2:l:4),%a1              
   4d14e:	2009           	movel %a1,%d0                               
                                                                      
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
  return 0;                                                           
}                                                                     
   4d150:	4cee 041c fff0 	moveml %fp@(-16),%d2-%d4/%a2                
   4d156:	4e5e           	unlk %fp                                    
   4d158:	4e75           	rts                                         
                                                                      
  /*                                                                  
   *  Is the block number in the doubly indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_DOUBLY_INDIRECT ) {                           
   4d15a:	2001           	movel %d1,%d0                               
   4d15c:	5280           	addql #1,%d0                                
   4d15e:	4c01 0800      	mulsl %d1,%d0                               
   4d162:	2240           	moveal %d0,%a1                              
   4d164:	5389           	subql #1,%a1                                
   4d166:	b3c2           	cmpal %d2,%a1                               
   4d168:	6544           	bcss 4d1ae <IMFS_memfile_get_block_pointer+0x96>
    my_block -= FIRST_DOUBLY_INDIRECT;                                
   4d16a:	9481           	subl %d1,%d2                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
                                                                      
    p = info->doubly_indirect;                                        
   4d16c:	226a 0058      	moveal %a2@(88),%a1                         
   */                                                                 
                                                                      
  if ( my_block <= LAST_DOUBLY_INDIRECT ) {                           
    my_block -= FIRST_DOUBLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
   4d170:	4c41 2003      	remul %d1,%d3,%d2                           
   4d174:	4c41 2002      	remul %d1,%d2,%d2                           
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
                                                                      
    p = info->doubly_indirect;                                        
    if ( malloc_it ) {                                                
   4d178:	4a88           	tstl %a0                                    
   4d17a:	6700 0104      	beqw 4d280 <IMFS_memfile_get_block_pointer+0x168>
                                                                      
      if ( !p ) {                                                     
   4d17e:	4a89           	tstl %a1                                    
   4d180:	6700 00a0      	beqw 4d222 <IMFS_memfile_get_block_pointer+0x10a>
        if ( !p )                                                     
           return 0;                                                  
        info->doubly_indirect = p;                                    
      }                                                               
                                                                      
      p1 = (block_p *)p[ doubly ];                                    
   4d184:	45f1 2c00      	lea %a1@(00000000,%d2:l:4),%a2              
   4d188:	2052           	moveal %a2@,%a0                             
      if ( !p1 ) {                                                    
   4d18a:	4a88           	tstl %a0                                    
   4d18c:	6764           	beqs 4d1f2 <IMFS_memfile_get_block_pointer+0xda>
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
    if ( !p2 )                                                        
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
   4d18e:	41f0 3c00      	lea %a0@(00000000,%d3:l:4),%a0              
   4d192:	2008           	movel %a0,%d0                               
                                                                      
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
  return 0;                                                           
}                                                                     
   4d194:	4cee 041c fff0 	moveml %fp@(-16),%d2-%d4/%a2                
   4d19a:	4e5e           	unlk %fp                                    
   4d19c:	4e75           	rts                                         
        info->indirect = p;                                           
      }                                                               
      return &info->indirect[ my_block ];                             
    }                                                                 
                                                                      
    if ( !p )                                                         
   4d19e:	4a89           	tstl %a1                                    
   4d1a0:	66a8           	bnes 4d14a <IMFS_memfile_get_block_pointer+0x32><== ALWAYS TAKEN
    if ( !p1 )                                                        
      return 0;                                                       
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
    if ( !p2 )                                                        
      return 0;                                                       
   4d1a2:	4280           	clrl %d0                                    <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
  return 0;                                                           
}                                                                     
   4d1a4:	4cee 041c fff0 	moveml %fp@(-16),%d2-%d4/%a2                <== NOT EXECUTED
   4d1aa:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   4d1ac:	4e75           	rts                                         <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   *  Is the block number in the triply indirect portion?             
   */                                                                 
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
   4d1ae:	2600           	movel %d0,%d3                               
   4d1b0:	5283           	addql #1,%d3                                
   4d1b2:	4c01 3800      	mulsl %d1,%d3                               
   4d1b6:	5383           	subql #1,%d3                                
   4d1b8:	b682           	cmpl %d2,%d3                                
   4d1ba:	65e6           	bcss 4d1a2 <IMFS_memfile_get_block_pointer+0x8a><== NEVER TAKEN
    my_block -= FIRST_TRIPLY_INDIRECT;                                
   4d1bc:	9480           	subl %d0,%d2                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
   4d1be:	4c41 2003      	remul %d1,%d3,%d2                           
   4d1c2:	4c41 2002      	remul %d1,%d2,%d2                           
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
                                                                      
    p = info->triply_indirect;                                        
   4d1c6:	226a 005c      	moveal %a2@(92),%a1                         
  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;                       
   4d1ca:	4c41 2004      	remul %d1,%d4,%d2                           
   4d1ce:	4c41 2002      	remul %d1,%d2,%d2                           
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
                                                                      
    p = info->triply_indirect;                                        
                                                                      
    if ( malloc_it ) {                                                
   4d1d2:	4a88           	tstl %a0                                    
   4d1d4:	6700 00c4      	beqw 4d29a <IMFS_memfile_get_block_pointer+0x182>
      if ( !p ) {                                                     
   4d1d8:	4a89           	tstl %a1                                    
   4d1da:	6700 0084      	beqw 4d260 <IMFS_memfile_get_block_pointer+0x148>
        if ( !p )                                                     
           return 0;                                                  
        info->triply_indirect = p;                                    
      }                                                               
                                                                      
      p1 = (block_p *) p[ triply ];                                   
   4d1de:	45f1 2c00      	lea %a1@(00000000,%d2:l:4),%a2              
   4d1e2:	2052           	moveal %a2@,%a0                             
      if ( !p1 ) {                                                    
   4d1e4:	4a88           	tstl %a0                                    
   4d1e6:	675a           	beqs 4d242 <IMFS_memfile_get_block_pointer+0x12a>
        if ( !p1 )                                                    
           return 0;                                                  
        p[ triply ] = (block_p) p1;                                   
      }                                                               
                                                                      
      p2 = (block_p *)p1[ doubly ];                                   
   4d1e8:	45f0 4c00      	lea %a0@(00000000,%d4:l:4),%a2              
   4d1ec:	2052           	moveal %a2@,%a0                             
      if ( !p2 ) {                                                    
   4d1ee:	4a88           	tstl %a0                                    
   4d1f0:	669c           	bnes 4d18e <IMFS_memfile_get_block_pointer+0x76>
        p2 = memfile_alloc_block();                                   
   4d1f2:	4eb9 0004 d0f4 	jsr 4d0f4 <memfile_alloc_block>             
   4d1f8:	2040           	moveal %d0,%a0                              
        if ( !p2 )                                                    
   4d1fa:	4a80           	tstl %d0                                    
   4d1fc:	67a4           	beqs 4d1a2 <IMFS_memfile_get_block_pointer+0x8a><== NEVER TAKEN
           return 0;                                                  
        p1[ doubly ] = (block_p) p2;                                  
   4d1fe:	2480           	movel %d0,%a2@                              
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
    if ( !p2 )                                                        
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
   4d200:	41f0 3c00      	lea %a0@(00000000,%d3:l:4),%a0              
   4d204:	2008           	movel %a0,%d0                               
   4d206:	608c           	bras 4d194 <IMFS_memfile_get_block_pointer+0x7c>
    p = info->indirect;                                               
                                                                      
    if ( malloc_it ) {                                                
                                                                      
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
   4d208:	4eb9 0004 d0f4 	jsr 4d0f4 <memfile_alloc_block>             
        if ( !p )                                                     
   4d20e:	4a80           	tstl %d0                                    
   4d210:	6790           	beqs 4d1a2 <IMFS_memfile_get_block_pointer+0x8a><== NEVER TAKEN
           return 0;                                                  
        info->indirect = p;                                           
   4d212:	2240           	moveal %d0,%a1                              
    }                                                                 
                                                                      
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    return &info->indirect[ my_block ];                               
   4d214:	43f1 2c00      	lea %a1@(00000000,%d2:l:4),%a1              
                                                                      
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
        if ( !p )                                                     
           return 0;                                                  
        info->indirect = p;                                           
   4d218:	2540 0054      	movel %d0,%a2@(84)                          
    }                                                                 
                                                                      
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    return &info->indirect[ my_block ];                               
   4d21c:	2009           	movel %a1,%d0                               
   4d21e:	6000 ff30      	braw 4d150 <IMFS_memfile_get_block_pointer+0x38>
                                                                      
    p = info->doubly_indirect;                                        
    if ( malloc_it ) {                                                
                                                                      
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
   4d222:	4eb9 0004 d0f4 	jsr 4d0f4 <memfile_alloc_block>             
   4d228:	2240           	moveal %d0,%a1                              
        if ( !p )                                                     
   4d22a:	4a80           	tstl %d0                                    
   4d22c:	6700 ff74      	beqw 4d1a2 <IMFS_memfile_get_block_pointer+0x8a>
           return 0;                                                  
        info->doubly_indirect = p;                                    
   4d230:	2540 0058      	movel %d0,%a2@(88)                          
      }                                                               
                                                                      
      p1 = (block_p *)p[ doubly ];                                    
   4d234:	45f1 2c00      	lea %a1@(00000000,%d2:l:4),%a2              
   4d238:	2052           	moveal %a2@,%a0                             
      if ( !p1 ) {                                                    
   4d23a:	4a88           	tstl %a0                                    
   4d23c:	6600 ff50      	bnew 4d18e <IMFS_memfile_get_block_pointer+0x76>
   4d240:	60b0           	bras 4d1f2 <IMFS_memfile_get_block_pointer+0xda>
        info->triply_indirect = p;                                    
      }                                                               
                                                                      
      p1 = (block_p *) p[ triply ];                                   
      if ( !p1 ) {                                                    
        p1 = memfile_alloc_block();                                   
   4d242:	4eb9 0004 d0f4 	jsr 4d0f4 <memfile_alloc_block>             
   4d248:	2040           	moveal %d0,%a0                              
        if ( !p1 )                                                    
   4d24a:	4a80           	tstl %d0                                    
   4d24c:	6700 ff54      	beqw 4d1a2 <IMFS_memfile_get_block_pointer+0x8a>
           return 0;                                                  
        p[ triply ] = (block_p) p1;                                   
   4d250:	2480           	movel %d0,%a2@                              
      }                                                               
                                                                      
      p2 = (block_p *)p1[ doubly ];                                   
   4d252:	45f0 4c00      	lea %a0@(00000000,%d4:l:4),%a2              
   4d256:	2052           	moveal %a2@,%a0                             
      if ( !p2 ) {                                                    
   4d258:	4a88           	tstl %a0                                    
   4d25a:	6600 ff32      	bnew 4d18e <IMFS_memfile_get_block_pointer+0x76>
   4d25e:	6092           	bras 4d1f2 <IMFS_memfile_get_block_pointer+0xda>
                                                                      
    p = info->triply_indirect;                                        
                                                                      
    if ( malloc_it ) {                                                
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
   4d260:	4eb9 0004 d0f4 	jsr 4d0f4 <memfile_alloc_block>             
   4d266:	2240           	moveal %d0,%a1                              
        if ( !p )                                                     
   4d268:	4a80           	tstl %d0                                    
   4d26a:	6700 ff36      	beqw 4d1a2 <IMFS_memfile_get_block_pointer+0x8a>
           return 0;                                                  
        info->triply_indirect = p;                                    
   4d26e:	2540 005c      	movel %d0,%a2@(92)                          
      }                                                               
                                                                      
      p1 = (block_p *) p[ triply ];                                   
   4d272:	45f1 2c00      	lea %a1@(00000000,%d2:l:4),%a2              
   4d276:	2052           	moveal %a2@,%a0                             
      if ( !p1 ) {                                                    
   4d278:	4a88           	tstl %a0                                    
   4d27a:	6600 ff6c      	bnew 4d1e8 <IMFS_memfile_get_block_pointer+0xd0>
   4d27e:	60c2           	bras 4d242 <IMFS_memfile_get_block_pointer+0x12a>
      }                                                               
                                                                      
      return (block_p *)&p1[ singly ];                                
    }                                                                 
                                                                      
    if ( !p )                                                         
   4d280:	4a89           	tstl %a1                                    
   4d282:	6700 ff1e      	beqw 4d1a2 <IMFS_memfile_get_block_pointer+0x8a>
      return 0;                                                       
                                                                      
    p = (block_p *)p[ doubly ];                                       
   4d286:	2071 2c00      	moveal %a1@(00000000,%d2:l:4),%a0           
    if ( !p )                                                         
   4d28a:	4a88           	tstl %a0                                    
   4d28c:	6700 ff14      	beqw 4d1a2 <IMFS_memfile_get_block_pointer+0x8a>
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
    if ( !p2 )                                                        
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
   4d290:	41f0 3c00      	lea %a0@(00000000,%d3:l:4),%a0              
   4d294:	2008           	movel %a0,%d0                               
   4d296:	6000 fefc      	braw 4d194 <IMFS_memfile_get_block_pointer+0x7c>
        p1[ doubly ] = (block_p) p2;                                  
      }                                                               
      return (block_p *)&p2[ singly ];                                
    }                                                                 
                                                                      
    if ( !p )                                                         
   4d29a:	4a89           	tstl %a1                                    
   4d29c:	6700 ff04      	beqw 4d1a2 <IMFS_memfile_get_block_pointer+0x8a>
      return 0;                                                       
                                                                      
    p1 = (block_p *) p[ triply ];                                     
   4d2a0:	2071 2c00      	moveal %a1@(00000000,%d2:l:4),%a0           
    if ( !p1 )                                                        
   4d2a4:	4a88           	tstl %a0                                    
   4d2a6:	6700 fefa      	beqw 4d1a2 <IMFS_memfile_get_block_pointer+0x8a>
      return 0;                                                       
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
   4d2aa:	2070 4c00      	moveal %a0@(00000000,%d4:l:4),%a0           
    if ( !p2 )                                                        
   4d2ae:	4a88           	tstl %a0                                    
   4d2b0:	6700 fef0      	beqw 4d1a2 <IMFS_memfile_get_block_pointer+0x8a>
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
   4d2b4:	41f0 3c00      	lea %a0@(00000000,%d3:l:4),%a0              
   4d2b8:	2008           	movel %a0,%d0                               
   4d2ba:	6000 fed8      	braw 4d194 <IMFS_memfile_get_block_pointer+0x7c>
                                                                      

0004d2be <IMFS_memfile_read>: IMFS_jnode_t *the_jnode, off_t start, unsigned char *destination, unsigned int length ) {
   4d2be:	4e56 ffc8      	linkw %fp,#-56                              
   4d2c2:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
   4d2c6:	246e 0008      	moveal %fp@(8),%a2                          
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  my_length = length;                                                 
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
   4d2ca:	7806           	moveq #6,%d4                                
   IMFS_jnode_t    *the_jnode,                                        
   off_t            start,                                            
   unsigned char   *destination,                                      
   unsigned int     length                                            
)                                                                     
{                                                                     
   4d2cc:	266e 0014      	moveal %fp@(20),%a3                         
   4d2d0:	2a6e 0018      	moveal %fp@(24),%a5                         
   4d2d4:	242e 000c      	movel %fp@(12),%d2                          
   4d2d8:	262e 0010      	movel %fp@(16),%d3                          
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  my_length = length;                                                 
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
   4d2dc:	b8aa 0048      	cmpl %a2@(72),%d4                           
   4d2e0:	6700 017c      	beqw 4d45e <IMFS_memfile_read+0x1a0>        
                                                                      
  /*                                                                  
   *  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;                                         
   4d2e4:	43f5 3800      	lea %a5@(00000000,%d3:l),%a1                
  if ( last_byte > the_jnode->info.file.size )                        
   4d2e8:	4280           	clrl %d0                                    
   4d2ea:	2209           	movel %a1,%d1                               
   4d2ec:	282a 004c      	movel %a2@(76),%d4                          
   4d2f0:	2a2a 0050      	movel %a2@(80),%d5                          
   4d2f4:	2c00           	movel %d0,%d6                               
   4d2f6:	2e01           	movel %d1,%d7                               
   4d2f8:	9e85           	subl %d5,%d7                                
   4d2fa:	9d84           	subxl %d4,%d6                               
   4d2fc:	6f00 0110      	blew 4d40e <IMFS_memfile_read+0x150>        
   */                                                                 
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
   4d300:	2c39 0006 0314 	movel 60314 <imfs_memfile_bytes_per_block>,%d6
   *  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 )                        
    my_length = the_jnode->info.file.size - start;                    
   4d306:	2e05           	movel %d5,%d7                               
   4d308:	9e83           	subl %d3,%d7                                
   */                                                                 
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
   4d30a:	2a06           	movel %d6,%d5                               
   4d30c:	5bc4           	smi %d4                                     
   4d30e:	49c4           	extbl %d4                                   
   4d310:	2f05           	movel %d5,%sp@-                             
   4d312:	2f04           	movel %d4,%sp@-                             
   4d314:	2f03           	movel %d3,%sp@-                             
   4d316:	2f02           	movel %d2,%sp@-                             
   4d318:	4eb9 0005 b804 	jsr 5b804 <__moddi3>                        
   4d31e:	4fef 0010      	lea %sp@(16),%sp                            
   4d322:	2841           	moveal %d1,%a4                              
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
   4d324:	2f05           	movel %d5,%sp@-                             
   4d326:	2f04           	movel %d4,%sp@-                             
   4d328:	2f03           	movel %d3,%sp@-                             
   4d32a:	2f02           	movel %d2,%sp@-                             
   4d32c:	4eb9 0005 b450 	jsr 5b450 <__divdi3>                        
   4d332:	4fef 0010      	lea %sp@(16),%sp                            
   4d336:	2401           	movel %d1,%d2                               
  if ( start_offset )  {                                              
   4d338:	4a8c           	tstl %a4                                    
   4d33a:	6700 010e      	beqw 4d44a <IMFS_memfile_read+0x18c>        
    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 );
   4d33e:	42a7           	clrl %sp@-                                  
   4d340:	2f01           	movel %d1,%sp@-                             
   4d342:	2f0a           	movel %a2,%sp@-                             
   4d344:	4eb9 0004 d118 	jsr 4d118 <IMFS_memfile_get_block_pointer>  
    if ( !block_ptr )                                                 
   4d34a:	4fef 000c      	lea %sp@(12),%sp                            
   4d34e:	4a80           	tstl %d0                                    
   4d350:	6700 01c0      	beqw 4d512 <IMFS_memfile_read+0x254>        
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
  if ( start_offset )  {                                              
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
   4d354:	9c8c           	subl %a4,%d6                                
   4d356:	2207           	movel %d7,%d1                               
   4d358:	bc87           	cmpl %d7,%d6                                
   4d35a:	6500 0162      	bcsw 4d4be <IMFS_memfile_read+0x200>        
    if ( to_copy > my_length )                                        
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ start_offset ], to_copy );           
   4d35e:	2f01           	movel %d1,%sp@-                             
   4d360:	2040           	moveal %d0,%a0                              
   4d362:	d9d0           	addal %a0@,%a4                              
    dest += to_copy;                                                  
   4d364:	280b           	movel %a3,%d4                               
   4d366:	d881           	addl %d1,%d4                                
    block++;                                                          
    my_length -= to_copy;                                             
   4d368:	9e81           	subl %d1,%d7                                
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ start_offset ], to_copy );           
    dest += to_copy;                                                  
    block++;                                                          
   4d36a:	5282           	addql #1,%d2                                
    if ( to_copy > my_length )                                        
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ start_offset ], to_copy );           
   4d36c:	2f0c           	movel %a4,%sp@-                             
    dest += to_copy;                                                  
    block++;                                                          
    my_length -= to_copy;                                             
    copied += to_copy;                                                
   4d36e:	2841           	moveal %d1,%a4                              
    if ( to_copy > my_length )                                        
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ start_offset ], to_copy );           
   4d370:	2f0b           	movel %a3,%sp@-                             
   4d372:	4eb9 0004 f47c 	jsr 4f47c <memcpy>                          
    dest += to_copy;                                                  
    block++;                                                          
    my_length -= to_copy;                                             
   4d378:	2c39 0006 0314 	movel 60314 <imfs_memfile_bytes_per_block>,%d6
   4d37e:	4fef 000c      	lea %sp@(12),%sp                            
                                                                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
   4d382:	bc87           	cmpl %d7,%d6                                
   4d384:	623c           	bhis 4d3c2 <IMFS_memfile_read+0x104>        
   4d386:	47f9 0004 d118 	lea 4d118 <IMFS_memfile_get_block_pointer>,%a3
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
   4d38c:	4bf9 0004 f47c 	lea 4f47c <memcpy>,%a5                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
   4d392:	42a7           	clrl %sp@-                                  
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
    dest += to_copy;                                                  
    block++;                                                          
    my_length -= to_copy;                                             
   4d394:	9e86           	subl %d6,%d7                                
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
   4d396:	2f02           	movel %d2,%sp@-                             
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
    dest += to_copy;                                                  
    block++;                                                          
   4d398:	5282           	addql #1,%d2                                
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
   4d39a:	2f0a           	movel %a2,%sp@-                             
   4d39c:	4e93           	jsr %a3@                                    
    if ( !block_ptr )                                                 
   4d39e:	4fef 000c      	lea %sp@(12),%sp                            
   4d3a2:	4a80           	tstl %d0                                    
   4d3a4:	6700 00ac      	beqw 4d452 <IMFS_memfile_read+0x194>        
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
   4d3a8:	2040           	moveal %d0,%a0                              
    dest += to_copy;                                                  
    block++;                                                          
    my_length -= to_copy;                                             
    copied += to_copy;                                                
   4d3aa:	d9c6           	addal %d6,%a4                               
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
   4d3ac:	2f06           	movel %d6,%sp@-                             
   4d3ae:	2f10           	movel %a0@,%sp@-                            
   4d3b0:	2f04           	movel %d4,%sp@-                             
    dest += to_copy;                                                  
   4d3b2:	d886           	addl %d6,%d4                                
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
   4d3b4:	4e95           	jsr %a5@                                    
                                                                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
   4d3b6:	4fef 000c      	lea %sp@(12),%sp                            
   4d3ba:	beb9 0006 0314 	cmpl 60314 <imfs_memfile_bytes_per_block>,%d7
   4d3c0:	64d0           	bccs 4d392 <IMFS_memfile_read+0xd4>         
  /*                                                                  
   *  Phase 3: possibly the first part of one block                   
   */                                                                 
  IMFS_assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );            
                                                                      
  if ( my_length ) {                                                  
   4d3c2:	4a87           	tstl %d7                                    
   4d3c4:	6728           	beqs 4d3ee <IMFS_memfile_read+0x130>        
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
   4d3c6:	42a7           	clrl %sp@-                                  
   4d3c8:	2f02           	movel %d2,%sp@-                             
   4d3ca:	2f0a           	movel %a2,%sp@-                             
   4d3cc:	4eb9 0004 d118 	jsr 4d118 <IMFS_memfile_get_block_pointer>  
    if ( !block_ptr )                                                 
   4d3d2:	4fef 000c      	lea %sp@(12),%sp                            
   4d3d6:	4a80           	tstl %d0                                    
   4d3d8:	6778           	beqs 4d452 <IMFS_memfile_read+0x194>        <== NEVER TAKEN
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], my_length );                    
   4d3da:	2040           	moveal %d0,%a0                              
    copied += my_length;                                              
   4d3dc:	d9c7           	addal %d7,%a4                               
                                                                      
  if ( my_length ) {                                                  
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], my_length );                    
   4d3de:	2f07           	movel %d7,%sp@-                             
   4d3e0:	2f10           	movel %a0@,%sp@-                            
   4d3e2:	2f04           	movel %d4,%sp@-                             
   4d3e4:	4eb9 0004 f47c 	jsr 4f47c <memcpy>                          
    copied += my_length;                                              
   4d3ea:	4fef 000c      	lea %sp@(12),%sp                            
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
   4d3ee:	42a7           	clrl %sp@-                                  
   4d3f0:	486e fff8      	pea %fp@(-8)                                
   4d3f4:	4eb9 0004 3074 	jsr 43074 <gettimeofday>                    
   4d3fa:	256e fff8 003c 	movel %fp@(-8),%a2@(60)                     
                                                                      
  return copied;                                                      
   4d400:	200c           	movel %a4,%d0                               
   4d402:	508f           	addql #8,%sp                                
}                                                                     
   4d404:	4cee 3cfc ffc8 	moveml %fp@(-56),%d2-%d7/%a2-%a5            
   4d40a:	4e5e           	unlk %fp                                    
   4d40c:	4e75           	rts                                         
   */                                                                 
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
   4d40e:	2c39 0006 0314 	movel 60314 <imfs_memfile_bytes_per_block>,%d6
                                                                      
  /*                                                                  
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  my_length = length;                                                 
   4d414:	2e0d           	movel %a5,%d7                               
   */                                                                 
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
   4d416:	2a06           	movel %d6,%d5                               
   4d418:	5bc4           	smi %d4                                     
   4d41a:	49c4           	extbl %d4                                   
   4d41c:	2f05           	movel %d5,%sp@-                             
   4d41e:	2f04           	movel %d4,%sp@-                             
   4d420:	2f03           	movel %d3,%sp@-                             
   4d422:	2f02           	movel %d2,%sp@-                             
   4d424:	4eb9 0005 b804 	jsr 5b804 <__moddi3>                        
   4d42a:	4fef 0010      	lea %sp@(16),%sp                            
   4d42e:	2841           	moveal %d1,%a4                              
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
   4d430:	2f05           	movel %d5,%sp@-                             
   4d432:	2f04           	movel %d4,%sp@-                             
   4d434:	2f03           	movel %d3,%sp@-                             
   4d436:	2f02           	movel %d2,%sp@-                             
   4d438:	4eb9 0005 b450 	jsr 5b450 <__divdi3>                        
   4d43e:	4fef 0010      	lea %sp@(16),%sp                            
   4d442:	2401           	movel %d1,%d2                               
  if ( start_offset )  {                                              
   4d444:	4a8c           	tstl %a4                                    
   4d446:	6600 fef6      	bnew 4d33e <IMFS_memfile_read+0x80>         
  unsigned int         last_byte;                                     
  unsigned int         copied;                                        
  unsigned int         start_offset;                                  
  unsigned char       *dest;                                          
                                                                      
  dest = destination;                                                 
   4d44a:	280b           	movel %a3,%d4                               
   */                                                                 
  last_byte = start + length;                                         
  if ( last_byte > the_jnode->info.file.size )                        
    my_length = the_jnode->info.file.size - start;                    
                                                                      
  copied = 0;                                                         
   4d44c:	99cc           	subal %a4,%a4                               
   4d44e:	6000 ff32      	braw 4d382 <IMFS_memfile_read+0xc4>         
  IMFS_assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );            
                                                                      
  if ( my_length ) {                                                  
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
      return copied;                                                  
   4d452:	200c           	movel %a4,%d0                               <== NOT EXECUTED
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
                                                                      
  return copied;                                                      
}                                                                     
   4d454:	4cee 3cfc ffc8 	moveml %fp@(-56),%d2-%d7/%a2-%a5            <== NOT EXECUTED
   4d45a:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   4d45c:	4e75           	rts                                         <== 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))        
   4d45e:	91c8           	subal %a0,%a0                               
   4d460:	202a 004c      	movel %a2@(76),%d0                          
   4d464:	222a 0050      	movel %a2@(80),%d1                          
   4d468:	2d4d fff4      	movel %a5,%fp@(-12)                         
  my_length = length;                                                 
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
    unsigned char  *file_ptr;                                         
                                                                      
    file_ptr = (unsigned char *)the_jnode->info.linearfile.direct;    
   4d46c:	286a 0054      	moveal %a2@(84),%a4                         
                                                                      
    if (my_length > (the_jnode->info.linearfile.size - start))        
   4d470:	2800           	movel %d0,%d4                               
   4d472:	2a01           	movel %d1,%d5                               
   4d474:	2d48 fff0      	movel %a0,%fp@(-16)                         
   4d478:	9a83           	subl %d3,%d5                                
   4d47a:	9982           	subxl %d2,%d4                               
   4d47c:	2c2e fff0      	movel %fp@(-16),%d6                         
   4d480:	2e2e fff4      	movel %fp@(-12),%d7                         
   4d484:	9e85           	subl %d5,%d7                                
   4d486:	9d84           	subxl %d4,%d6                               
   4d488:	6f5e           	bles 4d4e8 <IMFS_memfile_read+0x22a>        <== NEVER TAKEN
      my_length = the_jnode->info.linearfile.size - start;            
   4d48a:	2e01           	movel %d1,%d7                               
   4d48c:	9e83           	subl %d3,%d7                                
                                                                      
    memcpy(dest, &file_ptr[start], my_length);                        
   4d48e:	2f07           	movel %d7,%sp@-                             
   4d490:	4874 3800      	pea %a4@(00000000,%d3:l)                    
   4d494:	2f0b           	movel %a3,%sp@-                             
   4d496:	4eb9 0004 f47c 	jsr 4f47c <memcpy>                          
                                                                      
    IMFS_update_atime( the_jnode );                                   
   4d49c:	42a7           	clrl %sp@-                                  
   4d49e:	486e fff8      	pea %fp@(-8)                                
   4d4a2:	4eb9 0004 3074 	jsr 43074 <gettimeofday>                    
   4d4a8:	256e fff8 003c 	movel %fp@(-8),%a2@(60)                     
                                                                      
    return my_length;                                                 
   4d4ae:	2007           	movel %d7,%d0                               
   4d4b0:	4fef 0014      	lea %sp@(20),%sp                            
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
                                                                      
  return copied;                                                      
}                                                                     
   4d4b4:	4cee 3cfc ffc8 	moveml %fp@(-56),%d2-%d7/%a2-%a5            
   4d4ba:	4e5e           	unlk %fp                                    
   4d4bc:	4e75           	rts                                         
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
  if ( start_offset )  {                                              
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
   4d4be:	2206           	movel %d6,%d1                               
    if ( to_copy > my_length )                                        
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ start_offset ], to_copy );           
   4d4c0:	2040           	moveal %d0,%a0                              
    dest += to_copy;                                                  
   4d4c2:	280b           	movel %a3,%d4                               
   4d4c4:	d881           	addl %d1,%d4                                
    block++;                                                          
    my_length -= to_copy;                                             
   4d4c6:	9e81           	subl %d1,%d7                                
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ start_offset ], to_copy );           
    dest += to_copy;                                                  
    block++;                                                          
   4d4c8:	5282           	addql #1,%d2                                
    if ( to_copy > my_length )                                        
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ start_offset ], to_copy );           
   4d4ca:	2f01           	movel %d1,%sp@-                             
   4d4cc:	d9d0           	addal %a0@,%a4                              
   4d4ce:	2f0c           	movel %a4,%sp@-                             
    dest += to_copy;                                                  
    block++;                                                          
    my_length -= to_copy;                                             
    copied += to_copy;                                                
   4d4d0:	2841           	moveal %d1,%a4                              
    if ( to_copy > my_length )                                        
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ start_offset ], to_copy );           
   4d4d2:	2f0b           	movel %a3,%sp@-                             
   4d4d4:	4eb9 0004 f47c 	jsr 4f47c <memcpy>                          
    dest += to_copy;                                                  
    block++;                                                          
    my_length -= to_copy;                                             
   4d4da:	2c39 0006 0314 	movel 60314 <imfs_memfile_bytes_per_block>,%d6
   4d4e0:	4fef 000c      	lea %sp@(12),%sp                            
   4d4e4:	6000 fe9c      	braw 4d382 <IMFS_memfile_read+0xc4>         
                                                                      
  /*                                                                  
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  my_length = length;                                                 
   4d4e8:	2e0d           	movel %a5,%d7                               <== NOT EXECUTED
    file_ptr = (unsigned char *)the_jnode->info.linearfile.direct;    
                                                                      
    if (my_length > (the_jnode->info.linearfile.size - start))        
      my_length = the_jnode->info.linearfile.size - start;            
                                                                      
    memcpy(dest, &file_ptr[start], my_length);                        
   4d4ea:	2f07           	movel %d7,%sp@-                             <== NOT EXECUTED
   4d4ec:	4874 3800      	pea %a4@(00000000,%d3:l)                    <== NOT EXECUTED
   4d4f0:	2f0b           	movel %a3,%sp@-                             <== NOT EXECUTED
   4d4f2:	4eb9 0004 f47c 	jsr 4f47c <memcpy>                          <== NOT EXECUTED
                                                                      
    IMFS_update_atime( the_jnode );                                   
   4d4f8:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   4d4fa:	486e fff8      	pea %fp@(-8)                                <== NOT EXECUTED
   4d4fe:	4eb9 0004 3074 	jsr 43074 <gettimeofday>                    <== NOT EXECUTED
   4d504:	256e fff8 003c 	movel %fp@(-8),%a2@(60)                     <== NOT EXECUTED
                                                                      
    return my_length;                                                 
   4d50a:	2007           	movel %d7,%d0                               <== NOT EXECUTED
   4d50c:	4fef 0014      	lea %sp@(20),%sp                            <== NOT EXECUTED
   4d510:	60a2           	bras 4d4b4 <IMFS_memfile_read+0x1f6>        <== NOT EXECUTED
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
    if ( to_copy > my_length )                                        
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
      return copied;                                                  
   4d512:	4280           	clrl %d0                                    <== NOT EXECUTED
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
                                                                      
  return copied;                                                      
}                                                                     
   4d514:	4cee 3cfc ffc8 	moveml %fp@(-56),%d2-%d7/%a2-%a5            <== NOT EXECUTED
   4d51a:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004d5f0 <IMFS_memfile_remove>: * is better to stick to simple, easy to understand algorithms. */ int IMFS_memfile_remove( IMFS_jnode_t *the_jnode ) {
   4d5f0:	4e56 ffe0      	linkw %fp,#-32                              
   4d5f4:	48d7 1c7c      	moveml %d2-%d6/%a2-%a4,%sp@                 
                                                                      
  /*                                                                  
   *  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;                                 
   4d5f8:	2839 0006 0314 	movel 60314 <imfs_memfile_bytes_per_block>,%d4
   4d5fe:	e48c           	lsrl #2,%d4                                 
 *         is better to stick to simple, easy to understand algorithms.
 */                                                                   
int IMFS_memfile_remove(                                              
 IMFS_jnode_t  *the_jnode                                             
)                                                                     
{                                                                     
   4d600:	286e 0008      	moveal %fp@(8),%a4                          
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
  info = &the_jnode->info.file;                                       
                                                                      
  if ( info->indirect ) {                                             
   4d604:	4aac 0054      	tstl %a4@(84)                               
   4d608:	670e           	beqs 4d618 <IMFS_memfile_remove+0x28>       
    memfile_free_blocks_in_table( &info->indirect, to_free );         
   4d60a:	2f04           	movel %d4,%sp@-                             
   4d60c:	486c 0054      	pea %a4@(84)                                
   4d610:	4eb9 0004 d5aa 	jsr 4d5aa <memfile_free_blocks_in_table>    
   4d616:	508f           	addql #8,%sp                                
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
   4d618:	206c 0058      	moveal %a4@(88),%a0                         
   4d61c:	4a88           	tstl %a0                                    
   4d61e:	6750           	beqs 4d670 <IMFS_memfile_remove+0x80>       
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
   4d620:	2239 0006 0314 	movel 60314 <imfs_memfile_bytes_per_block>,%d1
   4d626:	2001           	movel %d1,%d0                               
   4d628:	e488           	lsrl #2,%d0                                 
   4d62a:	47f9 0004 d5aa 	lea 4d5aa <memfile_free_blocks_in_table>,%a3
   4d630:	6734           	beqs 4d666 <IMFS_memfile_remove+0x76>       <== NEVER TAKEN
   4d632:	4280           	clrl %d0                                    
   4d634:	4282           	clrl %d2                                    
   4d636:	47f9 0004 d5aa 	lea 4d5aa <memfile_free_blocks_in_table>,%a3
   4d63c:	5282           	addql #1,%d2                                
      if ( info->doubly_indirect[i] ) {                               
   4d63e:	e588           	lsll #2,%d0                                 
   4d640:	4ab0 0800      	tstl %a0@(00000000,%d0:l)                   
   4d644:	6710           	beqs 4d656 <IMFS_memfile_remove+0x66>       <== NEVER TAKEN
        memfile_free_blocks_in_table(                                 
   4d646:	2f04           	movel %d4,%sp@-                             
   4d648:	4870 0800      	pea %a0@(00000000,%d0:l)                    
   4d64c:	4e93           	jsr %a3@                                    
   4d64e:	2239 0006 0314 	movel 60314 <imfs_memfile_bytes_per_block>,%d1
   4d654:	508f           	addql #8,%sp                                
  if ( info->indirect ) {                                             
    memfile_free_blocks_in_table( &info->indirect, to_free );         
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
   4d656:	2601           	movel %d1,%d3                               
   4d658:	2002           	movel %d2,%d0                               
   4d65a:	e48b           	lsrl #2,%d3                                 
   4d65c:	b483           	cmpl %d3,%d2                                
   4d65e:	6406           	bccs 4d666 <IMFS_memfile_remove+0x76>       
   4d660:	206c 0058      	moveal %a4@(88),%a0                         
   4d664:	60d6           	bras 4d63c <IMFS_memfile_remove+0x4c>       
      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 );  
   4d666:	2f04           	movel %d4,%sp@-                             
   4d668:	486c 0058      	pea %a4@(88)                                
   4d66c:	4e93           	jsr %a3@                                    
   4d66e:	508f           	addql #8,%sp                                
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
   4d670:	206c 005c      	moveal %a4@(92),%a0                         
   4d674:	4a88           	tstl %a0                                    
   4d676:	6700 0086      	beqw 4d6fe <IMFS_memfile_remove+0x10e>      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
   4d67a:	2239 0006 0314 	movel 60314 <imfs_memfile_bytes_per_block>,%d1
   4d680:	2001           	movel %d1,%d0                               
   4d682:	e488           	lsrl #2,%d0                                 
   4d684:	47f9 0004 d5aa 	lea 4d5aa <memfile_free_blocks_in_table>,%a3
   4d68a:	6768           	beqs 4d6f4 <IMFS_memfile_remove+0x104>      <== NEVER TAKEN
      p = (block_p *) info->triply_indirect[i];                       
   4d68c:	2450           	moveal %a0@,%a2                             
   4d68e:	47f9 0004 d5aa 	lea 4d5aa <memfile_free_blocks_in_table>,%a3
      if ( !p )  /* ensure we have a valid pointer */                 
   4d694:	4a8a           	tstl %a2                                    
   4d696:	675c           	beqs 4d6f4 <IMFS_memfile_remove+0x104>      <== NEVER TAKEN
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      p = (block_p *) info->triply_indirect[i];                       
   4d698:	4286           	clrl %d6                                    
      if ( !p )  /* ensure we have a valid pointer */                 
   4d69a:	4285           	clrl %d5                                    
         break;                                                       
      for ( j=0 ; j<IMFS_MEMFILE_BLOCK_SLOTS ; j++ ) {                
   4d69c:	4a80           	tstl %d0                                    
   4d69e:	6728           	beqs 4d6c8 <IMFS_memfile_remove+0xd8>       <== NEVER TAKEN
   4d6a0:	4280           	clrl %d0                                    
   4d6a2:	4282           	clrl %d2                                    
   4d6a4:	5282           	addql #1,%d2                                
        if ( p[j] ) {                                                 
   4d6a6:	e588           	lsll #2,%d0                                 
   4d6a8:	4ab2 0800      	tstl %a2@(00000000,%d0:l)                   
   4d6ac:	6710           	beqs 4d6be <IMFS_memfile_remove+0xce>       <== NEVER TAKEN
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
   4d6ae:	2f04           	movel %d4,%sp@-                             
   4d6b0:	4872 0800      	pea %a2@(00000000,%d0:l)                    
   4d6b4:	4e93           	jsr %a3@                                    
   4d6b6:	2239 0006 0314 	movel 60314 <imfs_memfile_bytes_per_block>,%d1
   4d6bc:	508f           	addql #8,%sp                                
  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++ ) {                
   4d6be:	2601           	movel %d1,%d3                               
   4d6c0:	2002           	movel %d2,%d0                               
   4d6c2:	e48b           	lsrl #2,%d3                                 
   4d6c4:	b682           	cmpl %d2,%d3                                
   4d6c6:	62dc           	bhis 4d6a4 <IMFS_memfile_remove+0xb4>       
        if ( p[j] ) {                                                 
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
   4d6c8:	2f04           	movel %d4,%sp@-                             
   4d6ca:	dcac 005c      	addl %a4@(92),%d6                           
    memfile_free_blocks_in_table( &info->doubly_indirect, to_free );  
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
   4d6ce:	5285           	addql #1,%d5                                
      for ( j=0 ; j<IMFS_MEMFILE_BLOCK_SLOTS ; j++ ) {                
        if ( p[j] ) {                                                 
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
   4d6d0:	2f06           	movel %d6,%sp@-                             
   4d6d2:	4e93           	jsr %a3@                                    
    memfile_free_blocks_in_table( &info->doubly_indirect, to_free );  
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
   4d6d4:	2239 0006 0314 	movel 60314 <imfs_memfile_bytes_per_block>,%d1
   4d6da:	2001           	movel %d1,%d0                               
   4d6dc:	508f           	addql #8,%sp                                
   4d6de:	e488           	lsrl #2,%d0                                 
   4d6e0:	ba80           	cmpl %d0,%d5                                
   4d6e2:	6410           	bccs 4d6f4 <IMFS_memfile_remove+0x104>      
      p = (block_p *) info->triply_indirect[i];                       
      if ( !p )  /* ensure we have a valid pointer */                 
   4d6e4:	2c05           	movel %d5,%d6                               
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      p = (block_p *) info->triply_indirect[i];                       
   4d6e6:	206c 005c      	moveal %a4@(92),%a0                         
      if ( !p )  /* ensure we have a valid pointer */                 
   4d6ea:	e58e           	lsll #2,%d6                                 
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      p = (block_p *) info->triply_indirect[i];                       
   4d6ec:	2470 6800      	moveal %a0@(00000000,%d6:l),%a2             
      if ( !p )  /* ensure we have a valid pointer */                 
   4d6f0:	4a8a           	tstl %a2                                    
   4d6f2:	66a8           	bnes 4d69c <IMFS_memfile_remove+0xac>       <== ALWAYS TAKEN
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
        (block_p **)&info->triply_indirect[i], to_free );             
    }                                                                 
    memfile_free_blocks_in_table(                                     
   4d6f4:	2f04           	movel %d4,%sp@-                             
   4d6f6:	486c 005c      	pea %a4@(92)                                
   4d6fa:	4e93           	jsr %a3@                                    
   4d6fc:	508f           	addql #8,%sp                                
        (block_p **)&info->triply_indirect, to_free );                
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
   4d6fe:	4280           	clrl %d0                                    
   4d700:	4cee 1c7c ffe0 	moveml %fp@(-32),%d2-%d6/%a2-%a4            
   4d706:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004d838 <IMFS_memfile_write>: * If the last byte we are supposed to write is past the end of this * in memory file, then extend the length. */ last_byte = start + my_length; if ( last_byte > the_jnode->info.file.size ) {
   4d838:	4280           	clrl %d0                                    
   IMFS_jnode_t          *the_jnode,                                  
   off_t                  start,                                      
   const unsigned char   *source,                                     
   unsigned int           length                                      
)                                                                     
{                                                                     
   4d83a:	4e56 ffd4      	linkw %fp,#-44                              
   4d83e:	48d7 1cfc      	moveml %d2-%d7/%a2-%a4,%sp@                 
   4d842:	2e2e 0018      	movel %fp@(24),%d7                          
  /*                                                                  
   *  If the last byte we are supposed to write is past the end of this
   *  in memory file, then extend the length.                         
   */                                                                 
                                                                      
  last_byte = start + my_length;                                      
   4d846:	2047           	moveal %d7,%a0                              
   IMFS_jnode_t          *the_jnode,                                  
   off_t                  start,                                      
   const unsigned char   *source,                                     
   unsigned int           length                                      
)                                                                     
{                                                                     
   4d848:	242e 000c      	movel %fp@(12),%d2                          
   4d84c:	262e 0010      	movel %fp@(16),%d3                          
   4d850:	246e 0008      	moveal %fp@(8),%a2                          
  /*                                                                  
   *  If the last byte we are supposed to write is past the end of this
   *  in memory file, then extend the length.                         
   */                                                                 
                                                                      
  last_byte = start + my_length;                                      
   4d854:	d1c3           	addal %d3,%a0                               
  if ( last_byte > the_jnode->info.file.size ) {                      
   4d856:	2208           	movel %a0,%d1                               
   IMFS_jnode_t          *the_jnode,                                  
   off_t                  start,                                      
   const unsigned char   *source,                                     
   unsigned int           length                                      
)                                                                     
{                                                                     
   4d858:	286e 0014      	moveal %fp@(20),%a4                         
   *  If the last byte we are supposed to write is past the end of this
   *  in memory file, then extend the length.                         
   */                                                                 
                                                                      
  last_byte = start + my_length;                                      
  if ( last_byte > the_jnode->info.file.size ) {                      
   4d85c:	282a 004c      	movel %a2@(76),%d4                          
   4d860:	2a2a 0050      	movel %a2@(80),%d5                          
   4d864:	9a81           	subl %d1,%d5                                
   4d866:	9980           	subxl %d0,%d4                               
   4d868:	6d00 0118      	bltw 4d982 <IMFS_memfile_write+0x14a>       
   */                                                                 
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
   4d86c:	2c39 0006 0314 	movel 60314 <imfs_memfile_bytes_per_block>,%d6
   4d872:	2a06           	movel %d6,%d5                               
   4d874:	5bc4           	smi %d4                                     
   4d876:	49c4           	extbl %d4                                   
   4d878:	2f05           	movel %d5,%sp@-                             
   4d87a:	2f04           	movel %d4,%sp@-                             
   4d87c:	2f03           	movel %d3,%sp@-                             
   4d87e:	2f02           	movel %d2,%sp@-                             
   4d880:	4eb9 0005 b804 	jsr 5b804 <__moddi3>                        
   4d886:	4fef 0010      	lea %sp@(16),%sp                            
   4d88a:	2641           	moveal %d1,%a3                              
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
   4d88c:	2f05           	movel %d5,%sp@-                             
   4d88e:	2f04           	movel %d4,%sp@-                             
   4d890:	2f03           	movel %d3,%sp@-                             
   4d892:	2f02           	movel %d2,%sp@-                             
   4d894:	4eb9 0005 b450 	jsr 5b450 <__divdi3>                        
   4d89a:	4fef 0010      	lea %sp@(16),%sp                            
   4d89e:	2401           	movel %d1,%d2                               
  if ( start_offset )  {                                              
   4d8a0:	4a8b           	tstl %a3                                    
   4d8a2:	6700 00d6      	beqw 4d97a <IMFS_memfile_write+0x142>       
    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 );
   4d8a6:	42a7           	clrl %sp@-                                  
   4d8a8:	2f01           	movel %d1,%sp@-                             
   4d8aa:	2f0a           	movel %a2,%sp@-                             
   4d8ac:	4eb9 0004 d118 	jsr 4d118 <IMFS_memfile_get_block_pointer>  
    if ( !block_ptr )                                                 
   4d8b2:	4fef 000c      	lea %sp@(12),%sp                            
   4d8b6:	4a80           	tstl %d0                                    
   4d8b8:	6700 012c      	beqw 4d9e6 <IMFS_memfile_write+0x1ae>       
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
  if ( start_offset )  {                                              
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
   4d8bc:	9c8b           	subl %a3,%d6                                
   4d8be:	be86           	cmpl %d6,%d7                                
   4d8c0:	6500 00fa      	bcsw 4d9bc <IMFS_memfile_write+0x184>       
        block,                                                        
        to_copy,                                                      
        src                                                           
      );                                                              
    #endif                                                            
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
   4d8c4:	2f06           	movel %d6,%sp@-                             
   4d8c6:	2040           	moveal %d0,%a0                              
    src += to_copy;                                                   
   4d8c8:	280c           	movel %a4,%d4                               
   4d8ca:	d886           	addl %d6,%d4                                
    block++;                                                          
    my_length -= to_copy;                                             
   4d8cc:	9e86           	subl %d6,%d7                                
    copied += to_copy;                                                
   4d8ce:	2606           	movel %d6,%d3                               
        src                                                           
      );                                                              
    #endif                                                            
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
    src += to_copy;                                                   
    block++;                                                          
   4d8d0:	5282           	addql #1,%d2                                
        block,                                                        
        to_copy,                                                      
        src                                                           
      );                                                              
    #endif                                                            
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
   4d8d2:	2f0c           	movel %a4,%sp@-                             
   4d8d4:	d7d0           	addal %a0@,%a3                              
   4d8d6:	2f0b           	movel %a3,%sp@-                             
   4d8d8:	4eb9 0004 f47c 	jsr 4f47c <memcpy>                          
    src += to_copy;                                                   
    block++;                                                          
    my_length -= to_copy;                                             
    copied += to_copy;                                                
   4d8de:	2c39 0006 0314 	movel 60314 <imfs_memfile_bytes_per_block>,%d6
   4d8e4:	4fef 000c      	lea %sp@(12),%sp                            
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
   4d8e8:	bc87           	cmpl %d7,%d6                                
   4d8ea:	623c           	bhis 4d928 <IMFS_memfile_write+0xf0>        
   4d8ec:	47f9 0004 d118 	lea 4d118 <IMFS_memfile_get_block_pointer>,%a3
    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 );                       
   4d8f2:	49f9 0004 f47c 	lea 4f47c <memcpy>,%a4                      
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
   4d8f8:	42a7           	clrl %sp@-                                  
      fprintf(stdout, "write %d in %d: %*s\n", to_copy, block, to_copy, src );
    #endif                                                            
    memcpy( &(*block_ptr)[ 0 ], src, to_copy );                       
    src += to_copy;                                                   
    block++;                                                          
    my_length -= to_copy;                                             
   4d8fa:	9e86           	subl %d6,%d7                                
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
   4d8fc:	2f02           	movel %d2,%sp@-                             
    #if 0                                                             
      fprintf(stdout, "write %d in %d: %*s\n", to_copy, block, to_copy, src );
    #endif                                                            
    memcpy( &(*block_ptr)[ 0 ], src, to_copy );                       
    src += to_copy;                                                   
    block++;                                                          
   4d8fe:	5282           	addql #1,%d2                                
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
   4d900:	2f0a           	movel %a2,%sp@-                             
   4d902:	4e93           	jsr %a3@                                    
    if ( !block_ptr )                                                 
   4d904:	4fef 000c      	lea %sp@(12),%sp                            
   4d908:	4a80           	tstl %d0                                    
   4d90a:	6700 00a4      	beqw 4d9b0 <IMFS_memfile_write+0x178>       
      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 );                       
   4d90e:	2f06           	movel %d6,%sp@-                             
   4d910:	2040           	moveal %d0,%a0                              
 *  IMFS_memfile_write                                                
 *                                                                    
 *  This routine writes the specified data buffer into the in memory  
 *  file pointed to by the_jnode.  The file is extended as needed.    
 */                                                                   
MEMFILE_STATIC ssize_t IMFS_memfile_write(                            
   4d912:	d686           	addl %d6,%d3                                
    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 );                       
   4d914:	2f04           	movel %d4,%sp@-                             
   4d916:	2f10           	movel %a0@,%sp@-                            
    src += to_copy;                                                   
   4d918:	d886           	addl %d6,%d4                                
    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 );                       
   4d91a:	4e94           	jsr %a4@                                    
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
   4d91c:	4fef 000c      	lea %sp@(12),%sp                            
   4d920:	beb9 0006 0314 	cmpl 60314 <imfs_memfile_bytes_per_block>,%d7
   4d926:	64d0           	bccs 4d8f8 <IMFS_memfile_write+0xc0>        
   *  Phase 3: possibly the first part of one block                   
   */                                                                 
  IMFS_assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );            
                                                                      
  to_copy = my_length;                                                
  if ( my_length ) {                                                  
   4d928:	4a87           	tstl %d7                                    
   4d92a:	6728           	beqs 4d954 <IMFS_memfile_write+0x11c>       
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
   4d92c:	42a7           	clrl %sp@-                                  
   4d92e:	2f02           	movel %d2,%sp@-                             
   4d930:	2f0a           	movel %a2,%sp@-                             
   4d932:	4eb9 0004 d118 	jsr 4d118 <IMFS_memfile_get_block_pointer>  
    if ( !block_ptr )                                                 
   4d938:	4fef 000c      	lea %sp@(12),%sp                            
   4d93c:	4a80           	tstl %d0                                    
   4d93e:	6770           	beqs 4d9b0 <IMFS_memfile_write+0x178>       <== NEVER TAKEN
      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 );                     
   4d940:	2f07           	movel %d7,%sp@-                             
   4d942:	2040           	moveal %d0,%a0                              
    my_length = 0;                                                    
    copied += to_copy;                                                
   4d944:	d687           	addl %d7,%d3                                
    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 );                     
   4d946:	2f04           	movel %d4,%sp@-                             
   4d948:	2f10           	movel %a0@,%sp@-                            
   4d94a:	4eb9 0004 f47c 	jsr 4f47c <memcpy>                          
    my_length = 0;                                                    
    copied += to_copy;                                                
   4d950:	4fef 000c      	lea %sp@(12),%sp                            
  }                                                                   
                                                                      
  IMFS_mtime_ctime_update( the_jnode );                               
   4d954:	42a7           	clrl %sp@-                                  
   4d956:	486e fff8      	pea %fp@(-8)                                
   4d95a:	4eb9 0004 3074 	jsr 43074 <gettimeofday>                    
   4d960:	222e fff8      	movel %fp@(-8),%d1                          
                                                                      
  return copied;                                                      
   4d964:	2003           	movel %d3,%d0                               
   4d966:	508f           	addql #8,%sp                                
    memcpy( &(*block_ptr)[ 0 ], src, my_length );                     
    my_length = 0;                                                    
    copied += to_copy;                                                
  }                                                                   
                                                                      
  IMFS_mtime_ctime_update( the_jnode );                               
   4d968:	2541 0040      	movel %d1,%a2@(64)                          
   4d96c:	2541 0044      	movel %d1,%a2@(68)                          
                                                                      
  return copied;                                                      
}                                                                     
   4d970:	4cee 1cfc ffd4 	moveml %fp@(-44),%d2-%d7/%a2-%a4            
   4d976:	4e5e           	unlk %fp                                    
   4d978:	4e75           	rts                                         
  unsigned int         last_byte;                                     
  unsigned int         start_offset;                                  
  int                  copied;                                        
  const unsigned char *src;                                           
                                                                      
  src = source;                                                       
   4d97a:	280c           	movel %a4,%d4                               
    status = IMFS_memfile_extend( the_jnode, last_byte );             
    if ( status )                                                     
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
  }                                                                   
                                                                      
  copied = 0;                                                         
   4d97c:	4283           	clrl %d3                                    
   4d97e:	6000 ff68      	braw 4d8e8 <IMFS_memfile_write+0xb0>        
   *  in memory file, then extend the length.                         
   */                                                                 
                                                                      
  last_byte = start + my_length;                                      
  if ( last_byte > the_jnode->info.file.size ) {                      
    status = IMFS_memfile_extend( the_jnode, last_byte );             
   4d982:	2f08           	movel %a0,%sp@-                             
   4d984:	2f00           	movel %d0,%sp@-                             
   4d986:	2f0a           	movel %a2,%sp@-                             
   4d988:	4eb9 0004 d732 	jsr 4d732 <IMFS_memfile_extend>             
    if ( status )                                                     
   4d98e:	4fef 000c      	lea %sp@(12),%sp                            
   4d992:	4a80           	tstl %d0                                    
   4d994:	6700 fed6      	beqw 4d86c <IMFS_memfile_write+0x34>        
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
   4d998:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         
   4d99e:	761c           	moveq #28,%d3                               
   4d9a0:	2040           	moveal %d0,%a0                              
   4d9a2:	70ff           	moveq #-1,%d0                               
   4d9a4:	2083           	movel %d3,%a0@                              
  }                                                                   
                                                                      
  IMFS_mtime_ctime_update( the_jnode );                               
                                                                      
  return copied;                                                      
}                                                                     
   4d9a6:	4cee 1cfc ffd4 	moveml %fp@(-44),%d2-%d7/%a2-%a4            
   4d9ac:	4e5e           	unlk %fp                                    
   4d9ae:	4e75           	rts                                         
  IMFS_assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );            
                                                                      
  to_copy = my_length;                                                
  if ( my_length ) {                                                  
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
   4d9b0:	2003           	movel %d3,%d0                               <== NOT EXECUTED
  }                                                                   
                                                                      
  IMFS_mtime_ctime_update( the_jnode );                               
                                                                      
  return copied;                                                      
}                                                                     
   4d9b2:	4cee 1cfc ffd4 	moveml %fp@(-44),%d2-%d7/%a2-%a4            <== NOT EXECUTED
   4d9b8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   4d9ba:	4e75           	rts                                         <== NOT EXECUTED
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
  if ( start_offset )  {                                              
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
   4d9bc:	2c07           	movel %d7,%d6                               
        block,                                                        
        to_copy,                                                      
        src                                                           
      );                                                              
    #endif                                                            
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
   4d9be:	2040           	moveal %d0,%a0                              
    src += to_copy;                                                   
   4d9c0:	280c           	movel %a4,%d4                               
   4d9c2:	d886           	addl %d6,%d4                                
    block++;                                                          
    my_length -= to_copy;                                             
   4d9c4:	9e86           	subl %d6,%d7                                
    copied += to_copy;                                                
   4d9c6:	2606           	movel %d6,%d3                               
        src                                                           
      );                                                              
    #endif                                                            
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
    src += to_copy;                                                   
    block++;                                                          
   4d9c8:	5282           	addql #1,%d2                                
        block,                                                        
        to_copy,                                                      
        src                                                           
      );                                                              
    #endif                                                            
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
   4d9ca:	2f06           	movel %d6,%sp@-                             
   4d9cc:	2f0c           	movel %a4,%sp@-                             
   4d9ce:	d7d0           	addal %a0@,%a3                              
   4d9d0:	2f0b           	movel %a3,%sp@-                             
   4d9d2:	4eb9 0004 f47c 	jsr 4f47c <memcpy>                          
    src += to_copy;                                                   
    block++;                                                          
    my_length -= to_copy;                                             
    copied += to_copy;                                                
   4d9d8:	2c39 0006 0314 	movel 60314 <imfs_memfile_bytes_per_block>,%d6
   4d9de:	4fef 000c      	lea %sp@(12),%sp                            
   4d9e2:	6000 ff04      	braw 4d8e8 <IMFS_memfile_write+0xb0>        
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
    if ( to_copy > my_length )                                        
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
      return copied;                                                  
   4d9e6:	4280           	clrl %d0                                    <== NOT EXECUTED
  }                                                                   
                                                                      
  IMFS_mtime_ctime_update( the_jnode );                               
                                                                      
  return copied;                                                      
}                                                                     
   4d9e8:	4cee 1cfc ffd4 	moveml %fp@(-44),%d2-%d7/%a2-%a4            <== NOT EXECUTED
   4d9ee:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042638 <IMFS_mknod>: const char *token, /* IN */ mode_t mode, /* IN */ dev_t dev, /* IN */ rtems_filesystem_location_info_t *pathloc /* IN/OUT */ ) {
   42638:	4e56 ffb0      	linkw %fp,#-80                              
   4263c:	48d7 007c      	moveml %d2-%d6,%sp@                         
   42640:	282e 0008      	movel %fp@(8),%d4                           
  IMFS_jnode_t      *new_node;                                        
  int                result;                                          
  char               new_name[ IMFS_NAME_MAX + 1 ];                   
  IMFS_types_union   info;                                            
                                                                      
  IMFS_get_token( token, strlen( token ), new_name, &result );        
   42644:	240e           	movel %fp,%d2                               
   42646:	0682 ffff ffc7 	addil #-57,%d2                              
   4264c:	2f04           	movel %d4,%sp@-                             
  const char                        *token,      /* IN */             
  mode_t                             mode,       /* IN */             
  dev_t                              dev,        /* IN */             
  rtems_filesystem_location_info_t  *pathloc     /* IN/OUT */         
)                                                                     
{                                                                     
   4264e:	262e 000c      	movel %fp@(12),%d3                          
  IMFS_jnode_t      *new_node;                                        
  int                result;                                          
  char               new_name[ IMFS_NAME_MAX + 1 ];                   
  IMFS_types_union   info;                                            
                                                                      
  IMFS_get_token( token, strlen( token ), new_name, &result );        
   42652:	4eb9 0005 0028 	jsr 50028 <strlen>                          
   42658:	588f           	addql #4,%sp                                
   4265a:	486e fffc      	pea %fp@(-4)                                
  const char                        *token,      /* IN */             
  mode_t                             mode,       /* IN */             
  dev_t                              dev,        /* IN */             
  rtems_filesystem_location_info_t  *pathloc     /* IN/OUT */         
)                                                                     
{                                                                     
   4265e:	2c2e 0010      	movel %fp@(16),%d6                          
  IMFS_jnode_t      *new_node;                                        
  int                result;                                          
  char               new_name[ IMFS_NAME_MAX + 1 ];                   
  IMFS_types_union   info;                                            
                                                                      
  IMFS_get_token( token, strlen( token ), new_name, &result );        
   42662:	2f02           	movel %d2,%sp@-                             
  const char                        *token,      /* IN */             
  mode_t                             mode,       /* IN */             
  dev_t                              dev,        /* IN */             
  rtems_filesystem_location_info_t  *pathloc     /* IN/OUT */         
)                                                                     
{                                                                     
   42664:	2a2e 0014      	movel %fp@(20),%d5                          
  IMFS_jnode_t      *new_node;                                        
  int                result;                                          
  char               new_name[ IMFS_NAME_MAX + 1 ];                   
  IMFS_types_union   info;                                            
                                                                      
  IMFS_get_token( token, strlen( token ), new_name, &result );        
   42668:	2f00           	movel %d0,%sp@-                             
   4266a:	2f04           	movel %d4,%sp@-                             
   4266c:	4eb9 0004 adf8 	jsr 4adf8 <IMFS_get_token>                  
                                                                      
  /*                                                                  
   *  Figure out what type of IMFS node this is.                      
   */                                                                 
  if ( S_ISDIR(mode) )                                                
   42672:	4fef 0010      	lea %sp@(16),%sp                            
   42676:	2003           	movel %d3,%d0                               
   42678:	0280 0000 f000 	andil #61440,%d0                            
   4267e:	0c80 0000 4000 	cmpil #16384,%d0                            
   42684:	6756           	beqs 426dc <IMFS_mknod+0xa4>                
    type = IMFS_DIRECTORY;                                            
  else if ( S_ISREG(mode) )                                           
   42686:	0c80 0000 8000 	cmpil #32768,%d0                            
   4268c:	6752           	beqs 426e0 <IMFS_mknod+0xa8>                
    type = IMFS_MEMORY_FILE;                                          
  else if ( S_ISBLK(mode) || S_ISCHR(mode) ) {                        
   4268e:	0c80 0000 6000 	cmpil #24576,%d0                            
   42694:	673a           	beqs 426d0 <IMFS_mknod+0x98>                
   42696:	0c80 0000 2000 	cmpil #8192,%d0                             
   4269c:	6732           	beqs 426d0 <IMFS_mknod+0x98>                
    type = IMFS_DEVICE;                                               
    rtems_filesystem_split_dev_t( dev, info.device.major, info.device.minor );
  } else if (S_ISFIFO(mode))                                          
   4269e:	0c80 0000 1000 	cmpil #4096,%d0                             
   426a4:	673e           	beqs 426e4 <IMFS_mknod+0xac>                <== ALWAYS TAKEN
  mode_t                             mode,       /* IN */             
  dev_t                              dev,        /* IN */             
  rtems_filesystem_location_info_t  *pathloc     /* IN/OUT */         
)                                                                     
{                                                                     
  IMFS_token_types   type = 0;                                        
   426a6:	4280           	clrl %d0                                    <== NOT EXECUTED
   *        was ONLY passed a NULL when we created the root node.  We 
   *        added a new IMFS_create_root_node() so this path no longer
   *        existed.  The result was simpler code which should not have
   *        this path.                                                
   */                                                                 
  new_node = IMFS_create_node( pathloc, type, new_name, mode, &info );
   426a8:	486e ffe8      	pea %fp@(-24)                               
   426ac:	2f03           	movel %d3,%sp@-                             
   426ae:	2f02           	movel %d2,%sp@-                             
   426b0:	2f00           	movel %d0,%sp@-                             
   426b2:	2f2e 0018      	movel %fp@(24),%sp@-                        
   426b6:	4eb9 0004 a2ca 	jsr 4a2ca <IMFS_create_node>                
  if ( !new_node )                                                    
   426bc:	4fef 0014      	lea %sp@(20),%sp                            
   426c0:	4a80           	tstl %d0                                    
   426c2:	6724           	beqs 426e8 <IMFS_mknod+0xb0>                
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  return 0;                                                           
   426c4:	4280           	clrl %d0                                    
}                                                                     
   426c6:	4cee 007c ffb0 	moveml %fp@(-80),%d2-%d6                    
   426cc:	4e5e           	unlk %fp                                    
   426ce:	4e75           	rts                                         
    type = IMFS_DIRECTORY;                                            
  else if ( S_ISREG(mode) )                                           
    type = IMFS_MEMORY_FILE;                                          
  else if ( S_ISBLK(mode) || S_ISCHR(mode) ) {                        
    type = IMFS_DEVICE;                                               
    rtems_filesystem_split_dev_t( dev, info.device.major, info.device.minor );
   426d0:	2d46 ffe8      	movel %d6,%fp@(-24)                         
  if ( S_ISDIR(mode) )                                                
    type = IMFS_DIRECTORY;                                            
  else if ( S_ISREG(mode) )                                           
    type = IMFS_MEMORY_FILE;                                          
  else if ( S_ISBLK(mode) || S_ISCHR(mode) ) {                        
    type = IMFS_DEVICE;                                               
   426d4:	7002           	moveq #2,%d0                                
    rtems_filesystem_split_dev_t( dev, info.device.major, info.device.minor );
   426d6:	2d45 ffec      	movel %d5,%fp@(-20)                         
   426da:	60cc           	bras 426a8 <IMFS_mknod+0x70>                
                                                                      
  /*                                                                  
   *  Figure out what type of IMFS node this is.                      
   */                                                                 
  if ( S_ISDIR(mode) )                                                
    type = IMFS_DIRECTORY;                                            
   426dc:	7001           	moveq #1,%d0                                
   426de:	60c8           	bras 426a8 <IMFS_mknod+0x70>                
  else if ( S_ISREG(mode) )                                           
    type = IMFS_MEMORY_FILE;                                          
   426e0:	7005           	moveq #5,%d0                                
   426e2:	60c4           	bras 426a8 <IMFS_mknod+0x70>                
  else if ( S_ISBLK(mode) || S_ISCHR(mode) ) {                        
    type = IMFS_DEVICE;                                               
    rtems_filesystem_split_dev_t( dev, info.device.major, info.device.minor );
  } else if (S_ISFIFO(mode))                                          
    type = IMFS_FIFO;                                                 
   426e4:	7007           	moveq #7,%d0                                
   426e6:	60c0           	bras 426a8 <IMFS_mknod+0x70>                
   *        existed.  The result was simpler code which should not have
   *        this path.                                                
   */                                                                 
  new_node = IMFS_create_node( pathloc, type, new_name, mode, &info );
  if ( !new_node )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
   426e8:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         
   426ee:	720c           	moveq #12,%d1                               
   426f0:	2040           	moveal %d0,%a0                              
   426f2:	70ff           	moveq #-1,%d0                               
                                                                      
  return 0;                                                           
}                                                                     
   426f4:	4cee 007c ffb0 	moveml %fp@(-80),%d2-%d6                    
   *        existed.  The result was simpler code which should not have
   *        this path.                                                
   */                                                                 
  new_node = IMFS_create_node( pathloc, type, new_name, mode, &info );
  if ( !new_node )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
   426fa:	2081           	movel %d1,%a0@                              
                                                                      
  return 0;                                                           
}                                                                     
   426fc:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042700 <IMFS_mount>: /* * Is the node that we are mounting onto a directory node ? */ if ( node->type != IMFS_DIRECTORY )
   42700:	7001           	moveq #1,%d0                                
#include <rtems/seterr.h>                                             
                                                                      
int IMFS_mount(                                                       
  rtems_filesystem_mount_table_entry_t *mt_entry                      
)                                                                     
{                                                                     
   42702:	4e56 0000      	linkw %fp,#0                                
   42706:	226e 0008      	moveal %fp@(8),%a1                          
  IMFS_jnode_t  *node;                                                
                                                                      
  node = mt_entry->mt_point_node.node_access;                         
   4270a:	2069 0008      	moveal %a1@(8),%a0                          
                                                                      
  /*                                                                  
   *  Is the node that we are mounting onto a directory node ?        
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
   4270e:	b0a8 0048      	cmpl %a0@(72),%d0                           
   42712:	660a           	bnes 4271e <IMFS_mount+0x1e>                <== NEVER TAKEN
  /*                                                                  
   *  Set mt_fs pointer to point to the mount table entry for         
   *  the mounted file system.                                        
   */                                                                 
                                                                      
  node->info.directory.mt_fs = mt_entry;                              
   42714:	2149 0058      	movel %a1,%a0@(88)                          
  return 0;                                                           
   42718:	4280           	clrl %d0                                    
}                                                                     
   4271a:	4e5e           	unlk %fp                                    
   4271c:	4e75           	rts                                         
  /*                                                                  
   *  Is the node that we are mounting onto a directory node ?        
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
   4271e:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         <== NOT EXECUTED
   42724:	7214           	moveq #20,%d1                               <== NOT EXECUTED
   42726:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   42728:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   *  the mounted file system.                                        
   */                                                                 
                                                                      
  node->info.directory.mt_fs = mt_entry;                              
  return 0;                                                           
}                                                                     
   4272a:	4e5e           	unlk %fp                                    <== NOT EXECUTED
  /*                                                                  
   *  Is the node that we are mounting onto a directory node ?        
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
   4272c:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
   *  the mounted file system.                                        
   */                                                                 
                                                                      
  node->info.directory.mt_fs = mt_entry;                              
  return 0;                                                           
}                                                                     
                                                                      

00045088 <IMFS_print_jnode>: * This routine prints the contents of the specified jnode. */ void IMFS_print_jnode( IMFS_jnode_t *the_jnode ) {
   45088:	4e56 0000      	linkw %fp,#0                                
  IMFS_assert( the_jnode );                                           
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
   4508c:	2079 0006 584c 	moveal 6584c <_impure_ptr>,%a0              
 *  This routine prints the contents of the specified jnode.          
 */                                                                   
void IMFS_print_jnode(                                                
  IMFS_jnode_t *the_jnode                                             
)                                                                     
{                                                                     
   45092:	2f0a           	movel %a2,%sp@-                             
  IMFS_assert( the_jnode );                                           
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
   45094:	2f28 0008      	movel %a0@(8),%sp@-                         
 *  This routine prints the contents of the specified jnode.          
 */                                                                   
void IMFS_print_jnode(                                                
  IMFS_jnode_t *the_jnode                                             
)                                                                     
{                                                                     
   45098:	246e 0008      	moveal %fp@(8),%a2                          
  IMFS_assert( the_jnode );                                           
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
   4509c:	486a 000c      	pea %a2@(12)                                
   450a0:	4eb9 0005 36a8 	jsr 536a8 <fputs>                           
  switch( the_jnode->type ) {                                         
   450a6:	202a 0048      	movel %a2@(72),%d0                          
   450aa:	508f           	addql #8,%sp                                
   450ac:	7207           	moveq #7,%d1                                
   450ae:	b280           	cmpl %d0,%d1                                
   450b0:	6424           	bccs 450d6 <IMFS_print_jnode+0x4e>          <== ALWAYS TAKEN
    case IMFS_FIFO:                                                   
      fprintf(stdout, " FIFO not printed\n" );                        
      return;                                                         
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
   450b2:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   450b4:	4879 0006 3f09 	pea 63f09 <IntUartPollCallbacks.6374+0x75>  <== NOT EXECUTED
   450ba:	2079 0006 584c 	moveal 6584c <_impure_ptr>,%a0              <== NOT EXECUTED
   450c0:	2f28 0008      	movel %a0@(8),%sp@-                         <== NOT EXECUTED
   450c4:	4eb9 0005 355a 	jsr 5355a <fprintf>                         <== NOT EXECUTED
      return;                                                         
  }                                                                   
  puts("");                                                           
}                                                                     
   450ca:	246e fffc      	moveal %fp@(-4),%a2                         <== NOT EXECUTED
      fprintf(stdout, " FIFO not printed\n" );                        
      return;                                                         
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
   450ce:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
  }                                                                   
  puts("");                                                           
}                                                                     
   450d2:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   450d4:	4e75           	rts                                         <== NOT EXECUTED
)                                                                     
{                                                                     
  IMFS_assert( the_jnode );                                           
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
  switch( the_jnode->type ) {                                         
   450d6:	323b 0a08      	movew %pc@(450e0 <IMFS_print_jnode+0x58>,%d0:l:2),%d1
   450da:	48c1           	extl %d1                                    
   450dc:	4efb 1802      	jmp %pc@(450e0 <IMFS_print_jnode+0x58>,%d1:l)
   450e0:	ffd2           	.short 0xffd2                               <== NOT EXECUTED
   450e2:	003a           	.short 0x003a                               <== NOT EXECUTED
   450e4:	0066           	.short 0x0066                               <== NOT EXECUTED
   450e6:	0010           	.short 0x0010                               <== NOT EXECUTED
   450e8:	0010           	.short 0x0010                               <== NOT EXECUTED
   450ea:	009e 00d2 010a 	oril #13762826,%d6                          <== NOT EXECUTED
    case IMFS_HARD_LINK:                                              
      fprintf(stdout, " links not printed\n" );                       
      return;                                                         
                                                                      
    case IMFS_SYM_LINK:                                               
      fprintf(stdout, " links not printed\n" );                       
   450f0:	2079 0006 584c 	moveal 6584c <_impure_ptr>,%a0              
   450f6:	2f28 0008      	movel %a0@(8),%sp@-                         
   450fa:	4878 0013      	pea 13 <INVALID_OPERATION+0x3>              
   450fe:	4878 0001      	pea 1 <ADD>                                 
   45102:	4879 0006 3ee2 	pea 63ee2 <IntUartPollCallbacks.6374+0x4e>  
   45108:	4eb9 0005 4210 	jsr 54210 <fwrite>                          
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
}                                                                     
   4510e:	246e fffc      	moveal %fp@(-4),%a2                         
      fprintf(stdout, " links not printed\n" );                       
      return;                                                         
                                                                      
    case IMFS_SYM_LINK:                                               
      fprintf(stdout, " links not printed\n" );                       
      return;                                                         
   45112:	4fef 0010      	lea %sp@(16),%sp                            
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
}                                                                     
   45116:	4e5e           	unlk %fp                                    
   45118:	4e75           	rts                                         
  IMFS_assert( the_jnode );                                           
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
  switch( the_jnode->type ) {                                         
    case IMFS_DIRECTORY:                                              
      fprintf(stdout, "/" );                                          
   4511a:	2079 0006 584c 	moveal 6584c <_impure_ptr>,%a0              
   45120:	2f28 0008      	movel %a0@(8),%sp@-                         
   45124:	4878 002f      	pea 2f <OPER2+0x1b>                         
   45128:	4eb9 0005 35d8 	jsr 535d8 <fputc>                           
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
}                                                                     
   4512e:	246e fffc      	moveal %fp@(-4),%a2                         
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
   45132:	203c 0006 45bc 	movel #411068,%d0                           
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
  switch( the_jnode->type ) {                                         
    case IMFS_DIRECTORY:                                              
      fprintf(stdout, "/" );                                          
      break;                                                          
   45138:	508f           	addql #8,%sp                                
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
   4513a:	2d40 0008      	movel %d0,%fp@(8)                           
}                                                                     
   4513e:	4e5e           	unlk %fp                                    
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
   45140:	4ef9 0005 4f32 	jmp 54f32 <puts>                            
    case IMFS_DIRECTORY:                                              
      fprintf(stdout, "/" );                                          
      break;                                                          
                                                                      
    case IMFS_DEVICE:                                                 
      fprintf(stdout, " (device %" PRId32 ", %" PRId32 ")",           
   45146:	2f2a 0050      	movel %a2@(80),%sp@-                        
   4514a:	2f2a 004c      	movel %a2@(76),%sp@-                        
   4514e:	2079 0006 584c 	moveal 6584c <_impure_ptr>,%a0              
   45154:	4879 0006 3eb4 	pea 63eb4 <IntUartPollCallbacks.6374+0x20>  
   4515a:	2f28 0008      	movel %a0@(8),%sp@-                         
   4515e:	4eb9 0005 355a 	jsr 5355a <fprintf>                         
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
}                                                                     
   45164:	246e fffc      	moveal %fp@(-4),%a2                         
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
   45168:	203c 0006 45bc 	movel #411068,%d0                           
      break;                                                          
                                                                      
    case IMFS_DEVICE:                                                 
      fprintf(stdout, " (device %" PRId32 ", %" PRId32 ")",           
        the_jnode->info.device.major, the_jnode->info.device.minor ); 
      break;                                                          
   4516e:	4fef 0010      	lea %sp@(16),%sp                            
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
   45172:	2d40 0008      	movel %d0,%fp@(8)                           
}                                                                     
   45176:	4e5e           	unlk %fp                                    
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
   45178:	4ef9 0005 4f32 	jmp 54f32 <puts>                            
        the_jnode->info.file.indirect,                                
        the_jnode->info.file.doubly_indirect,                         
        the_jnode->info.file.triply_indirect                          
      );                                                              
#else                                                                 
      fprintf(stdout, " (file %" PRId32 ")",                          
   4517e:	2f2a 0050      	movel %a2@(80),%sp@-                        
   45182:	2079 0006 584c 	moveal 6584c <_impure_ptr>,%a0              
   45188:	4879 0006 3ed6 	pea 63ed6 <IntUartPollCallbacks.6374+0x42>  
   4518e:	2f28 0008      	movel %a0@(8),%sp@-                         
   45192:	4eb9 0005 355a 	jsr 5355a <fprintf>                         
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
}                                                                     
   45198:	246e fffc      	moveal %fp@(-4),%a2                         
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
   4519c:	203c 0006 45bc 	movel #411068,%d0                           
      );                                                              
#else                                                                 
      fprintf(stdout, " (file %" PRId32 ")",                          
        (uint32_t)the_jnode->info.file.size );                        
#endif                                                                
      break;                                                          
   451a2:	4fef 000c      	lea %sp@(12),%sp                            
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
   451a6:	2d40 0008      	movel %d0,%fp@(8)                           
}                                                                     
   451aa:	4e5e           	unlk %fp                                    
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
   451ac:	4ef9 0005 4f32 	jmp 54f32 <puts>                            
      fprintf(stdout, " (device %" PRId32 ", %" PRId32 ")",           
        the_jnode->info.device.major, the_jnode->info.device.minor ); 
      break;                                                          
                                                                      
    case IMFS_LINEAR_FILE:                                            
      fprintf(stdout, " (file %" PRId32 " %p)",                       
   451b2:	2f2a 0054      	movel %a2@(84),%sp@-                        
   451b6:	2f2a 0050      	movel %a2@(80),%sp@-                        
   451ba:	2079 0006 584c 	moveal 6584c <_impure_ptr>,%a0              
   451c0:	4879 0006 3ec7 	pea 63ec7 <IntUartPollCallbacks.6374+0x33>  
   451c6:	2f28 0008      	movel %a0@(8),%sp@-                         
   451ca:	4eb9 0005 355a 	jsr 5355a <fprintf>                         
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
}                                                                     
   451d0:	246e fffc      	moveal %fp@(-4),%a2                         
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
   451d4:	203c 0006 45bc 	movel #411068,%d0                           
    case IMFS_LINEAR_FILE:                                            
      fprintf(stdout, " (file %" PRId32 " %p)",                       
        (uint32_t)the_jnode->info.linearfile.size,                    
        the_jnode->info.linearfile.direct                             
      );                                                              
      break;                                                          
   451da:	4fef 0010      	lea %sp@(16),%sp                            
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
   451de:	2d40 0008      	movel %d0,%fp@(8)                           
}                                                                     
   451e2:	4e5e           	unlk %fp                                    
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
   451e4:	4ef9 0005 4f32 	jmp 54f32 <puts>                            
    case IMFS_SYM_LINK:                                               
      fprintf(stdout, " links not printed\n" );                       
      return;                                                         
                                                                      
    case IMFS_FIFO:                                                   
      fprintf(stdout, " FIFO not printed\n" );                        
   451ea:	2079 0006 584c 	moveal 6584c <_impure_ptr>,%a0              
   451f0:	2f28 0008      	movel %a0@(8),%sp@-                         
   451f4:	4878 0012      	pea 12 <INVALID_OPERATION+0x2>              
   451f8:	4878 0001      	pea 1 <ADD>                                 
   451fc:	4879 0006 3ef6 	pea 63ef6 <IntUartPollCallbacks.6374+0x62>  
   45202:	4eb9 0005 4210 	jsr 54210 <fwrite>                          
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
}                                                                     
   45208:	246e fffc      	moveal %fp@(-4),%a2                         
      fprintf(stdout, " links not printed\n" );                       
      return;                                                         
                                                                      
    case IMFS_FIFO:                                                   
      fprintf(stdout, " FIFO not printed\n" );                        
      return;                                                         
   4520c:	4fef 0010      	lea %sp@(16),%sp                            
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
      return;                                                         
  }                                                                   
  puts("");                                                           
}                                                                     
   45210:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042744 <IMFS_readlink>: ssize_t IMFS_readlink( rtems_filesystem_location_info_t *loc, char *buf, /* OUT */ size_t bufsize ) {
   42744:	4e56 fff4      	linkw %fp,#-12                              
  IMFS_jnode_t      *node;                                            
  ssize_t            i;                                               
                                                                      
  node = loc->node_access;                                            
   42748:	206e 0008      	moveal %fp@(8),%a0                          
ssize_t IMFS_readlink(                                                
  rtems_filesystem_location_info_t  *loc,                             
  char                              *buf,         /* OUT */           
  size_t                             bufsize                          
)                                                                     
{                                                                     
   4274c:	48d7 0c04      	moveml %d2/%a2-%a3,%sp@                     
   42750:	266e 000c      	moveal %fp@(12),%a3                         
   42754:	242e 0010      	movel %fp@(16),%d2                          
  IMFS_jnode_t      *node;                                            
  ssize_t            i;                                               
                                                                      
  node = loc->node_access;                                            
   42758:	2450           	moveal %a0@,%a2                             
                                                                      
  IMFS_assert( node->type == IMFS_SYM_LINK );                         
                                                                      
  for( i=0; ((i<bufsize) && (node->info.sym_link.name[i] != '\0')); i++ )
   4275a:	672a           	beqs 42786 <IMFS_readlink+0x42>             <== NEVER TAKEN
   4275c:	206a 004c      	moveal %a2@(76),%a0                         
   42760:	1210           	moveb %a0@,%d1                              
   42762:	6722           	beqs 42786 <IMFS_readlink+0x42>             <== NEVER TAKEN
   42764:	91c8           	subal %a0,%a0                               
   42766:	4280           	clrl %d0                                    
   42768:	5280           	addql #1,%d0                                
    buf[i] = node->info.sym_link.name[i];                             
   4276a:	1781 8800      	moveb %d1,%a3@(00000000,%a0:l)              
                                                                      
  node = loc->node_access;                                            
                                                                      
  IMFS_assert( node->type == IMFS_SYM_LINK );                         
                                                                      
  for( i=0; ((i<bufsize) && (node->info.sym_link.name[i] != '\0')); i++ )
   4276e:	2040           	moveal %d0,%a0                              
   42770:	b480           	cmpl %d0,%d2                                
   42772:	630a           	blss 4277e <IMFS_readlink+0x3a>             
   42774:	226a 004c      	moveal %a2@(76),%a1                         
   42778:	1231 0800      	moveb %a1@(00000000,%d0:l),%d1              
   4277c:	66ea           	bnes 42768 <IMFS_readlink+0x24>             
    buf[i] = node->info.sym_link.name[i];                             
                                                                      
  return i;                                                           
}                                                                     
   4277e:	4cd7 0c04      	moveml %sp@,%d2/%a2-%a3                     
   42782:	4e5e           	unlk %fp                                    
   42784:	4e75           	rts                                         
                                                                      
  node = loc->node_access;                                            
                                                                      
  IMFS_assert( node->type == IMFS_SYM_LINK );                         
                                                                      
  for( i=0; ((i<bufsize) && (node->info.sym_link.name[i] != '\0')); i++ )
   42786:	4280           	clrl %d0                                    <== NOT EXECUTED
    buf[i] = node->info.sym_link.name[i];                             
                                                                      
  return i;                                                           
}                                                                     
   42788:	4cd7 0c04      	moveml %sp@,%d2/%a2-%a3                     <== NOT EXECUTED
   4278c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042790 <IMFS_rename>: rtems_filesystem_location_info_t *old_parent_loc, /* IN */ rtems_filesystem_location_info_t *old_loc, /* IN */ rtems_filesystem_location_info_t *new_parent_loc, /* IN */ const char *new_name /* IN */ ) {
   42790:	4e56 fff8      	linkw %fp,#-8                               
  IMFS_jnode_t *the_jnode;                                            
  IMFS_jnode_t *new_parent;                                           
                                                                      
  the_jnode = old_loc->node_access;                                   
   42794:	206e 000c      	moveal %fp@(12),%a0                         
  rtems_filesystem_location_info_t  *old_parent_loc,  /* IN */        
  rtems_filesystem_location_info_t  *old_loc,         /* IN */        
  rtems_filesystem_location_info_t  *new_parent_loc,  /* IN */        
  const char                        *new_name         /* IN */        
)                                                                     
{                                                                     
   42798:	2f0a           	movel %a2,%sp@-                             
  IMFS_jnode_t *the_jnode;                                            
  IMFS_jnode_t *new_parent;                                           
                                                                      
  the_jnode = old_loc->node_access;                                   
                                                                      
  strncpy( the_jnode->name, new_name, IMFS_NAME_MAX );                
   4279a:	4878 0020      	pea 20 <OPER2+0xc>                          
   4279e:	2f2e 0014      	movel %fp@(20),%sp@-                        
)                                                                     
{                                                                     
  IMFS_jnode_t *the_jnode;                                            
  IMFS_jnode_t *new_parent;                                           
                                                                      
  the_jnode = old_loc->node_access;                                   
   427a2:	2450           	moveal %a0@,%a2                             
                                                                      
  strncpy( the_jnode->name, new_name, IMFS_NAME_MAX );                
   427a4:	486a 000c      	pea %a2@(12)                                
   427a8:	4eb9 0005 0040 	jsr 50040 <strncpy>                         
                                                                      
  if ( the_jnode->Parent != NULL )                                    
   427ae:	4fef 000c      	lea %sp@(12),%sp                            
   427b2:	4aaa 0008      	tstl %a2@(8)                                
   427b6:	670a           	beqs 427c2 <IMFS_rename+0x32>               <== NEVER TAKEN
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
   427b8:	2f0a           	movel %a2,%sp@-                             
   427ba:	4eb9 0004 7214 	jsr 47214 <_Chain_Extract>                  
   427c0:	588f           	addql #4,%sp                                
    rtems_chain_extract( (rtems_chain_node *) the_jnode );            
                                                                      
  new_parent = new_parent_loc->node_access;                           
   427c2:	206e 0010      	moveal %fp@(16),%a0                         
   427c6:	2050           	moveal %a0@,%a0                             
  the_jnode->Parent = new_parent;                                     
   427c8:	2548 0008      	movel %a0,%a2@(8)                           
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
   427cc:	2f0a           	movel %a2,%sp@-                             
   427ce:	4868 004c      	pea %a0@(76)                                
   427d2:	4eb9 0004 71dc 	jsr 471dc <_Chain_Append>                   
  rtems_chain_append( &new_parent->info.directory.Entries, &the_jnode->Node );
                                                                      
  /*                                                                  
   * Update the time.                                                 
   */                                                                 
  IMFS_update_ctime( the_jnode );                                     
   427d8:	42a7           	clrl %sp@-                                  
   427da:	486e fff8      	pea %fp@(-8)                                
   427de:	4eb9 0004 3074 	jsr 43074 <gettimeofday>                    
   427e4:	256e fff8 0044 	movel %fp@(-8),%a2@(68)                     
                                                                      
  return 0;                                                           
}                                                                     
   427ea:	4280           	clrl %d0                                    
   427ec:	246e fff4      	moveal %fp@(-12),%a2                        
   427f0:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004afdc <IMFS_stat>: IMFS_device_t *io; the_jnode = loc->node_access; switch ( the_jnode->type ) {
   4afdc:	7007           	moveq #7,%d0                                
                                                                      
int IMFS_stat(                                                        
  rtems_filesystem_location_info_t *loc,                              
  struct stat                      *buf                               
)                                                                     
{                                                                     
   4afde:	4e56 0000      	linkw %fp,#0                                
   4afe2:	206e 000c      	moveal %fp@(12),%a0                         
   4afe6:	2f0a           	movel %a2,%sp@-                             
   4afe8:	246e 0008      	moveal %fp@(8),%a2                          
  IMFS_fs_info_t *fs_info;                                            
  IMFS_jnode_t   *the_jnode;                                          
  IMFS_device_t  *io;                                                 
                                                                      
  the_jnode = loc->node_access;                                       
   4afec:	2252           	moveal %a2@,%a1                             
                                                                      
                                                                      
  switch ( the_jnode->type ) {                                        
   4afee:	b0a9 0048      	cmpl %a1@(72),%d0                           
   4aff2:	6418           	bccs 4b00c <IMFS_stat+0x30>                 <== ALWAYS TAKEN
    case IMFS_FIFO:                                                   
      buf->st_size = 0;                                               
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
   4aff4:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         
  buf->st_atime = the_jnode->stat_atime;                              
  buf->st_mtime = the_jnode->stat_mtime;                              
  buf->st_ctime = the_jnode->stat_ctime;                              
                                                                      
  return 0;                                                           
}                                                                     
   4affa:	246e fffc      	moveal %fp@(-4),%a2                         
    case IMFS_FIFO:                                                   
      buf->st_size = 0;                                               
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
   4affe:	2040           	moveal %d0,%a0                              
   4b000:	70ff           	moveq #-1,%d0                               
  buf->st_atime = the_jnode->stat_atime;                              
  buf->st_mtime = the_jnode->stat_mtime;                              
  buf->st_ctime = the_jnode->stat_ctime;                              
                                                                      
  return 0;                                                           
}                                                                     
   4b002:	4e5e           	unlk %fp                                    
    case IMFS_FIFO:                                                   
      buf->st_size = 0;                                               
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
   4b004:	20bc 0000 0086 	movel #134,%a0@                             
  buf->st_atime = the_jnode->stat_atime;                              
  buf->st_mtime = the_jnode->stat_mtime;                              
  buf->st_ctime = the_jnode->stat_ctime;                              
                                                                      
  return 0;                                                           
}                                                                     
   4b00a:	4e75           	rts                                         
  IMFS_device_t  *io;                                                 
                                                                      
  the_jnode = loc->node_access;                                       
                                                                      
                                                                      
  switch ( the_jnode->type ) {                                        
   4b00c:	2029 0048      	movel %a1@(72),%d0                          
   4b010:	d080           	addl %d0,%d0                                
   4b012:	303b 0808      	movew %pc@(4b01c <IMFS_stat+0x40>,%d0:l),%d0
   4b016:	48c0           	extl %d0                                    
   4b018:	4efb 0802      	jmp %pc@(4b01c <IMFS_stat+0x40>,%d0:l)      
   4b01c:	ffd8           	.short 0xffd8                               <== NOT EXECUTED
   4b01e:	ffd8           	.short 0xffd8                               <== NOT EXECUTED
   4b020:	00c2           	bitrev %d2                                  <== NOT EXECUTED
   4b022:	ffd8           	.short 0xffd8                               <== NOT EXECUTED
   4b024:	0010           	.short 0x0010                               <== NOT EXECUTED
   4b026:	006a           	.short 0x006a                               <== NOT EXECUTED
   4b028:	006a           	.short 0x006a                               <== NOT EXECUTED
   4b02a:	0010           	.short 0x0010                               <== NOT EXECUTED
                                                                      
  /*                                                                  
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
   4b02c:	246a 0010      	moveal %a2@(16),%a2                         
    case IMFS_SYM_LINK:                                               
      buf->st_size = 0;                                               
      break;                                                          
                                                                      
    case IMFS_FIFO:                                                   
      buf->st_size = 0;                                               
   4b030:	4280           	clrl %d0                                    
   4b032:	4281           	clrl %d1                                    
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
   4b034:	246a 0034      	moveal %a2@(52),%a2                         
    case IMFS_SYM_LINK:                                               
      buf->st_size = 0;                                               
      break;                                                          
                                                                      
    case IMFS_FIFO:                                                   
      buf->st_size = 0;                                               
   4b038:	2140 001e      	movel %d0,%a0@(30)                          
   4b03c:	2141 0022      	movel %d1,%a0@(34)                          
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
   4b040:	2212           	movel %a2@,%d1                              
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
  buf->st_mtime = the_jnode->stat_mtime;                              
  buf->st_ctime = the_jnode->stat_ctime;                              
                                                                      
  return 0;                                                           
   4b042:	4280           	clrl %d0                                    
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
   4b044:	2169 002e 000c 	movel %a1@(46),%a0@(12)                     
  buf->st_nlink = the_jnode->st_nlink;                                
   4b04a:	3169 0032 0010 	movew %a1@(50),%a0@(16)                     
  buf->st_ino   = the_jnode->st_ino;                                  
   4b050:	2169 0034 0008 	movel %a1@(52),%a0@(8)                      
  buf->st_uid   = the_jnode->st_uid;                                  
   4b056:	3169 0038 0012 	movew %a1@(56),%a0@(18)                     
  buf->st_gid   = the_jnode->st_gid;                                  
   4b05c:	3169 003a 0014 	movew %a1@(58),%a0@(20)                     
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
   4b062:	2169 003c 0026 	movel %a1@(60),%a0@(38)                     
  buf->st_mtime = the_jnode->stat_mtime;                              
   4b068:	2169 0040 002e 	movel %a1@(64),%a0@(46)                     
  buf->st_ctime = the_jnode->stat_ctime;                              
   4b06e:	2169 0044 0036 	movel %a1@(68),%a0@(54)                     
  /*                                                                  
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
   4b074:	20bc 0000 fffe 	movel #65534,%a0@                           
   4b07a:	2141 0004      	movel %d1,%a0@(4)                           
  buf->st_atime = the_jnode->stat_atime;                              
  buf->st_mtime = the_jnode->stat_mtime;                              
  buf->st_ctime = the_jnode->stat_ctime;                              
                                                                      
  return 0;                                                           
}                                                                     
   4b07e:	246e fffc      	moveal %fp@(-4),%a2                         
   4b082:	4e5e           	unlk %fp                                    
   4b084:	4e75           	rts                                         
                                                                      
  /*                                                                  
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
   4b086:	246a 0010      	moveal %a2@(16),%a2                         
      buf->st_rdev = rtems_filesystem_make_dev_t( io->major, io->minor );
      break;                                                          
                                                                      
    case IMFS_LINEAR_FILE:                                            
    case IMFS_MEMORY_FILE:                                            
      buf->st_size = the_jnode->info.file.size;                       
   4b08a:	2029 004c      	movel %a1@(76),%d0                          
   4b08e:	2229 0050      	movel %a1@(80),%d1                          
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
   4b092:	246a 0034      	moveal %a2@(52),%a2                         
      buf->st_rdev = rtems_filesystem_make_dev_t( io->major, io->minor );
      break;                                                          
                                                                      
    case IMFS_LINEAR_FILE:                                            
    case IMFS_MEMORY_FILE:                                            
      buf->st_size = the_jnode->info.file.size;                       
   4b096:	2140 001e      	movel %d0,%a0@(30)                          
   4b09a:	2141 0022      	movel %d1,%a0@(34)                          
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
   4b09e:	2212           	movel %a2@,%d1                              
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
  buf->st_mtime = the_jnode->stat_mtime;                              
  buf->st_ctime = the_jnode->stat_ctime;                              
                                                                      
  return 0;                                                           
   4b0a0:	4280           	clrl %d0                                    
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
   4b0a2:	2169 002e 000c 	movel %a1@(46),%a0@(12)                     
  buf->st_nlink = the_jnode->st_nlink;                                
   4b0a8:	3169 0032 0010 	movew %a1@(50),%a0@(16)                     
  buf->st_ino   = the_jnode->st_ino;                                  
   4b0ae:	2169 0034 0008 	movel %a1@(52),%a0@(8)                      
  buf->st_uid   = the_jnode->st_uid;                                  
   4b0b4:	3169 0038 0012 	movew %a1@(56),%a0@(18)                     
  buf->st_gid   = the_jnode->st_gid;                                  
   4b0ba:	3169 003a 0014 	movew %a1@(58),%a0@(20)                     
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
   4b0c0:	2169 003c 0026 	movel %a1@(60),%a0@(38)                     
  buf->st_mtime = the_jnode->stat_mtime;                              
   4b0c6:	2169 0040 002e 	movel %a1@(64),%a0@(46)                     
  buf->st_ctime = the_jnode->stat_ctime;                              
   4b0cc:	2169 0044 0036 	movel %a1@(68),%a0@(54)                     
  /*                                                                  
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
   4b0d2:	20bc 0000 fffe 	movel #65534,%a0@                           
   4b0d8:	2141 0004      	movel %d1,%a0@(4)                           
   4b0dc:	60a0           	bras 4b07e <IMFS_stat+0xa2>                 
                                                                      
  /*                                                                  
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
   4b0de:	246a 0010      	moveal %a2@(16),%a2                         
                                                                      
  switch ( the_jnode->type ) {                                        
                                                                      
    case IMFS_DEVICE:                                                 
      io           = &the_jnode->info.device;                         
      buf->st_rdev = rtems_filesystem_make_dev_t( io->major, io->minor );
   4b0e2:	2029 0050      	movel %a1@(80),%d0                          
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
   4b0e6:	246a 0034      	moveal %a2@(52),%a2                         
                                                                      
  switch ( the_jnode->type ) {                                        
                                                                      
    case IMFS_DEVICE:                                                 
      io           = &the_jnode->info.device;                         
      buf->st_rdev = rtems_filesystem_make_dev_t( io->major, io->minor );
   4b0ea:	2169 004c 0016 	movel %a1@(76),%a0@(22)                     
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
   4b0f0:	2212           	movel %a2@,%d1                              
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
   4b0f2:	2169 002e 000c 	movel %a1@(46),%a0@(12)                     
  buf->st_nlink = the_jnode->st_nlink;                                
   4b0f8:	3169 0032 0010 	movew %a1@(50),%a0@(16)                     
  buf->st_ino   = the_jnode->st_ino;                                  
   4b0fe:	2169 0034 0008 	movel %a1@(52),%a0@(8)                      
  buf->st_uid   = the_jnode->st_uid;                                  
   4b104:	3169 0038 0012 	movew %a1@(56),%a0@(18)                     
  buf->st_gid   = the_jnode->st_gid;                                  
   4b10a:	3169 003a 0014 	movew %a1@(58),%a0@(20)                     
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
   4b110:	2169 003c 0026 	movel %a1@(60),%a0@(38)                     
  buf->st_mtime = the_jnode->stat_mtime;                              
   4b116:	2169 0040 002e 	movel %a1@(64),%a0@(46)                     
  buf->st_ctime = the_jnode->stat_ctime;                              
   4b11c:	2169 0044 0036 	movel %a1@(68),%a0@(54)                     
                                                                      
  switch ( the_jnode->type ) {                                        
                                                                      
    case IMFS_DEVICE:                                                 
      io           = &the_jnode->info.device;                         
      buf->st_rdev = rtems_filesystem_make_dev_t( io->major, io->minor );
   4b122:	2140 001a      	movel %d0,%a0@(26)                          
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
  buf->st_mtime = the_jnode->stat_mtime;                              
  buf->st_ctime = the_jnode->stat_ctime;                              
                                                                      
  return 0;                                                           
   4b126:	4280           	clrl %d0                                    
  /*                                                                  
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
  buf->st_dev =                                                       
   4b128:	20bc 0000 fffe 	movel #65534,%a0@                           
   4b12e:	2141 0004      	movel %d1,%a0@(4)                           
   4b132:	6000 ff4a      	braw 4b07e <IMFS_stat+0xa2>                 
	...                                                                  
                                                                      

000427f4 <IMFS_symlink>: int IMFS_symlink( rtems_filesystem_location_info_t *parent_loc, const char *link_name, const char *node_name ) {
   427f4:	4e56 ffc4      	linkw %fp,#-60                              
   427f8:	2f03           	movel %d3,%sp@-                             
  int                i;                                               
                                                                      
  /*                                                                  
   * Remove any separators at the end of the string.                  
   */                                                                 
  IMFS_get_token( node_name, strlen( node_name ), new_name, &i );     
   427fa:	260e           	movel %fp,%d3                               
   427fc:	0683 ffff ffc7 	addil #-57,%d3                              
int IMFS_symlink(                                                     
  rtems_filesystem_location_info_t  *parent_loc,                      
  const char                        *link_name,                       
  const char                        *node_name                        
)                                                                     
{                                                                     
   42802:	2f02           	movel %d2,%sp@-                             
   42804:	242e 0010      	movel %fp@(16),%d2                          
  int                i;                                               
                                                                      
  /*                                                                  
   * Remove any separators at the end of the string.                  
   */                                                                 
  IMFS_get_token( node_name, strlen( node_name ), new_name, &i );     
   42808:	2f02           	movel %d2,%sp@-                             
   4280a:	4eb9 0005 0028 	jsr 50028 <strlen>                          
   42810:	588f           	addql #4,%sp                                
   42812:	486e fffc      	pea %fp@(-4)                                
   42816:	2f03           	movel %d3,%sp@-                             
   42818:	2f00           	movel %d0,%sp@-                             
   4281a:	2f02           	movel %d2,%sp@-                             
   4281c:	4eb9 0004 adf8 	jsr 4adf8 <IMFS_get_token>                  
                                                                      
  /*                                                                  
   * Duplicate link name                                              
   */                                                                 
  info.sym_link.name = strdup(link_name);                             
   42822:	2f2e 000c      	movel %fp@(12),%sp@-                        
   42826:	4eb9 0004 fb98 	jsr 4fb98 <strdup>                          
  if (info.sym_link.name == NULL) {                                   
   4282c:	4fef 0014      	lea %sp@(20),%sp                            
  IMFS_get_token( node_name, strlen( node_name ), new_name, &i );     
                                                                      
  /*                                                                  
   * Duplicate link name                                              
   */                                                                 
  info.sym_link.name = strdup(link_name);                             
   42830:	2d40 ffe8      	movel %d0,%fp@(-24)                         
  if (info.sym_link.name == NULL) {                                   
   42834:	6730           	beqs 42866 <IMFS_symlink+0x72>              <== NEVER TAKEN
   *        was ONLY passed a NULL when we created the root node.  We 
   *        added a new IMFS_create_root_node() so this path no longer
   *        existed.  The result was simpler code which should not have
   *        this path.                                                
   */                                                                 
  new_node = IMFS_create_node(                                        
   42836:	486e ffe8      	pea %fp@(-24)                               
   4283a:	2f3c 0000 a1ff 	movel #41471,%sp@-                          
   42840:	2f03           	movel %d3,%sp@-                             
   42842:	4878 0004      	pea 4 <CONTEXT_ARG>                         
   42846:	2f2e 0008      	movel %fp@(8),%sp@-                         
   4284a:	4eb9 0004 a2ca 	jsr 4a2ca <IMFS_create_node>                
    new_name,                                                         
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  );                                                                  
                                                                      
  if (new_node == NULL) {                                             
   42850:	4fef 0014      	lea %sp@(20),%sp                            
   42854:	4a80           	tstl %d0                                    
   42856:	6728           	beqs 42880 <IMFS_symlink+0x8c>              
    free(info.sym_link.name);                                         
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
   42858:	242e ffbc      	movel %fp@(-68),%d2                         
  if (new_node == NULL) {                                             
    free(info.sym_link.name);                                         
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
  }                                                                   
                                                                      
  return 0;                                                           
   4285c:	4280           	clrl %d0                                    
}                                                                     
   4285e:	262e ffc0      	movel %fp@(-64),%d3                         
   42862:	4e5e           	unlk %fp                                    
   42864:	4e75           	rts                                         
  /*                                                                  
   * Duplicate link name                                              
   */                                                                 
  info.sym_link.name = strdup(link_name);                             
  if (info.sym_link.name == NULL) {                                   
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
   42866:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         
   4286c:	740c           	moveq #12,%d2                               
   4286e:	2040           	moveal %d0,%a0                              
   42870:	70ff           	moveq #-1,%d0                               
   42872:	2082           	movel %d2,%a0@                              
    free(info.sym_link.name);                                         
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
   42874:	242e ffbc      	movel %fp@(-68),%d2                         
   42878:	262e ffc0      	movel %fp@(-64),%d3                         
   4287c:	4e5e           	unlk %fp                                    
   4287e:	4e75           	rts                                         
    ( S_IFLNK | ( S_IRWXU | S_IRWXG | S_IRWXO )),                     
    &info                                                             
  );                                                                  
                                                                      
  if (new_node == NULL) {                                             
    free(info.sym_link.name);                                         
   42880:	2f2e ffe8      	movel %fp@(-24),%sp@-                       
   42884:	4eb9 0004 2fe4 	jsr 42fe4 <free>                            
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
   4288a:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
   42890:	242e ffbc      	movel %fp@(-68),%d2                         
    &info                                                             
  );                                                                  
                                                                      
  if (new_node == NULL) {                                             
    free(info.sym_link.name);                                         
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
   42894:	2040           	moveal %d0,%a0                              
   42896:	720c           	moveq #12,%d1                               
   42898:	588f           	addql #4,%sp                                
   4289a:	70ff           	moveq #-1,%d0                               
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
   4289c:	262e ffc0      	movel %fp@(-64),%d3                         
   428a0:	4e5e           	unlk %fp                                    
    &info                                                             
  );                                                                  
                                                                      
  if (new_node == NULL) {                                             
    free(info.sym_link.name);                                         
    rtems_set_errno_and_return_minus_one(ENOMEM);                     
   428a2:	2081           	movel %d1,%a0@                              
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
	...                                                                  
                                                                      

000428a8 <IMFS_unlink>: /* * If this is the last last pointer to the node * free the node. */ if ( node->type == IMFS_HARD_LINK ) {
   428a8:	7003           	moveq #3,%d0                                
                                                                      
int IMFS_unlink(                                                      
  rtems_filesystem_location_info_t  *parentloc, /* IN */              
  rtems_filesystem_location_info_t  *loc        /* IN */              
)                                                                     
{                                                                     
   428aa:	4e56 ffd0      	linkw %fp,#-48                              
   428ae:	48d7 0c1c      	moveml %d2-%d4/%a2-%a3,%sp@                 
   428b2:	246e 000c      	moveal %fp@(12),%a2                         
   428b6:	242e 0008      	movel %fp@(8),%d2                           
  IMFS_jnode_t                      *node;                            
  rtems_filesystem_location_info_t   the_link;                        
  int                                result = 0;                      
                                                                      
  node = loc->node_access;                                            
   428ba:	2652           	moveal %a2@,%a3                             
  /*                                                                  
   * If this is the last last pointer to the node                     
   * free the node.                                                   
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
   428bc:	b0ab 0048      	cmpl %a3@(72),%d0                           
   428c0:	671a           	beqs 428dc <IMFS_unlink+0x34>               
                                                                      
  /*                                                                  
   *  Now actually free the node we were asked to free.               
   */                                                                 
                                                                      
  result = (*loc->handlers->rmnod_h)( parentloc, loc );               
   428c2:	2f0a           	movel %a2,%sp@-                             
   428c4:	206a 0008      	moveal %a2@(8),%a0                          
   428c8:	2f02           	movel %d2,%sp@-                             
   428ca:	2068 0034      	moveal %a0@(52),%a0                         
   428ce:	4e90           	jsr %a0@                                    
                                                                      
  return result;                                                      
   428d0:	508f           	addql #8,%sp                                
}                                                                     
   428d2:	4cee 0c1c ffd0 	moveml %fp@(-48),%d2-%d4/%a2-%a3            
   428d8:	4e5e           	unlk %fp                                    
   428da:	4e75           	rts                                         
   * free the node.                                                   
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
                                                                      
    if ( !node->info.hard_link.link_node )                            
   428dc:	202b 004c      	movel %a3@(76),%d0                          
   428e0:	6700 0090      	beqw 42972 <IMFS_unlink+0xca>               
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    the_link = *loc;                                                  
   428e4:	41ea 0004      	lea %a2@(4),%a0                             
    the_link.node_access = node->info.hard_link.link_node;            
    IMFS_Set_handlers( &the_link );                                   
   428e8:	260e           	movel %fp,%d3                               
   428ea:	0683 ffff ffe4 	addil #-28,%d3                              
    /*                                                                
     *  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)               
   428f0:	7801           	moveq #1,%d4                                
  if ( node->type == IMFS_HARD_LINK ) {                               
                                                                      
    if ( !node->info.hard_link.link_node )                            
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    the_link = *loc;                                                  
   428f2:	2d58 ffe8      	movel %a0@+,%fp@(-24)                       
   428f6:	2d58 ffec      	movel %a0@+,%fp@(-20)                       
   428fa:	2d58 fff0      	movel %a0@+,%fp@(-16)                       
   428fe:	2d50 fff4      	movel %a0@,%fp@(-12)                        
    the_link.node_access = node->info.hard_link.link_node;            
    IMFS_Set_handlers( &the_link );                                   
   42902:	2f03           	movel %d3,%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;            
   42904:	2d40 ffe4      	movel %d0,%fp@(-28)                         
    IMFS_Set_handlers( &the_link );                                   
   42908:	4eb9 0004 a4fc 	jsr 4a4fc <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)               
   4290e:	206b 004c      	moveal %a3@(76),%a0                         
   42912:	4281           	clrl %d1                                    
   42914:	588f           	addql #4,%sp                                
   42916:	3028 0032      	movew %a0@(50),%d0                          
   4291a:	3200           	movew %d0,%d1                               
   4291c:	b881           	cmpl %d1,%d4                                
   4291e:	6730           	beqs 42950 <IMFS_unlink+0xa8>               
        if ( result != 0 )                                            
            return -1;                                                
    }                                                                 
    else                                                              
    {                                                                 
        node->info.hard_link.link_node->st_nlink --;                  
   42920:	5380           	subql #1,%d0                                
   42922:	3140 0032      	movew %d0,%a0@(50)                          
        IMFS_update_ctime( node->info.hard_link.link_node );          
   42926:	42a7           	clrl %sp@-                                  
   42928:	486e fff8      	pea %fp@(-8)                                
   4292c:	4eb9 0004 3074 	jsr 43074 <gettimeofday>                    
   42932:	206b 004c      	moveal %a3@(76),%a0                         
   42936:	508f           	addql #8,%sp                                
   42938:	216e fff8 0044 	movel %fp@(-8),%a0@(68)                     
                                                                      
  /*                                                                  
   *  Now actually free the node we were asked to free.               
   */                                                                 
                                                                      
  result = (*loc->handlers->rmnod_h)( parentloc, loc );               
   4293e:	2f0a           	movel %a2,%sp@-                             
   42940:	206a 0008      	moveal %a2@(8),%a0                          
   42944:	2f02           	movel %d2,%sp@-                             
   42946:	2068 0034      	moveal %a0@(52),%a0                         
   4294a:	4e90           	jsr %a0@                                    
                                                                      
  return result;                                                      
   4294c:	508f           	addql #8,%sp                                
   4294e:	6082           	bras 428d2 <IMFS_unlink+0x2a>               
     *  to remove the node that is a link and the node itself.        
     */                                                               
                                                                      
    if ( node->info.hard_link.link_node->st_nlink == 1)               
    {                                                                 
        result = (*the_link.handlers->rmnod_h)( parentloc, &the_link );
   42950:	2f03           	movel %d3,%sp@-                             
   42952:	206e ffec      	moveal %fp@(-20),%a0                        
   42956:	2f02           	movel %d2,%sp@-                             
   42958:	2068 0034      	moveal %a0@(52),%a0                         
   4295c:	4e90           	jsr %a0@                                    
        if ( result != 0 )                                            
   4295e:	508f           	addql #8,%sp                                
   42960:	4a80           	tstl %d0                                    
   42962:	6700 ff5e      	beqw 428c2 <IMFS_unlink+0x1a>               
            return -1;                                                
   42966:	70ff           	moveq #-1,%d0                               
   */                                                                 
                                                                      
  result = (*loc->handlers->rmnod_h)( parentloc, loc );               
                                                                      
  return result;                                                      
}                                                                     
   42968:	4cee 0c1c ffd0 	moveml %fp@(-48),%d2-%d4/%a2-%a3            
   4296e:	4e5e           	unlk %fp                                    
   42970:	4e75           	rts                                         
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
                                                                      
    if ( !node->info.hard_link.link_node )                            
      rtems_set_errno_and_return_minus_one( EINVAL );                 
   42972:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         <== NOT EXECUTED
   42978:	7216           	moveq #22,%d1                               <== NOT EXECUTED
   4297a:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4297c:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   */                                                                 
                                                                      
  result = (*loc->handlers->rmnod_h)( parentloc, loc );               
                                                                      
  return result;                                                      
}                                                                     
   4297e:	4cee 0c1c ffd0 	moveml %fp@(-48),%d2-%d4/%a2-%a3            <== NOT EXECUTED
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
                                                                      
    if ( !node->info.hard_link.link_node )                            
      rtems_set_errno_and_return_minus_one( EINVAL );                 
   42984:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
   */                                                                 
                                                                      
  result = (*loc->handlers->rmnod_h)( parentloc, loc );               
                                                                      
  return result;                                                      
}                                                                     
   42986:	4e5e           	unlk %fp                                    <== NOT EXECUTED
	...                                                                  
                                                                      

0004298c <IMFS_unmount>: /* * Is the node that we are mounting onto a directory node ? */ if ( node->type != IMFS_DIRECTORY )
   4298c:	7001           	moveq #1,%d0                                
#include <rtems/seterr.h>                                             
                                                                      
int IMFS_unmount(                                                     
  rtems_filesystem_mount_table_entry_t *mt_entry                      
)                                                                     
{                                                                     
   4298e:	4e56 0000      	linkw %fp,#0                                
   42992:	206e 0008      	moveal %fp@(8),%a0                          
  IMFS_jnode_t  *node;                                                
                                                                      
  node = mt_entry->mt_point_node.node_access;                         
   42996:	2068 0008      	moveal %a0@(8),%a0                          
                                                                      
  /*                                                                  
   * Is the node that we are mounting onto a directory node ?         
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
   4299a:	b0a8 0048      	cmpl %a0@(72),%d0                           
   4299e:	6610           	bnes 429b0 <IMFS_unmount+0x24>              <== NEVER TAKEN
                                                                      
  /*                                                                  
   * Did the node indicate that there was a directory mounted here?   
   */                                                                 
                                                                      
  if ( node->info.directory.mt_fs == NULL )                           
   429a0:	4aa8 0058      	tstl %a0@(88)                               
   429a4:	671c           	beqs 429c2 <IMFS_unmount+0x36>              <== NEVER TAKEN
  /*                                                                  
   * 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;                                  
   429a6:	42a8 0058      	clrl %a0@(88)                               
                                                                      
  return 0;                                                           
   429aa:	4280           	clrl %d0                                    
}                                                                     
   429ac:	4e5e           	unlk %fp                                    
   429ae:	4e75           	rts                                         
  /*                                                                  
   * Is the node that we are mounting onto a directory node ?         
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
   429b0:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         <== NOT EXECUTED
   429b6:	7214           	moveq #20,%d1                               <== NOT EXECUTED
   429b8:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   429ba:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   */                                                                 
                                                                      
  node->info.directory.mt_fs = NULL;                                  
                                                                      
  return 0;                                                           
}                                                                     
   429bc:	4e5e           	unlk %fp                                    <== NOT EXECUTED
  /*                                                                  
   * Is the node that we are mounting onto a directory node ?         
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
   429be:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
   */                                                                 
                                                                      
  node->info.directory.mt_fs = NULL;                                  
                                                                      
  return 0;                                                           
}                                                                     
   429c0:	4e75           	rts                                         <== NOT EXECUTED
  /*                                                                  
   * Did the node indicate that there was a directory mounted here?   
   */                                                                 
                                                                      
  if ( node->info.directory.mt_fs == NULL )                           
    rtems_set_errno_and_return_minus_one( EINVAL );  /* XXX */        
   429c2:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         <== NOT EXECUTED
   429c8:	7216           	moveq #22,%d1                               <== NOT EXECUTED
   429ca:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   429cc:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   */                                                                 
                                                                      
  node->info.directory.mt_fs = NULL;                                  
                                                                      
  return 0;                                                           
}                                                                     
   429ce:	4e5e           	unlk %fp                                    <== NOT EXECUTED
  /*                                                                  
   * Did the node indicate that there was a directory mounted here?   
   */                                                                 
                                                                      
  if ( node->info.directory.mt_fs == NULL )                           
    rtems_set_errno_and_return_minus_one( EINVAL );  /* XXX */        
   429d0:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
   */                                                                 
                                                                      
  node->info.directory.mt_fs = NULL;                                  
                                                                      
  return 0;                                                           
}                                                                     
                                                                      

00043244 <RTEMS_Malloc_Initialize>: void RTEMS_Malloc_Initialize( void *heap_begin, uintptr_t heap_size, size_t sbrk_amount ) {
   43244:	4e56 fff4      	linkw %fp,#-12                              
  /*                                                                  
   *  If configured, initialize the statistics support                
  */                                                                  
  if ( rtems_malloc_statistics_helpers != NULL ) {                    
   43248:	2079 0005 faa6 	moveal 5faa6 <rtems_malloc_statistics_helpers>,%a0
void RTEMS_Malloc_Initialize(                                         
  void *heap_begin,                                                   
  uintptr_t heap_size,                                                
  size_t sbrk_amount                                                  
)                                                                     
{                                                                     
   4324e:	48d7 001c      	moveml %d2-%d4,%sp@                         
   43252:	242e 0008      	movel %fp@(8),%d2                           
   43256:	262e 000c      	movel %fp@(12),%d3                          
   4325a:	282e 0010      	movel %fp@(16),%d4                          
  /*                                                                  
   *  If configured, initialize the statistics support                
  */                                                                  
  if ( rtems_malloc_statistics_helpers != NULL ) {                    
   4325e:	4a88           	tstl %a0                                    
   43260:	6704           	beqs 43266 <RTEMS_Malloc_Initialize+0x22>   
    (*rtems_malloc_statistics_helpers->initialize)();                 
   43262:	2050           	moveal %a0@,%a0                             
   43264:	4e90           	jsr %a0@                                    
  }                                                                   
                                                                      
  /*                                                                  
   *  Initialize the garbage collection list to start with nothing on it.
   */                                                                 
  malloc_deferred_frees_initialize();                                 
   43266:	4eb9 0004 31c8 	jsr 431c8 <malloc_deferred_frees_initialize>
                                                                      
  /*                                                                  
   *  Initialize the optional sbrk support for extending the heap     
   */                                                                 
  if ( rtems_malloc_sbrk_helpers != NULL ) {                          
   4326c:	2079 0005 faaa 	moveal 5faaa <rtems_malloc_sbrk_helpers>,%a0
   43272:	4a88           	tstl %a0                                    
   43274:	670e           	beqs 43284 <RTEMS_Malloc_Initialize+0x40>   
    heap_begin = (*rtems_malloc_sbrk_helpers->initialize)(            
   43276:	2f04           	movel %d4,%sp@-                             
      heap_begin,                                                     
      sbrk_amount                                                     
    );                                                                
    heap_size  = (uintptr_t) sbrk_amount;                             
   43278:	2604           	movel %d4,%d3                               
                                                                      
  /*                                                                  
   *  Initialize the optional sbrk support for extending the heap     
   */                                                                 
  if ( rtems_malloc_sbrk_helpers != NULL ) {                          
    heap_begin = (*rtems_malloc_sbrk_helpers->initialize)(            
   4327a:	2f02           	movel %d2,%sp@-                             
   4327c:	2050           	moveal %a0@,%a0                             
   4327e:	4e90           	jsr %a0@                                    
   43280:	508f           	addql #8,%sp                                
   43282:	2400           	movel %d0,%d2                               
   *  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 (                                                                
   43284:	4a39 0005 faa4 	tstb 5faa4 <rtems_unified_work_area>        
   4328a:	6624           	bnes 432b0 <RTEMS_Malloc_Initialize+0x6c>   
    !rtems_unified_work_area                                          
      && rtems_configuration_get_do_zero_of_workspace()               
   4328c:	4a39 0005 f39c 	tstb 5f39c <Configuration+0x28>             
   43292:	6642           	bnes 432d6 <RTEMS_Malloc_Initialize+0x92>   
  void *area_begin,                                                   
  uintptr_t area_size,                                                
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return _Heap_Initialize( heap, area_begin, area_size, page_size );  
   43294:	4878 0004      	pea 4 <CONTEXT_ARG>                         
   43298:	2f03           	movel %d3,%sp@-                             
   4329a:	2f02           	movel %d2,%sp@-                             
   4329c:	2f39 0005 f2d0 	movel 5f2d0 <RTEMS_Malloc_Heap>,%sp@-       
   432a2:	4eb9 0004 78ba 	jsr 478ba <_Heap_Initialize>                
      RTEMS_Malloc_Heap,                                              
      heap_begin,                                                     
      heap_size,                                                      
      CPU_HEAP_ALIGNMENT                                              
    );                                                                
    if ( status == 0 ) {                                              
   432a8:	4fef 0010      	lea %sp@(16),%sp                            
   432ac:	4a80           	tstl %d0                                    
   432ae:	675a           	beqs 4330a <RTEMS_Malloc_Initialize+0xc6>   <== NEVER TAKEN
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
    }                                                                 
  }                                                                   
                                                                      
  MSBUMP( space_available, _Protected_heap_Get_size(RTEMS_Malloc_Heap) );
   432b0:	2f39 0005 f2d0 	movel 5f2d0 <RTEMS_Malloc_Heap>,%sp@-       
   432b6:	2439 0006 0b2c 	movel 60b2c <rtems_malloc_statistics>,%d2   
   432bc:	4eb9 0004 8404 	jsr 48404 <_Protected_heap_Get_size>        
   432c2:	588f           	addql #4,%sp                                
   432c4:	d082           	addl %d2,%d0                                
}                                                                     
   432c6:	4cee 001c fff4 	moveml %fp@(-12),%d2-%d4                    
    if ( status == 0 ) {                                              
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
    }                                                                 
  }                                                                   
                                                                      
  MSBUMP( space_available, _Protected_heap_Get_size(RTEMS_Malloc_Heap) );
   432cc:	23c0 0006 0b2c 	movel %d0,60b2c <rtems_malloc_statistics>   
}                                                                     
   432d2:	4e5e           	unlk %fp                                    
   432d4:	4e75           	rts                                         
                                                                      
  if (                                                                
    !rtems_unified_work_area                                          
      && rtems_configuration_get_do_zero_of_workspace()               
  ) {                                                                 
     memset( heap_begin, 0, heap_size );                              
   432d6:	2f03           	movel %d3,%sp@-                             
   432d8:	42a7           	clrl %sp@-                                  
   432da:	2f02           	movel %d2,%sp@-                             
   432dc:	4eb9 0004 f4ec 	jsr 4f4ec <memset>                          
   *  Unfortunately we cannot use assert if this fails because if this
   *  has failed we do not have a heap and if we do not have a heap   
   *  STDIO cannot work because there will be no buffers.             
   */                                                                 
                                                                      
  if ( !rtems_unified_work_area ) {                                   
   432e2:	4fef 000c      	lea %sp@(12),%sp                            
   432e6:	4a39 0005 faa4 	tstb 5faa4 <rtems_unified_work_area>        
   432ec:	66c2           	bnes 432b0 <RTEMS_Malloc_Initialize+0x6c>   <== NEVER TAKEN
   432ee:	4878 0004      	pea 4 <CONTEXT_ARG>                         
   432f2:	2f03           	movel %d3,%sp@-                             
   432f4:	2f02           	movel %d2,%sp@-                             
   432f6:	2f39 0005 f2d0 	movel 5f2d0 <RTEMS_Malloc_Heap>,%sp@-       
   432fc:	4eb9 0004 78ba 	jsr 478ba <_Heap_Initialize>                
      RTEMS_Malloc_Heap,                                              
      heap_begin,                                                     
      heap_size,                                                      
      CPU_HEAP_ALIGNMENT                                              
    );                                                                
    if ( status == 0 ) {                                              
   43302:	4fef 0010      	lea %sp@(16),%sp                            
   43306:	4a80           	tstl %d0                                    
   43308:	66a6           	bnes 432b0 <RTEMS_Malloc_Initialize+0x6c>   <== ALWAYS TAKEN
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
   4330a:	4878 001a      	pea 1a <OPER2+0x6>                          
   4330e:	4eb9 0004 6eb8 	jsr 46eb8 <rtems_fatal_error_occurred>      
                                                                      

00042b48 <Stack_check_Dump_threads_usage>: /* * Obtain interrupt stack information */ #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE) if (the_thread == (Thread_Control *) -1) {
   42b48:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
static rtems_printk_plugin_t   print_handler;                         
                                                                      
void Stack_check_Dump_threads_usage(                                  
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
   42b4a:	4e56 ffe0      	linkw %fp,#-32                              <== NOT EXECUTED
   42b4e:	48d7 1c1c      	moveml %d2-%d4/%a2-%a4,%sp@                 <== NOT EXECUTED
   42b52:	246e 0008      	moveal %fp@(8),%a2                          <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Obtain interrupt stack information                              
   */                                                                 
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    if (the_thread == (Thread_Control *) -1) {                        
   42b56:	b08a           	cmpl %a2,%d0                                <== NOT EXECUTED
   42b58:	6700 015e      	beqw 42cb8 <Stack_check_Dump_threads_usage+0x170><== NOT EXECUTED
      current = 0;                                                    
    } else                                                            
  #endif                                                              
    {                                                                 
      stack  = &the_thread->Start.Initial_stack;                      
      current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );
   42b5c:	282a 00f2      	movel %a2@(242),%d4                         <== NOT EXECUTED
      the_thread = 0;                                                 
      current = 0;                                                    
    } else                                                            
  #endif                                                              
    {                                                                 
      stack  = &the_thread->Start.Initial_stack;                      
   42b60:	47ea 00b2      	lea %a2@(178),%a3                           <== NOT EXECUTED
      current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );
   42b64:	206a 00b6      	moveal %a2@(182),%a0                        <== NOT EXECUTED
    }                                                                 
                                                                      
  low  = Stack_check_usable_stack_start(stack);                       
  size = Stack_check_usable_stack_size(stack);                        
   42b68:	2413           	movel %a3@,%d2                              <== 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++)                 
   42b6a:	70fc           	moveq #-4,%d0                               <== NOT EXECUTED
      stack  = &the_thread->Start.Initial_stack;                      
      current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );
    }                                                                 
                                                                      
  low  = Stack_check_usable_stack_start(stack);                       
  size = Stack_check_usable_stack_size(stack);                        
   42b6c:	0682 ffff fff0 	addil #-16,%d2                              <== NOT EXECUTED
    {                                                                 
      stack  = &the_thread->Start.Initial_stack;                      
      current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );
    }                                                                 
                                                                      
  low  = Stack_check_usable_stack_start(stack);                       
   42b72:	2608           	movel %a0,%d3                               <== NOT EXECUTED
   42b74:	0683 0000 0010 	addil #16,%d3                               <== NOT EXECUTED
    /*                                                                
     * start at lower memory and find first word that does not        
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
   42b7a:	2243           	moveal %d3,%a1                              <== NOT EXECUTED
   42b7c:	43e9 0010      	lea %a1@(16),%a1                            <== NOT EXECUTED
    for (ebase = base + length; base < ebase; base++)                 
   42b80:	c082           	andl %d2,%d0                                <== NOT EXECUTED
   42b82:	d089           	addl %a1,%d0                                <== NOT EXECUTED
   42b84:	b089           	cmpl %a1,%d0                                <== NOT EXECUTED
   42b86:	6300 00ba      	blsw 42c42 <Stack_check_Dump_threads_usage+0xfa><== NOT EXECUTED
      if (*base != U32_PATTERN)                                       
   42b8a:	223c a5a5 a5a5 	movel #-1515870811,%d1                      <== NOT EXECUTED
   42b90:	b291           	cmpl %a1@,%d1                               <== NOT EXECUTED
   42b92:	6600 013e      	bnew 42cd2 <Stack_check_Dump_threads_usage+0x18a><== NOT EXECUTED
 *  Try to print out how much stack was actually used by the task.    
 */                                                                   
static void                   *print_context;                         
static rtems_printk_plugin_t   print_handler;                         
                                                                      
void Stack_check_Dump_threads_usage(                                  
   42b96:	41e8 0024      	lea %a0@(36),%a0                            <== NOT EXECUTED
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
    for (ebase = base + length; base < ebase; base++)                 
      if (*base != U32_PATTERN)                                       
   42b9a:	2208           	movel %a0,%d1                               <== 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++)                 
   42b9c:	b1c0           	cmpal %d0,%a0                               <== NOT EXECUTED
   42b9e:	6400 00a2      	bccw 42c42 <Stack_check_Dump_threads_usage+0xfa><== NOT EXECUTED
      if (*base != U32_PATTERN)                                       
   42ba2:	227c a5a5 a5a5 	moveal #-1515870811,%a1                     <== NOT EXECUTED
   42ba8:	b3d8           	cmpal %a0@+,%a1                             <== NOT EXECUTED
   42baa:	67ee           	beqs 42b9a <Stack_check_Dump_threads_usage+0x52><== 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 )                                              
   42bac:	4a81           	tstl %d1                                    <== NOT EXECUTED
   42bae:	6700 0092      	beqw 42c42 <Stack_check_Dump_threads_usage+0xfa><== NOT EXECUTED
    used = Stack_check_Calculate_used( low, size, high_water_mark );  
   42bb2:	d682           	addl %d2,%d3                                <== NOT EXECUTED
   42bb4:	9681           	subl %d1,%d3                                <== NOT EXECUTED
  else                                                                
    used = 0;                                                         
                                                                      
                                                                      
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    if ( the_thread )                                                 
   42bb6:	4a8a           	tstl %a2                                    <== NOT EXECUTED
   42bb8:	6700 0090      	beqw 42c4a <Stack_check_Dump_threads_usage+0x102><== NOT EXECUTED
  #endif                                                              
    {                                                                 
      (*print_handler)(                                               
   42bbc:	486e fffb      	pea %fp@(-5)                                <== NOT EXECUTED
   42bc0:	4878 0005      	pea 5 <COMPARE>                             <== NOT EXECUTED
   42bc4:	2f2a 0008      	movel %a2@(8),%sp@-                         <== NOT EXECUTED
   42bc8:	2879 0006 355c 	moveal 6355c <print_handler>,%a4            <== NOT EXECUTED
   42bce:	4eb9 0004 9438 	jsr 49438 <rtems_object_get_name>           <== NOT EXECUTED
   42bd4:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   42bd6:	2f2a 0008      	movel %a2@(8),%sp@-                         <== NOT EXECUTED
   42bda:	4879 0006 0ee0 	pea 60ee0 <IntUartPollCallbacks.6374+0x20>  <== NOT EXECUTED
   42be0:	2f39 0006 3558 	movel 63558 <print_context>,%sp@-           <== NOT EXECUTED
   42be6:	4e94           	jsr %a4@                                    <== NOT EXECUTED
                                                                      
  (*print_handler)(                                                   
    print_context,                                                    
    " %010p - %010p %010p  %8" PRId32 "   ",                          
    stack->area,                                                      
    stack->area + stack->size - 1,                                    
   42be8:	206b 0004      	moveal %a3@(4),%a0                          <== NOT EXECUTED
                                                                      
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    if ( the_thread )                                                 
  #endif                                                              
    {                                                                 
      (*print_handler)(                                               
   42bec:	4fef 001c      	lea %sp@(28),%sp                            <== NOT EXECUTED
      else {                                                          
        (*print_handler)( print_context, "0x%08" PRIx32 "  INTR", ~0 );
      }                                                               
    #endif                                                            
                                                                      
  (*print_handler)(                                                   
   42bf0:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   42bf2:	2f04           	movel %d4,%sp@-                             <== NOT EXECUTED
    print_context,                                                    
    " %010p - %010p %010p  %8" PRId32 "   ",                          
    stack->area,                                                      
    stack->area + stack->size - 1,                                    
   42bf4:	2013           	movel %a3@,%d0                              <== NOT EXECUTED
   42bf6:	5380           	subql #1,%d0                                <== NOT EXECUTED
      else {                                                          
        (*print_handler)( print_context, "0x%08" PRIx32 "  INTR", ~0 );
      }                                                               
    #endif                                                            
                                                                      
  (*print_handler)(                                                   
   42bf8:	4870 0800      	pea %a0@(00000000,%d0:l)                    <== NOT EXECUTED
   42bfc:	2f08           	movel %a0,%sp@-                             <== NOT EXECUTED
   42bfe:	4879 0006 0efb 	pea 60efb <IntUartPollCallbacks.6374+0x3b>  <== NOT EXECUTED
   42c04:	2f39 0006 3558 	movel 63558 <print_context>,%sp@-           <== NOT EXECUTED
   42c0a:	2079 0006 355c 	moveal 6355c <print_handler>,%a0            <== NOT EXECUTED
   42c10:	4e90           	jsr %a0@                                    <== NOT EXECUTED
    stack->area + stack->size - 1,                                    
    current,                                                          
    size                                                              
  );                                                                  
                                                                      
  if (Stack_check_Initialized == 0) {                                 
   42c12:	4fef 0018      	lea %sp@(24),%sp                            <== NOT EXECUTED
   42c16:	4ab9 0006 3560 	tstl 63560 <Stack_check_Initialized>        <== NOT EXECUTED
   42c1c:	677a           	beqs 42c98 <Stack_check_Dump_threads_usage+0x150><== NOT EXECUTED
    (*print_handler)( print_context, "Unavailable\n" );               
  } else {                                                            
    (*print_handler)( print_context, "%8" PRId32 "\n", used );        
   42c1e:	2f03           	movel %d3,%sp@-                             <== NOT EXECUTED
   42c20:	4879 0006 0f26 	pea 60f26 <IntUartPollCallbacks.6374+0x66>  <== NOT EXECUTED
   42c26:	2f39 0006 3558 	movel 63558 <print_context>,%sp@-           <== NOT EXECUTED
   42c2c:	2079 0006 355c 	moveal 6355c <print_handler>,%a0            <== NOT EXECUTED
   42c32:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   42c34:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
  }                                                                   
                                                                      
                                                                      
}                                                                     
   42c38:	4cee 1c1c ffe0 	moveml %fp@(-32),%d2-%d4/%a2-%a4            <== NOT EXECUTED
   42c3e:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   42c40:	4e75           	rts                                         <== NOT EXECUTED
  high_water_mark = Stack_check_find_high_water_mark(low, size);      
                                                                      
  if ( high_water_mark )                                              
    used = Stack_check_Calculate_used( low, size, high_water_mark );  
  else                                                                
    used = 0;                                                         
   42c42:	4283           	clrl %d3                                    <== NOT EXECUTED
                                                                      
                                                                      
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    if ( the_thread )                                                 
   42c44:	4a8a           	tstl %a2                                    <== NOT EXECUTED
   42c46:	6600 ff74      	bnew 42bbc <Stack_check_Dump_threads_usage+0x74><== NOT EXECUTED
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name )
      );                                                              
    }                                                                 
    #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                        
      else {                                                          
        (*print_handler)( print_context, "0x%08" PRIx32 "  INTR", ~0 );
   42c4a:	4878 ffff      	pea ffffffff <LESS>                         <== NOT EXECUTED
   42c4e:	4879 0006 0eed 	pea 60eed <IntUartPollCallbacks.6374+0x2d>  <== NOT EXECUTED
   42c54:	2f39 0006 3558 	movel 63558 <print_context>,%sp@-           <== NOT EXECUTED
   42c5a:	2079 0006 355c 	moveal 6355c <print_handler>,%a0            <== NOT EXECUTED
   42c60:	4e90           	jsr %a0@                                    <== NOT EXECUTED
                                                                      
  (*print_handler)(                                                   
    print_context,                                                    
    " %010p - %010p %010p  %8" PRId32 "   ",                          
    stack->area,                                                      
    stack->area + stack->size - 1,                                    
   42c62:	206b 0004      	moveal %a3@(4),%a0                          <== NOT EXECUTED
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name )
      );                                                              
    }                                                                 
    #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                        
      else {                                                          
        (*print_handler)( print_context, "0x%08" PRIx32 "  INTR", ~0 );
   42c66:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
      }                                                               
    #endif                                                            
                                                                      
  (*print_handler)(                                                   
   42c6a:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   42c6c:	2f04           	movel %d4,%sp@-                             <== NOT EXECUTED
    print_context,                                                    
    " %010p - %010p %010p  %8" PRId32 "   ",                          
    stack->area,                                                      
    stack->area + stack->size - 1,                                    
   42c6e:	2013           	movel %a3@,%d0                              <== NOT EXECUTED
   42c70:	5380           	subql #1,%d0                                <== NOT EXECUTED
      else {                                                          
        (*print_handler)( print_context, "0x%08" PRIx32 "  INTR", ~0 );
      }                                                               
    #endif                                                            
                                                                      
  (*print_handler)(                                                   
   42c72:	4870 0800      	pea %a0@(00000000,%d0:l)                    <== NOT EXECUTED
   42c76:	2f08           	movel %a0,%sp@-                             <== NOT EXECUTED
   42c78:	4879 0006 0efb 	pea 60efb <IntUartPollCallbacks.6374+0x3b>  <== NOT EXECUTED
   42c7e:	2f39 0006 3558 	movel 63558 <print_context>,%sp@-           <== NOT EXECUTED
   42c84:	2079 0006 355c 	moveal 6355c <print_handler>,%a0            <== NOT EXECUTED
   42c8a:	4e90           	jsr %a0@                                    <== NOT EXECUTED
    stack->area + stack->size - 1,                                    
    current,                                                          
    size                                                              
  );                                                                  
                                                                      
  if (Stack_check_Initialized == 0) {                                 
   42c8c:	4fef 0018      	lea %sp@(24),%sp                            <== NOT EXECUTED
   42c90:	4ab9 0006 3560 	tstl 63560 <Stack_check_Initialized>        <== NOT EXECUTED
   42c96:	6686           	bnes 42c1e <Stack_check_Dump_threads_usage+0xd6><== NOT EXECUTED
    (*print_handler)( print_context, "Unavailable\n" );               
   42c98:	4879 0006 0f19 	pea 60f19 <IntUartPollCallbacks.6374+0x59>  <== NOT EXECUTED
   42c9e:	2f39 0006 3558 	movel 63558 <print_context>,%sp@-           <== NOT EXECUTED
   42ca4:	2079 0006 355c 	moveal 6355c <print_handler>,%a0            <== NOT EXECUTED
   42caa:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   42cac:	508f           	addql #8,%sp                                <== NOT EXECUTED
  } else {                                                            
    (*print_handler)( print_context, "%8" PRId32 "\n", used );        
  }                                                                   
                                                                      
                                                                      
}                                                                     
   42cae:	4cee 1c1c ffe0 	moveml %fp@(-32),%d2-%d4/%a2-%a4            <== NOT EXECUTED
   42cb4:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   42cb6:	4e75           	rts                                         <== NOT EXECUTED
  /*                                                                  
   *  Obtain interrupt stack information                              
   */                                                                 
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    if (the_thread == (Thread_Control *) -1) {                        
      if (!Stack_check_Interrupt_stack.area)                          
   42cb8:	2079 0006 3d78 	moveal 63d78 <Stack_check_Interrupt_stack+0x4>,%a0<== NOT EXECUTED
   42cbe:	4a88           	tstl %a0                                    <== NOT EXECUTED
   42cc0:	6700 ff76      	beqw 42c38 <Stack_check_Dump_threads_usage+0xf0><== NOT EXECUTED
        return;                                                       
      stack = &Stack_check_Interrupt_stack;                           
   42cc4:	47f9 0006 3d74 	lea 63d74 <Stack_check_Interrupt_stack>,%a3 <== NOT EXECUTED
      the_thread = 0;                                                 
      current = 0;                                                    
   42cca:	4284           	clrl %d4                                    <== NOT EXECUTED
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    if (the_thread == (Thread_Control *) -1) {                        
      if (!Stack_check_Interrupt_stack.area)                          
        return;                                                       
      stack = &Stack_check_Interrupt_stack;                           
      the_thread = 0;                                                 
   42ccc:	95ca           	subal %a2,%a2                               <== NOT EXECUTED
   42cce:	6000 fe98      	braw 42b68 <Stack_check_Dump_threads_usage+0x20><== NOT EXECUTED
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
    for (ebase = base + length; base < ebase; base++)                 
      if (*base != U32_PATTERN)                                       
   42cd2:	2209           	movel %a1,%d1                               <== NOT EXECUTED
   42cd4:	6000 fed6      	braw 42bac <Stack_check_Dump_threads_usage+0x64><== NOT EXECUTED
                                                                      

00042cd8 <Stack_check_Initialize>: /* * Stack_check_Initialize */ void Stack_check_Initialize( void ) {
   42cd8:	4e56 0000      	linkw %fp,#0                                
  static    uint32_t pattern[ 4 ] = {                                 
    0xFEEDF00D, 0x0BAD0D06,  /* FEED FOOD to  BAD DOG */              
    0xDEADF00D, 0x600D0D06   /* DEAD FOOD but GOOD DOG */             
  };                                                                  
                                                                      
  if ( Stack_check_Initialized )                                      
   42cdc:	4ab9 0006 3560 	tstl 63560 <Stack_check_Initialized>        
   42ce2:	666a           	bnes 42d4e <Stack_check_Initialize+0x76>    
  /*                                                                  
   * If appropriate, setup the interrupt stack for high water testing 
   * also.                                                            
   */                                                                 
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    if (_CPU_Interrupt_stack_low && _CPU_Interrupt_stack_high) {      
   42ce4:	2039 0006 439e 	movel 6439e <_Per_CPU_Information>,%d0      
  /*                                                                  
   * Dope the pattern and fill areas                                  
   */                                                                 
  p = Stack_check_Pattern.pattern;                                    
  for ( i = 0; i < PATTERN_SIZE_WORDS; i++ ) {                        
      p[i] = pattern[ i%4 ];                                          
   42cea:	223c feed f00d 	movel #-17960947,%d1                        
   42cf0:	23c1 0006 3d64 	movel %d1,63d64 <Stack_check_Pattern>       
   42cf6:	223c 0bad 0d06 	movel #195890438,%d1                        
   42cfc:	23c1 0006 3d68 	movel %d1,63d68 <Stack_check_Pattern+0x4>   
   42d02:	223c dead f00d 	movel #-559026163,%d1                       
   42d08:	23c1 0006 3d6c 	movel %d1,63d6c <Stack_check_Pattern+0x8>   
   42d0e:	223c 600d 0d06 	movel #1611468038,%d1                       
   42d14:	23c1 0006 3d70 	movel %d1,63d70 <Stack_check_Pattern+0xc>   
  /*                                                                  
   * If appropriate, setup the interrupt stack for high water testing 
   * also.                                                            
   */                                                                 
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    if (_CPU_Interrupt_stack_low && _CPU_Interrupt_stack_high) {      
   42d1a:	4a80           	tstl %d0                                    
   42d1c:	6728           	beqs 42d46 <Stack_check_Initialize+0x6e>    <== NEVER TAKEN
   42d1e:	2239 0006 43a2 	movel 643a2 <_Per_CPU_Information+0x4>,%d1  
   42d24:	6720           	beqs 42d46 <Stack_check_Initialize+0x6e>    <== NEVER TAKEN
      Stack_check_Interrupt_stack.area = _CPU_Interrupt_stack_low;    
      Stack_check_Interrupt_stack.size = (char *) _CPU_Interrupt_stack_high -
   42d26:	9280           	subl %d0,%d1                                
                                  (char *) _CPU_Interrupt_stack_low;  
      Stack_check_Dope_stack(&Stack_check_Interrupt_stack);           
   42d28:	2f01           	movel %d1,%sp@-                             
   42d2a:	4878 00a5      	pea a5 <DBL_MANT_DIG+0x70>                  
   * If appropriate, setup the interrupt stack for high water testing 
   * also.                                                            
   */                                                                 
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    if (_CPU_Interrupt_stack_low && _CPU_Interrupt_stack_high) {      
      Stack_check_Interrupt_stack.area = _CPU_Interrupt_stack_low;    
   42d2e:	23c0 0006 3d78 	movel %d0,63d78 <Stack_check_Interrupt_stack+0x4>
      Stack_check_Interrupt_stack.size = (char *) _CPU_Interrupt_stack_high -
                                  (char *) _CPU_Interrupt_stack_low;  
      Stack_check_Dope_stack(&Stack_check_Interrupt_stack);           
   42d34:	2f00           	movel %d0,%sp@-                             
   * also.                                                            
   */                                                                 
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    if (_CPU_Interrupt_stack_low && _CPU_Interrupt_stack_high) {      
      Stack_check_Interrupt_stack.area = _CPU_Interrupt_stack_low;    
      Stack_check_Interrupt_stack.size = (char *) _CPU_Interrupt_stack_high -
   42d36:	23c1 0006 3d74 	movel %d1,63d74 <Stack_check_Interrupt_stack>
                                  (char *) _CPU_Interrupt_stack_low;  
      Stack_check_Dope_stack(&Stack_check_Interrupt_stack);           
   42d3c:	4eb9 0005 23cc 	jsr 523cc <memset>                          
   42d42:	4fef 000c      	lea %sp@(12),%sp                            
   }                                                                  
  #endif                                                              
                                                                      
  Stack_check_Initialized = 1;                                        
   42d46:	7001           	moveq #1,%d0                                
   42d48:	23c0 0006 3560 	movel %d0,63560 <Stack_check_Initialized>   
}                                                                     
   42d4e:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042dc4 <Stack_check_report_blown_task>: Thread_Control *running, bool pattern_ok ) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE; void Stack_check_report_blown_task(Thread_Control *running, bool pattern_ok) {
   42dc4:	4e56 ffd0      	linkw %fp,#-48                              <== NOT EXECUTED
   42dc8:	48d7 1c04      	moveml %d2/%a2-%a4,%sp@                     <== NOT EXECUTED
  Stack_Control *stack = &running->Start.Initial_stack;               
  void          *pattern_area = Stack_check_Get_pattern(stack);       
  char           name[32];                                            
                                                                      
  printk("BLOWN STACK!!!\n");                                         
   42dcc:	4879 0006 0f2c 	pea 60f2c <IntUartPollCallbacks.6374+0x6c>  <== NOT EXECUTED
   42dd2:	47f9 0004 4f08 	lea 44f08 <printk>,%a3                      <== NOT EXECUTED
  Thread_Control *running,                                            
  bool pattern_ok                                                     
) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;                                 
                                                                      
void Stack_check_report_blown_task(Thread_Control *running, bool pattern_ok)
{                                                                     
   42dd8:	246e 0008      	moveal %fp@(8),%a2                          <== NOT EXECUTED
  Stack_Control *stack = &running->Start.Initial_stack;               
  void          *pattern_area = Stack_check_Get_pattern(stack);       
   42ddc:	286a 00b6      	moveal %a2@(182),%a4                        <== NOT EXECUTED
  Thread_Control *running,                                            
  bool pattern_ok                                                     
) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;                                 
                                                                      
void Stack_check_report_blown_task(Thread_Control *running, bool pattern_ok)
{                                                                     
   42de0:	142e 000f      	moveb %fp@(15),%d2                          <== NOT EXECUTED
  Stack_Control *stack = &running->Start.Initial_stack;               
  void          *pattern_area = Stack_check_Get_pattern(stack);       
  char           name[32];                                            
                                                                      
  printk("BLOWN STACK!!!\n");                                         
   42de4:	4e93           	jsr %a3@                                    <== NOT EXECUTED
  printk("task control block: 0x%08" PRIxPTR "\n", running);          
   42de6:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   42de8:	4879 0006 0f3c 	pea 60f3c <IntUartPollCallbacks.6374+0x7c>  <== NOT EXECUTED
   42dee:	4e93           	jsr %a3@                                    <== NOT EXECUTED
  printk("task ID: 0x%08lx\n", (unsigned long) running->Object.id);   
   42df0:	2f2a 0008      	movel %a2@(8),%sp@-                         <== NOT EXECUTED
   42df4:	4879 0006 0f59 	pea 60f59 <IntUartPollCallbacks.6374+0x99>  <== NOT EXECUTED
   42dfa:	4e93           	jsr %a3@                                    <== NOT EXECUTED
  printk(                                                             
   42dfc:	2f2a 000c      	movel %a2@(12),%sp@-                        <== NOT EXECUTED
   42e00:	4879 0006 0f6b 	pea 60f6b <IntUartPollCallbacks.6374+0xab>  <== NOT EXECUTED
   42e06:	4e93           	jsr %a3@                                    <== NOT EXECUTED
    "task name: 0x%08" PRIx32 "\n",                                   
    running->Object.name.name_u32                                     
  );                                                                  
  printk(                                                             
   42e08:	486e ffe0      	pea %fp@(-32)                               <== NOT EXECUTED
   42e0c:	4878 0020      	pea 20 <OPER2+0xc>                          <== NOT EXECUTED
   42e10:	2f2a 0008      	movel %a2@(8),%sp@-                         <== NOT EXECUTED
   42e14:	4eb9 0004 9438 	jsr 49438 <rtems_object_get_name>           <== NOT EXECUTED
   42e1a:	4fef 0024      	lea %sp@(36),%sp                            <== NOT EXECUTED
   42e1e:	2e80           	movel %d0,%sp@                              <== NOT EXECUTED
   42e20:	4879 0006 0f7f 	pea 60f7f <IntUartPollCallbacks.6374+0xbf>  <== NOT EXECUTED
   42e26:	4e93           	jsr %a3@                                    <== NOT EXECUTED
  );                                                                  
  printk(                                                             
    "task stack area (%lu Bytes): 0x%08" PRIxPTR " .. 0x%08" PRIxPTR "\n",
    (unsigned long) stack->size,                                      
    stack->area,                                                      
    ((char *) stack->area + stack->size)                              
   42e28:	206a 00b6      	moveal %a2@(182),%a0                        <== NOT EXECUTED
   42e2c:	202a 00b2      	movel %a2@(178),%d0                         <== NOT EXECUTED
  );                                                                  
  printk(                                                             
    "task name string: %s\n",                                         
    rtems_object_get_name(running->Object.id, sizeof(name), name)     
  );                                                                  
  printk(                                                             
   42e30:	4870 0800      	pea %a0@(00000000,%d0:l)                    <== NOT EXECUTED
   42e34:	2f08           	movel %a0,%sp@-                             <== NOT EXECUTED
   42e36:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   42e38:	4879 0006 0f95 	pea 60f95 <IntUartPollCallbacks.6374+0xd5>  <== NOT EXECUTED
   42e3e:	4e93           	jsr %a3@                                    <== NOT EXECUTED
    "task stack area (%lu Bytes): 0x%08" PRIxPTR " .. 0x%08" PRIxPTR "\n",
    (unsigned long) stack->size,                                      
    stack->area,                                                      
    ((char *) stack->area + stack->size)                              
  );                                                                  
  if (!pattern_ok) {                                                  
   42e40:	4fef 0018      	lea %sp@(24),%sp                            <== NOT EXECUTED
   42e44:	4a02           	tstb %d2                                    <== NOT EXECUTED
   42e46:	670a           	beqs 42e52 <Stack_check_report_blown_task+0x8e><== NOT EXECUTED
          rtems_configuration_get_user_multiprocessing_table()->node  
      );                                                              
    }                                                                 
  #endif                                                              
                                                                      
  rtems_fatal_error_occurred(0x81);                                   
   42e48:	4878 0081      	pea 81 <DBL_MANT_DIG+0x4c>                  <== NOT EXECUTED
   42e4c:	4eb9 0004 9d58 	jsr 49d58 <rtems_fatal_error_occurred>      <== NOT EXECUTED
    (unsigned long) stack->size,                                      
    stack->area,                                                      
    ((char *) stack->area + stack->size)                              
  );                                                                  
  if (!pattern_ok) {                                                  
    printk(                                                           
   42e52:	486c 0018      	pea %a4@(24)                                <== NOT EXECUTED
   42e56:	486c 0008      	pea %a4@(8)                                 <== NOT EXECUTED
   42e5a:	4878 0010      	pea 10 <INVALID_OPERATION>                  <== NOT EXECUTED
   42e5e:	4879 0006 0fc6 	pea 60fc6 <IntUartPollCallbacks.6374+0x106> <== NOT EXECUTED
   42e64:	4e93           	jsr %a3@                                    <== NOT EXECUTED
   42e66:	4fef 0010      	lea %sp@(16),%sp                            <== NOT EXECUTED
          rtems_configuration_get_user_multiprocessing_table()->node  
      );                                                              
    }                                                                 
  #endif                                                              
                                                                      
  rtems_fatal_error_occurred(0x81);                                   
   42e6a:	4878 0081      	pea 81 <DBL_MANT_DIG+0x4c>                  <== NOT EXECUTED
   42e6e:	4eb9 0004 9d58 	jsr 49d58 <rtems_fatal_error_occurred>      <== NOT EXECUTED
                                                                      

000471a8 <_API_Mutex_Unlock>: #include <rtems/score/apimutex.h> void _API_Mutex_Unlock( API_Mutex_Control *the_mutex ) {
   471a8:	4e56 0000      	linkw %fp,#0                                
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
   471ac:	2039 0006 0c68 	movel 60c68 <_Thread_Dispatch_disable_level>,%d0
   471b2:	5280           	addql #1,%d0                                
   471b4:	206e 0008      	moveal %fp@(8),%a0                          
   471b8:	23c0 0006 0c68 	movel %d0,60c68 <_Thread_Dispatch_disable_level>
  _Thread_Disable_dispatch();                                         
    _CORE_mutex_Surrender(                                            
   471be:	42a7           	clrl %sp@-                                  
   471c0:	2f28 0008      	movel %a0@(8),%sp@-                         
   471c4:	4868 0010      	pea %a0@(16)                                
   471c8:	4eb9 0004 74b0 	jsr 474b0 <_CORE_mutex_Surrender>           
      &the_mutex->Mutex,                                              
      the_mutex->Object.id,                                           
      NULL                                                            
   );                                                                 
  _Thread_Enable_dispatch();                                          
   471ce:	4fef 000c      	lea %sp@(12),%sp                            
}                                                                     
   471d2:	4e5e           	unlk %fp                                    
    _CORE_mutex_Surrender(                                            
      &the_mutex->Mutex,                                              
      the_mutex->Object.id,                                           
      NULL                                                            
   );                                                                 
  _Thread_Enable_dispatch();                                          
   471d4:	4ef9 0004 8d8a 	jmp 48d8a <_Thread_Enable_dispatch>         
	...                                                                  
                                                                      

00047082 <_API_extensions_Run_postdriver>: * * _API_extensions_Run_postdriver */ void _API_extensions_Run_postdriver( void ) {
   47082:	4e56 0000      	linkw %fp,#0                                
   47086:	2f0a           	movel %a2,%sp@-                             
                                                                      
    the_extension = (API_extensions_Control *) the_node;              
                                                                      
    (*the_extension->postswitch_hook)( _Thread_Executing );           
  }                                                                   
}                                                                     
   47088:	2479 0006 0dc4 	moveal 60dc4 <_API_extensions_List>,%a2     
void _API_extensions_Run_postdriver( void )                           
{                                                                     
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _Chain_First( &_API_extensions_List );             
   4708e:	b5fc 0006 0dc8 	cmpal #396744,%a2                           
   47094:	6710           	beqs 470a6 <_API_extensions_Run_postdriver+0x24><== NEVER TAKEN
     *  Currently all APIs configure this hook so it is always non-NULL.
     */                                                               
#if defined(FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API)              
    if ( the_extension->postdriver_hook )                             
#endif                                                                
      (*the_extension->postdriver_hook)();                            
   47096:	206a 0008      	moveal %a2@(8),%a0                          
   4709a:	4e90           	jsr %a0@                                    
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _Chain_First( &_API_extensions_List );             
        !_Chain_Is_tail( &_API_extensions_List, the_node ) ;          
        the_node = the_node->next ) {                                 
   4709c:	2452           	moveal %a2@,%a2                             
void _API_extensions_Run_postdriver( void )                           
{                                                                     
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _Chain_First( &_API_extensions_List );             
   4709e:	b5fc 0006 0dc8 	cmpal #396744,%a2                           
   470a4:	66f0           	bnes 47096 <_API_extensions_Run_postdriver+0x14>
#if defined(FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API)              
    if ( the_extension->postdriver_hook )                             
#endif                                                                
      (*the_extension->postdriver_hook)();                            
  }                                                                   
}                                                                     
   470a6:	246e fffc      	moveal %fp@(-4),%a2                         
   470aa:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000470ae <_API_extensions_Run_postswitch>: * * _API_extensions_Run_postswitch */ void _API_extensions_Run_postswitch( void ) {
   470ae:	4e56 0000      	linkw %fp,#0                                
   470b2:	2f0a           	movel %a2,%sp@-                             
                                                                      
    the_extension = (API_extensions_Control *) the_node;              
                                                                      
    (*the_extension->postswitch_hook)( _Thread_Executing );           
  }                                                                   
}                                                                     
   470b4:	2479 0006 0dc4 	moveal 60dc4 <_API_extensions_List>,%a2     
void _API_extensions_Run_postswitch( void )                           
{                                                                     
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _Chain_First( &_API_extensions_List );             
   470ba:	b5fc 0006 0dc8 	cmpal #396744,%a2                           
   470c0:	6718           	beqs 470da <_API_extensions_Run_postswitch+0x2c><== NEVER TAKEN
        !_Chain_Is_tail( &_API_extensions_List, the_node ) ;          
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (API_extensions_Control *) the_node;              
                                                                      
    (*the_extension->postswitch_hook)( _Thread_Executing );           
   470c2:	2f39 0006 10d2 	movel 610d2 <_Per_CPU_Information+0xc>,%sp@-
   470c8:	206a 000c      	moveal %a2@(12),%a0                         
   470cc:	4e90           	jsr %a0@                                    
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _Chain_First( &_API_extensions_List );             
        !_Chain_Is_tail( &_API_extensions_List, the_node ) ;          
        the_node = the_node->next ) {                                 
   470ce:	2452           	moveal %a2@,%a2                             
void _API_extensions_Run_postswitch( void )                           
{                                                                     
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _Chain_First( &_API_extensions_List );             
   470d0:	588f           	addql #4,%sp                                
   470d2:	b5fc 0006 0dc8 	cmpal #396744,%a2                           
   470d8:	66e8           	bnes 470c2 <_API_extensions_Run_postswitch+0x14>
                                                                      
    the_extension = (API_extensions_Control *) the_node;              
                                                                      
    (*the_extension->postswitch_hook)( _Thread_Executing );           
  }                                                                   
}                                                                     
   470da:	246e fffc      	moveal %fp@(-4),%a2                         
   470de:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000499ec <_CORE_RWLock_Obtain_for_writing>: * 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 );
   499ec:	203c 0000 0700 	movel #1792,%d0                             
  Objects_Id                           id,                            
  bool                                 wait,                          
  Watchdog_Interval                    timeout,                       
  CORE_RWLock_API_mp_support_callout   api_rwlock_mp_support          
)                                                                     
{                                                                     
   499f2:	4e56 fff4      	linkw %fp,#-12                              
   499f6:	206e 0008      	moveal %fp@(8),%a0                          
   499fa:	48d7 001c      	moveml %d2-%d4,%sp@                         
   499fe:	282e 000c      	movel %fp@(12),%d4                          
   49a02:	262e 0014      	movel %fp@(20),%d3                          
  ISR_Level       level;                                              
  Thread_Control *executing = _Thread_Executing;                      
   49a06:	2279 0006 4236 	moveal 64236 <_Per_CPU_Information+0xc>,%a1 
  Objects_Id                           id,                            
  bool                                 wait,                          
  Watchdog_Interval                    timeout,                       
  CORE_RWLock_API_mp_support_callout   api_rwlock_mp_support          
)                                                                     
{                                                                     
   49a0c:	142e 0013      	moveb %fp@(19),%d2                          
   *  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 );                                              
   49a10:	40c1           	movew %sr,%d1                               
   49a12:	8081           	orl %d1,%d0                                 
   49a14:	46c0           	movew %d0,%sr                               
    switch ( the_rwlock->current_state ) {                            
   49a16:	4aa8 0044      	tstl %a0@(68)                               
   49a1a:	6614           	bnes 49a30 <_CORE_RWLock_Obtain_for_writing+0x44>
      case CORE_RWLOCK_UNLOCKED:                                      
	the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_WRITING;          
   49a1c:	7002           	moveq #2,%d0                                
   49a1e:	2140 0044      	movel %d0,%a0@(68)                          
	_ISR_Enable( level );                                                
   49a22:	46c1           	movew %d1,%sr                               
	executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;                
   49a24:	42a9 0034      	clrl %a1@(52)                               
       _CORE_RWLock_Timeout                                           
    );                                                                
                                                                      
                                                                      
    /* return to API level so it can dispatch and we block */         
}                                                                     
   49a28:	4cd7 001c      	moveml %sp@,%d2-%d4                         
   49a2c:	4e5e           	unlk %fp                                    
   49a2e:	4e75           	rts                                         
                                                                      
    /*                                                                
     *  If the thread is not willing to wait, then return immediately.
     */                                                               
                                                                      
    if ( !wait ) {                                                    
   49a30:	4a02           	tstb %d2                                    
   49a32:	6610           	bnes 49a44 <_CORE_RWLock_Obtain_for_writing+0x58>
      _ISR_Enable( level );                                           
   49a34:	46c1           	movew %d1,%sr                               
      executing->Wait.return_code = CORE_RWLOCK_UNAVAILABLE;          
   49a36:	7002           	moveq #2,%d0                                
       _CORE_RWLock_Timeout                                           
    );                                                                
                                                                      
                                                                      
    /* return to API level so it can dispatch and we block */         
}                                                                     
   49a38:	4cd7 001c      	moveml %sp@,%d2-%d4                         
     *  If the thread is not willing to wait, then return immediately.
     */                                                               
                                                                      
    if ( !wait ) {                                                    
      _ISR_Enable( level );                                           
      executing->Wait.return_code = CORE_RWLOCK_UNAVAILABLE;          
   49a3c:	2340 0034      	movel %d0,%a1@(52)                          
       _CORE_RWLock_Timeout                                           
    );                                                                
                                                                      
                                                                      
    /* return to API level so it can dispatch and we block */         
}                                                                     
   49a40:	4e5e           	unlk %fp                                    
   49a42:	4e75           	rts                                         
   49a44:	7001           	moveq #1,%d0                                
   49a46:	2140 0030      	movel %d0,%a0@(48)                          
    /*                                                                
     *  We need to wait to enter this critical section                
     */                                                               
                                                                      
    _Thread_queue_Enter_critical_section( &the_rwlock->Wait_queue );  
    executing->Wait.queue       = &the_rwlock->Wait_queue;            
   49a4a:	2348 0044      	movel %a0,%a1@(68)                          
    executing->Wait.id          = id;                                 
   49a4e:	2344 0020      	movel %d4,%a1@(32)                          
    executing->Wait.option      = CORE_RWLOCK_THREAD_WAITING_FOR_WRITE;
   49a52:	2340 0030      	movel %d0,%a1@(48)                          
    executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;             
   49a56:	42a9 0034      	clrl %a1@(52)                               
    _ISR_Enable( level );                                             
   49a5a:	46c1           	movew %d1,%sr                               
                                                                      
    _Thread_queue_Enqueue_with_handler(                               
   49a5c:	2d43 000c      	movel %d3,%fp@(12)                          
   49a60:	203c 0004 9b58 	movel #301912,%d0                           
   49a66:	2d48 0008      	movel %a0,%fp@(8)                           
       _CORE_RWLock_Timeout                                           
    );                                                                
                                                                      
                                                                      
    /* return to API level so it can dispatch and we block */         
}                                                                     
   49a6a:	4cd7 001c      	moveml %sp@,%d2-%d4                         
    executing->Wait.id          = id;                                 
    executing->Wait.option      = CORE_RWLOCK_THREAD_WAITING_FOR_WRITE;
    executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;             
    _ISR_Enable( level );                                             
                                                                      
    _Thread_queue_Enqueue_with_handler(                               
   49a6e:	2d40 0010      	movel %d0,%fp@(16)                          
       _CORE_RWLock_Timeout                                           
    );                                                                
                                                                      
                                                                      
    /* return to API level so it can dispatch and we block */         
}                                                                     
   49a72:	4e5e           	unlk %fp                                    
    executing->Wait.id          = id;                                 
    executing->Wait.option      = CORE_RWLOCK_THREAD_WAITING_FOR_WRITE;
    executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;             
    _ISR_Enable( level );                                             
                                                                      
    _Thread_queue_Enqueue_with_handler(                               
   49a74:	4ef9 0004 b818 	jmp 4b818 <_Thread_queue_Enqueue_with_handler>
	...                                                                  
                                                                      

00049a7c <_CORE_RWLock_Release>: * 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 );
   49a7c:	203c 0000 0700 	movel #1792,%d0                             
 */                                                                   
                                                                      
CORE_RWLock_Status _CORE_RWLock_Release(                              
  CORE_RWLock_Control  *the_rwlock                                    
)                                                                     
{                                                                     
   49a82:	4e56 fff0      	linkw %fp,#-16                              
  ISR_Level       level;                                              
  Thread_Control *executing = _Thread_Executing;                      
   49a86:	2079 0006 4236 	moveal 64236 <_Per_CPU_Information+0xc>,%a0 
 */                                                                   
                                                                      
CORE_RWLock_Status _CORE_RWLock_Release(                              
  CORE_RWLock_Control  *the_rwlock                                    
)                                                                     
{                                                                     
   49a8c:	48d7 1c04      	moveml %d2/%a2-%a4,%sp@                     
   49a90:	246e 0008      	moveal %fp@(8),%a2                          
   *  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 );                                              
   49a94:	40c1           	movew %sr,%d1                               
   49a96:	8081           	orl %d1,%d0                                 
   49a98:	46c0           	movew %d0,%sr                               
    if ( the_rwlock->current_state == CORE_RWLOCK_UNLOCKED){          
   49a9a:	202a 0044      	movel %a2@(68),%d0                          
   49a9e:	6700 0090      	beqw 49b30 <_CORE_RWLock_Release+0xb4>      
      _ISR_Enable( level );                                           
      executing->Wait.return_code = CORE_RWLOCK_UNAVAILABLE;          
      return CORE_RWLOCK_SUCCESSFUL;                                  
    }                                                                 
    if ( the_rwlock->current_state == CORE_RWLOCK_LOCKED_FOR_READING ) {
   49aa2:	7401           	moveq #1,%d2                                
   49aa4:	b480           	cmpl %d0,%d2                                
   49aa6:	676e           	beqs 49b16 <_CORE_RWLock_Release+0x9a>      
          return CORE_RWLOCK_SUCCESSFUL;                              
        }                                                             
    }                                                                 
                                                                      
    /* CORE_RWLOCK_LOCKED_FOR_WRITING or READING with readers */      
    executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;             
   49aa8:	42a8 0034      	clrl %a0@(52)                               
                                                                      
    /*                                                                
     * Implicitly transition to "unlocked" and find another thread interested
     * in obtaining this rwlock.                                      
     */                                                               
    the_rwlock->current_state = CORE_RWLOCK_UNLOCKED;                 
   49aac:	42aa 0044      	clrl %a2@(68)                               
  _ISR_Enable( level );                                               
   49ab0:	46c1           	movew %d1,%sr                               
                                                                      
  next = _Thread_queue_Dequeue( &the_rwlock->Wait_queue );            
   49ab2:	2f0a           	movel %a2,%sp@-                             
   49ab4:	4eb9 0004 b6a0 	jsr 4b6a0 <_Thread_queue_Dequeue>           
                                                                      
  if ( next ) {                                                       
   49aba:	588f           	addql #4,%sp                                
   49abc:	4a80           	tstl %d0                                    
   49abe:	674a           	beqs 49b0a <_CORE_RWLock_Release+0x8e>      
    if ( next->Wait.option == CORE_RWLOCK_THREAD_WAITING_FOR_WRITE ) {
   49ac0:	7201           	moveq #1,%d1                                
   49ac2:	2040           	moveal %d0,%a0                              
   49ac4:	b2a8 0030      	cmpl %a0@(48),%d1                           
   49ac8:	677c           	beqs 49b46 <_CORE_RWLock_Release+0xca>      
                                                                      
    /*                                                                
     * Must be CORE_RWLOCK_THREAD_WAITING_FOR_READING                 
     */                                                               
    the_rwlock->number_of_readers += 1;                               
    the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_READING;       
   49aca:	7201           	moveq #1,%d1                                
    }                                                                 
                                                                      
    /*                                                                
     * Must be CORE_RWLOCK_THREAD_WAITING_FOR_READING                 
     */                                                               
    the_rwlock->number_of_readers += 1;                               
   49acc:	52aa 0048      	addql #1,%a2@(72)                           
   49ad0:	47f9 0004 bbbc 	lea 4bbbc <_Thread_queue_First>,%a3         
      next = _Thread_queue_First( &the_rwlock->Wait_queue );          
      if ( !next ||                                                   
           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 );         
   49ad6:	49f9 0004 ba64 	lea 4ba64 <_Thread_queue_Extract>,%a4       
                                                                      
    /*                                                                
     * Must be CORE_RWLOCK_THREAD_WAITING_FOR_READING                 
     */                                                               
    the_rwlock->number_of_readers += 1;                               
    the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_READING;       
   49adc:	2541 0044      	movel %d1,%a2@(68)                          
                                                                      
    /*                                                                
     * Now see if more readers can be let go.                         
     */                                                               
    while ( 1 ) {                                                     
      next = _Thread_queue_First( &the_rwlock->Wait_queue );          
   49ae0:	2f0a           	movel %a2,%sp@-                             
   49ae2:	4e93           	jsr %a3@                                    
      if ( !next ||                                                   
   49ae4:	588f           	addql #4,%sp                                
   49ae6:	4a80           	tstl %d0                                    
   49ae8:	6720           	beqs 49b0a <_CORE_RWLock_Release+0x8e>      
   49aea:	7401           	moveq #1,%d2                                
   49aec:	2040           	moveal %d0,%a0                              
   49aee:	b4a8 0030      	cmpl %a0@(48),%d2                           
   49af2:	6716           	beqs 49b0a <_CORE_RWLock_Release+0x8e>      <== NEVER TAKEN
           next->Wait.option == CORE_RWLOCK_THREAD_WAITING_FOR_WRITE )
        return CORE_RWLOCK_SUCCESSFUL;                                
      the_rwlock->number_of_readers += 1;                             
   49af4:	52aa 0048      	addql #1,%a2@(72)                           
      _Thread_queue_Extract( &the_rwlock->Wait_queue, next );         
   49af8:	2f00           	movel %d0,%sp@-                             
   49afa:	2f0a           	movel %a2,%sp@-                             
   49afc:	4e94           	jsr %a4@                                    
    }                                                                 
   49afe:	508f           	addql #8,%sp                                
                                                                      
    /*                                                                
     * Now see if more readers can be let go.                         
     */                                                               
    while ( 1 ) {                                                     
      next = _Thread_queue_First( &the_rwlock->Wait_queue );          
   49b00:	2f0a           	movel %a2,%sp@-                             
   49b02:	4e93           	jsr %a3@                                    
      if ( !next ||                                                   
   49b04:	588f           	addql #4,%sp                                
   49b06:	4a80           	tstl %d0                                    
   49b08:	66e0           	bnes 49aea <_CORE_RWLock_Release+0x6e>      <== NEVER TAKEN
  }                                                                   
                                                                      
  /* indentation is to match _ISR_Disable at top */                   
                                                                      
  return CORE_RWLOCK_SUCCESSFUL;                                      
}                                                                     
   49b0a:	4280           	clrl %d0                                    
   49b0c:	4cee 1c04 fff0 	moveml %fp@(-16),%d2/%a2-%a4                
   49b12:	4e5e           	unlk %fp                                    
   49b14:	4e75           	rts                                         
      _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;                                  
   49b16:	202a 0048      	movel %a2@(72),%d0                          
   49b1a:	5380           	subql #1,%d0                                
   49b1c:	2540 0048      	movel %d0,%a2@(72)                          
	if ( the_rwlock->number_of_readers != 0 ) {                          
   49b20:	6786           	beqs 49aa8 <_CORE_RWLock_Release+0x2c>      
          /* must be unlocked again */                                
	  _ISR_Enable( level );                                              
   49b22:	46c1           	movew %d1,%sr                               
  }                                                                   
                                                                      
  /* indentation is to match _ISR_Disable at top */                   
                                                                      
  return CORE_RWLOCK_SUCCESSFUL;                                      
}                                                                     
   49b24:	4280           	clrl %d0                                    
   49b26:	4cee 1c04 fff0 	moveml %fp@(-16),%d2/%a2-%a4                
   49b2c:	4e5e           	unlk %fp                                    
   49b2e:	4e75           	rts                                         
   *  If any thread is waiting, then we wait.                         
   */                                                                 
                                                                      
  _ISR_Disable( level );                                              
    if ( the_rwlock->current_state == CORE_RWLOCK_UNLOCKED){          
      _ISR_Enable( level );                                           
   49b30:	46c1           	movew %d1,%sr                               
      executing->Wait.return_code = CORE_RWLOCK_UNAVAILABLE;          
   49b32:	103c 0002      	moveb #2,%d0                                
  }                                                                   
                                                                      
  /* indentation is to match _ISR_Disable at top */                   
                                                                      
  return CORE_RWLOCK_SUCCESSFUL;                                      
}                                                                     
   49b36:	4cee 1c04 fff0 	moveml %fp@(-16),%d2/%a2-%a4                
   */                                                                 
                                                                      
  _ISR_Disable( level );                                              
    if ( the_rwlock->current_state == CORE_RWLOCK_UNLOCKED){          
      _ISR_Enable( level );                                           
      executing->Wait.return_code = CORE_RWLOCK_UNAVAILABLE;          
   49b3c:	2140 0034      	movel %d0,%a0@(52)                          
  }                                                                   
                                                                      
  /* indentation is to match _ISR_Disable at top */                   
                                                                      
  return CORE_RWLOCK_SUCCESSFUL;                                      
}                                                                     
   49b40:	4280           	clrl %d0                                    
   49b42:	4e5e           	unlk %fp                                    
   49b44:	4e75           	rts                                         
                                                                      
  next = _Thread_queue_Dequeue( &the_rwlock->Wait_queue );            
                                                                      
  if ( next ) {                                                       
    if ( next->Wait.option == CORE_RWLOCK_THREAD_WAITING_FOR_WRITE ) {
      the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_WRITING;     
   49b46:	7002           	moveq #2,%d0                                
   49b48:	2540 0044      	movel %d0,%a2@(68)                          
  }                                                                   
                                                                      
  /* indentation is to match _ISR_Disable at top */                   
                                                                      
  return CORE_RWLOCK_SUCCESSFUL;                                      
}                                                                     
   49b4c:	4280           	clrl %d0                                    
   49b4e:	4cee 1c04 fff0 	moveml %fp@(-16),%d2/%a2-%a4                
   49b54:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00049b58 <_CORE_RWLock_Timeout>: void _CORE_RWLock_Timeout( Objects_Id id, void *ignored ) {
   49b58:	4e56 fffc      	linkw %fp,#-4                               
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
   49b5c:	486e fffc      	pea %fp@(-4)                                
   49b60:	2f2e 0008      	movel %fp@(8),%sp@-                         
   49b64:	4eb9 0004 b338 	jsr 4b338 <_Thread_Get>                     
  switch ( location ) {                                               
   49b6a:	508f           	addql #8,%sp                                
   49b6c:	4aae fffc      	tstl %fp@(-4)                               
   49b70:	6618           	bnes 49b8a <_CORE_RWLock_Timeout+0x32>      <== NEVER TAKEN
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_queue_Process_timeout( the_thread );                    
   49b72:	2f00           	movel %d0,%sp@-                             
   49b74:	4eb9 0004 bcf8 	jsr 4bcf8 <_Thread_queue_Process_timeout>   
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
   49b7a:	588f           	addql #4,%sp                                
   49b7c:	2039 0006 3dcc 	movel 63dcc <_Thread_Dispatch_disable_level>,%d0
   49b82:	5380           	subql #1,%d0                                
   49b84:	23c0 0006 3dcc 	movel %d0,63dcc <_Thread_Dispatch_disable_level>
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
   49b8a:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004855c <_CORE_barrier_Wait>: Thread_Control *executing; ISR_Level level; executing = _Thread_Executing; executing->Wait.return_code = CORE_BARRIER_STATUS_SUCCESSFUL; _ISR_Disable( level );
   4855c:	203c 0000 0700 	movel #1792,%d0                             
  Objects_Id                           id,                            
  bool                                 wait,                          
  Watchdog_Interval                    timeout,                       
  CORE_barrier_API_mp_support_callout  api_barrier_mp_support         
)                                                                     
{                                                                     
   48562:	4e56 fff4      	linkw %fp,#-12                              
  Thread_Control *executing;                                          
  ISR_Level       level;                                              
                                                                      
  executing = _Thread_Executing;                                      
   48566:	2279 0006 2976 	moveal 62976 <_Per_CPU_Information+0xc>,%a1 
  Objects_Id                           id,                            
  bool                                 wait,                          
  Watchdog_Interval                    timeout,                       
  CORE_barrier_API_mp_support_callout  api_barrier_mp_support         
)                                                                     
{                                                                     
   4856c:	48d7 001c      	moveml %d2-%d4,%sp@                         
   48570:	206e 0008      	moveal %fp@(8),%a0                          
  Thread_Control *executing;                                          
  ISR_Level       level;                                              
                                                                      
  executing = _Thread_Executing;                                      
  executing->Wait.return_code = CORE_BARRIER_STATUS_SUCCESSFUL;       
   48574:	42a9 0034      	clrl %a1@(52)                               
  Objects_Id                           id,                            
  bool                                 wait,                          
  Watchdog_Interval                    timeout,                       
  CORE_barrier_API_mp_support_callout  api_barrier_mp_support         
)                                                                     
{                                                                     
   48578:	242e 000c      	movel %fp@(12),%d2                          
   4857c:	262e 0014      	movel %fp@(20),%d3                          
   48580:	282e 0018      	movel %fp@(24),%d4                          
  Thread_Control *executing;                                          
  ISR_Level       level;                                              
                                                                      
  executing = _Thread_Executing;                                      
  executing->Wait.return_code = CORE_BARRIER_STATUS_SUCCESSFUL;       
  _ISR_Disable( level );                                              
   48584:	40c1           	movew %sr,%d1                               
   48586:	8081           	orl %d1,%d0                                 
   48588:	46c0           	movew %d0,%sr                               
  the_barrier->number_of_waiting_threads++;                           
   4858a:	2028 0048      	movel %a0@(72),%d0                          
   4858e:	5280           	addql #1,%d0                                
   48590:	2140 0048      	movel %d0,%a0@(72)                          
  if ( _CORE_barrier_Is_automatic( &the_barrier->Attributes ) ) {     
   48594:	4aa8 0040      	tstl %a0@(64)                               
   48598:	6606           	bnes 485a0 <_CORE_barrier_Wait+0x44>        
    if ( the_barrier->number_of_waiting_threads ==                    
   4859a:	b0a8 0044      	cmpl %a0@(68),%d0                           
   4859e:	672e           	beqs 485ce <_CORE_barrier_Wait+0x72>        
                                                                      
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;
   485a0:	7001           	moveq #1,%d0                                
   485a2:	2140 0030      	movel %d0,%a0@(48)                          
      return;                                                         
    }                                                                 
  }                                                                   
                                                                      
  _Thread_queue_Enter_critical_section( &the_barrier->Wait_queue );   
  executing->Wait.queue          = &the_barrier->Wait_queue;          
   485a6:	2348 0044      	movel %a0,%a1@(68)                          
  executing->Wait.id             = id;                                
   485aa:	2342 0020      	movel %d2,%a1@(32)                          
  _ISR_Enable( level );                                               
   485ae:	46c1           	movew %d1,%sr                               
                                                                      
  _Thread_queue_Enqueue( &the_barrier->Wait_queue, timeout );         
   485b0:	2d43 000c      	movel %d3,%fp@(12)                          
   485b4:	203c 0004 a94c 	movel #305484,%d0                           
   485ba:	2d48 0008      	movel %a0,%fp@(8)                           
}                                                                     
   485be:	4cd7 001c      	moveml %sp@,%d2-%d4                         
  _Thread_queue_Enter_critical_section( &the_barrier->Wait_queue );   
  executing->Wait.queue          = &the_barrier->Wait_queue;          
  executing->Wait.id             = id;                                
  _ISR_Enable( level );                                               
                                                                      
  _Thread_queue_Enqueue( &the_barrier->Wait_queue, timeout );         
   485c2:	2d40 0010      	movel %d0,%fp@(16)                          
}                                                                     
   485c6:	4e5e           	unlk %fp                                    
  _Thread_queue_Enter_critical_section( &the_barrier->Wait_queue );   
  executing->Wait.queue          = &the_barrier->Wait_queue;          
  executing->Wait.id             = id;                                
  _ISR_Enable( level );                                               
                                                                      
  _Thread_queue_Enqueue( &the_barrier->Wait_queue, timeout );         
   485c8:	4ef9 0004 a588 	jmp 4a588 <_Thread_queue_Enqueue_with_handler>
  _ISR_Disable( level );                                              
  the_barrier->number_of_waiting_threads++;                           
  if ( _CORE_barrier_Is_automatic( &the_barrier->Attributes ) ) {     
    if ( the_barrier->number_of_waiting_threads ==                    
	 the_barrier->Attributes.maximum_count) {                            
      executing->Wait.return_code = CORE_BARRIER_STATUS_AUTOMATICALLY_RELEASED;
   485ce:	7001           	moveq #1,%d0                                
   485d0:	2340 0034      	movel %d0,%a1@(52)                          
      _ISR_Enable( level );                                           
   485d4:	46c1           	movew %d1,%sr                               
      _CORE_barrier_Release( the_barrier, id, api_barrier_mp_support );
   485d6:	2d44 0010      	movel %d4,%fp@(16)                          
   485da:	2d42 000c      	movel %d2,%fp@(12)                          
  executing->Wait.queue          = &the_barrier->Wait_queue;          
  executing->Wait.id             = id;                                
  _ISR_Enable( level );                                               
                                                                      
  _Thread_queue_Enqueue( &the_barrier->Wait_queue, timeout );         
}                                                                     
   485de:	4cd7 001c      	moveml %sp@,%d2-%d4                         
  if ( _CORE_barrier_Is_automatic( &the_barrier->Attributes ) ) {     
    if ( the_barrier->number_of_waiting_threads ==                    
	 the_barrier->Attributes.maximum_count) {                            
      executing->Wait.return_code = CORE_BARRIER_STATUS_AUTOMATICALLY_RELEASED;
      _ISR_Enable( level );                                           
      _CORE_barrier_Release( the_barrier, id, api_barrier_mp_support );
   485e2:	2d48 0008      	movel %a0,%fp@(8)                           
  executing->Wait.queue          = &the_barrier->Wait_queue;          
  executing->Wait.id             = id;                                
  _ISR_Enable( level );                                               
                                                                      
  _Thread_queue_Enqueue( &the_barrier->Wait_queue, timeout );         
}                                                                     
   485e6:	4e5e           	unlk %fp                                    
  if ( _CORE_barrier_Is_automatic( &the_barrier->Attributes ) ) {     
    if ( the_barrier->number_of_waiting_threads ==                    
	 the_barrier->Attributes.maximum_count) {                            
      executing->Wait.return_code = CORE_BARRIER_STATUS_AUTOMATICALLY_RELEASED;
      _ISR_Enable( level );                                           
      _CORE_barrier_Release( the_barrier, id, api_barrier_mp_support );
   485e8:	4ef9 0004 dad4 	jmp 4dad4 <_CORE_barrier_Release>           
	...                                                                  
                                                                      

0005a128 <_CORE_message_queue_Broadcast>: Objects_Id id __attribute__((unused)), CORE_message_queue_API_mp_support_callout api_message_queue_mp_support __attribute__((unused)), #endif uint32_t *count ) {
   5a128:	4e56 ffe0      	linkw %fp,#-32                              
   5a12c:	48d7 3c3c      	moveml %d2-%d5/%a2-%a5,%sp@                 
   5a130:	266e 0008      	moveal %fp@(8),%a3                          
   5a134:	282e 000c      	movel %fp@(12),%d4                          
   5a138:	242e 0010      	movel %fp@(16),%d2                          
   5a13c:	2a2e 001c      	movel %fp@(28),%d5                          
  Thread_Control          *the_thread;                                
  uint32_t                 number_broadcasted;                        
  Thread_Wait_information *waitp;                                     
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
   5a140:	b4ab 004c      	cmpl %a3@(76),%d2                           
   5a144:	6262           	bhis 5a1a8 <_CORE_message_queue_Broadcast+0x80>
   *  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 ) {         
   5a146:	4aab 0048      	tstl %a3@(72)                               
   5a14a:	664c           	bnes 5a198 <_CORE_message_queue_Broadcast+0x70><== NEVER TAKEN
  /*                                                                  
   *  There must be no pending messages if there is a thread waiting to
   *  receive a message.                                              
   */                                                                 
  number_broadcasted = 0;                                             
  while ((the_thread =                                                
   5a14c:	2f0b           	movel %a3,%sp@-                             
   5a14e:	49f9 0005 cd5c 	lea 5cd5c <_Thread_queue_Dequeue>,%a4       
   *  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 ) {         
   5a154:	4283           	clrl %d3                                    
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
   5a156:	4bf9 0006 2ed8 	lea 62ed8 <memcpy>,%a5                      
  /*                                                                  
   *  There must be no pending messages if there is a thread waiting to
   *  receive a message.                                              
   */                                                                 
  number_broadcasted = 0;                                             
  while ((the_thread =                                                
   5a15c:	4e94           	jsr %a4@                                    
   5a15e:	588f           	addql #4,%sp                                
   5a160:	2440           	moveal %d0,%a2                              
   5a162:	4a80           	tstl %d0                                    
   5a164:	6722           	beqs 5a188 <_CORE_message_queue_Broadcast+0x60>
   5a166:	2f02           	movel %d2,%sp@-                             
          _Thread_queue_Dequeue(&the_message_queue->Wait_queue))) {   
    waitp = &the_thread->Wait;                                        
    number_broadcasted += 1;                                          
   5a168:	5283           	addql #1,%d3                                
   5a16a:	2f04           	movel %d4,%sp@-                             
   5a16c:	2f2a 002c      	movel %a2@(44),%sp@-                        
   5a170:	4e95           	jsr %a5@                                    
      buffer,                                                         
      waitp->return_argument_second.mutable_object,                   
      size                                                            
    );                                                                
                                                                      
    *(size_t *) the_thread->Wait.return_argument = size;              
   5a172:	206a 0028      	moveal %a2@(40),%a0                         
   5a176:	4fef 000c      	lea %sp@(12),%sp                            
   5a17a:	2082           	movel %d2,%a0@                              
  /*                                                                  
   *  There must be no pending messages if there is a thread waiting to
   *  receive a message.                                              
   */                                                                 
  number_broadcasted = 0;                                             
  while ((the_thread =                                                
   5a17c:	2f0b           	movel %a3,%sp@-                             
   5a17e:	4e94           	jsr %a4@                                    
   5a180:	588f           	addql #4,%sp                                
   5a182:	2440           	moveal %d0,%a2                              
   5a184:	4a80           	tstl %d0                                    
   5a186:	66de           	bnes 5a166 <_CORE_message_queue_Broadcast+0x3e>
      if ( !_Objects_Is_local_id( the_thread->Object.id ) )           
        (*api_message_queue_mp_support) ( the_thread, id );           
    #endif                                                            
                                                                      
  }                                                                   
  *count = number_broadcasted;                                        
   5a188:	2045           	moveal %d5,%a0                              
  return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                        
   5a18a:	4280           	clrl %d0                                    
      if ( !_Objects_Is_local_id( the_thread->Object.id ) )           
        (*api_message_queue_mp_support) ( the_thread, id );           
    #endif                                                            
                                                                      
  }                                                                   
  *count = number_broadcasted;                                        
   5a18c:	2083           	movel %d3,%a0@                              
  return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                        
}                                                                     
   5a18e:	4cee 3c3c ffe0 	moveml %fp@(-32),%d2-%d5/%a2-%a5            
   5a194:	4e5e           	unlk %fp                                    
   5a196:	4e75           	rts                                         
   *        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;                                                       
   5a198:	2045           	moveal %d5,%a0                              
    return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                      
   5a19a:	4280           	clrl %d0                                    
    #endif                                                            
                                                                      
  }                                                                   
  *count = number_broadcasted;                                        
  return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                        
}                                                                     
   5a19c:	4cee 3c3c ffe0 	moveml %fp@(-32),%d2-%d5/%a2-%a5            
   *        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;                                                       
   5a1a2:	4290           	clrl %a0@                                   
    #endif                                                            
                                                                      
  }                                                                   
  *count = number_broadcasted;                                        
  return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                        
}                                                                     
   5a1a4:	4e5e           	unlk %fp                                    
   5a1a6:	4e75           	rts                                         
  Thread_Control          *the_thread;                                
  uint32_t                 number_broadcasted;                        
  Thread_Wait_information *waitp;                                     
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
    return CORE_MESSAGE_QUEUE_STATUS_INVALID_SIZE;                    
   5a1a8:	7001           	moveq #1,%d0                                
    #endif                                                            
                                                                      
  }                                                                   
  *count = number_broadcasted;                                        
  return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                        
}                                                                     
   5a1aa:	4cee 3c3c ffe0 	moveml %fp@(-32),%d2-%d5/%a2-%a5            
   5a1b0:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004db04 <_CORE_message_queue_Close>: void _CORE_message_queue_Close( CORE_message_queue_Control *the_message_queue, Thread_queue_Flush_callout remote_extract_callout, uint32_t status ) {
   4db04:	4e56 0000      	linkw %fp,#0                                
   4db08:	2f0a           	movel %a2,%sp@-                             
  /*                                                                  
   *  This will flush blocked threads whether they were blocked on    
   *  a send or receive.                                              
   */                                                                 
                                                                      
  _Thread_queue_Flush(                                                
   4db0a:	2f2e 0010      	movel %fp@(16),%sp@-                        
   4db0e:	2f2e 000c      	movel %fp@(12),%sp@-                        
void _CORE_message_queue_Close(                                       
  CORE_message_queue_Control *the_message_queue,                      
  Thread_queue_Flush_callout  remote_extract_callout,                 
  uint32_t                    status                                  
)                                                                     
{                                                                     
   4db12:	246e 0008      	moveal %fp@(8),%a2                          
  /*                                                                  
   *  This will flush blocked threads whether they were blocked on    
   *  a send or receive.                                              
   */                                                                 
                                                                      
  _Thread_queue_Flush(                                                
   4db16:	2f0a           	movel %a2,%sp@-                             
   4db18:	4eb9 0004 a154 	jsr 4a154 <_Thread_queue_Flush>             
   *  This removes all messages from the pending message queue.  Since
   *  we just flushed all waiting threads, we don't have to worry about
   *  the flush satisfying any blocked senders as a side-effect.      
   */                                                                 
                                                                      
  if ( the_message_queue->number_of_pending_messages != 0 )           
   4db1e:	4fef 000c      	lea %sp@(12),%sp                            
   4db22:	4aaa 0048      	tstl %a2@(72)                               
   4db26:	6612           	bnes 4db3a <_CORE_message_queue_Close+0x36> 
    (void) _CORE_message_queue_Flush_support( the_message_queue );    
                                                                      
  (void) _Workspace_Free( the_message_queue->message_buffers );       
   4db28:	2d6a 005c 0008 	movel %a2@(92),%fp@(8)                      
                                                                      
}                                                                     
   4db2e:	246e fffc      	moveal %fp@(-4),%a2                         
   4db32:	4e5e           	unlk %fp                                    
   */                                                                 
                                                                      
  if ( the_message_queue->number_of_pending_messages != 0 )           
    (void) _CORE_message_queue_Flush_support( the_message_queue );    
                                                                      
  (void) _Workspace_Free( the_message_queue->message_buffers );       
   4db34:	4ef9 0004 ab86 	jmp 4ab86 <_Workspace_Free>                 
   *  we just flushed all waiting threads, we don't have to worry about
   *  the flush satisfying any blocked senders as a side-effect.      
   */                                                                 
                                                                      
  if ( the_message_queue->number_of_pending_messages != 0 )           
    (void) _CORE_message_queue_Flush_support( the_message_queue );    
   4db3a:	2f0a           	movel %a2,%sp@-                             
   4db3c:	4eb9 0004 db58 	jsr 4db58 <_CORE_message_queue_Flush_support>
                                                                      
  (void) _Workspace_Free( the_message_queue->message_buffers );       
   4db42:	2d6a 005c 0008 	movel %a2@(92),%fp@(8)                      
   *  we just flushed all waiting threads, we don't have to worry about
   *  the flush satisfying any blocked senders as a side-effect.      
   */                                                                 
                                                                      
  if ( the_message_queue->number_of_pending_messages != 0 )           
    (void) _CORE_message_queue_Flush_support( the_message_queue );    
   4db48:	588f           	addql #4,%sp                                
                                                                      
  (void) _Workspace_Free( the_message_queue->message_buffers );       
                                                                      
}                                                                     
   4db4a:	246e fffc      	moveal %fp@(-4),%a2                         
   4db4e:	4e5e           	unlk %fp                                    
   */                                                                 
                                                                      
  if ( the_message_queue->number_of_pending_messages != 0 )           
    (void) _CORE_message_queue_Flush_support( the_message_queue );    
                                                                      
  (void) _Workspace_Free( the_message_queue->message_buffers );       
   4db50:	4ef9 0004 ab86 	jmp 4ab86 <_Workspace_Free>                 
	...                                                                  
                                                                      

00050460 <_CORE_message_queue_Initialize>: /* * Round size up to multiple of a pointer for chain init and * check for overflow on adding overhead to each message. */ allocated_message_size = maximum_message_size; if (allocated_message_size & (sizeof(uint32_t) - 1)) {
   50460:	7203           	moveq #3,%d1                                
  CORE_message_queue_Control    *the_message_queue,                   
  CORE_message_queue_Attributes *the_message_queue_attributes,        
  uint32_t                       maximum_pending_messages,            
  size_t                         maximum_message_size                 
)                                                                     
{                                                                     
   50462:	4e56 fff4      	linkw %fp,#-12                              
   50466:	202e 0014      	movel %fp@(20),%d0                          
   5046a:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
   5046e:	246e 0008      	moveal %fp@(8),%a2                          
   50472:	242e 0010      	movel %fp@(16),%d2                          
  /*                                                                  
   *  Round size up to multiple of a pointer for chain init and       
   *  check for overflow on adding overhead to each message.          
   */                                                                 
  allocated_message_size = maximum_message_size;                      
  if (allocated_message_size & (sizeof(uint32_t) - 1)) {              
   50476:	c280           	andl %d0,%d1                                
)                                                                     
{                                                                     
  size_t message_buffering_required;                                  
  size_t allocated_message_size;                                      
                                                                      
  the_message_queue->maximum_pending_messages   = maximum_pending_messages;
   50478:	2542 0044      	movel %d2,%a2@(68)                          
  the_message_queue->number_of_pending_messages = 0;                  
   5047c:	42aa 0048      	clrl %a2@(72)                               
  the_message_queue->maximum_message_size       = maximum_message_size;
   50480:	2540 004c      	movel %d0,%a2@(76)                          
    CORE_message_queue_Control        *the_message_queue,             
    CORE_message_queue_Notify_Handler  the_handler,                   
    void                              *the_argument                   
  )                                                                   
  {                                                                   
    the_message_queue->notify_handler  = the_handler;                 
   50484:	42aa 0060      	clrl %a2@(96)                               
    the_message_queue->notify_argument = the_argument;                
   50488:	42aa 0064      	clrl %a2@(100)                              
  /*                                                                  
   *  Round size up to multiple of a pointer for chain init and       
   *  check for overflow on adding overhead to each message.          
   */                                                                 
  allocated_message_size = maximum_message_size;                      
  if (allocated_message_size & (sizeof(uint32_t) - 1)) {              
   5048c:	4a81           	tstl %d1                                    
   5048e:	6718           	beqs 504a8 <_CORE_message_queue_Initialize+0x48>
    allocated_message_size += sizeof(uint32_t);                       
   50490:	2200           	movel %d0,%d1                               
   50492:	5881           	addql #4,%d1                                
    allocated_message_size &= ~(sizeof(uint32_t) - 1);                
   50494:	76fc           	moveq #-4,%d3                               
   50496:	c283           	andl %d3,%d1                                
  }                                                                   
                                                                      
  if (allocated_message_size < maximum_message_size)                  
   50498:	b280           	cmpl %d0,%d1                                
   5049a:	640e           	bccs 504aa <_CORE_message_queue_Initialize+0x4a><== ALWAYS TAKEN
    STATES_WAITING_FOR_MESSAGE,                                       
    CORE_MESSAGE_QUEUE_STATUS_TIMEOUT                                 
  );                                                                  
                                                                      
  return true;                                                        
}                                                                     
   5049c:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
   */                                                                 
  the_message_queue->message_buffers = (CORE_message_queue_Buffer *)  
     _Workspace_Allocate( message_buffering_required );               
                                                                      
  if (the_message_queue->message_buffers == 0)                        
    return false;                                                     
   504a2:	4200           	clrb %d0                                    
    STATES_WAITING_FOR_MESSAGE,                                       
    CORE_MESSAGE_QUEUE_STATUS_TIMEOUT                                 
  );                                                                  
                                                                      
  return true;                                                        
}                                                                     
   504a4:	4e5e           	unlk %fp                                    
   504a6:	4e75           	rts                                         
  /*                                                                  
   *  Round size up to multiple of a pointer for chain init and       
   *  check for overflow on adding overhead to each message.          
   */                                                                 
  allocated_message_size = maximum_message_size;                      
  if (allocated_message_size & (sizeof(uint32_t) - 1)) {              
   504a8:	2200           	movel %d0,%d1                               
  /*                                                                  
   *  Calculate how much total memory is required for message buffering and
   *  check for overflow on the multiplication.                       
   */                                                                 
  message_buffering_required = (size_t) maximum_pending_messages *    
       (allocated_message_size + sizeof(CORE_message_queue_Buffer_control));
   504aa:	2601           	movel %d1,%d3                               
   504ac:	0683 0000 0014 	addil #20,%d3                               
                                                                      
  /*                                                                  
   *  Calculate how much total memory is required for message buffering and
   *  check for overflow on the multiplication.                       
   */                                                                 
  message_buffering_required = (size_t) maximum_pending_messages *    
   504b2:	2003           	movel %d3,%d0                               
   504b4:	4c02 0800      	mulsl %d2,%d0                               
       (allocated_message_size + sizeof(CORE_message_queue_Buffer_control));
                                                                      
  if (message_buffering_required < allocated_message_size)            
   504b8:	b280           	cmpl %d0,%d1                                
   504ba:	62e0           	bhis 5049c <_CORE_message_queue_Initialize+0x3c><== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Attempt to allocate the message memory                          
   */                                                                 
  the_message_queue->message_buffers = (CORE_message_queue_Buffer *)  
     _Workspace_Allocate( message_buffering_required );               
   504bc:	2f00           	movel %d0,%sp@-                             
   504be:	4eb9 0005 34ca 	jsr 534ca <_Workspace_Allocate>             
                                                                      
  if (the_message_queue->message_buffers == 0)                        
   504c4:	588f           	addql #4,%sp                                
    return false;                                                     
                                                                      
  /*                                                                  
   *  Attempt to allocate the message memory                          
   */                                                                 
  the_message_queue->message_buffers = (CORE_message_queue_Buffer *)  
   504c6:	2540 005c      	movel %d0,%a2@(92)                          
     _Workspace_Allocate( message_buffering_required );               
                                                                      
  if (the_message_queue->message_buffers == 0)                        
   504ca:	67d0           	beqs 5049c <_CORE_message_queue_Initialize+0x3c>
                                                                      
  /*                                                                  
   *  Initialize the pool of inactive messages, pending messages,     
   *  and set of waiting threads.                                     
   */                                                                 
  _Chain_Initialize (                                                 
   504cc:	2f03           	movel %d3,%sp@-                             
   504ce:	2f02           	movel %d2,%sp@-                             
   504d0:	2f00           	movel %d0,%sp@-                             
   504d2:	486a 0068      	pea %a2@(104)                               
   504d6:	4eb9 0005 5d64 	jsr 55d64 <_Chain_Initialize>               
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
   504dc:	41ea 0054      	lea %a2@(84),%a0                            
    allocated_message_size + sizeof( CORE_message_queue_Buffer_control )
  );                                                                  
                                                                      
  _Chain_Initialize_empty( &the_message_queue->Pending_messages );    
                                                                      
  _Thread_queue_Initialize(                                           
   504e0:	7001           	moveq #1,%d0                                
   504e2:	2548 0050      	movel %a0,%a2@(80)                          
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
   504e6:	41ea 0050      	lea %a2@(80),%a0                            
   504ea:	2548 0058      	movel %a0,%a2@(88)                          
   504ee:	4878 0006      	pea 6 <EXTENDSFDF>                          
   504f2:	4878 0080      	pea 80 <DBL_MANT_DIG+0x4b>                  
   504f6:	206e 000c      	moveal %fp@(12),%a0                         
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
   504fa:	42aa 0054      	clrl %a2@(84)                               
   504fe:	b090           	cmpl %a0@,%d0                               
   50500:	57c0           	seq %d0                                     
   50502:	49c0           	extbl %d0                                   
   50504:	4480           	negl %d0                                    
   50506:	2f00           	movel %d0,%sp@-                             
   50508:	2f0a           	movel %a2,%sp@-                             
   5050a:	4eb9 0005 2af0 	jsr 52af0 <_Thread_queue_Initialize>        
       THREAD_QUEUE_DISCIPLINE_PRIORITY : THREAD_QUEUE_DISCIPLINE_FIFO,
    STATES_WAITING_FOR_MESSAGE,                                       
    CORE_MESSAGE_QUEUE_STATUS_TIMEOUT                                 
  );                                                                  
                                                                      
  return true;                                                        
   50510:	4fef 0020      	lea %sp@(32),%sp                            
}                                                                     
   50514:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
       THREAD_QUEUE_DISCIPLINE_PRIORITY : THREAD_QUEUE_DISCIPLINE_FIFO,
    STATES_WAITING_FOR_MESSAGE,                                       
    CORE_MESSAGE_QUEUE_STATUS_TIMEOUT                                 
  );                                                                  
                                                                      
  return true;                                                        
   5051a:	7001           	moveq #1,%d0                                
}                                                                     
   5051c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00055dd8 <_CORE_message_queue_Insert_message>: void _CORE_message_queue_Insert_message( CORE_message_queue_Control *the_message_queue, CORE_message_queue_Buffer_control *the_message, CORE_message_queue_Submit_types submit_type ) {
   55dd8:	4e56 fff4      	linkw %fp,#-12                              
   55ddc:	226e 000c      	moveal %fp@(12),%a1                         
   55de0:	202e 0010      	movel %fp@(16),%d0                          
   55de4:	48d7 0c04      	moveml %d2/%a2-%a3,%sp@                     
   55de8:	206e 0008      	moveal %fp@(8),%a0                          
   55dec:	2340 0008      	movel %d0,%a1@(8)                           
        _CORE_message_queue_Append_unprotected(the_message_queue, the_message);
      else                                                            
        _CORE_message_queue_Prepend_unprotected(the_message_queue, the_message);
    _ISR_Enable( level );                                             
  #else                                                               
    if ( submit_type == CORE_MESSAGE_QUEUE_SEND_REQUEST ) {           
   55df0:	0c80 7fff ffff 	cmpil #2147483647,%d0                       
   55df6:	677a           	beqs 55e72 <_CORE_message_queue_Insert_message+0x9a>
      _ISR_Disable( level );                                          
        SET_NOTIFY();                                                 
        the_message_queue->number_of_pending_messages++;              
        _CORE_message_queue_Append_unprotected(the_message_queue, the_message);
      _ISR_Enable( level );                                           
    } else if ( submit_type == CORE_MESSAGE_QUEUE_URGENT_REQUEST ) {  
   55df8:	0c80 8000 0000 	cmpil #-2147483648,%d0                      
   55dfe:	6700 00a8      	beqw 55ea8 <_CORE_message_queue_Insert_message+0xd0>
RTEMS_INLINE_ROUTINE bool _Chain_Is_tail(                             
  Chain_Control *the_chain,                                           
  const Chain_Node    *the_node                                       
)                                                                     
{                                                                     
  return (the_node == _Chain_Tail(the_chain));                        
   55e02:	2208           	movel %a0,%d1                               
   55e04:	0681 0000 0054 	addil #84,%d1                               
     *  the message is actually in the queue at this point.           
     */                                                               
    if ( notify && the_message_queue->notify_handler )                
      (*the_message_queue->notify_handler)(the_message_queue->notify_argument);
  #endif                                                              
}                                                                     
   55e0a:	2468 0050      	moveal %a0@(80),%a2                         
      int                                the_priority;                
                                                                      
      the_priority = _CORE_message_queue_Get_message_priority(the_message);
      the_header = &the_message_queue->Pending_messages;              
      the_node = _Chain_First( the_header );                          
      while ( !_Chain_Is_tail( the_header, the_node ) ) {             
   55e0e:	b5c1           	cmpal %d1,%a2                               
   55e10:	670c           	beqs 55e1e <_CORE_message_queue_Insert_message+0x46>
                                                                      
        this_message = (CORE_message_queue_Buffer_control *) the_node;
                                                                      
        this_priority = _CORE_message_queue_Get_message_priority(this_message);
                                                                      
        if ( this_priority <= the_priority ) {                        
   55e12:	b0aa 0008      	cmpl %a2@(8),%d0                            
   55e16:	6d06           	blts 55e1e <_CORE_message_queue_Insert_message+0x46>
          the_node = the_node->next;                                  
   55e18:	2452           	moveal %a2@,%a2                             
      int                                the_priority;                
                                                                      
      the_priority = _CORE_message_queue_Get_message_priority(the_message);
      the_header = &the_message_queue->Pending_messages;              
      the_node = _Chain_First( the_header );                          
      while ( !_Chain_Is_tail( the_header, the_node ) ) {             
   55e1a:	b5c1           	cmpal %d1,%a2                               
   55e1c:	66f4           	bnes 55e12 <_CORE_message_queue_Insert_message+0x3a>
          the_node = the_node->next;                                  
          continue;                                                   
        }                                                             
        break;                                                        
      }                                                               
      _ISR_Disable( level );                                          
   55e1e:	203c 0000 0700 	movel #1792,%d0                             
   55e24:	40c1           	movew %sr,%d1                               
   55e26:	8081           	orl %d1,%d0                                 
   55e28:	46c0           	movew %d0,%sr                               
        SET_NOTIFY();                                                 
   55e2a:	2028 0048      	movel %a0@(72),%d0                          
        the_message_queue->number_of_pending_messages++;              
   55e2e:	2400           	movel %d0,%d2                               
   55e30:	5282           	addql #1,%d2                                
 *                                                                    
 *  INTERRUPT LATENCY:                                                
 *    insert                                                          
 */                                                                   
                                                                      
void _CORE_message_queue_Insert_message(                              
   55e32:	4a80           	tstl %d0                                    
   55e34:	57c0           	seq %d0                                     
        break;                                                        
      }                                                               
      _ISR_Disable( level );                                          
        SET_NOTIFY();                                                 
        the_message_queue->number_of_pending_messages++;              
        _Chain_Insert_unprotected( the_node->previous, &the_message->Node );
   55e36:	246a 0004      	moveal %a2@(4),%a2                          
 *                                                                    
 *  INTERRUPT LATENCY:                                                
 *    insert                                                          
 */                                                                   
                                                                      
void _CORE_message_queue_Insert_message(                              
   55e3a:	4480           	negl %d0                                    
        }                                                             
        break;                                                        
      }                                                               
      _ISR_Disable( level );                                          
        SET_NOTIFY();                                                 
        the_message_queue->number_of_pending_messages++;              
   55e3c:	2142 0048      	movel %d2,%a0@(72)                          
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
   55e40:	2652           	moveal %a2@,%a3                             
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
   55e42:	234a 0004      	movel %a2,%a1@(4)                           
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
   55e46:	2489           	movel %a1,%a2@                              
  the_node->next        = before_node;                                
  before_node->previous = the_node;                                   
   55e48:	2749 0004      	movel %a1,%a3@(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;                                
   55e4c:	228b           	movel %a3,%a1@                              
        _Chain_Insert_unprotected( the_node->previous, &the_message->Node );
      _ISR_Enable( level );                                           
   55e4e:	46c1           	movew %d1,%sr                               
    /*                                                                
     *  According to POSIX, does this happen before or after the message
     *  is actually enqueued.  It is logical to think afterwards, because
     *  the message is actually in the queue at this point.           
     */                                                               
    if ( notify && the_message_queue->notify_handler )                
   55e50:	4a00           	tstb %d0                                    
   55e52:	6716           	beqs 55e6a <_CORE_message_queue_Insert_message+0x92>
   55e54:	2268 0060      	moveal %a0@(96),%a1                         
   55e58:	4a89           	tstl %a1                                    
   55e5a:	670e           	beqs 55e6a <_CORE_message_queue_Insert_message+0x92>
      (*the_message_queue->notify_handler)(the_message_queue->notify_argument);
   55e5c:	2d68 0064 0008 	movel %a0@(100),%fp@(8)                     
  #endif                                                              
}                                                                     
   55e62:	4cd7 0c04      	moveml %sp@,%d2/%a2-%a3                     
   55e66:	4e5e           	unlk %fp                                    
     *  According to POSIX, does this happen before or after the message
     *  is actually enqueued.  It is logical to think afterwards, because
     *  the message is actually in the queue at this point.           
     */                                                               
    if ( notify && the_message_queue->notify_handler )                
      (*the_message_queue->notify_handler)(the_message_queue->notify_argument);
   55e68:	4ed1           	jmp %a1@                                    
  #endif                                                              
}                                                                     
   55e6a:	4cd7 0c04      	moveml %sp@,%d2/%a2-%a3                     
   55e6e:	4e5e           	unlk %fp                                    
   55e70:	4e75           	rts                                         
      else                                                            
        _CORE_message_queue_Prepend_unprotected(the_message_queue, the_message);
    _ISR_Enable( level );                                             
  #else                                                               
    if ( submit_type == CORE_MESSAGE_QUEUE_SEND_REQUEST ) {           
      _ISR_Disable( level );                                          
   55e72:	203c 0000 0700 	movel #1792,%d0                             
   55e78:	40c1           	movew %sr,%d1                               
   55e7a:	8081           	orl %d1,%d0                                 
   55e7c:	46c0           	movew %d0,%sr                               
        SET_NOTIFY();                                                 
   55e7e:	2028 0048      	movel %a0@(72),%d0                          
        the_message_queue->number_of_pending_messages++;              
   55e82:	2400           	movel %d0,%d2                               
   55e84:	5282           	addql #1,%d2                                
RTEMS_INLINE_ROUTINE void _Chain_Append_unprotected(                  
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
   55e86:	47e8 0054      	lea %a0@(84),%a3                            
 *                                                                    
 *  INTERRUPT LATENCY:                                                
 *    insert                                                          
 */                                                                   
                                                                      
void _CORE_message_queue_Insert_message(                              
   55e8a:	4a80           	tstl %d0                                    
   55e8c:	57c0           	seq %d0                                     
    _ISR_Enable( level );                                             
  #else                                                               
    if ( submit_type == CORE_MESSAGE_QUEUE_SEND_REQUEST ) {           
      _ISR_Disable( level );                                          
        SET_NOTIFY();                                                 
        the_message_queue->number_of_pending_messages++;              
   55e8e:	2142 0048      	movel %d2,%a0@(72)                          
  Chain_Node *old_last = tail->previous;                              
   55e92:	2468 0058      	moveal %a0@(88),%a2                         
 *                                                                    
 *  INTERRUPT LATENCY:                                                
 *    insert                                                          
 */                                                                   
                                                                      
void _CORE_message_queue_Insert_message(                              
   55e96:	4480           	negl %d0                                    
RTEMS_INLINE_ROUTINE void _Chain_Append_unprotected(                  
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
   55e98:	228b           	movel %a3,%a1@                              
  Chain_Node *old_last = tail->previous;                              
                                                                      
  the_node->next = tail;                                              
  tail->previous = the_node;                                          
   55e9a:	2149 0058      	movel %a1,%a0@(88)                          
  old_last->next = the_node;                                          
   55e9e:	2489           	movel %a1,%a2@                              
  the_node->previous = old_last;                                      
   55ea0:	234a 0004      	movel %a2,%a1@(4)                           
    if ( submit_type == CORE_MESSAGE_QUEUE_SEND_REQUEST ) {           
      _ISR_Disable( level );                                          
        SET_NOTIFY();                                                 
        the_message_queue->number_of_pending_messages++;              
        _CORE_message_queue_Append_unprotected(the_message_queue, the_message);
      _ISR_Enable( level );                                           
   55ea4:	46c1           	movew %d1,%sr                               
   55ea6:	60a8           	bras 55e50 <_CORE_message_queue_Insert_message+0x78>
    } else if ( submit_type == CORE_MESSAGE_QUEUE_URGENT_REQUEST ) {  
      _ISR_Disable( level );                                          
   55ea8:	203c 0000 0700 	movel #1792,%d0                             
   55eae:	40c1           	movew %sr,%d1                               
   55eb0:	8081           	orl %d1,%d0                                 
   55eb2:	46c0           	movew %d0,%sr                               
        SET_NOTIFY();                                                 
   55eb4:	2028 0048      	movel %a0@(72),%d0                          
        the_message_queue->number_of_pending_messages++;              
   55eb8:	2400           	movel %d0,%d2                               
   55eba:	5282           	addql #1,%d2                                
RTEMS_INLINE_ROUTINE void _Chain_Prepend_unprotected(                 
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  _Chain_Insert_unprotected(_Chain_Head(the_chain), the_node);        
   55ebc:	47e8 0050      	lea %a0@(80),%a3                            
 *                                                                    
 *  INTERRUPT LATENCY:                                                
 *    insert                                                          
 */                                                                   
                                                                      
void _CORE_message_queue_Insert_message(                              
   55ec0:	4a80           	tstl %d0                                    
   55ec2:	57c0           	seq %d0                                     
        _CORE_message_queue_Append_unprotected(the_message_queue, the_message);
      _ISR_Enable( level );                                           
    } else if ( submit_type == CORE_MESSAGE_QUEUE_URGENT_REQUEST ) {  
      _ISR_Disable( level );                                          
        SET_NOTIFY();                                                 
        the_message_queue->number_of_pending_messages++;              
   55ec4:	2142 0048      	movel %d2,%a0@(72)                          
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
   55ec8:	2468 0050      	moveal %a0@(80),%a2                         
 *                                                                    
 *  INTERRUPT LATENCY:                                                
 *    insert                                                          
 */                                                                   
                                                                      
void _CORE_message_queue_Insert_message(                              
   55ecc:	4480           	negl %d0                                    
RTEMS_INLINE_ROUTINE void _Chain_Prepend_unprotected(                 
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  _Chain_Insert_unprotected(_Chain_Head(the_chain), the_node);        
   55ece:	234b 0004      	movel %a3,%a1@(4)                           
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
   55ed2:	2149 0050      	movel %a1,%a0@(80)                          
  the_node->next        = before_node;                                
  before_node->previous = the_node;                                   
   55ed6:	2549 0004      	movel %a1,%a2@(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;                                
   55eda:	228a           	movel %a2,%a1@                              
    } else if ( submit_type == CORE_MESSAGE_QUEUE_URGENT_REQUEST ) {  
      _ISR_Disable( level );                                          
        SET_NOTIFY();                                                 
        the_message_queue->number_of_pending_messages++;              
        _CORE_message_queue_Prepend_unprotected(the_message_queue, the_message);
      _ISR_Enable( level );                                           
   55edc:	46c1           	movew %d1,%sr                               
   55ede:	6000 ff70      	braw 55e50 <_CORE_message_queue_Insert_message+0x78>
	...                                                                  
                                                                      

00050520 <_CORE_message_queue_Seize>: CORE_message_queue_Buffer_control *the_message; Thread_Control *executing; executing = _Thread_Executing; executing->Wait.return_code = CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL; _ISR_Disable( level );
   50520:	203c 0000 0700 	movel #1792,%d0                             
  void                            *buffer,                            
  size_t                          *size_p,                            
  bool                             wait,                              
  Watchdog_Interval                timeout                            
)                                                                     
{                                                                     
   50526:	4e56 ffe8      	linkw %fp,#-24                              
  ISR_Level                          level;                           
  CORE_message_queue_Buffer_control *the_message;                     
  Thread_Control                    *executing;                       
                                                                      
  executing = _Thread_Executing;                                      
   5052a:	2279 0006 b08a 	moveal 6b08a <_Per_CPU_Information+0xc>,%a1 
  void                            *buffer,                            
  size_t                          *size_p,                            
  bool                             wait,                              
  Watchdog_Interval                timeout                            
)                                                                     
{                                                                     
   50530:	48d7 1c1c      	moveml %d2-%d4/%a2-%a4,%sp@                 
   50534:	246e 0008      	moveal %fp@(8),%a2                          
   50538:	282e 000c      	movel %fp@(12),%d4                          
   5053c:	262e 0010      	movel %fp@(16),%d3                          
   50540:	206e 0014      	moveal %fp@(20),%a0                         
   50544:	286e 001c      	moveal %fp@(28),%a4                         
   50548:	142e 001b      	moveb %fp@(27),%d2                          
  ISR_Level                          level;                           
  CORE_message_queue_Buffer_control *the_message;                     
  Thread_Control                    *executing;                       
                                                                      
  executing = _Thread_Executing;                                      
  executing->Wait.return_code = CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL; 
   5054c:	42a9 0034      	clrl %a1@(52)                               
  _ISR_Disable( level );                                              
   50550:	40c1           	movew %sr,%d1                               
   50552:	8081           	orl %d1,%d0                                 
   50554:	46c0           	movew %d0,%sr                               
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
   50556:	200a           	movel %a2,%d0                               
   50558:	0680 0000 0054 	addil #84,%d0                               
  executing->Wait.return_argument = size_p;                           
  /* Wait.count will be filled in with the message priority */        
  _ISR_Enable( level );                                               
                                                                      
  _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout );   
}                                                                     
   5055e:	266a 0050      	moveal %a2@(80),%a3                         
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
   50562:	b08b           	cmpl %a3,%d0                                
   50564:	6700 0088      	beqw 505ee <_CORE_message_queue_Seize+0xce> 
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *old_first = head->next;                                 
  Chain_Node *new_first = old_first->next;                            
   50568:	2253           	moveal %a3@,%a1                             
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_first_unprotected(        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
   5056a:	49ea 0050      	lea %a2@(80),%a4                            
   5056e:	234c 0004      	movel %a4,%a1@(4)                           
  executing = _Thread_Executing;                                      
  executing->Wait.return_code = CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL; 
  _ISR_Disable( level );                                              
  the_message = _CORE_message_queue_Get_pending_message( the_message_queue );
  if ( the_message != NULL ) {                                        
    the_message_queue->number_of_pending_messages -= 1;               
   50572:	53aa 0048      	subql #1,%a2@(72)                           
  Chain_Node *old_first = head->next;                                 
  Chain_Node *new_first = old_first->next;                            
                                                                      
  head->next = new_first;                                             
   50576:	2549 0050      	movel %a1,%a2@(80)                          
    _ISR_Enable( level );                                             
   5057a:	46c1           	movew %d1,%sr                               
                                                                      
    *size_p = the_message->Contents.size;                             
    _Thread_Executing->Wait.count =                                   
   5057c:	2279 0006 b08a 	moveal 6b08a <_Per_CPU_Information+0xc>,%a1 
      _CORE_message_queue_Get_message_priority( the_message );        
    _CORE_message_queue_Copy_buffer(                                  
      the_message->Contents.buffer,                                   
   50582:	240b           	movel %a3,%d2                               
   50584:	0682 0000 0010 	addil #16,%d2                               
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
   5058a:	49f9 0005 8ad4 	lea 58ad4 <memcpy>,%a4                      
  the_message = _CORE_message_queue_Get_pending_message( the_message_queue );
  if ( the_message != NULL ) {                                        
    the_message_queue->number_of_pending_messages -= 1;               
    _ISR_Enable( level );                                             
                                                                      
    *size_p = the_message->Contents.size;                             
   50590:	20ab 000c      	movel %a3@(12),%a0@                         
    _Thread_Executing->Wait.count =                                   
   50594:	236b 0008 0024 	movel %a3@(8),%a1@(36)                      
   5059a:	2f10           	movel %a0@,%sp@-                            
   5059c:	2f02           	movel %d2,%sp@-                             
   5059e:	2f03           	movel %d3,%sp@-                             
   505a0:	4e94           	jsr %a4@                                    
       *  is not, then we can go ahead and free the buffer.           
       *                                                              
       *  NOTE: If we note that the queue was not full before this receive,
       *  then we can avoid this dequeue.                             
       */                                                             
      the_thread = _Thread_queue_Dequeue( &the_message_queue->Wait_queue );
   505a2:	2f0a           	movel %a2,%sp@-                             
   505a4:	4eb9 0005 26c0 	jsr 526c0 <_Thread_queue_Dequeue>           
      if ( !the_thread ) {                                            
   505aa:	4fef 0010      	lea %sp@(16),%sp                            
       *  is not, then we can go ahead and free the buffer.           
       *                                                              
       *  NOTE: If we note that the queue was not full before this receive,
       *  then we can avoid this dequeue.                             
       */                                                             
      the_thread = _Thread_queue_Dequeue( &the_message_queue->Wait_queue );
   505ae:	2040           	moveal %d0,%a0                              
      if ( !the_thread ) {                                            
   505b0:	4a80           	tstl %d0                                    
   505b2:	6700 0088      	beqw 5063c <_CORE_message_queue_Seize+0x11c>
       */                                                             
      _CORE_message_queue_Set_message_priority(                       
        the_message,                                                  
        the_thread->Wait.count                                        
      );                                                              
      the_message->Contents.size = (size_t) the_thread->Wait.option;  
   505b6:	2028 0030      	movel %a0@(48),%d0                          
  CORE_message_queue_Buffer_control *the_message,                     
  int                                priority                         
)                                                                     
{                                                                     
  #if defined(RTEMS_SCORE_COREMSG_ENABLE_MESSAGE_PRIORITY)            
    the_message->priority = priority;                                 
   505ba:	2768 0024 0008 	movel %a0@(36),%a3@(8)                      
   505c0:	2740 000c      	movel %d0,%a3@(12)                          
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
   505c4:	2f00           	movel %d0,%sp@-                             
   505c6:	2f28 002c      	movel %a0@(44),%sp@-                        
   505ca:	2f02           	movel %d2,%sp@-                             
   505cc:	4e94           	jsr %a4@                                    
        the_thread->Wait.return_argument_second.immutable_object,     
        the_message->Contents.buffer,                                 
        the_message->Contents.size                                    
      );                                                              
                                                                      
      _CORE_message_queue_Insert_message(                             
   505ce:	2d6b 0008 0010 	movel %a3@(8),%fp@(16)                      
   505d4:	4fef 000c      	lea %sp@(12),%sp                            
   505d8:	2d4b 000c      	movel %a3,%fp@(12)                          
   505dc:	2d4a 0008      	movel %a2,%fp@(8)                           
  executing->Wait.return_argument = size_p;                           
  /* Wait.count will be filled in with the message priority */        
  _ISR_Enable( level );                                               
                                                                      
  _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout );   
}                                                                     
   505e0:	4cee 1c1c ffe8 	moveml %fp@(-24),%d2-%d4/%a2-%a4            
   505e6:	4e5e           	unlk %fp                                    
        the_thread->Wait.return_argument_second.immutable_object,     
        the_message->Contents.buffer,                                 
        the_message->Contents.size                                    
      );                                                              
                                                                      
      _CORE_message_queue_Insert_message(                             
   505e8:	4ef9 0005 5dd8 	jmp 55dd8 <_CORE_message_queue_Insert_message>
      return;                                                         
    }                                                                 
    #endif                                                            
  }                                                                   
                                                                      
  if ( !wait ) {                                                      
   505ee:	4a02           	tstb %d2                                    
   505f0:	6612           	bnes 50604 <_CORE_message_queue_Seize+0xe4> 
    _ISR_Enable( level );                                             
   505f2:	46c1           	movew %d1,%sr                               
    executing->Wait.return_code = CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_NOWAIT;
   505f4:	7004           	moveq #4,%d0                                
  executing->Wait.return_argument = size_p;                           
  /* Wait.count will be filled in with the message priority */        
  _ISR_Enable( level );                                               
                                                                      
  _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout );   
}                                                                     
   505f6:	4cee 1c1c ffe8 	moveml %fp@(-24),%d2-%d4/%a2-%a4            
    #endif                                                            
  }                                                                   
                                                                      
  if ( !wait ) {                                                      
    _ISR_Enable( level );                                             
    executing->Wait.return_code = CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_NOWAIT;
   505fc:	2340 0034      	movel %d0,%a1@(52)                          
  executing->Wait.return_argument = size_p;                           
  /* Wait.count will be filled in with the message priority */        
  _ISR_Enable( level );                                               
                                                                      
  _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout );   
}                                                                     
   50600:	4e5e           	unlk %fp                                    
   50602:	4e75           	rts                                         
                                                                      
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;
   50604:	7001           	moveq #1,%d0                                
   50606:	2540 0030      	movel %d0,%a2@(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.mutable_object = buffer;     
   5060a:	2343 002c      	movel %d3,%a1@(44)                          
    executing->Wait.return_code = CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_NOWAIT;
    return;                                                           
  }                                                                   
                                                                      
  _Thread_queue_Enter_critical_section( &the_message_queue->Wait_queue );
  executing->Wait.queue = &the_message_queue->Wait_queue;             
   5060e:	234a 0044      	movel %a2,%a1@(68)                          
  executing->Wait.id = id;                                            
   50612:	2344 0020      	movel %d4,%a1@(32)                          
  executing->Wait.return_argument_second.mutable_object = buffer;     
  executing->Wait.return_argument = size_p;                           
   50616:	2348 0028      	movel %a0,%a1@(40)                          
  /* Wait.count will be filled in with the message priority */        
  _ISR_Enable( level );                                               
   5061a:	46c1           	movew %d1,%sr                               
                                                                      
  _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout );   
   5061c:	2d4c 000c      	movel %a4,%fp@(12)                          
   50620:	49f9 0005 2bfc 	lea 52bfc <_Thread_queue_Timeout>,%a4       
   50626:	2d4a 0008      	movel %a2,%fp@(8)                           
   5062a:	2d4c 0010      	movel %a4,%fp@(16)                          
}                                                                     
   5062e:	4cee 1c1c ffe8 	moveml %fp@(-24),%d2-%d4/%a2-%a4            
   50634:	4e5e           	unlk %fp                                    
  executing->Wait.return_argument_second.mutable_object = buffer;     
  executing->Wait.return_argument = size_p;                           
  /* Wait.count will be filled in with the message priority */        
  _ISR_Enable( level );                                               
                                                                      
  _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout );   
   50636:	4ef9 0005 2838 	jmp 52838 <_Thread_queue_Enqueue_with_handler>
RTEMS_INLINE_ROUTINE void _CORE_message_queue_Free_message_buffer (   
  CORE_message_queue_Control        *the_message_queue,               
  CORE_message_queue_Buffer_control *the_message                      
)                                                                     
{                                                                     
  _Chain_Append( &the_message_queue->Inactive_messages, &the_message->Node );
   5063c:	45ea 0068      	lea %a2@(104),%a2                           
   50640:	2d4b 000c      	movel %a3,%fp@(12)                          
   50644:	2d4a 0008      	movel %a2,%fp@(8)                           
}                                                                     
   50648:	4cee 1c1c ffe8 	moveml %fp@(-24),%d2-%d4/%a2-%a4            
   5064e:	4e5e           	unlk %fp                                    
   50650:	4ef9 0005 0394 	jmp 50394 <_Chain_Append>                   
	...                                                                  
                                                                      

00050658 <_CORE_message_queue_Submit>: #endif CORE_message_queue_Submit_types submit_type, bool wait, Watchdog_Interval timeout ) {
   50658:	4e56 ffec      	linkw %fp,#-20                              
   5065c:	48d7 0c1c      	moveml %d2-%d4/%a2-%a3,%sp@                 
   50660:	246e 0008      	moveal %fp@(8),%a2                          
   50664:	242e 0010      	movel %fp@(16),%d2                          
   50668:	282e 001c      	movel %fp@(28),%d4                          
   5066c:	162e 0023      	moveb %fp@(35),%d3                          
  CORE_message_queue_Buffer_control   *the_message;                   
  Thread_Control                      *the_thread;                    
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
   50670:	b4aa 004c      	cmpl %a2@(76),%d2                           
   50674:	6228           	bhis 5069e <_CORE_message_queue_Submit+0x46>
  }                                                                   
                                                                      
  /*                                                                  
   *  Is there a thread currently waiting on this message queue?      
   */                                                                 
  if ( the_message_queue->number_of_pending_messages == 0 ) {         
   50676:	202a 0048      	movel %a2@(72),%d0                          
   5067a:	672e           	beqs 506aa <_CORE_message_queue_Submit+0x52>
                                                                      
  /*                                                                  
   *  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 <                
   5067c:	b0aa 0044      	cmpl %a2@(68),%d0                           
   50680:	6500 00ba      	bcsw 5073c <_CORE_message_queue_Submit+0xe4>
    /*                                                                
     *  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 ) {                                                    
   50684:	4a03           	tstb %d3                                    
   50686:	6700 00f4      	beqw 5077c <_CORE_message_queue_Submit+0x124>
                                                                      
    /*                                                                
     *  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() ) {                                    
   5068a:	4ab9 0006 b086 	tstl 6b086 <_Per_CPU_Information+0x8>       
   50690:	6754           	beqs 506e6 <_CORE_message_queue_Submit+0x8e>
      return CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED;                   
   50692:	7003           	moveq #3,%d0                                
      _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout );
    }                                                                 
                                                                      
    return CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_WAIT;                
  #endif                                                              
}                                                                     
   50694:	4cee 0c1c ffec 	moveml %fp@(-20),%d2-%d4/%a2-%a3            
   5069a:	4e5e           	unlk %fp                                    
   5069c:	4e75           	rts                                         
{                                                                     
  CORE_message_queue_Buffer_control   *the_message;                   
  Thread_Control                      *the_thread;                    
                                                                      
  if ( size > the_message_queue->maximum_message_size ) {             
    return CORE_MESSAGE_QUEUE_STATUS_INVALID_SIZE;                    
   5069e:	7001           	moveq #1,%d0                                
      _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout );
    }                                                                 
                                                                      
    return CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_WAIT;                
  #endif                                                              
}                                                                     
   506a0:	4cee 0c1c ffec 	moveml %fp@(-20),%d2-%d4/%a2-%a3            
   506a6:	4e5e           	unlk %fp                                    
   506a8:	4e75           	rts                                         
                                                                      
  /*                                                                  
   *  Is there a thread currently waiting on this message queue?      
   */                                                                 
  if ( the_message_queue->number_of_pending_messages == 0 ) {         
    the_thread = _Thread_queue_Dequeue( &the_message_queue->Wait_queue );
   506aa:	2f0a           	movel %a2,%sp@-                             
   506ac:	4eb9 0005 26c0 	jsr 526c0 <_Thread_queue_Dequeue>           
    if ( the_thread ) {                                               
   506b2:	588f           	addql #4,%sp                                
                                                                      
  /*                                                                  
   *  Is there a thread currently waiting on this message queue?      
   */                                                                 
  if ( the_message_queue->number_of_pending_messages == 0 ) {         
    the_thread = _Thread_queue_Dequeue( &the_message_queue->Wait_queue );
   506b4:	2640           	moveal %d0,%a3                              
    if ( the_thread ) {                                               
   506b6:	4a80           	tstl %d0                                    
   506b8:	6700 00ce      	beqw 50788 <_CORE_message_queue_Submit+0x130>
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
   506bc:	2f02           	movel %d2,%sp@-                             
   506be:	2f2e 000c      	movel %fp@(12),%sp@-                        
   506c2:	2f2b 002c      	movel %a3@(44),%sp@-                        
   506c6:	4eb9 0005 8ad4 	jsr 58ad4 <memcpy>                          
      _CORE_message_queue_Copy_buffer(                                
        buffer,                                                       
        the_thread->Wait.return_argument_second.mutable_object,       
        size                                                          
      );                                                              
      *(size_t *) the_thread->Wait.return_argument = size;            
   506cc:	206b 0028      	moveal %a3@(40),%a0                         
                                                                      
      #if defined(RTEMS_MULTIPROCESSING)                              
        if ( !_Objects_Is_local_id( the_thread->Object.id ) )         
          (*api_message_queue_mp_support) ( the_thread, id );         
      #endif                                                          
      return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                    
   506d0:	4fef 000c      	lea %sp@(12),%sp                            
   506d4:	4280           	clrl %d0                                    
      _CORE_message_queue_Copy_buffer(                                
        buffer,                                                       
        the_thread->Wait.return_argument_second.mutable_object,       
        size                                                          
      );                                                              
      *(size_t *) the_thread->Wait.return_argument = size;            
   506d6:	2082           	movel %d2,%a0@                              
      the_thread->Wait.count = (uint32_t) submit_type;                
   506d8:	2744 0024      	movel %d4,%a3@(36)                          
      _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout );
    }                                                                 
                                                                      
    return CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_WAIT;                
  #endif                                                              
}                                                                     
   506dc:	4cee 0c1c ffec 	moveml %fp@(-20),%d2-%d4/%a2-%a3            
   506e2:	4e5e           	unlk %fp                                    
   506e4:	4e75           	rts                                         
     *  Thus the unusual choice to open a new scope and declare       
     *  it as a variable.  Doing this emphasizes how dangerous it     
     *  would be to use this variable prior to here.                  
     */                                                               
    {                                                                 
      Thread_Control  *executing = _Thread_Executing;                 
   506e6:	2079 0006 b08a 	moveal 6b08a <_Per_CPU_Information+0xc>,%a0 
      ISR_Level        level;                                         
                                                                      
      _ISR_Disable( level );                                          
   506ec:	203c 0000 0700 	movel #1792,%d0                             
   506f2:	40c1           	movew %sr,%d1                               
   506f4:	8081           	orl %d1,%d0                                 
   506f6:	46c0           	movew %d0,%sr                               
   506f8:	7001           	moveq #1,%d0                                
   506fa:	2540 0030      	movel %d0,%a2@(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;
   506fe:	202e 000c      	movel %fp@(12),%d0                          
      ISR_Level        level;                                         
                                                                      
      _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;                                        
   50702:	216e 0014 0020 	movel %fp@(20),%a0@(32)                     
      Thread_Control  *executing = _Thread_Executing;                 
      ISR_Level        level;                                         
                                                                      
      _ISR_Disable( level );                                          
      _Thread_queue_Enter_critical_section( &the_message_queue->Wait_queue );
      executing->Wait.queue = &the_message_queue->Wait_queue;         
   50708:	214a 0044      	movel %a2,%a0@(68)                          
      executing->Wait.id = id;                                        
      executing->Wait.return_argument_second.immutable_object = buffer;
   5070c:	2140 002c      	movel %d0,%a0@(44)                          
      executing->Wait.option = (uint32_t) size;                       
   50710:	2142 0030      	movel %d2,%a0@(48)                          
      executing->Wait.count = submit_type;                            
   50714:	2144 0024      	movel %d4,%a0@(36)                          
      _ISR_Enable( level );                                           
   50718:	46c1           	movew %d1,%sr                               
                                                                      
      _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout );
   5071a:	4879 0005 2bfc 	pea 52bfc <_Thread_queue_Timeout>           
   50720:	2f2e 0024      	movel %fp@(36),%sp@-                        
   50724:	2f0a           	movel %a2,%sp@-                             
   50726:	4eb9 0005 2838 	jsr 52838 <_Thread_queue_Enqueue_with_handler>
    }                                                                 
                                                                      
    return CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_WAIT;                
   5072c:	4fef 000c      	lea %sp@(12),%sp                            
   50730:	7007           	moveq #7,%d0                                
  #endif                                                              
}                                                                     
   50732:	4cee 0c1c ffec 	moveml %fp@(-20),%d2-%d4/%a2-%a3            
   50738:	4e5e           	unlk %fp                                    
   5073a:	4e75           	rts                                         
_CORE_message_queue_Allocate_message_buffer (                         
    CORE_message_queue_Control *the_message_queue                     
)                                                                     
{                                                                     
   return (CORE_message_queue_Buffer_control *)                       
     _Chain_Get( &the_message_queue->Inactive_messages );             
   5073c:	486a 0068      	pea %a2@(104)                               
   50740:	4eb9 0005 03f4 	jsr 503f4 <_Chain_Get>                      
   50746:	2640           	moveal %d0,%a3                              
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
   50748:	2f02           	movel %d2,%sp@-                             
   5074a:	2f2e 000c      	movel %fp@(12),%sp@-                        
   5074e:	486b 0010      	pea %a3@(16)                                
   50752:	4eb9 0005 8ad4 	jsr 58ad4 <memcpy>                          
    _CORE_message_queue_Copy_buffer(                                  
      buffer,                                                         
      the_message->Contents.buffer,                                   
      size                                                            
    );                                                                
    the_message->Contents.size = size;                                
   50758:	2742 000c      	movel %d2,%a3@(12)                          
  CORE_message_queue_Buffer_control *the_message,                     
  int                                priority                         
)                                                                     
{                                                                     
  #if defined(RTEMS_SCORE_COREMSG_ENABLE_MESSAGE_PRIORITY)            
    the_message->priority = priority;                                 
   5075c:	2744 0008      	movel %d4,%a3@(8)                           
    _CORE_message_queue_Set_message_priority( the_message, submit_type );
                                                                      
    _CORE_message_queue_Insert_message(                               
   50760:	2f04           	movel %d4,%sp@-                             
   50762:	2f0b           	movel %a3,%sp@-                             
   50764:	2f0a           	movel %a2,%sp@-                             
   50766:	4eb9 0005 5dd8 	jsr 55dd8 <_CORE_message_queue_Insert_message>
       the_message_queue,                                             
       the_message,                                                   
       submit_type                                                    
    );                                                                
    return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;                      
   5076c:	4fef 001c      	lea %sp@(28),%sp                            
   50770:	4280           	clrl %d0                                    
      _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout );
    }                                                                 
                                                                      
    return CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_WAIT;                
  #endif                                                              
}                                                                     
   50772:	4cee 0c1c ffec 	moveml %fp@(-20),%d2-%d4/%a2-%a3            
   50778:	4e5e           	unlk %fp                                    
   5077a:	4e75           	rts                                         
     *  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 ) {                                                    
      return CORE_MESSAGE_QUEUE_STATUS_TOO_MANY;                      
   5077c:	7002           	moveq #2,%d0                                
      _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout );
    }                                                                 
                                                                      
    return CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_WAIT;                
  #endif                                                              
}                                                                     
   5077e:	4cee 0c1c ffec 	moveml %fp@(-20),%d2-%d4/%a2-%a3            
   50784:	4e5e           	unlk %fp                                    
   50786:	4e75           	rts                                         
  /*                                                                  
   *  Is there a thread currently waiting on this message queue?      
   */                                                                 
  if ( the_message_queue->number_of_pending_messages == 0 ) {         
    the_thread = _Thread_queue_Dequeue( &the_message_queue->Wait_queue );
    if ( the_thread ) {                                               
   50788:	202a 0048      	movel %a2@(72),%d0                          
                                                                      
  /*                                                                  
   *  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 <                
   5078c:	b0aa 0044      	cmpl %a2@(68),%d0                           
   50790:	6400 fef2      	bccw 50684 <_CORE_message_queue_Submit+0x2c>
   50794:	60a6           	bras 5073c <_CORE_message_queue_Submit+0xe4>
	...                                                                  
                                                                      

00047400 <_CORE_mutex_Seize>: Objects_Id _id, bool _wait, Watchdog_Interval _timeout, ISR_Level _level ) {
   47400:	4e56 0000      	linkw %fp,#0                                
  _CORE_mutex_Seize_body( _the_mutex, _id, _wait, _timeout, _level ); 
   47404:	2039 0006 0c68 	movel 60c68 <_Thread_Dispatch_disable_level>,%d0
  Objects_Id           _id,                                           
  bool                 _wait,                                         
  Watchdog_Interval    _timeout,                                      
  ISR_Level            _level                                         
)                                                                     
{                                                                     
   4740a:	2f0a           	movel %a2,%sp@-                             
   4740c:	246e 0008      	moveal %fp@(8),%a2                          
   47410:	2f02           	movel %d2,%sp@-                             
   47412:	142e 0013      	moveb %fp@(19),%d2                          
  _CORE_mutex_Seize_body( _the_mutex, _id, _wait, _timeout, _level ); 
   47416:	4a80           	tstl %d0                                    
   47418:	6704           	beqs 4741e <_CORE_mutex_Seize+0x1e>         
   4741a:	4a02           	tstb %d2                                    
   4741c:	6634           	bnes 47452 <_CORE_mutex_Seize+0x52>         <== ALWAYS TAKEN
   4741e:	486e 0018      	pea %fp@(24)                                
   47422:	2f0a           	movel %a2,%sp@-                             
   47424:	4eb9 0004 c81c 	jsr 4c81c <_CORE_mutex_Seize_interrupt_trylock>
   4742a:	508f           	addql #8,%sp                                
   4742c:	4a80           	tstl %d0                                    
   4742e:	6716           	beqs 47446 <_CORE_mutex_Seize+0x46>         
   47430:	4a02           	tstb %d2                                    
   47432:	6636           	bnes 4746a <_CORE_mutex_Seize+0x6a>         
   47434:	202e 0018      	movel %fp@(24),%d0                          
   47438:	46c0           	movew %d0,%sr                               
   4743a:	2079 0006 10d2 	moveal 610d2 <_Per_CPU_Information+0xc>,%a0 
   47440:	7001           	moveq #1,%d0                                
   47442:	2140 0034      	movel %d0,%a0@(52)                          
}                                                                     
   47446:	242e fff8      	movel %fp@(-8),%d2                          
   4744a:	246e fffc      	moveal %fp@(-4),%a2                         
   4744e:	4e5e           	unlk %fp                                    
   47450:	4e75           	rts                                         
  bool                 _wait,                                         
  Watchdog_Interval    _timeout,                                      
  ISR_Level            _level                                         
)                                                                     
{                                                                     
  _CORE_mutex_Seize_body( _the_mutex, _id, _wait, _timeout, _level ); 
   47452:	7001           	moveq #1,%d0                                
   47454:	b0b9 0006 0db4 	cmpl 60db4 <_System_state_Current>,%d0      
   4745a:	64c2           	bccs 4741e <_CORE_mutex_Seize+0x1e>         
   4745c:	4878 0012      	pea 12 <INVALID_OPERATION+0x2>              
   47460:	42a7           	clrl %sp@-                                  
   47462:	42a7           	clrl %sp@-                                  
   47464:	4eb9 0004 7b1c 	jsr 47b1c <_Internal_error_Occurred>        
                                                                      
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;
   4746a:	7001           	moveq #1,%d0                                
   4746c:	2079 0006 10d2 	moveal 610d2 <_Per_CPU_Information+0xc>,%a0 
   47472:	2540 0030      	movel %d0,%a2@(48)                          
   47476:	2039 0006 0c68 	movel 60c68 <_Thread_Dispatch_disable_level>,%d0
   4747c:	5280           	addql #1,%d0                                
   4747e:	216e 000c 0020 	movel %fp@(12),%a0@(32)                     
   47484:	214a 0044      	movel %a2,%a0@(68)                          
   47488:	23c0 0006 0c68 	movel %d0,60c68 <_Thread_Dispatch_disable_level>
   4748e:	202e 0018      	movel %fp@(24),%d0                          
   47492:	46c0           	movew %d0,%sr                               
   47494:	2f2e 0014      	movel %fp@(20),%sp@-                        
   47498:	2f0a           	movel %a2,%sp@-                             
   4749a:	4eb9 0004 7374 	jsr 47374 <_CORE_mutex_Seize_interrupt_blocking>
}                                                                     
   474a0:	242e fff8      	movel %fp@(-8),%d2                          
  bool                 _wait,                                         
  Watchdog_Interval    _timeout,                                      
  ISR_Level            _level                                         
)                                                                     
{                                                                     
  _CORE_mutex_Seize_body( _the_mutex, _id, _wait, _timeout, _level ); 
   474a4:	508f           	addql #8,%sp                                
}                                                                     
   474a6:	246e fffc      	moveal %fp@(-4),%a2                         
   474aa:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00047604 <_CORE_semaphore_Surrender>: CORE_semaphore_Status _CORE_semaphore_Surrender( CORE_semaphore_Control *the_semaphore, Objects_Id id, CORE_semaphore_API_mp_support_callout api_semaphore_mp_support ) {
   47604:	4e56 0000      	linkw %fp,#0                                
   47608:	2f0a           	movel %a2,%sp@-                             
   4760a:	246e 0008      	moveal %fp@(8),%a2                          
  ISR_Level       level;                                              
  CORE_semaphore_Status status;                                       
                                                                      
  status = CORE_SEMAPHORE_STATUS_SUCCESSFUL;                          
                                                                      
  if ( (the_thread = _Thread_queue_Dequeue(&the_semaphore->Wait_queue)) ) {
   4760e:	2f0a           	movel %a2,%sp@-                             
   47610:	4eb9 0004 9118 	jsr 49118 <_Thread_queue_Dequeue>           
   47616:	588f           	addql #4,%sp                                
   47618:	4a80           	tstl %d0                                    
   4761a:	670a           	beqs 47626 <_CORE_semaphore_Surrender+0x22> 
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
    _ISR_Enable( level );                                             
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
   4761c:	246e fffc      	moveal %fp@(-4),%a2                         
{                                                                     
  Thread_Control *the_thread;                                         
  ISR_Level       level;                                              
  CORE_semaphore_Status status;                                       
                                                                      
  status = CORE_SEMAPHORE_STATUS_SUCCESSFUL;                          
   47620:	4280           	clrl %d0                                    
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
    _ISR_Enable( level );                                             
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
   47622:	4e5e           	unlk %fp                                    
   47624:	4e75           	rts                                         
    if ( !_Objects_Is_local_id( the_thread->Object.id ) )             
      (*api_semaphore_mp_support) ( the_thread, id );                 
#endif                                                                
                                                                      
  } else {                                                            
    _ISR_Disable( level );                                            
   47626:	303c 0700      	movew #1792,%d0                             
   4762a:	40c1           	movew %sr,%d1                               
   4762c:	8081           	orl %d1,%d0                                 
   4762e:	46c0           	movew %d0,%sr                               
      if ( the_semaphore->count < the_semaphore->Attributes.maximum_count )
   47630:	202a 0048      	movel %a2@(72),%d0                          
   47634:	b0aa 0040      	cmpl %a2@(64),%d0                           
   47638:	6412           	bccs 4764c <_CORE_semaphore_Surrender+0x48> <== NEVER TAKEN
        the_semaphore->count += 1;                                    
   4763a:	5280           	addql #1,%d0                                
   4763c:	2540 0048      	movel %d0,%a2@(72)                          
{                                                                     
  Thread_Control *the_thread;                                         
  ISR_Level       level;                                              
  CORE_semaphore_Status status;                                       
                                                                      
  status = CORE_SEMAPHORE_STATUS_SUCCESSFUL;                          
   47640:	4280           	clrl %d0                                    
    _ISR_Disable( level );                                            
      if ( the_semaphore->count < the_semaphore->Attributes.maximum_count )
        the_semaphore->count += 1;                                    
      else                                                            
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
    _ISR_Enable( level );                                             
   47642:	46c1           	movew %d1,%sr                               
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
   47644:	246e fffc      	moveal %fp@(-4),%a2                         
   47648:	4e5e           	unlk %fp                                    
   4764a:	4e75           	rts                                         
  } else {                                                            
    _ISR_Disable( level );                                            
      if ( the_semaphore->count < the_semaphore->Attributes.maximum_count )
        the_semaphore->count += 1;                                    
      else                                                            
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
   4764c:	7004           	moveq #4,%d0                                <== NOT EXECUTED
    _ISR_Enable( level );                                             
   4764e:	46c1           	movew %d1,%sr                               <== NOT EXECUTED
   47650:	60f2           	bras 47644 <_CORE_semaphore_Surrender+0x40> <== NOT EXECUTED
	...                                                                  
                                                                      

0004c7a8 <_Chain_Initialize>: Chain_Control *the_chain, void *starting_address, size_t number_nodes, size_t node_size ) {
   4c7a8:	4e56 ffec      	linkw %fp,#-20                              
   4c7ac:	202e 0010      	movel %fp@(16),%d0                          
   4c7b0:	48d7 043c      	moveml %d2-%d5/%a2,%sp@                     
   4c7b4:	246e 0008      	moveal %fp@(8),%a2                          
  size_t count = number_nodes;                                        
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
   4c7b8:	280a           	movel %a2,%d4                               
   4c7ba:	5884           	addql #4,%d4                                
  Chain_Control *the_chain,                                           
  void           *starting_address,                                   
  size_t         number_nodes,                                        
  size_t         node_size                                            
)                                                                     
{                                                                     
   4c7bc:	262e 000c      	movel %fp@(12),%d3                          
   4c7c0:	242e 0014      	movel %fp@(20),%d2                          
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *current = head;                                         
  Chain_Node *next = starting_address;                                
                                                                      
  head->previous = NULL;                                              
   4c7c4:	42aa 0004      	clrl %a2@(4)                                
                                                                      
  while ( count-- ) {                                                 
   4c7c8:	4a80           	tstl %d0                                    
   4c7ca:	6740           	beqs 4c80c <_Chain_Initialize+0x64>         <== NEVER TAKEN
{                                                                     
  size_t count = number_nodes;                                        
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *current = head;                                         
  Chain_Node *next = starting_address;                                
   4c7cc:	2043           	moveal %d3,%a0                              
)                                                                     
{                                                                     
  size_t count = number_nodes;                                        
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *current = head;                                         
   4c7ce:	224a           	moveal %a2,%a1                              
  Chain_Node *next = starting_address;                                
                                                                      
  head->previous = NULL;                                              
                                                                      
  while ( count-- ) {                                                 
   4c7d0:	5380           	subql #1,%d0                                
 *    node_size        - size of node in bytes                        
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Chain_Initialize(                                               
   4c7d2:	2208           	movel %a0,%d1                               
  Chain_Node *current = head;                                         
  Chain_Node *next = starting_address;                                
                                                                      
  head->previous = NULL;                                              
                                                                      
  while ( count-- ) {                                                 
   4c7d4:	2a00           	movel %d0,%d5                               
 *    node_size        - size of node in bytes                        
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Chain_Initialize(                                               
   4c7d6:	d282           	addl %d2,%d1                                
  Chain_Node *next = starting_address;                                
                                                                      
  head->previous = NULL;                                              
                                                                      
  while ( count-- ) {                                                 
    current->next  = next;                                            
   4c7d8:	2288           	movel %a0,%a1@                              
    next->previous = current;                                         
   4c7da:	2149 0004      	movel %a1,%a0@(4)                           
  Chain_Node *current = head;                                         
  Chain_Node *next = starting_address;                                
                                                                      
  head->previous = NULL;                                              
                                                                      
  while ( count-- ) {                                                 
   4c7de:	4a80           	tstl %d0                                    
   4c7e0:	6714           	beqs 4c7f6 <_Chain_Initialize+0x4e>         
   4c7e2:	2248           	moveal %a0,%a1                              
    current->next  = next;                                            
    next->previous = current;                                         
    current        = next;                                            
    next           = (Chain_Node *)                                   
   4c7e4:	2041           	moveal %d1,%a0                              
 *    node_size        - size of node in bytes                        
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Chain_Initialize(                                               
   4c7e6:	2208           	movel %a0,%d1                               
   4c7e8:	5380           	subql #1,%d0                                
   4c7ea:	d282           	addl %d2,%d1                                
  Chain_Node *next = starting_address;                                
                                                                      
  head->previous = NULL;                                              
                                                                      
  while ( count-- ) {                                                 
    current->next  = next;                                            
   4c7ec:	2288           	movel %a0,%a1@                              
    next->previous = current;                                         
   4c7ee:	2149 0004      	movel %a1,%a0@(4)                           
  Chain_Node *current = head;                                         
  Chain_Node *next = starting_address;                                
                                                                      
  head->previous = NULL;                                              
                                                                      
  while ( count-- ) {                                                 
   4c7f2:	4a80           	tstl %d0                                    
   4c7f4:	66ec           	bnes 4c7e2 <_Chain_Initialize+0x3a>         
 *    node_size        - size of node in bytes                        
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Chain_Initialize(                                               
   4c7f6:	4c05 2800      	mulsl %d5,%d2                               
  Chain_Node *current = head;                                         
  Chain_Node *next = starting_address;                                
                                                                      
  head->previous = NULL;                                              
                                                                      
  while ( count-- ) {                                                 
   4c7fa:	2043           	moveal %d3,%a0                              
   4c7fc:	d1c2           	addal %d2,%a0                               
    next           = (Chain_Node *)                                   
                        _Addresses_Add_offset( (void *) next, node_size );
  }                                                                   
                                                                      
  current->next = tail;                                               
  tail->previous = current;                                           
   4c7fe:	2548 0008      	movel %a0,%a2@(8)                           
    current        = next;                                            
    next           = (Chain_Node *)                                   
                        _Addresses_Add_offset( (void *) next, node_size );
  }                                                                   
                                                                      
  current->next = tail;                                               
   4c802:	2084           	movel %d4,%a0@                              
  tail->previous = current;                                           
}                                                                     
   4c804:	4cd7 043c      	moveml %sp@,%d2-%d5/%a2                     
   4c808:	4e5e           	unlk %fp                                    
   4c80a:	4e75           	rts                                         
)                                                                     
{                                                                     
  size_t count = number_nodes;                                        
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *current = head;                                         
   4c80c:	204a           	moveal %a2,%a0                              <== NOT EXECUTED
    next           = (Chain_Node *)                                   
                        _Addresses_Add_offset( (void *) next, node_size );
  }                                                                   
                                                                      
  current->next = tail;                                               
  tail->previous = current;                                           
   4c80e:	2548 0008      	movel %a0,%a2@(8)                           <== NOT EXECUTED
    current        = next;                                            
    next           = (Chain_Node *)                                   
                        _Addresses_Add_offset( (void *) next, node_size );
  }                                                                   
                                                                      
  current->next = tail;                                               
   4c812:	2084           	movel %d4,%a0@                              <== NOT EXECUTED
  tail->previous = current;                                           
}                                                                     
   4c814:	4cd7 043c      	moveml %sp@,%d2-%d5/%a2                     <== NOT EXECUTED
   4c818:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000462b4 <_Event_Surrender>: api = the_thread->API_Extensions[ THREAD_API_RTEMS ]; option_set = (rtems_option) the_thread->Wait.option; _ISR_Disable( level );
   462b4:	203c 0000 0700 	movel #1792,%d0                             
 */                                                                   
                                                                      
void _Event_Surrender(                                                
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
   462ba:	4e56 ffec      	linkw %fp,#-20                              
   462be:	48d7 043c      	moveml %d2-%d5/%a2,%sp@                     
   462c2:	246e 0008      	moveal %fp@(8),%a2                          
  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 ];               
   462c6:	206a 00fe      	moveal %a2@(254),%a0                        
                                                                      
  option_set = (rtems_option) the_thread->Wait.option;                
   462ca:	282a 0030      	movel %a2@(48),%d4                          
                                                                      
  _ISR_Disable( level );                                              
   462ce:	40c3           	movew %sr,%d3                               
   462d0:	8083           	orl %d3,%d0                                 
   462d2:	46c0           	movew %d0,%sr                               
  pending_events  = api->pending_events;                              
  event_condition = (rtems_event_set) the_thread->Wait.count;         
   462d4:	222a 0024      	movel %a2@(36),%d1                          
RTEMS_INLINE_ROUTINE rtems_event_set _Event_sets_Get(                 
  rtems_event_set the_event_set,                                      
  rtems_event_set the_event_condition                                 
)                                                                     
{                                                                     
   return ( the_event_set & the_event_condition );                    
   462d8:	2001           	movel %d1,%d0                               
  api = the_thread->API_Extensions[ THREAD_API_RTEMS ];               
                                                                      
  option_set = (rtems_option) the_thread->Wait.option;                
                                                                      
  _ISR_Disable( level );                                              
  pending_events  = api->pending_events;                              
   462da:	2410           	movel %a0@,%d2                              
   462dc:	c082           	andl %d2,%d0                                
  seized_events = _Event_sets_Get( pending_events, event_condition ); 
                                                                      
  /*                                                                  
   *  No events were seized in this operation                         
   */                                                                 
  if ( _Event_sets_Is_empty( seized_events ) ) {                      
   462de:	6776           	beqs 46356 <_Event_Surrender+0xa2>          
                                                                      
  /*                                                                  
   *  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() &&                                       
   462e0:	4ab9 0006 10ce 	tstl 610ce <_Per_CPU_Information+0x8>       
   462e6:	670a           	beqs 462f2 <_Event_Surrender+0x3e>          
   462e8:	b5f9 0006 10d2 	cmpal 610d2 <_Per_CPU_Information+0xc>,%a2  
   462ee:	6700 00a0      	beqw 46390 <_Event_Surrender+0xdc>          
 */                                                                   
RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_event (              
  States_Control the_states                                           
)                                                                     
{                                                                     
   return (the_states & STATES_WAITING_FOR_EVENT);                    
   462f2:	2a2a 0010      	movel %a2@(16),%d5                          
   462f6:	0285 0000 0100 	andil #256,%d5                              
  }                                                                   
                                                                      
  /*                                                                  
   *  Otherwise, this is a normal send to another thread              
   */                                                                 
  if ( _States_Is_waiting_for_event( the_thread->current_state ) ) {  
   462fc:	674c           	beqs 4634a <_Event_Surrender+0x96>          
    if ( seized_events == event_condition || _Options_Is_any( option_set ) ) {
   462fe:	b081           	cmpl %d1,%d0                                
   46300:	6706           	beqs 46308 <_Event_Surrender+0x54>          
   46302:	0804 0001      	btst #1,%d4                                 
   46306:	6742           	beqs 4634a <_Event_Surrender+0x96>          <== NEVER TAKEN
RTEMS_INLINE_ROUTINE rtems_event_set _Event_sets_Clear(               
 rtems_event_set the_event_set,                                       
 rtems_event_set the_mask                                             
)                                                                     
{                                                                     
   return ( the_event_set & ~(the_mask) );                            
   46308:	2200           	movel %d0,%d1                               
   4630a:	4681           	notl %d1                                    
   4630c:	c282           	andl %d2,%d1                                
   4630e:	2081           	movel %d1,%a0@                              
      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;
   46310:	206a 0028      	moveal %a2@(40),%a0                         
   *  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 );
      the_thread->Wait.count = 0;                                     
   46314:	42aa 0024      	clrl %a2@(36)                               
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
   46318:	2080           	movel %d0,%a0@                              
                                                                      
      _ISR_Flash( level );                                            
   4631a:	203c 0000 0700 	movel #1792,%d0                             
   46320:	46c3           	movew %d3,%sr                               
   46322:	8083           	orl %d3,%d0                                 
   46324:	46c0           	movew %d0,%sr                               
                                                                      
      if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {             
   46326:	7a02           	moveq #2,%d5                                
   46328:	baaa 0050      	cmpl %a2@(80),%d5                           
   4632c:	6734           	beqs 46362 <_Event_Surrender+0xae>          
        _ISR_Enable( level );                                         
   4632e:	46c3           	movew %d3,%sr                               
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
   46330:	2f3c 1003 fff8 	movel #268697592,%sp@-                      
   46336:	2f0a           	movel %a2,%sp@-                             
   46338:	4eb9 0004 89bc 	jsr 489bc <_Thread_Clear_state>             
   4633e:	508f           	addql #8,%sp                                
      }                                                               
      return;                                                         
    }                                                                 
  }                                                                   
  _ISR_Enable( level );                                               
}                                                                     
   46340:	4cee 043c ffec 	moveml %fp@(-20),%d2-%d5/%a2                
   46346:	4e5e           	unlk %fp                                    
   46348:	4e75           	rts                                         
        _Thread_Unblock( the_thread );                                
      }                                                               
      return;                                                         
    }                                                                 
  }                                                                   
  _ISR_Enable( level );                                               
   4634a:	46c3           	movew %d3,%sr                               
}                                                                     
   4634c:	4cee 043c ffec 	moveml %fp@(-20),%d2-%d5/%a2                
   46352:	4e5e           	unlk %fp                                    
   46354:	4e75           	rts                                         
                                                                      
  /*                                                                  
   *  No events were seized in this operation                         
   */                                                                 
  if ( _Event_sets_Is_empty( seized_events ) ) {                      
    _ISR_Enable( level );                                             
   46356:	46c3           	movew %d3,%sr                               
      }                                                               
      return;                                                         
    }                                                                 
  }                                                                   
  _ISR_Enable( level );                                               
}                                                                     
   46358:	4cee 043c ffec 	moveml %fp@(-20),%d2-%d5/%a2                
   4635e:	4e5e           	unlk %fp                                    
   46360:	4e75           	rts                                         
RTEMS_INLINE_ROUTINE void _Watchdog_Deactivate(                       
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_REMOVE_IT;                           
   46362:	7003           	moveq #3,%d0                                
   46364:	2540 0050      	movel %d0,%a2@(80)                          
      if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {             
        _ISR_Enable( level );                                         
        _Thread_Unblock( the_thread );                                
      } else {                                                        
        _Watchdog_Deactivate( &the_thread->Timer );                   
        _ISR_Enable( level );                                         
   46368:	46c3           	movew %d3,%sr                               
        (void) _Watchdog_Remove( &the_thread->Timer );                
   4636a:	486a 0048      	pea %a2@(72)                                
   4636e:	4eb9 0004 9da0 	jsr 49da0 <_Watchdog_Remove>                
   46374:	2f3c 1003 fff8 	movel #268697592,%sp@-                      
   4637a:	2f0a           	movel %a2,%sp@-                             
   4637c:	4eb9 0004 89bc 	jsr 489bc <_Thread_Clear_state>             
   46382:	4fef 000c      	lea %sp@(12),%sp                            
      }                                                               
      return;                                                         
    }                                                                 
  }                                                                   
  _ISR_Enable( level );                                               
}                                                                     
   46386:	4cee 043c ffec 	moveml %fp@(-20),%d2-%d5/%a2                
   4638c:	4e5e           	unlk %fp                                    
   4638e:	4e75           	rts                                         
   *  If we are in an ISR and sending to the current thread, then     
   *  we have a critical section issue to deal with.                  
   */                                                                 
  if ( _ISR_Is_in_progress() &&                                       
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
   46390:	2279 0006 14a4 	moveal 614a4 <_Event_Sync_state>,%a1        
  /*                                                                  
   *  If we are in an ISR and sending to the current thread, then     
   *  we have a critical section issue to deal with.                  
   */                                                                 
  if ( _ISR_Is_in_progress() &&                                       
       _Thread_Is_executing( the_thread ) &&                          
   46396:	7a02           	moveq #2,%d5                                
   46398:	ba89           	cmpl %a1,%d5                                
   4639a:	6710           	beqs 463ac <_Event_Surrender+0xf8>          <== NEVER TAKEN
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
   4639c:	2279 0006 14a4 	moveal 614a4 <_Event_Sync_state>,%a1        
   *  If we are in an ISR and sending to the current thread, then     
   *  we have a critical section issue to deal with.                  
   */                                                                 
  if ( _ISR_Is_in_progress() &&                                       
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
   463a2:	1a3c 0001      	moveb #1,%d5                                
   463a6:	ba89           	cmpl %a1,%d5                                
   463a8:	6600 ff48      	bnew 462f2 <_Event_Surrender+0x3e>          
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
    if ( seized_events == event_condition || _Options_Is_any(option_set) ) {
   463ac:	b081           	cmpl %d1,%d0                                
   463ae:	6706           	beqs 463b6 <_Event_Surrender+0x102>         
   463b0:	0804 0001      	btst #1,%d4                                 
   463b4:	671a           	beqs 463d0 <_Event_Surrender+0x11c>         <== NEVER TAKEN
   463b6:	2200           	movel %d0,%d1                               
   463b8:	4681           	notl %d1                                    
   463ba:	c282           	andl %d2,%d1                                
   463bc:	2081           	movel %d1,%a0@                              
      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;
   463be:	206a 0028      	moveal %a2@(40),%a0                         
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
    if ( seized_events == event_condition || _Options_Is_any(option_set) ) {
      api->pending_events = _Event_sets_Clear( pending_events,seized_events );
      the_thread->Wait.count = 0;                                     
   463c2:	42aa 0024      	clrl %a2@(36)                               
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
   463c6:	2080           	movel %d0,%a0@                              
      _Event_Sync_state = THREAD_BLOCKING_OPERATION_SATISFIED;        
   463c8:	7003           	moveq #3,%d0                                
   463ca:	23c0 0006 14a4 	movel %d0,614a4 <_Event_Sync_state>         
    }                                                                 
    _ISR_Enable( level );                                             
   463d0:	46c3           	movew %d3,%sr                               
      }                                                               
      return;                                                         
    }                                                                 
  }                                                                   
  _ISR_Enable( level );                                               
}                                                                     
   463d2:	4cee 043c ffec 	moveml %fp@(-20),%d2-%d5/%a2                
   463d8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000463dc <_Event_Timeout>: void _Event_Timeout( Objects_Id id, void *ignored ) {
   463dc:	4e56 fffc      	linkw %fp,#-4                               
   463e0:	2f03           	movel %d3,%sp@-                             
   463e2:	2f02           	movel %d2,%sp@-                             
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
  ISR_Level          level;                                           
                                                                      
  the_thread = _Thread_Get( id, &location );                          
   463e4:	486e fffc      	pea %fp@(-4)                                
   463e8:	2f2e 0008      	movel %fp@(8),%sp@-                         
   463ec:	4eb9 0004 8db0 	jsr 48db0 <_Thread_Get>                     
  switch ( location ) {                                               
   463f2:	508f           	addql #8,%sp                                
   463f4:	4aae fffc      	tstl %fp@(-4)                               
   463f8:	6642           	bnes 4643c <_Event_Timeout+0x60>            <== NEVER TAKEN
       *                                                              
       *  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.                          
       */                                                             
      _ISR_Disable( level );                                          
   463fa:	223c 0000 0700 	movel #1792,%d1                             
   46400:	40c2           	movew %sr,%d2                               
   46402:	8282           	orl %d2,%d1                                 
   46404:	46c1           	movew %d1,%sr                               
            _ISR_Enable( level );                                     
            return;                                                   
          }                                                           
        #endif                                                        
                                                                      
        the_thread->Wait.count = 0;                                   
   46406:	2040           	moveal %d0,%a0                              
   46408:	42a8 0024      	clrl %a0@(36)                               
        if ( _Thread_Is_executing( the_thread ) ) {                   
   4640c:	b0b9 0006 10d2 	cmpl 610d2 <_Per_CPU_Information+0xc>,%d0   
   46412:	6734           	beqs 46448 <_Event_Timeout+0x6c>            
          if ( _Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )
            _Event_Sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;    
        }                                                             
                                                                      
        the_thread->Wait.return_code = RTEMS_TIMEOUT;                 
   46414:	7606           	moveq #6,%d3                                
   46416:	2040           	moveal %d0,%a0                              
   46418:	2143 0034      	movel %d3,%a0@(52)                          
      _ISR_Enable( level );                                           
   4641c:	46c2           	movew %d2,%sr                               
   4641e:	2f3c 1003 fff8 	movel #268697592,%sp@-                      
   46424:	2f00           	movel %d0,%sp@-                             
   46426:	4eb9 0004 89bc 	jsr 489bc <_Thread_Clear_state>             
      _Thread_Unblock( the_thread );                                  
      _Thread_Unnest_dispatch();                                      
      break;                                                          
   4642c:	508f           	addql #8,%sp                                
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
   4642e:	2039 0006 0c68 	movel 60c68 <_Thread_Dispatch_disable_level>,%d0
   46434:	5380           	subql #1,%d0                                
   46436:	23c0 0006 0c68 	movel %d0,60c68 <_Thread_Dispatch_disable_level>
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
}                                                                     
   4643c:	242e fff4      	movel %fp@(-12),%d2                         
   46440:	262e fff8      	movel %fp@(-8),%d3                          
   46444:	4e5e           	unlk %fp                                    
   46446:	4e75           	rts                                         
          }                                                           
        #endif                                                        
                                                                      
        the_thread->Wait.count = 0;                                   
        if ( _Thread_Is_executing( the_thread ) ) {                   
          if ( _Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )
   46448:	2239 0006 14a4 	movel 614a4 <_Event_Sync_state>,%d1         
   4644e:	7601           	moveq #1,%d3                                
   46450:	b681           	cmpl %d1,%d3                                
   46452:	66c0           	bnes 46414 <_Event_Timeout+0x38>            
            _Event_Sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;    
        }                                                             
                                                                      
        the_thread->Wait.return_code = RTEMS_TIMEOUT;                 
   46454:	7606           	moveq #6,%d3                                
   46456:	2040           	moveal %d0,%a0                              
        #endif                                                        
                                                                      
        the_thread->Wait.count = 0;                                   
        if ( _Thread_Is_executing( the_thread ) ) {                   
          if ( _Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )
            _Event_Sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;    
   46458:	7202           	moveq #2,%d1                                
        }                                                             
                                                                      
        the_thread->Wait.return_code = RTEMS_TIMEOUT;                 
   4645a:	2143 0034      	movel %d3,%a0@(52)                          
        #endif                                                        
                                                                      
        the_thread->Wait.count = 0;                                   
        if ( _Thread_Is_executing( the_thread ) ) {                   
          if ( _Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )
            _Event_Sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;    
   4645e:	23c1 0006 14a4 	movel %d1,614a4 <_Event_Sync_state>         
        }                                                             
                                                                      
        the_thread->Wait.return_code = RTEMS_TIMEOUT;                 
      _ISR_Enable( level );                                           
   46464:	46c2           	movew %d2,%sr                               
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
   46466:	2f3c 1003 fff8 	movel #268697592,%sp@-                      
   4646c:	2f00           	movel %d0,%sp@-                             
   4646e:	4eb9 0004 89bc 	jsr 489bc <_Thread_Clear_state>             
      _Thread_Unblock( the_thread );                                  
      _Thread_Unnest_dispatch();                                      
      break;                                                          
   46474:	508f           	addql #8,%sp                                
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
   46476:	2039 0006 0c68 	movel 60c68 <_Thread_Dispatch_disable_level>,%d0
   4647c:	5380           	subql #1,%d0                                
   4647e:	23c0 0006 0c68 	movel %d0,60c68 <_Thread_Dispatch_disable_level>
   46484:	60b6           	bras 4643c <_Event_Timeout+0x60>            
	...                                                                  
                                                                      

0004c9c4 <_Heap_Allocate_aligned_with_boundary>: Heap_Control *heap, uintptr_t alloc_size, uintptr_t alignment, uintptr_t boundary ) {
   4c9c4:	4e56 ffcc      	linkw %fp,#-52                              
   4c9c8:	226e 000c      	moveal %fp@(12),%a1                         
   4c9cc:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
   4c9d0:	246e 0008      	moveal %fp@(8),%a2                          
  Heap_Statistics *const stats = &heap->stats;                        
  uintptr_t const block_size_floor = alloc_size + HEAP_BLOCK_HEADER_SIZE
   4c9d4:	2e09           	movel %a1,%d7                               
   4c9d6:	5887           	addql #4,%d7                                
    - HEAP_ALLOC_BONUS;                                               
  uintptr_t const page_size = heap->page_size;                        
   4c9d8:	202a 0010      	movel %a2@(16),%d0                          
  Heap_Control *heap,                                                 
  uintptr_t alloc_size,                                               
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
   4c9dc:	222e 0010      	movel %fp@(16),%d1                          
   4c9e0:	282e 0014      	movel %fp@(20),%d4                          
  Heap_Statistics *const stats = &heap->stats;                        
  uintptr_t const block_size_floor = alloc_size + HEAP_BLOCK_HEADER_SIZE
    - HEAP_ALLOC_BONUS;                                               
  uintptr_t const page_size = heap->page_size;                        
   4c9e4:	2d40 fffc      	movel %d0,%fp@(-4)                          
  Heap_Block *block = NULL;                                           
  uintptr_t alloc_begin = 0;                                          
  uint32_t search_count = 0;                                          
  bool search_again = false;                                          
                                                                      
  if ( block_size_floor < alloc_size ) {                              
   4c9e8:	be89           	cmpl %a1,%d7                                
   4c9ea:	6500 014e      	bcsw 4cb3a <_Heap_Allocate_aligned_with_boundary+0x176>
    /* Integer overflow occured */                                    
    return NULL;                                                      
  }                                                                   
                                                                      
  if ( boundary != 0 ) {                                              
   4c9ee:	4a84           	tstl %d4                                    
   4c9f0:	6600 0144      	bnew 4cb36 <_Heap_Allocate_aligned_with_boundary+0x172>
  if ( stats->max_search < search_count ) {                           
    stats->max_search = search_count;                                 
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
}                                                                     
   4c9f4:	206a 0008      	moveal %a2@(8),%a0                          
                                                                      
  do {                                                                
    Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );  
                                                                      
    block = _Heap_Free_list_first( heap );                            
    while ( block != free_list_tail ) {                               
   4c9f8:	b1ca           	cmpal %a2,%a0                               
   4c9fa:	6700 013e      	beqw 4cb3a <_Heap_Allocate_aligned_with_boundary+0x176>
  uintptr_t const block_begin = (uintptr_t) block;                    
  uintptr_t const block_size = _Heap_Block_size( block );             
  uintptr_t const block_end = block_begin + block_size;               
                                                                      
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
   4c9fe:	242e fffc      	movel %fp@(-4),%d2                          
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
                                                                      
  uintptr_t alloc_end = block_end + HEAP_ALLOC_BONUS;                 
   4ca02:	7c04           	moveq #4,%d6                                
  uintptr_t const block_begin = (uintptr_t) block;                    
  uintptr_t const block_size = _Heap_Block_size( block );             
  uintptr_t const block_end = block_begin + block_size;               
                                                                      
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
   4ca04:	5e82           	addql #7,%d2                                
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
                                                                      
  uintptr_t alloc_end = block_end + HEAP_ALLOC_BONUS;                 
   4ca06:	9c89           	subl %a1,%d6                                
                                                                      
  do {                                                                
    Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );  
                                                                      
    block = _Heap_Free_list_first( heap );                            
    while ( block != free_list_tail ) {                               
   4ca08:	7601           	moveq #1,%d3                                
   4ca0a:	2647           	moveal %d7,%a3                              
  uintptr_t const block_begin = (uintptr_t) block;                    
  uintptr_t const block_size = _Heap_Block_size( block );             
  uintptr_t const block_end = block_begin + block_size;               
                                                                      
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
   4ca0c:	2d42 fff8      	movel %d2,%fp@(-8)                          
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
                                                                      
  uintptr_t alloc_end = block_end + HEAP_ALLOC_BONUS;                 
   4ca10:	2d46 fff4      	movel %d6,%fp@(-12)                         
      /*                                                              
       * The HEAP_PREV_BLOCK_USED flag is always set in the block size_and_flag
       * field.  Thus the value is about one unit larger than the real block
       * size.  The greater than operator takes this into account.    
       */                                                             
      if ( block->size_and_flag > block_size_floor ) {                
   4ca14:	2028 0004      	movel %a0@(4),%d0                           
   4ca18:	b08b           	cmpl %a3,%d0                                
   4ca1a:	630e           	blss 4ca2a <_Heap_Allocate_aligned_with_boundary+0x66>
        if ( alignment == 0 ) {                                       
   4ca1c:	4a81           	tstl %d1                                    
   4ca1e:	661c           	bnes 4ca3c <_Heap_Allocate_aligned_with_boundary+0x78>
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
   4ca20:	2408           	movel %a0,%d2                               
   4ca22:	5082           	addql #8,%d2                                
      }                                                               
                                                                      
      /* Statistics */                                                
      ++search_count;                                                 
                                                                      
      if ( alloc_begin != 0 ) {                                       
   4ca24:	4a82           	tstl %d2                                    
   4ca26:	6600 00de      	bnew 4cb06 <_Heap_Allocate_aligned_with_boundary+0x142>
        break;                                                        
      }                                                               
                                                                      
      block = block->next;                                            
   4ca2a:	2003           	movel %d3,%d0                               
   4ca2c:	5280           	addql #1,%d0                                
   4ca2e:	2068 0008      	moveal %a0@(8),%a0                          
                                                                      
  do {                                                                
    Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );  
                                                                      
    block = _Heap_Free_list_first( heap );                            
    while ( block != free_list_tail ) {                               
   4ca32:	b1ca           	cmpal %a2,%a0                               
   4ca34:	6700 0110      	beqw 4cb46 <_Heap_Allocate_aligned_with_boundary+0x182>
   4ca38:	2600           	movel %d0,%d3                               
   4ca3a:	60d8           	bras 4ca14 <_Heap_Allocate_aligned_with_boundary+0x50>
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
   4ca3c:	7efe           	moveq #-2,%d7                               
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
   4ca3e:	4be8 0008      	lea %a0@(8),%a5                             
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
   4ca42:	c087           	andl %d7,%d0                                
  if ( stats->max_search < search_count ) {                           
    stats->max_search = search_count;                                 
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
}                                                                     
   4ca44:	286a 0014      	moveal %a2@(20),%a4                         
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
                                                                      
  uintptr_t const block_begin = (uintptr_t) block;                    
  uintptr_t const block_size = _Heap_Block_size( block );             
  uintptr_t const block_end = block_begin + block_size;               
   4ca48:	d088           	addl %a0,%d0                                
                                                                      
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
   4ca4a:	2a2e fff8      	movel %fp@(-8),%d5                          
   4ca4e:	9a8c           	subl %a4,%d5                                
                                                                      
  uintptr_t alloc_end = block_end + HEAP_ALLOC_BONUS;                 
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
   4ca50:	242e fff4      	movel %fp@(-12),%d2                         
   4ca54:	d480           	addl %d0,%d2                                
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
   4ca56:	2c02           	movel %d2,%d6                               
  uintptr_t const block_begin = (uintptr_t) block;                    
  uintptr_t const block_size = _Heap_Block_size( block );             
  uintptr_t const block_end = block_begin + block_size;               
                                                                      
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
   4ca58:	d085           	addl %d5,%d0                                
   4ca5a:	4c41 6005      	remul %d1,%d5,%d6                           
   4ca5e:	9485           	subl %d5,%d2                                
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
                                                                      
  alloc_begin = _Heap_Align_down( alloc_begin, alignment );           
                                                                      
  /* Ensure that the we have a valid new block at the end */          
  if ( alloc_begin > alloc_begin_ceiling ) {                          
   4ca60:	b480           	cmpl %d0,%d2                                
   4ca62:	630a           	blss 4ca6e <_Heap_Allocate_aligned_with_boundary+0xaa>
   4ca64:	2a00           	movel %d0,%d5                               
   4ca66:	4c41 5002      	remul %d1,%d2,%d5                           
   4ca6a:	9082           	subl %d2,%d0                                
   4ca6c:	2400           	movel %d0,%d2                               
  }                                                                   
                                                                      
  alloc_end = alloc_begin + alloc_size;                               
                                                                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
   4ca6e:	4a84           	tstl %d4                                    
   4ca70:	676a           	beqs 4cadc <_Heap_Allocate_aligned_with_boundary+0x118>
  /* Ensure that the we have a valid new block at the end */          
  if ( alloc_begin > alloc_begin_ceiling ) {                          
    alloc_begin = _Heap_Align_down( alloc_begin_ceiling, alignment ); 
  }                                                                   
                                                                      
  alloc_end = alloc_begin + alloc_size;                               
   4ca72:	2002           	movel %d2,%d0                               
   4ca74:	d089           	addl %a1,%d0                                
   4ca76:	2c00           	movel %d0,%d6                               
   4ca78:	4c44 6005      	remul %d4,%d5,%d6                           
   4ca7c:	2c00           	movel %d0,%d6                               
   4ca7e:	9c85           	subl %d5,%d6                                
   4ca80:	2a06           	movel %d6,%d5                               
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
    uintptr_t const boundary_floor = alloc_begin_floor + alloc_size;  
    uintptr_t boundary_line = _Heap_Align_down( alloc_end, boundary );
                                                                      
    while ( alloc_begin < boundary_line && boundary_line < alloc_end ) {
   4ca82:	bc82           	cmpl %d2,%d6                                
   4ca84:	6356           	blss 4cadc <_Heap_Allocate_aligned_with_boundary+0x118>
   4ca86:	bc80           	cmpl %d0,%d6                                
   4ca88:	6452           	bccs 4cadc <_Heap_Allocate_aligned_with_boundary+0x118>
                                                                      
  alloc_end = alloc_begin + alloc_size;                               
                                                                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
    uintptr_t const boundary_floor = alloc_begin_floor + alloc_size;  
   4ca8a:	2c0d           	movel %a5,%d6                               
   4ca8c:	dc89           	addl %a1,%d6                                
    uintptr_t boundary_line = _Heap_Align_down( alloc_end, boundary );
                                                                      
    while ( alloc_begin < boundary_line && boundary_line < alloc_end ) {
      if ( boundary_line < boundary_floor ) {                         
   4ca8e:	ba86           	cmpl %d6,%d5                                
   4ca90:	6598           	bcss 4ca2a <_Heap_Allocate_aligned_with_boundary+0x66>
        return 0;                                                     
      }                                                               
      alloc_begin = boundary_line - alloc_size;                       
   4ca92:	2405           	movel %d5,%d2                               
   4ca94:	9489           	subl %a1,%d2                                
   4ca96:	2a02           	movel %d2,%d5                               
   4ca98:	4c41 5000      	remul %d1,%d0,%d5                           
   4ca9c:	9480           	subl %d0,%d2                                
      alloc_begin = _Heap_Align_down( alloc_begin, alignment );       
      alloc_end = alloc_begin + alloc_size;                           
   4ca9e:	2002           	movel %d2,%d0                               
   4caa0:	d089           	addl %a1,%d0                                
   4caa2:	2e00           	movel %d0,%d7                               
   4caa4:	4c44 7005      	remul %d4,%d5,%d7                           
   4caa8:	2e00           	movel %d0,%d7                               
   4caaa:	9e85           	subl %d5,%d7                                
   4caac:	2a07           	movel %d7,%d5                               
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
    uintptr_t const boundary_floor = alloc_begin_floor + alloc_size;  
    uintptr_t boundary_line = _Heap_Align_down( alloc_end, boundary );
                                                                      
    while ( alloc_begin < boundary_line && boundary_line < alloc_end ) {
   4caae:	be82           	cmpl %d2,%d7                                
   4cab0:	632a           	blss 4cadc <_Heap_Allocate_aligned_with_boundary+0x118>
   4cab2:	be80           	cmpl %d0,%d7                                
   4cab4:	6426           	bccs 4cadc <_Heap_Allocate_aligned_with_boundary+0x118>
      if ( boundary_line < boundary_floor ) {                         
   4cab6:	ba86           	cmpl %d6,%d5                                
   4cab8:	6500 ff70      	bcsw 4ca2a <_Heap_Allocate_aligned_with_boundary+0x66>
        return 0;                                                     
      }                                                               
      alloc_begin = boundary_line - alloc_size;                       
   4cabc:	2405           	movel %d5,%d2                               
   4cabe:	9489           	subl %a1,%d2                                
   4cac0:	2a02           	movel %d2,%d5                               
   4cac2:	4c41 5000      	remul %d1,%d0,%d5                           
   4cac6:	9480           	subl %d0,%d2                                
      alloc_begin = _Heap_Align_down( alloc_begin, alignment );       
      alloc_end = alloc_begin + alloc_size;                           
   4cac8:	2002           	movel %d2,%d0                               
   4caca:	d089           	addl %a1,%d0                                
   4cacc:	2e00           	movel %d0,%d7                               
   4cace:	4c44 7005      	remul %d4,%d5,%d7                           
   4cad2:	2e00           	movel %d0,%d7                               
   4cad4:	9e85           	subl %d5,%d7                                
   4cad6:	2a07           	movel %d7,%d5                               
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
    uintptr_t const boundary_floor = alloc_begin_floor + alloc_size;  
    uintptr_t boundary_line = _Heap_Align_down( alloc_end, boundary );
                                                                      
    while ( alloc_begin < boundary_line && boundary_line < alloc_end ) {
   4cad8:	be82           	cmpl %d2,%d7                                
   4cada:	62d6           	bhis 4cab2 <_Heap_Allocate_aligned_with_boundary+0xee><== ALWAYS TAKEN
      boundary_line = _Heap_Align_down( alloc_end, boundary );        
    }                                                                 
  }                                                                   
                                                                      
  /* Ensure that the we have a valid new block at the beginning */    
  if ( alloc_begin >= alloc_begin_floor ) {                           
   4cadc:	b48d           	cmpl %a5,%d2                                
   4cade:	6500 ff4a      	bcsw 4ca2a <_Heap_Allocate_aligned_with_boundary+0x66>
   4cae2:	2e2e fffc      	movel %fp@(-4),%d7                          
   4cae6:	2c02           	movel %d2,%d6                               
   4cae8:	70f8           	moveq #-8,%d0                               
   4caea:	9088           	subl %a0,%d0                                
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
   4caec:	d082           	addl %d2,%d0                                
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
   4caee:	4c47 6005      	remul %d7,%d5,%d6                           
    uintptr_t const alloc_block_begin =                               
      (uintptr_t) _Heap_Block_of_alloc_area( alloc_begin, page_size );
    uintptr_t const free_size = alloc_block_begin - block_begin;      
   4caf2:	9085           	subl %d5,%d0                                
                                                                      
    if ( free_size >= min_block_size || free_size == 0 ) {            
   4caf4:	b08c           	cmpl %a4,%d0                                
   4caf6:	6400 ff2c      	bccw 4ca24 <_Heap_Allocate_aligned_with_boundary+0x60>
   4cafa:	4a80           	tstl %d0                                    
   4cafc:	6600 ff2c      	bnew 4ca2a <_Heap_Allocate_aligned_with_boundary+0x66>
      }                                                               
                                                                      
      /* Statistics */                                                
      ++search_count;                                                 
                                                                      
      if ( alloc_begin != 0 ) {                                       
   4cb00:	4a82           	tstl %d2                                    
   4cb02:	6700 ff26      	beqw 4ca2a <_Heap_Allocate_aligned_with_boundary+0x66>
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    ++stats->allocs;                                                  
    stats->searches += search_count;                                  
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
   4cb06:	2f09           	movel %a1,%sp@-                             
    search_again = _Heap_Protection_free_delayed_blocks( heap, alloc_begin );
  } while ( search_again );                                           
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    ++stats->allocs;                                                  
   4cb08:	52aa 0048      	addql #1,%a2@(72)                           
    stats->searches += search_count;                                  
   4cb0c:	d7aa 004c      	addl %d3,%a2@(76)                           
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
   4cb10:	2f02           	movel %d2,%sp@-                             
   4cb12:	2f08           	movel %a0,%sp@-                             
   4cb14:	2f0a           	movel %a2,%sp@-                             
   4cb16:	4eb9 0004 7a06 	jsr 47a06 <_Heap_Block_allocate>            
   4cb1c:	4fef 0010      	lea %sp@(16),%sp                            
   4cb20:	2002           	movel %d2,%d0                               
      boundary                                                        
    );                                                                
  }                                                                   
                                                                      
  /* Statistics */                                                    
  if ( stats->max_search < search_count ) {                           
   4cb22:	b6aa 0044      	cmpl %a2@(68),%d3                           
   4cb26:	6304           	blss 4cb2c <_Heap_Allocate_aligned_with_boundary+0x168>
    stats->max_search = search_count;                                 
   4cb28:	2543 0044      	movel %d3,%a2@(68)                          
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
}                                                                     
   4cb2c:	4cee 3cfc ffcc 	moveml %fp@(-52),%d2-%d7/%a2-%a5            
   4cb32:	4e5e           	unlk %fp                                    
   4cb34:	4e75           	rts                                         
    /* Integer overflow occured */                                    
    return NULL;                                                      
  }                                                                   
                                                                      
  if ( boundary != 0 ) {                                              
    if ( boundary < alloc_size ) {                                    
   4cb36:	b889           	cmpl %a1,%d4                                
   4cb38:	6410           	bccs 4cb4a <_Heap_Allocate_aligned_with_boundary+0x186>
                                                                      
  do {                                                                
    Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );  
                                                                      
    block = _Heap_Free_list_first( heap );                            
    while ( block != free_list_tail ) {                               
   4cb3a:	4280           	clrl %d0                                    
  if ( stats->max_search < search_count ) {                           
    stats->max_search = search_count;                                 
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
}                                                                     
   4cb3c:	4cee 3cfc ffcc 	moveml %fp@(-52),%d2-%d7/%a2-%a5            
   4cb42:	4e5e           	unlk %fp                                    
   4cb44:	4e75           	rts                                         
                                                                      
  do {                                                                
    Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );  
                                                                      
    block = _Heap_Free_list_first( heap );                            
    while ( block != free_list_tail ) {                               
   4cb46:	4280           	clrl %d0                                    
   4cb48:	60d8           	bras 4cb22 <_Heap_Allocate_aligned_with_boundary+0x15e>
  if ( boundary != 0 ) {                                              
    if ( boundary < alloc_size ) {                                    
      return NULL;                                                    
    }                                                                 
                                                                      
    if ( alignment == 0 ) {                                           
   4cb4a:	4a81           	tstl %d1                                    
   4cb4c:	6600 fea6      	bnew 4c9f4 <_Heap_Allocate_aligned_with_boundary+0x30>
      alignment = page_size;                                          
   4cb50:	2200           	movel %d0,%d1                               
   4cb52:	6000 fea0      	braw 4c9f4 <_Heap_Allocate_aligned_with_boundary+0x30>
	...                                                                  
                                                                      

00047a06 <_Heap_Block_allocate>: - HEAP_BLOCK_HEADER_SIZE); } RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block ) { return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;
   47a06:	70fe           	moveq #-2,%d0                               
  Heap_Control *heap,                                                 
  Heap_Block *block,                                                  
  uintptr_t alloc_begin,                                              
  uintptr_t alloc_size                                                
)                                                                     
{                                                                     
   47a08:	4e56 ffe0      	linkw %fp,#-32                              
   47a0c:	206e 000c      	moveal %fp@(12),%a0                         
   47a10:	48d7 3c3c      	moveml %d2-%d5/%a2-%a5,%sp@                 
  }                                                                   
                                                                      
  _Heap_Protection_block_initialize( heap, block );                   
                                                                      
  return block;                                                       
}                                                                     
   47a14:	2428 0004      	movel %a0@(4),%d2                           
  block->size_and_flag = size | flag;                                 
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & HEAP_PREV_BLOCK_USED;                 
   47a18:	7801           	moveq #1,%d4                                
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
   47a1a:	c082           	andl %d2,%d0                                
  Heap_Control *heap,                                                 
  Heap_Block *block,                                                  
  uintptr_t alloc_begin,                                              
  uintptr_t alloc_size                                                
)                                                                     
{                                                                     
   47a1c:	222e 0010      	movel %fp@(16),%d1                          
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
   47a20:	49f0 0800      	lea %a0@(00000000,%d0:l),%a4                
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
   47a24:	2641           	moveal %d1,%a3                              
   47a26:	518b           	subql #8,%a3                                
  Heap_Statistics *const stats = &heap->stats;                        
                                                                      
  uintptr_t const alloc_area_begin = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_area_offset = alloc_begin - alloc_area_begin; 
   47a28:	2a0b           	movel %a3,%d5                               
   47a2a:	9a88           	subl %a0,%d5                                
  block->size_and_flag = size | flag;                                 
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & HEAP_PREV_BLOCK_USED;                 
   47a2c:	c8ac 0004      	andl %a4@(4),%d4                            
  Heap_Control *heap,                                                 
  Heap_Block *block,                                                  
  uintptr_t alloc_begin,                                              
  uintptr_t alloc_size                                                
)                                                                     
{                                                                     
   47a30:	246e 0008      	moveal %fp@(8),%a2                          
   47a34:	262e 0014      	movel %fp@(20),%d3                          
                                                                      
  Heap_Block *free_list_anchor = NULL;                                
                                                                      
  _HAssert( alloc_area_begin <= alloc_begin );                        
                                                                      
  if ( _Heap_Is_free( block ) ) {                                     
   47a38:	4a84           	tstl %d4                                    
   47a3a:	6600 0090      	bnew 47acc <_Heap_Block_allocate+0xc6>      
  }                                                                   
                                                                      
  _Heap_Protection_block_initialize( heap, block );                   
                                                                      
  return block;                                                       
}                                                                     
   47a3e:	2828 0008      	movel %a0@(8),%d4                           
{                                                                     
  Heap_Block *next = block->next;                                     
  Heap_Block *prev = block->prev;                                     
                                                                      
  prev->next = next;                                                  
  next->prev = prev;                                                  
   47a42:	2a44           	moveal %d4,%a5                              
  Heap_Block *free_list_anchor = NULL;                                
                                                                      
  _HAssert( alloc_area_begin <= alloc_begin );                        
                                                                      
  if ( _Heap_Is_free( block ) ) {                                     
    free_list_anchor = block->prev;                                   
   47a44:	2268 000c      	moveal %a0@(12),%a1                         
RTEMS_INLINE_ROUTINE void _Heap_Free_list_remove( Heap_Block *block ) 
{                                                                     
  Heap_Block *next = block->next;                                     
  Heap_Block *prev = block->prev;                                     
                                                                      
  prev->next = next;                                                  
   47a48:	2344 0008      	movel %d4,%a1@(8)                           
  next->prev = prev;                                                  
   47a4c:	2b49 000c      	movel %a1,%a5@(12)                          
    _Heap_Free_list_remove( block );                                  
                                                                      
    /* Statistics */                                                  
    --stats->free_blocks;                                             
    ++stats->used_blocks;                                             
    stats->free_size -= _Heap_Block_size( block );                    
   47a50:	91aa 0030      	subl %d0,%a2@(48)                           
    free_list_anchor = block->prev;                                   
                                                                      
    _Heap_Free_list_remove( block );                                  
                                                                      
    /* Statistics */                                                  
    --stats->free_blocks;                                             
   47a54:	53aa 0038      	subql #1,%a2@(56)                           
    ++stats->used_blocks;                                             
   47a58:	52aa 0040      	addql #1,%a2@(64)                           
    stats->free_size -= _Heap_Block_size( block );                    
  } else {                                                            
    free_list_anchor = _Heap_Free_list_head( heap );                  
  }                                                                   
                                                                      
  if ( alloc_area_offset < heap->page_size ) {                        
   47a5c:	202a 0010      	movel %a2@(16),%d0                          
   47a60:	b085           	cmpl %d5,%d0                                
   47a62:	6272           	bhis 47ad6 <_Heap_Block_allocate+0xd0>      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
   47a64:	4c40 1004      	remul %d0,%d4,%d1                           
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
   47a68:	97c4           	subal %d4,%a3                               
    _Heap_Block_of_alloc_area( alloc_begin, heap->page_size );        
  uintptr_t const new_block_begin = (uintptr_t) new_block;            
  uintptr_t const new_block_size = block_end - new_block_begin;       
                                                                      
  block_end = new_block_begin;                                        
  block_size = block_end - block_begin;                               
   47a6a:	200b           	movel %a3,%d0                               
   47a6c:	9088           	subl %a0,%d0                                
                                                                      
  _HAssert( block_size >= heap->min_block_size );                     
  _HAssert( new_block_size >= heap->min_block_size );                 
                                                                      
  /* Statistics */                                                    
  stats->free_size += block_size;                                     
   47a6e:	d1aa 0030      	addl %d0,%a2@(48)                           
  uintptr_t block_end = block_begin + block_size;                     
                                                                      
  Heap_Block *const new_block =                                       
    _Heap_Block_of_alloc_area( alloc_begin, heap->page_size );        
  uintptr_t const new_block_begin = (uintptr_t) new_block;            
  uintptr_t const new_block_size = block_end - new_block_begin;       
   47a72:	99cb           	subal %a3,%a4                               
  _HAssert( new_block_size >= heap->min_block_size );                 
                                                                      
  /* Statistics */                                                    
  stats->free_size += block_size;                                     
                                                                      
  if ( _Heap_Is_prev_used( block ) ) {                                
   47a74:	0802 0000      	btst #0,%d2                                 
   47a78:	6774           	beqs 47aee <_Heap_Block_allocate+0xe8>      
RTEMS_INLINE_ROUTINE void _Heap_Free_list_insert_after(               
  Heap_Block *block_before,                                           
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = block_before->next;                              
   47a7a:	2a69 0008      	moveal %a1@(8),%a5                          
                                                                      
    block = prev_block;                                               
    block_size += prev_block_size;                                    
  }                                                                   
                                                                      
  block->size_and_flag = block_size | HEAP_PREV_BLOCK_USED;           
   47a7e:	7401           	moveq #1,%d2                                
    _Heap_Free_list_insert_after( free_list_anchor, block );          
                                                                      
    free_list_anchor = block;                                         
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
   47a80:	2208           	movel %a0,%d1                               
                                                                      
  new_block->next = next;                                             
   47a82:	214d 0008      	movel %a5,%a0@(8)                           
                                                                      
    block = prev_block;                                               
    block_size += prev_block_size;                                    
  }                                                                   
                                                                      
  block->size_and_flag = block_size | HEAP_PREV_BLOCK_USED;           
   47a86:	8480           	orl %d0,%d2                                 
  new_block->prev = block_before;                                     
   47a88:	2149 000c      	movel %a1,%a0@(12)                          
  block_before->next = new_block;                                     
   47a8c:	2348 0008      	movel %a0,%a1@(8)                           
  next->prev = new_block;                                             
   47a90:	2b48 000c      	movel %a0,%a5@(12)                          
    _Heap_Free_list_insert_after( free_list_anchor, block );          
                                                                      
    free_list_anchor = block;                                         
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
   47a94:	52aa 0038      	addql #1,%a2@(56)                           
                                                                      
    block = prev_block;                                               
    block_size += prev_block_size;                                    
  }                                                                   
                                                                      
  block->size_and_flag = block_size | HEAP_PREV_BLOCK_USED;           
   47a98:	2142 0004      	movel %d2,%a0@(4)                           
                                                                      
  new_block->prev_size = block_size;                                  
   47a9c:	2680           	movel %d0,%a3@                              
  new_block->size_and_flag = new_block_size;                          
   47a9e:	274c 0004      	movel %a4,%a3@(4)                           
                                                                      
  _Heap_Block_split( heap, new_block, free_list_anchor, alloc_size ); 
   47aa2:	2f03           	movel %d3,%sp@-                             
   47aa4:	2f01           	movel %d1,%sp@-                             
   47aa6:	2f0b           	movel %a3,%sp@-                             
   47aa8:	2f0a           	movel %a2,%sp@-                             
   47aaa:	4eba fcb0      	jsr %pc@(4775c <_Heap_Block_split>)         
   47aae:	4fef 0010      	lea %sp@(16),%sp                            
      alloc_size                                                      
    );                                                                
  }                                                                   
                                                                      
  /* Statistics */                                                    
  if ( stats->min_free_size > stats->free_size ) {                    
   47ab2:	202a 0030      	movel %a2@(48),%d0                          
   47ab6:	b0aa 0034      	cmpl %a2@(52),%d0                           
   47aba:	6404           	bccs 47ac0 <_Heap_Block_allocate+0xba>      
    stats->min_free_size = stats->free_size;                          
   47abc:	2540 0034      	movel %d0,%a2@(52)                          
  }                                                                   
                                                                      
  _Heap_Protection_block_initialize( heap, block );                   
                                                                      
  return block;                                                       
}                                                                     
   47ac0:	200b           	movel %a3,%d0                               
   47ac2:	4cee 3c3c ffe0 	moveml %fp@(-32),%d2-%d5/%a2-%a5            
   47ac8:	4e5e           	unlk %fp                                    
   47aca:	4e75           	rts                                         
    stats->free_size -= _Heap_Block_size( block );                    
  } else {                                                            
    free_list_anchor = _Heap_Free_list_head( heap );                  
  }                                                                   
                                                                      
  if ( alloc_area_offset < heap->page_size ) {                        
   47acc:	202a 0010      	movel %a2@(16),%d0                          
    /* Statistics */                                                  
    --stats->free_blocks;                                             
    ++stats->used_blocks;                                             
    stats->free_size -= _Heap_Block_size( block );                    
  } else {                                                            
    free_list_anchor = _Heap_Free_list_head( heap );                  
   47ad0:	224a           	moveal %a2,%a1                              
  }                                                                   
                                                                      
  if ( alloc_area_offset < heap->page_size ) {                        
   47ad2:	b085           	cmpl %d5,%d0                                
   47ad4:	638e           	blss 47a64 <_Heap_Block_allocate+0x5e>      
  Heap_Block *block,                                                  
  Heap_Block *free_list_anchor,                                       
  uintptr_t alloc_size                                                
)                                                                     
{                                                                     
  _Heap_Block_split( heap, block, free_list_anchor, alloc_size );     
   47ad6:	2645           	moveal %d5,%a3                              
   47ad8:	4873 3800      	pea %a3@(00000000,%d3:l)                    
   47adc:	2648           	moveal %a0,%a3                              
   47ade:	2f09           	movel %a1,%sp@-                             
   47ae0:	2f08           	movel %a0,%sp@-                             
   47ae2:	2f0a           	movel %a2,%sp@-                             
   47ae4:	4eba fc76      	jsr %pc@(4775c <_Heap_Block_split>)         
   47ae8:	4fef 0010      	lea %sp@(16),%sp                            
   47aec:	60c4           	bras 47ab2 <_Heap_Block_allocate+0xac>      
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Prev_block(                    
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block - block->prev_size);       
   47aee:	91d0           	subal %a0@,%a0                              
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
   47af0:	74fe           	moveq #-2,%d2                               
  } else {                                                            
    Heap_Block *const prev_block = _Heap_Prev_block( block );         
    uintptr_t const prev_block_size = _Heap_Block_size( prev_block ); 
                                                                      
    block = prev_block;                                               
    block_size += prev_block_size;                                    
   47af2:	2209           	movel %a1,%d1                               
   47af4:	c4a8 0004      	andl %a0@(4),%d2                            
   47af8:	d082           	addl %d2,%d0                                
  }                                                                   
                                                                      
  block->size_and_flag = block_size | HEAP_PREV_BLOCK_USED;           
   47afa:	7401           	moveq #1,%d2                                
   47afc:	8480           	orl %d0,%d2                                 
                                                                      
  new_block->prev_size = block_size;                                  
   47afe:	2680           	movel %d0,%a3@                              
                                                                      
    block = prev_block;                                               
    block_size += prev_block_size;                                    
  }                                                                   
                                                                      
  block->size_and_flag = block_size | HEAP_PREV_BLOCK_USED;           
   47b00:	2142 0004      	movel %d2,%a0@(4)                           
                                                                      
  new_block->prev_size = block_size;                                  
  new_block->size_and_flag = new_block_size;                          
   47b04:	274c 0004      	movel %a4,%a3@(4)                           
                                                                      
  _Heap_Block_split( heap, new_block, free_list_anchor, alloc_size ); 
   47b08:	2f03           	movel %d3,%sp@-                             
   47b0a:	2f01           	movel %d1,%sp@-                             
   47b0c:	2f0b           	movel %a3,%sp@-                             
   47b0e:	2f0a           	movel %a2,%sp@-                             
   47b10:	4eba fc4a      	jsr %pc@(4775c <_Heap_Block_split>)         
   47b14:	4fef 0010      	lea %sp@(16),%sp                            
   47b18:	6098           	bras 47ab2 <_Heap_Block_allocate+0xac>      
	...                                                                  
                                                                      

0004ce80 <_Heap_Extend>: Heap_Control *heap, void *extend_area_begin_ptr, uintptr_t extend_area_size, uintptr_t *extended_size_ptr ) {
   4ce80:	4e56 ffcc      	linkw %fp,#-52                              
   4ce84:	202e 0010      	movel %fp@(16),%d0                          
   4ce88:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
   4ce8c:	246e 0008      	moveal %fp@(8),%a2                          
   4ce90:	242e 000c      	movel %fp@(12),%d2                          
  Heap_Block *extend_first_block = NULL;                              
  Heap_Block *extend_last_block = NULL;                               
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
  uintptr_t const extend_area_begin = (uintptr_t) extend_area_begin_ptr;
  uintptr_t const extend_area_end = extend_area_begin + extend_area_size;
   4ce94:	2602           	movel %d2,%d3                               
   4ce96:	d680           	addl %d0,%d3                                
  uintptr_t extend_area_size,                                         
  uintptr_t *extended_size_ptr                                        
)                                                                     
{                                                                     
  Heap_Statistics *const stats = &heap->stats;                        
  Heap_Block *const first_block = heap->first_block;                  
   4ce98:	2a2a 0020      	movel %a2@(32),%d5                          
  Heap_Block *merge_above_block = NULL;                               
  Heap_Block *link_below_block = NULL;                                
  Heap_Block *link_above_block = NULL;                                
  Heap_Block *extend_first_block = NULL;                              
  Heap_Block *extend_last_block = NULL;                               
  uintptr_t const page_size = heap->page_size;                        
   4ce9c:	282a 0010      	movel %a2@(16),%d4                          
  uintptr_t const min_block_size = heap->min_block_size;              
   4cea0:	222a 0014      	movel %a2@(20),%d1                          
  uintptr_t const extend_area_begin = (uintptr_t) extend_area_begin_ptr;
  uintptr_t const extend_area_end = extend_area_begin + extend_area_size;
  uintptr_t const free_size = stats->free_size;                       
   4cea4:	2c2a 0030      	movel %a2@(48),%d6                          
  Heap_Block *start_block = first_block;                              
  Heap_Block *merge_below_block = NULL;                               
  Heap_Block *merge_above_block = NULL;                               
  Heap_Block *link_below_block = NULL;                                
  Heap_Block *link_above_block = NULL;                                
  Heap_Block *extend_first_block = NULL;                              
   4cea8:	42ae fffc      	clrl %fp@(-4)                               
  Heap_Block *extend_last_block = NULL;                               
   4ceac:	42ae fff8      	clrl %fp@(-8)                               
  uintptr_t const free_size = stats->free_size;                       
  uintptr_t extend_first_block_size = 0;                              
  uintptr_t extended_size = 0;                                        
  bool extend_area_ok = false;                                        
                                                                      
  if ( extend_area_end < extend_area_begin ) {                        
   4ceb0:	b682           	cmpl %d2,%d3                                
   4ceb2:	640c           	bccs 4cec0 <_Heap_Extend+0x40>              
                                                                      
  if ( extended_size_ptr != NULL )                                    
    *extended_size_ptr = extended_size;                               
                                                                      
  return true;                                                        
}                                                                     
   4ceb4:	4cee 3cfc ffcc 	moveml %fp@(-52),%d2-%d7/%a2-%a5            
      _Heap_Block_of_alloc_area( sub_area_end, page_size );           
                                                                      
    if (                                                              
      sub_area_end > extend_area_begin && extend_area_end > sub_area_begin
    ) {                                                               
      return false;                                                   
   4ceba:	4200           	clrb %d0                                    
                                                                      
  if ( extended_size_ptr != NULL )                                    
    *extended_size_ptr = extended_size;                               
                                                                      
  return true;                                                        
}                                                                     
   4cebc:	4e5e           	unlk %fp                                    
   4cebe:	4e75           	rts                                         
                                                                      
  if ( extend_area_end < extend_area_begin ) {                        
    return false;                                                     
  }                                                                   
                                                                      
  extend_area_ok = _Heap_Get_first_and_last_block(                    
   4cec0:	486e fff8      	pea %fp@(-8)                                
   4cec4:	486e fffc      	pea %fp@(-4)                                
   4cec8:	2f01           	movel %d1,%sp@-                             
   4ceca:	2f04           	movel %d4,%sp@-                             
   4cecc:	2f00           	movel %d0,%sp@-                             
   4cece:	2f02           	movel %d2,%sp@-                             
   4ced0:	4eb9 0004 7b9c 	jsr 47b9c <_Heap_Get_first_and_last_block>  
    page_size,                                                        
    min_block_size,                                                   
    &extend_first_block,                                              
    &extend_last_block                                                
  );                                                                  
  if (!extend_area_ok ) {                                             
   4ced6:	4fef 0018      	lea %sp@(24),%sp                            
   4ceda:	4a00           	tstb %d0                                    
   4cedc:	67d6           	beqs 4ceb4 <_Heap_Extend+0x34>              
   4cede:	2045           	moveal %d5,%a0                              
   4cee0:	9bcd           	subal %a5,%a5                               
   4cee2:	97cb           	subal %a3,%a3                               
   4cee4:	99cc           	subal %a4,%a4                               
   4cee6:	42ae fff4      	clrl %fp@(-12)                              
    return false;                                                     
  }                                                                   
                                                                      
  do {                                                                
    uintptr_t const sub_area_begin = (start_block != first_block) ?   
      (uintptr_t) start_block : heap->area_begin;                     
   4ceea:	ba88           	cmpl %a0,%d5                                
   4ceec:	6700 014a      	beqw 4d038 <_Heap_Extend+0x1b8>             
   4cef0:	2208           	movel %a0,%d1                               
    uintptr_t const sub_area_end = start_block->prev_size;            
   4cef2:	2010           	movel %a0@,%d0                              
    Heap_Block *const end_block =                                     
      _Heap_Block_of_alloc_area( sub_area_end, page_size );           
                                                                      
    if (                                                              
   4cef4:	b082           	cmpl %d2,%d0                                
   4cef6:	6304           	blss 4cefc <_Heap_Extend+0x7c>              
      sub_area_end > extend_area_begin && extend_area_end > sub_area_begin
   4cef8:	b681           	cmpl %d1,%d3                                
   4cefa:	62b8           	bhis 4ceb4 <_Heap_Extend+0x34>              
    ) {                                                               
      return false;                                                   
    }                                                                 
                                                                      
    if ( extend_area_end == sub_area_begin ) {                        
   4cefc:	b681           	cmpl %d1,%d3                                
   4cefe:	6700 0132      	beqw 4d032 <_Heap_Extend+0x1b2>             
      merge_below_block = start_block;                                
    } else if ( extend_area_end < sub_area_end ) {                    
   4cf02:	b083           	cmpl %d3,%d0                                
   4cf04:	6304           	blss 4cf0a <_Heap_Extend+0x8a>              
   4cf06:	2d48 fff4      	movel %a0,%fp@(-12)                         
   4cf0a:	2e00           	movel %d0,%d7                               
   4cf0c:	2240           	moveal %d0,%a1                              
   4cf0e:	5189           	subql #8,%a1                                
   4cf10:	4c44 7001      	remul %d4,%d1,%d7                           
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
   4cf14:	93c1           	subal %d1,%a1                               
      link_below_block = start_block;                                 
    }                                                                 
                                                                      
    if ( sub_area_end == extend_area_begin ) {                        
   4cf16:	b480           	cmpl %d0,%d2                                
   4cf18:	6700 0100      	beqw 4d01a <_Heap_Extend+0x19a>             
      start_block->prev_size = extend_area_end;                       
                                                                      
      merge_above_block = end_block;                                  
    } else if ( sub_area_end < extend_area_begin ) {                  
   4cf1c:	b082           	cmpl %d2,%d0                                
   4cf1e:	6402           	bccs 4cf22 <_Heap_Extend+0xa2>              
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_of_alloc_area(           
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
   4cf20:	2a49           	moveal %a1,%a5                              
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
   4cf22:	70fe           	moveq #-2,%d0                               
   4cf24:	c0a9 0004      	andl %a1@(4),%d0                            
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
   4cf28:	41f1 0800      	lea %a1@(00000000,%d0:l),%a0                
      link_above_block = end_block;                                   
    }                                                                 
                                                                      
    start_block = _Heap_Block_at( end_block, _Heap_Block_size( end_block ) );
  } while ( start_block != first_block );                             
   4cf2c:	b1c5           	cmpal %d5,%a0                               
   4cf2e:	66ba           	bnes 4ceea <_Heap_Extend+0x6a>              
                                                                      
  if ( extend_area_begin < heap->area_begin ) {                       
   4cf30:	b4aa 0018      	cmpl %a2@(24),%d2                           
   4cf34:	6500 010a      	bcsw 4d040 <_Heap_Extend+0x1c0>             
    heap->area_begin = extend_area_begin;                             
  } else if ( heap->area_end < extend_area_end ) {                    
   4cf38:	b6aa 001c      	cmpl %a2@(28),%d3                           
   4cf3c:	6304           	blss 4cf42 <_Heap_Extend+0xc2>              
    heap->area_end = extend_area_end;                                 
   4cf3e:	2543 001c      	movel %d3,%a2@(28)                          
  }                                                                   
                                                                      
  extend_first_block_size =                                           
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
   4cf42:	226e fff8      	moveal %fp@(-8),%a1                         
    heap->area_begin = extend_area_begin;                             
  } else if ( heap->area_end < extend_area_end ) {                    
    heap->area_end = extend_area_end;                                 
  }                                                                   
                                                                      
  extend_first_block_size =                                           
   4cf46:	2009           	movel %a1,%d0                               
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
                                                                      
  extend_first_block->prev_size = extend_area_end;                    
  extend_first_block->size_and_flag =                                 
    extend_first_block_size | HEAP_PREV_BLOCK_USED;                   
   4cf48:	7201           	moveq #1,%d1                                
  } else if ( heap->area_end < extend_area_end ) {                    
    heap->area_end = extend_area_end;                                 
  }                                                                   
                                                                      
  extend_first_block_size =                                           
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
   4cf4a:	206e fffc      	moveal %fp@(-4),%a0                         
    heap->area_begin = extend_area_begin;                             
  } else if ( heap->area_end < extend_area_end ) {                    
    heap->area_end = extend_area_end;                                 
  }                                                                   
                                                                      
  extend_first_block_size =                                           
   4cf4e:	9088           	subl %a0,%d0                                
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
                                                                      
  extend_first_block->prev_size = extend_area_end;                    
  extend_first_block->size_and_flag =                                 
    extend_first_block_size | HEAP_PREV_BLOCK_USED;                   
   4cf50:	8280           	orl %d0,%d1                                 
  }                                                                   
                                                                      
  extend_first_block_size =                                           
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
                                                                      
  extend_first_block->prev_size = extend_area_end;                    
   4cf52:	2083           	movel %d3,%a0@                              
  extend_first_block->size_and_flag =                                 
    extend_first_block_size | HEAP_PREV_BLOCK_USED;                   
   4cf54:	2141 0004      	movel %d1,%a0@(4)                           
  _Heap_Protection_block_initialize( heap, extend_first_block );      
                                                                      
  extend_last_block->prev_size = extend_first_block_size;             
   4cf58:	2280           	movel %d0,%a1@                              
  extend_last_block->size_and_flag = 0;                               
   4cf5a:	42a9 0004      	clrl %a1@(4)                                
  _Heap_Protection_block_initialize( heap, extend_last_block );       
                                                                      
  if ( (uintptr_t) extend_first_block < (uintptr_t) heap->first_block ) {
   4cf5e:	b1ea 0020      	cmpal %a2@(32),%a0                          
   4cf62:	6400 0104      	bccw 4d068 <_Heap_Extend+0x1e8>             
    heap->first_block = extend_first_block;                           
   4cf66:	2548 0020      	movel %a0,%a2@(32)                          
  } else if ( (uintptr_t) extend_last_block > (uintptr_t) heap->last_block ) {
    heap->last_block = extend_last_block;                             
  }                                                                   
                                                                      
  if ( merge_below_block != NULL ) {                                  
   4cf6a:	4a8c           	tstl %a4                                    
   4cf6c:	6700 0148      	beqw 4d0b6 <_Heap_Extend+0x236>             
  Heap_Control *heap,                                                 
  uintptr_t extend_area_begin,                                        
  Heap_Block *first_block                                             
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
   4cf70:	202a 0010      	movel %a2@(16),%d0                          
  uintptr_t const new_first_block_alloc_begin =                       
    _Heap_Align_up( extend_area_begin + HEAP_BLOCK_HEADER_SIZE, page_size );
   4cf74:	5082           	addql #8,%d2                                
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_up(                        
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  uintptr_t remainder = value % alignment;                            
   4cf76:	2802           	movel %d2,%d4                               
   4cf78:	4c40 4001      	remul %d0,%d1,%d4                           
                                                                      
  if ( remainder != 0 ) {                                             
   4cf7c:	4a81           	tstl %d1                                    
   4cf7e:	6704           	beqs 4cf84 <_Heap_Extend+0x104>             
    return value - remainder + alignment;                             
   4cf80:	d480           	addl %d0,%d2                                
   4cf82:	9481           	subl %d1,%d2                                
  uintptr_t const new_first_block_begin =                             
   4cf84:	2042           	moveal %d2,%a0                              
   4cf86:	5188           	subql #8,%a0                                
    new_first_block_alloc_begin - HEAP_BLOCK_HEADER_SIZE;             
  uintptr_t const first_block_begin = (uintptr_t) first_block;        
  uintptr_t const new_first_block_size =                              
   4cf88:	200c           	movel %a4,%d0                               
   4cf8a:	9088           	subl %a0,%d0                                
    first_block_begin - new_first_block_begin;                        
  Heap_Block *const new_first_block = (Heap_Block *) new_first_block_begin;
                                                                      
  new_first_block->prev_size = first_block->prev_size;                
  new_first_block->size_and_flag = new_first_block_size | HEAP_PREV_BLOCK_USED;
   4cf8c:	7201           	moveq #1,%d1                                
   4cf8e:	8280           	orl %d0,%d1                                 
  uintptr_t const first_block_begin = (uintptr_t) first_block;        
  uintptr_t const new_first_block_size =                              
    first_block_begin - new_first_block_begin;                        
  Heap_Block *const new_first_block = (Heap_Block *) new_first_block_begin;
                                                                      
  new_first_block->prev_size = first_block->prev_size;                
   4cf90:	2094           	movel %a4@,%a0@                             
  new_first_block->size_and_flag = new_first_block_size | HEAP_PREV_BLOCK_USED;
   4cf92:	2141 0004      	movel %d1,%a0@(4)                           
                                                                      
  _Heap_Free_block( heap, new_first_block );                          
   4cf96:	2f08           	movel %a0,%sp@-                             
   4cf98:	2f0a           	movel %a2,%sp@-                             
   4cf9a:	4eba fec8      	jsr %pc@(4ce64 <_Heap_Free_block>)          
   4cf9e:	508f           	addql #8,%sp                                
      link_below_block,                                               
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
   4cfa0:	4a8b           	tstl %a3                                    
   4cfa2:	6700 00d4      	beqw 4d078 <_Heap_Extend+0x1f8>             
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const last_block_begin = (uintptr_t) last_block;          
  uintptr_t const last_block_new_size = _Heap_Align_down(             
    extend_area_end - last_block_begin - HEAP_BLOCK_HEADER_SIZE,      
   4cfa6:	5183           	subql #8,%d3                                
  uintptr_t extend_area_end                                           
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const last_block_begin = (uintptr_t) last_block;          
  uintptr_t const last_block_new_size = _Heap_Align_down(             
   4cfa8:	968b           	subl %a3,%d3                                
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
   4cfaa:	2203           	movel %d3,%d1                               
   4cfac:	4c6a 1000 0010 	remul %a2@(16),%d0,%d1                      
  Heap_Block *const new_last_block =                                  
    _Heap_Block_at( last_block, last_block_new_size );                
                                                                      
  new_last_block->size_and_flag =                                     
    (last_block->size_and_flag - last_block_new_size)                 
      | HEAP_PREV_BLOCK_USED;                                         
   4cfb2:	7201           	moveq #1,%d1                                
   4cfb4:	9680           	subl %d0,%d3                                
  );                                                                  
  Heap_Block *const new_last_block =                                  
    _Heap_Block_at( last_block, last_block_new_size );                
                                                                      
  new_last_block->size_and_flag =                                     
    (last_block->size_and_flag - last_block_new_size)                 
   4cfb6:	202b 0004      	movel %a3@(4),%d0                           
   4cfba:	9083           	subl %d3,%d0                                
      | HEAP_PREV_BLOCK_USED;                                         
   4cfbc:	8280           	orl %d0,%d1                                 
RTEMS_INLINE_ROUTINE void _Heap_Block_set_size(                       
  Heap_Block *block,                                                  
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
   4cfbe:	7001           	moveq #1,%d0                                
   4cfc0:	2781 3804      	movel %d1,%a3@(00000004,%d3:l)              
   4cfc4:	c0ab 0004      	andl %a3@(4),%d0                            
                                                                      
  block->size_and_flag = size | flag;                                 
   4cfc8:	8680           	orl %d0,%d3                                 
   4cfca:	2743 0004      	movel %d3,%a3@(4)                           
                                                                      
  _Heap_Block_set_size( last_block, last_block_new_size );            
                                                                      
  _Heap_Free_block( heap, last_block );                               
   4cfce:	2f0b           	movel %a3,%sp@-                             
   4cfd0:	2f0a           	movel %a2,%sp@-                             
   4cfd2:	4eba fe90      	jsr %pc@(4ce64 <_Heap_Free_block>)          
   4cfd6:	508f           	addql #8,%sp                                
      extend_first_block,                                             
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_below_block == NULL && merge_above_block == NULL ) {     
   4cfd8:	4a8c           	tstl %a4                                    
   4cfda:	6700 00c4      	beqw 4d0a0 <_Heap_Extend+0x220>             
    _Heap_Free_block( heap, extend_first_block );                     
  }                                                                   
                                                                      
  _Heap_Set_last_block_size( heap );                                  
                                                                      
  extended_size = stats->free_size - free_size;                       
   4cfde:	202a 0030      	movel %a2@(48),%d0                          
   4cfe2:	9086           	subl %d6,%d0                                
   4cfe4:	2c00           	movel %d0,%d6                               
RTEMS_INLINE_ROUTINE void _Heap_Block_set_size(                       
  Heap_Block *block,                                                  
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
   4cfe6:	7001           	moveq #1,%d0                                
                                                                      
  if ( extended_size_ptr != NULL )                                    
    *extended_size_ptr = extended_size;                               
                                                                      
  return true;                                                        
}                                                                     
   4cfe8:	206a 0024      	moveal %a2@(36),%a0                         
 * This feature will be used to terminate the scattered heap area list.  See
 * also _Heap_Extend().                                               
 */                                                                   
RTEMS_INLINE_ROUTINE void _Heap_Set_last_block_size( Heap_Control *heap )
{                                                                     
  _Heap_Block_set_size(                                               
   4cfec:	222a 0020      	movel %a2@(32),%d1                          
   4cff0:	9288           	subl %a0,%d1                                
RTEMS_INLINE_ROUTINE void _Heap_Block_set_size(                       
  Heap_Block *block,                                                  
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
   4cff2:	c0a8 0004      	andl %a0@(4),%d0                            
                                                                      
  block->size_and_flag = size | flag;                                 
   4cff6:	8280           	orl %d0,%d1                                 
   4cff8:	2141 0004      	movel %d1,%a0@(4)                           
  _Heap_Set_last_block_size( heap );                                  
                                                                      
  extended_size = stats->free_size - free_size;                       
                                                                      
  /* Statistics */                                                    
  stats->size += extended_size;                                       
   4cffc:	ddaa 002c      	addl %d6,%a2@(44)                           
                                                                      
  if ( extended_size_ptr != NULL )                                    
   4d000:	4aae 0014      	tstl %fp@(20)                               
   4d004:	6700 00ca      	beqw 4d0d0 <_Heap_Extend+0x250>             
    *extended_size_ptr = extended_size;                               
   4d008:	206e 0014      	moveal %fp@(20),%a0                         
   4d00c:	2086           	movel %d6,%a0@                              
                                                                      
  return true;                                                        
}                                                                     
   4d00e:	4cee 3cfc ffcc 	moveml %fp@(-52),%d2-%d7/%a2-%a5            
  stats->size += extended_size;                                       
                                                                      
  if ( extended_size_ptr != NULL )                                    
    *extended_size_ptr = extended_size;                               
                                                                      
  return true;                                                        
   4d014:	7001           	moveq #1,%d0                                
}                                                                     
   4d016:	4e5e           	unlk %fp                                    
   4d018:	4e75           	rts                                         
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
   4d01a:	70fe           	moveq #-2,%d0                               
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_of_alloc_area(           
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
   4d01c:	2649           	moveal %a1,%a3                              
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
   4d01e:	c0a9 0004      	andl %a1@(4),%d0                            
    } else if ( extend_area_end < sub_area_end ) {                    
      link_below_block = start_block;                                 
    }                                                                 
                                                                      
    if ( sub_area_end == extend_area_begin ) {                        
      start_block->prev_size = extend_area_end;                       
   4d022:	2083           	movel %d3,%a0@                              
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
   4d024:	41f1 0800      	lea %a1@(00000000,%d0:l),%a0                
    } else if ( sub_area_end < extend_area_begin ) {                  
      link_above_block = end_block;                                   
    }                                                                 
                                                                      
    start_block = _Heap_Block_at( end_block, _Heap_Block_size( end_block ) );
  } while ( start_block != first_block );                             
   4d028:	b1c5           	cmpal %d5,%a0                               
   4d02a:	6600 febe      	bnew 4ceea <_Heap_Extend+0x6a>              
   4d02e:	6000 ff00      	braw 4cf30 <_Heap_Extend+0xb0>              
      sub_area_end > extend_area_begin && extend_area_end > sub_area_begin
    ) {                                                               
      return false;                                                   
    }                                                                 
                                                                      
    if ( extend_area_end == sub_area_begin ) {                        
   4d032:	2848           	moveal %a0,%a4                              
   4d034:	6000 fed4      	braw 4cf0a <_Heap_Extend+0x8a>              
    return false;                                                     
  }                                                                   
                                                                      
  do {                                                                
    uintptr_t const sub_area_begin = (start_block != first_block) ?   
      (uintptr_t) start_block : heap->area_begin;                     
   4d038:	222a 0018      	movel %a2@(24),%d1                          
   4d03c:	6000 feb4      	braw 4cef2 <_Heap_Extend+0x72>              
  } else if ( heap->area_end < extend_area_end ) {                    
    heap->area_end = extend_area_end;                                 
  }                                                                   
                                                                      
  extend_first_block_size =                                           
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
   4d040:	226e fff8      	moveal %fp@(-8),%a1                         
    heap->area_begin = extend_area_begin;                             
  } else if ( heap->area_end < extend_area_end ) {                    
    heap->area_end = extend_area_end;                                 
  }                                                                   
                                                                      
  extend_first_block_size =                                           
   4d044:	2009           	movel %a1,%d0                               
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
                                                                      
  extend_first_block->prev_size = extend_area_end;                    
  extend_first_block->size_and_flag =                                 
    extend_first_block_size | HEAP_PREV_BLOCK_USED;                   
   4d046:	7201           	moveq #1,%d1                                
  } else if ( heap->area_end < extend_area_end ) {                    
    heap->area_end = extend_area_end;                                 
  }                                                                   
                                                                      
  extend_first_block_size =                                           
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
   4d048:	206e fffc      	moveal %fp@(-4),%a0                         
    heap->area_begin = extend_area_begin;                             
  } else if ( heap->area_end < extend_area_end ) {                    
    heap->area_end = extend_area_end;                                 
  }                                                                   
                                                                      
  extend_first_block_size =                                           
   4d04c:	9088           	subl %a0,%d0                                
                                                                      
    start_block = _Heap_Block_at( end_block, _Heap_Block_size( end_block ) );
  } while ( start_block != first_block );                             
                                                                      
  if ( extend_area_begin < heap->area_begin ) {                       
    heap->area_begin = extend_area_begin;                             
   4d04e:	2542 0018      	movel %d2,%a2@(24)                          
  extend_first_block_size =                                           
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
                                                                      
  extend_first_block->prev_size = extend_area_end;                    
  extend_first_block->size_and_flag =                                 
    extend_first_block_size | HEAP_PREV_BLOCK_USED;                   
   4d052:	8280           	orl %d0,%d1                                 
  }                                                                   
                                                                      
  extend_first_block_size =                                           
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
                                                                      
  extend_first_block->prev_size = extend_area_end;                    
   4d054:	2083           	movel %d3,%a0@                              
  extend_first_block->size_and_flag =                                 
    extend_first_block_size | HEAP_PREV_BLOCK_USED;                   
   4d056:	2141 0004      	movel %d1,%a0@(4)                           
  _Heap_Protection_block_initialize( heap, extend_first_block );      
                                                                      
  extend_last_block->prev_size = extend_first_block_size;             
   4d05a:	2280           	movel %d0,%a1@                              
  extend_last_block->size_and_flag = 0;                               
   4d05c:	42a9 0004      	clrl %a1@(4)                                
  _Heap_Protection_block_initialize( heap, extend_last_block );       
                                                                      
  if ( (uintptr_t) extend_first_block < (uintptr_t) heap->first_block ) {
   4d060:	b1ea 0020      	cmpal %a2@(32),%a0                          
   4d064:	6500 ff00      	bcsw 4cf66 <_Heap_Extend+0xe6>              
    heap->first_block = extend_first_block;                           
  } else if ( (uintptr_t) extend_last_block > (uintptr_t) heap->last_block ) {
   4d068:	b3ea 0024      	cmpal %a2@(36),%a1                          
   4d06c:	6300 fefc      	blsw 4cf6a <_Heap_Extend+0xea>              
    heap->last_block = extend_last_block;                             
   4d070:	2549 0024      	movel %a1,%a2@(36)                          
   4d074:	6000 fef4      	braw 4cf6a <_Heap_Extend+0xea>              
    );                                                                
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
    _Heap_Merge_above( heap, merge_above_block, extend_area_end );    
  } else if ( link_above_block != NULL ) {                            
   4d078:	4a8d           	tstl %a5                                    
   4d07a:	6700 ff5c      	beqw 4cfd8 <_Heap_Extend+0x158>             
RTEMS_INLINE_ROUTINE void _Heap_Block_set_size(                       
  Heap_Block *block,                                                  
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
   4d07e:	7001           	moveq #1,%d0                                
)                                                                     
{                                                                     
  uintptr_t const link_begin = (uintptr_t) link;                      
  uintptr_t const first_block_begin = (uintptr_t) first_block;        
                                                                      
  _Heap_Block_set_size( link, first_block_begin - link_begin );       
   4d080:	222e fffc      	movel %fp@(-4),%d1                          
   4d084:	928d           	subl %a5,%d1                                
   4d086:	c0ad 0004      	andl %a5@(4),%d0                            
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
    _Heap_Merge_above( heap, merge_above_block, extend_area_end );    
  } else if ( link_above_block != NULL ) {                            
    _Heap_Link_above(                                                 
   4d08a:	206e fff8      	moveal %fp@(-8),%a0                         
                                                                      
  block->size_and_flag = size | flag;                                 
   4d08e:	8280           	orl %d0,%d1                                 
  uintptr_t const link_begin = (uintptr_t) link;                      
  uintptr_t const first_block_begin = (uintptr_t) first_block;        
                                                                      
  _Heap_Block_set_size( link, first_block_begin - link_begin );       
                                                                      
  last_block->size_and_flag |= HEAP_PREV_BLOCK_USED;                  
   4d090:	7001           	moveq #1,%d0                                
   4d092:	2b41 0004      	movel %d1,%a5@(4)                           
   4d096:	81a8 0004      	orl %d0,%a0@(4)                             
      extend_first_block,                                             
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_below_block == NULL && merge_above_block == NULL ) {     
   4d09a:	4a8c           	tstl %a4                                    
   4d09c:	6600 ff40      	bnew 4cfde <_Heap_Extend+0x15e>             
   4d0a0:	4a8b           	tstl %a3                                    
   4d0a2:	6600 ff3a      	bnew 4cfde <_Heap_Extend+0x15e>             
    _Heap_Free_block( heap, extend_first_block );                     
   4d0a6:	2f2e fffc      	movel %fp@(-4),%sp@-                        
   4d0aa:	2f0a           	movel %a2,%sp@-                             
   4d0ac:	4eba fdb6      	jsr %pc@(4ce64 <_Heap_Free_block>)          
   4d0b0:	508f           	addql #8,%sp                                
   4d0b2:	6000 ff2a      	braw 4cfde <_Heap_Extend+0x15e>             
    heap->last_block = extend_last_block;                             
  }                                                                   
                                                                      
  if ( merge_below_block != NULL ) {                                  
    _Heap_Merge_below( heap, extend_area_begin, merge_below_block );  
  } else if ( link_below_block != NULL ) {                            
   4d0b6:	4aae fff4      	tstl %fp@(-12)                              
   4d0ba:	6700 fee4      	beqw 4cfa0 <_Heap_Extend+0x120>             
{                                                                     
  uintptr_t const last_block_begin = (uintptr_t) last_block;          
  uintptr_t const link_begin = (uintptr_t) link;                      
                                                                      
  last_block->size_and_flag =                                         
    (link_begin - last_block_begin) | HEAP_PREV_BLOCK_USED;           
   4d0be:	202e fff4      	movel %fp@(-12),%d0                         
   4d0c2:	7201           	moveq #1,%d1                                
   4d0c4:	9089           	subl %a1,%d0                                
   4d0c6:	8280           	orl %d0,%d1                                 
   4d0c8:	2341 0004      	movel %d1,%a1@(4)                           
   4d0cc:	6000 fed2      	braw 4cfa0 <_Heap_Extend+0x120>             
                                                                      
  if ( extended_size_ptr != NULL )                                    
    *extended_size_ptr = extended_size;                               
                                                                      
  return true;                                                        
}                                                                     
   4d0d0:	4cee 3cfc ffcc 	moveml %fp@(-52),%d2-%d7/%a2-%a5            <== NOT EXECUTED
  stats->size += extended_size;                                       
                                                                      
  if ( extended_size_ptr != NULL )                                    
    *extended_size_ptr = extended_size;                               
                                                                      
  return true;                                                        
   4d0d6:	7001           	moveq #1,%d0                                <== NOT EXECUTED
}                                                                     
   4d0d8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004cb58 <_Heap_Free>: return do_free; } #endif bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr ) {
   4cb58:	4e56 ffe8      	linkw %fp,#-24                              
   4cb5c:	206e 0008      	moveal %fp@(8),%a0                          
   4cb60:	48d7 0c3c      	moveml %d2-%d5/%a2-%a3,%sp@                 
   4cb64:	202e 000c      	movel %fp@(12),%d0                          
  /*                                                                  
   * If NULL return true so a free on NULL is considered a valid release. This
   * is a special case that could be handled by the in heap check how-ever that
   * would result in false being returned which is wrong.             
   */                                                                 
  if ( alloc_begin_ptr == NULL ) {                                    
   4cb68:	6700 00f2      	beqw 4cc5c <_Heap_Free+0x104>               
   4cb6c:	2240           	moveal %d0,%a1                              
   4cb6e:	5189           	subql #8,%a1                                
   4cb70:	4c68 0001 0010 	remul %a0@(16),%d1,%d0                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_block_in_heap(                     
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
   4cb76:	2028 0020      	movel %a0@(32),%d0                          
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
   4cb7a:	93c1           	subal %d1,%a1                               
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
   4cb7c:	b089           	cmpl %a1,%d0                                
   4cb7e:	6200 0098      	bhiw 4cc18 <_Heap_Free+0xc0>                
   4cb82:	2228 0024      	movel %a0@(36),%d1                          
   4cb86:	b289           	cmpl %a1,%d1                                
   4cb88:	6500 008e      	bcsw 4cc18 <_Heap_Free+0xc0>                
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
   4cb8c:	2629 0004      	movel %a1@(4),%d3                           
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
   4cb90:	74fe           	moveq #-2,%d2                               
   4cb92:	c483           	andl %d3,%d2                                
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
   4cb94:	45f1 2800      	lea %a1@(00000000,%d2:l),%a2                
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
   4cb98:	b5c0           	cmpal %d0,%a2                               
   4cb9a:	657c           	bcss 4cc18 <_Heap_Free+0xc0>                <== NEVER TAKEN
   4cb9c:	b5c1           	cmpal %d1,%a2                               
   4cb9e:	6278           	bhis 4cc18 <_Heap_Free+0xc0>                <== NEVER TAKEN
   4cba0:	282a 0004      	movel %a2@(4),%d4                           
    return false;                                                     
  }                                                                   
                                                                      
  _Heap_Protection_block_check( heap, next_block );                   
                                                                      
  if ( !_Heap_Is_prev_used( next_block ) ) {                          
   4cba4:	0804 0000      	btst #0,%d4                                 
   4cba8:	676e           	beqs 4cc18 <_Heap_Free+0xc0>                <== NEVER TAKEN
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
   4cbaa:	7afe           	moveq #-2,%d5                               
   4cbac:	c885           	andl %d5,%d4                                
    return true;                                                      
  }                                                                   
                                                                      
  next_block_size = _Heap_Block_size( next_block );                   
  next_is_free = next_block != heap->last_block                       
    && !_Heap_Is_prev_used( _Heap_Block_at( next_block, next_block_size ));
   4cbae:	b5c1           	cmpal %d1,%a2                               
   4cbb0:	6700 00fa      	beqw 4ccac <_Heap_Free+0x154>               
  block->size_and_flag = size | flag;                                 
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & HEAP_PREV_BLOCK_USED;                 
   4cbb4:	7a01           	moveq #1,%d5                                
   4cbb6:	cab2 4804      	andl %a2@(00000004,%d4:l),%d5               
                                                                      
    return do_free;                                                   
  }                                                                   
#endif                                                                
                                                                      
bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr )          
   4cbba:	57c5           	seq %d5                                     
   4cbbc:	4485           	negl %d5                                    
                                                                      
  next_block_size = _Heap_Block_size( next_block );                   
  next_is_free = next_block != heap->last_block                       
    && !_Heap_Is_prev_used( _Heap_Block_at( next_block, next_block_size ));
                                                                      
  if ( !_Heap_Is_prev_used( block ) ) {                               
   4cbbe:	0803 0000      	btst #0,%d3                                 
   4cbc2:	665e           	bnes 4cc22 <_Heap_Free+0xca>                
    uintptr_t const prev_size = block->prev_size;                     
   4cbc4:	2611           	movel %a1@,%d3                              
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
   4cbc6:	93c3           	subal %d3,%a1                               
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
   4cbc8:	b3c0           	cmpal %d0,%a1                               
   4cbca:	654c           	bcss 4cc18 <_Heap_Free+0xc0>                <== NEVER TAKEN
   4cbcc:	b3c1           	cmpal %d1,%a1                               
   4cbce:	6248           	bhis 4cc18 <_Heap_Free+0xc0>                <== NEVER TAKEN
  block->size_and_flag = size | flag;                                 
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & HEAP_PREV_BLOCK_USED;                 
   4cbd0:	7001           	moveq #1,%d0                                
   4cbd2:	c0a9 0004      	andl %a1@(4),%d0                            
      return( false );                                                
    }                                                                 
                                                                      
    /* As we always coalesce free blocks, the block that preceedes prev_block
       must have been used. */                                        
    if ( !_Heap_Is_prev_used ( prev_block) ) {                        
   4cbd6:	6740           	beqs 4cc18 <_Heap_Free+0xc0>                <== NEVER TAKEN
      _HAssert( false );                                              
      return( false );                                                
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
   4cbd8:	4a05           	tstb %d5                                    
   4cbda:	6700 00d6      	beqw 4ccb2 <_Heap_Free+0x15a>               
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
   4cbde:	266a 0008      	moveal %a2@(8),%a3                          
      _HAssert( false );                                              
      return( false );                                                
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
      uintptr_t const size = block_size + prev_size + next_block_size;
   4cbe2:	d882           	addl %d2,%d4                                
   4cbe4:	d684           	addl %d4,%d3                                
      _Heap_Free_list_remove( next_block );                           
      stats->free_blocks -= 1;                                        
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
   4cbe6:	7001           	moveq #1,%d0                                
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
   4cbe8:	246a 000c      	moveal %a2@(12),%a2                         
RTEMS_INLINE_ROUTINE void _Heap_Free_list_remove( Heap_Block *block ) 
{                                                                     
  Heap_Block *next = block->next;                                     
  Heap_Block *prev = block->prev;                                     
                                                                      
  prev->next = next;                                                  
   4cbec:	254b 0008      	movel %a3,%a2@(8)                           
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
      uintptr_t const size = block_size + prev_size + next_block_size;
      _Heap_Free_list_remove( next_block );                           
      stats->free_blocks -= 1;                                        
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
   4cbf0:	8083           	orl %d3,%d0                                 
  next->prev = prev;                                                  
   4cbf2:	274a 000c      	movel %a2,%a3@(12)                          
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
      uintptr_t const size = block_size + prev_size + next_block_size;
      _Heap_Free_list_remove( next_block );                           
      stats->free_blocks -= 1;                                        
   4cbf6:	53a8 0038      	subql #1,%a0@(56)                           
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
      next_block = _Heap_Block_at( prev_block, size );                
      _HAssert(!_Heap_Is_prev_used( next_block));                     
      next_block->prev_size = size;                                   
   4cbfa:	2383 3800      	movel %d3,%a1@(00000000,%d3:l)              
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
      uintptr_t const size = block_size + prev_size + next_block_size;
      _Heap_Free_list_remove( next_block );                           
      stats->free_blocks -= 1;                                        
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
   4cbfe:	2340 0004      	movel %d0,%a1@(4)                           
      stats->max_free_blocks = stats->free_blocks;                    
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
   4cc02:	53a8 0040      	subql #1,%a0@(64)                           
  ++stats->frees;                                                     
   4cc06:	52a8 0050      	addql #1,%a0@(80)                           
  stats->free_size += block_size;                                     
   4cc0a:	d5a8 0030      	addl %d2,%a0@(48)                           
                                                                      
  return( true );                                                     
   4cc0e:	7001           	moveq #1,%d0                                
}                                                                     
   4cc10:	4cd7 0c3c      	moveml %sp@,%d2-%d5/%a2-%a3                 
   4cc14:	4e5e           	unlk %fp                                    
   4cc16:	4e75           	rts                                         
   4cc18:	4cd7 0c3c      	moveml %sp@,%d2-%d5/%a2-%a3                 
                                                                      
    /* As we always coalesce free blocks, the block that preceedes prev_block
       must have been used. */                                        
    if ( !_Heap_Is_prev_used ( prev_block) ) {                        
      _HAssert( false );                                              
      return( false );                                                
   4cc1c:	4200           	clrb %d0                                    
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
   4cc1e:	4e5e           	unlk %fp                                    
   4cc20:	4e75           	rts                                         
      uintptr_t const size = block_size + prev_size;                  
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
      next_block->prev_size = size;                                   
    }                                                                 
  } else if ( next_is_free ) {    /* coalesce next */                 
   4cc22:	4a05           	tstb %d5                                    
   4cc24:	673a           	beqs 4cc60 <_Heap_Free+0x108>               
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
   4cc26:	266a 0008      	moveal %a2@(8),%a3                          
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
      next_block->prev_size = size;                                   
    }                                                                 
  } else if ( next_is_free ) {    /* coalesce next */                 
    uintptr_t const size = block_size + next_block_size;              
   4cc2a:	d882           	addl %d2,%d4                                
    _Heap_Free_list_replace( next_block, block );                     
    block->size_and_flag = size | HEAP_PREV_BLOCK_USED;               
   4cc2c:	7001           	moveq #1,%d0                                
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
   4cc2e:	246a 000c      	moveal %a2@(12),%a2                         
)                                                                     
{                                                                     
  Heap_Block *next = old_block->next;                                 
  Heap_Block *prev = old_block->prev;                                 
                                                                      
  new_block->next = next;                                             
   4cc32:	234b 0008      	movel %a3,%a1@(8)                           
      next_block->prev_size = size;                                   
    }                                                                 
  } else if ( next_is_free ) {    /* coalesce next */                 
    uintptr_t const size = block_size + next_block_size;              
    _Heap_Free_list_replace( next_block, block );                     
    block->size_and_flag = size | HEAP_PREV_BLOCK_USED;               
   4cc36:	8084           	orl %d4,%d0                                 
  new_block->prev = prev;                                             
   4cc38:	234a 000c      	movel %a2,%a1@(12)                          
    next_block  = _Heap_Block_at( block, size );                      
    next_block->prev_size = size;                                     
   4cc3c:	2384 4800      	movel %d4,%a1@(00000000,%d4:l)              
      next_block->prev_size = size;                                   
    }                                                                 
  } else if ( next_is_free ) {    /* coalesce next */                 
    uintptr_t const size = block_size + next_block_size;              
    _Heap_Free_list_replace( next_block, block );                     
    block->size_and_flag = size | HEAP_PREV_BLOCK_USED;               
   4cc40:	2340 0004      	movel %d0,%a1@(4)                           
  /* Statistics */                                                    
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
   4cc44:	7001           	moveq #1,%d0                                
                                                                      
  next->prev = new_block;                                             
  prev->next = new_block;                                             
   4cc46:	2549 0008      	movel %a1,%a2@(8)                           
  Heap_Block *prev = old_block->prev;                                 
                                                                      
  new_block->next = next;                                             
  new_block->prev = prev;                                             
                                                                      
  next->prev = new_block;                                             
   4cc4a:	2749 000c      	movel %a1,%a3@(12)                          
      stats->max_free_blocks = stats->free_blocks;                    
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
   4cc4e:	53a8 0040      	subql #1,%a0@(64)                           
  ++stats->frees;                                                     
   4cc52:	52a8 0050      	addql #1,%a0@(80)                           
  stats->free_size += block_size;                                     
   4cc56:	d5a8 0030      	addl %d2,%a0@(48)                           
   4cc5a:	60b4           	bras 4cc10 <_Heap_Free+0xb8>                
   * If NULL return true so a free on NULL is considered a valid release. This
   * is a special case that could be handled by the in heap check how-ever that
   * would result in false being returned which is wrong.             
   */                                                                 
  if ( alloc_begin_ptr == NULL ) {                                    
    return true;                                                      
   4cc5c:	7001           	moveq #1,%d0                                
   4cc5e:	60b0           	bras 4cc10 <_Heap_Free+0xb8>                
    block->size_and_flag = block_size | HEAP_PREV_BLOCK_USED;         
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
    next_block->prev_size = block_size;                               
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
   4cc60:	2028 0038      	movel %a0@(56),%d0                          
    next_block->prev_size = size;                                     
  } else {                        /* no coalesce */                   
    /* Add 'block' to the head of the free blocks list as it tends to 
       produce less fragmentation than adding to the tail. */         
    _Heap_Free_list_insert_after( _Heap_Free_list_head( heap), block );
    block->size_and_flag = block_size | HEAP_PREV_BLOCK_USED;         
   4cc64:	7201           	moveq #1,%d1                                
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
   4cc66:	7afe           	moveq #-2,%d5                               
    next_block->prev_size = block_size;                               
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
   4cc68:	5280           	addql #1,%d0                                
RTEMS_INLINE_ROUTINE void _Heap_Free_list_insert_after(               
  Heap_Block *block_before,                                           
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = block_before->next;                              
   4cc6a:	2668 0008      	moveal %a0@(8),%a3                          
                                                                      
  new_block->next = next;                                             
  new_block->prev = block_before;                                     
   4cc6e:	2348 000c      	movel %a0,%a1@(12)                          
    next_block->prev_size = size;                                     
  } else {                        /* no coalesce */                   
    /* Add 'block' to the head of the free blocks list as it tends to 
       produce less fragmentation than adding to the tail. */         
    _Heap_Free_list_insert_after( _Heap_Free_list_head( heap), block );
    block->size_and_flag = block_size | HEAP_PREV_BLOCK_USED;         
   4cc72:	8282           	orl %d2,%d1                                 
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = block_before->next;                              
                                                                      
  new_block->next = next;                                             
   4cc74:	234b 0008      	movel %a3,%a1@(8)                           
   4cc78:	2341 0004      	movel %d1,%a1@(4)                           
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
   4cc7c:	cbaa 0004      	andl %d5,%a2@(4)                            
  new_block->prev = block_before;                                     
  block_before->next = new_block;                                     
  next->prev = new_block;                                             
   4cc80:	2749 000c      	movel %a1,%a3@(12)                          
    next_block->prev_size = block_size;                               
   4cc84:	2482           	movel %d2,%a2@                              
{                                                                     
  Heap_Block *next = block_before->next;                              
                                                                      
  new_block->next = next;                                             
  new_block->prev = block_before;                                     
  block_before->next = new_block;                                     
   4cc86:	2149 0008      	movel %a1,%a0@(8)                           
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
   4cc8a:	2140 0038      	movel %d0,%a0@(56)                          
    if ( stats->max_free_blocks < stats->free_blocks ) {              
   4cc8e:	b0a8 003c      	cmpl %a0@(60),%d0                           
   4cc92:	6300 ff6e      	blsw 4cc02 <_Heap_Free+0xaa>                
      stats->max_free_blocks = stats->free_blocks;                    
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
   4cc96:	53a8 0040      	subql #1,%a0@(64)                           
  ++stats->frees;                                                     
   4cc9a:	52a8 0050      	addql #1,%a0@(80)                           
  stats->free_size += block_size;                                     
   4cc9e:	d5a8 0030      	addl %d2,%a0@(48)                           
    next_block->prev_size = block_size;                               
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
    if ( stats->max_free_blocks < stats->free_blocks ) {              
      stats->max_free_blocks = stats->free_blocks;                    
   4cca2:	2140 003c      	movel %d0,%a0@(60)                          
  /* Statistics */                                                    
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
   4cca6:	7001           	moveq #1,%d0                                
   4cca8:	6000 ff66      	braw 4cc10 <_Heap_Free+0xb8>                
    return true;                                                      
  }                                                                   
                                                                      
  next_block_size = _Heap_Block_size( next_block );                   
  next_is_free = next_block != heap->last_block                       
    && !_Heap_Is_prev_used( _Heap_Block_at( next_block, next_block_size ));
   4ccac:	4205           	clrb %d5                                    
   4ccae:	6000 ff0e      	braw 4cbbe <_Heap_Free+0x66>                
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
      next_block = _Heap_Block_at( prev_block, size );                
      _HAssert(!_Heap_Is_prev_used( next_block));                     
      next_block->prev_size = size;                                   
    } else {                      /* coalesce prev */                 
      uintptr_t const size = block_size + prev_size;                  
   4ccb2:	d682           	addl %d2,%d3                                
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
   4ccb4:	7201           	moveq #1,%d1                                
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
   4ccb6:	7afe           	moveq #-2,%d5                               
      next_block = _Heap_Block_at( prev_block, size );                
      _HAssert(!_Heap_Is_prev_used( next_block));                     
      next_block->prev_size = size;                                   
    } else {                      /* coalesce prev */                 
      uintptr_t const size = block_size + prev_size;                  
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
   4ccb8:	8283           	orl %d3,%d1                                 
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
      next_block->prev_size = size;                                   
   4ccba:	2483           	movel %d3,%a2@                              
  /* Statistics */                                                    
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
   4ccbc:	7001           	moveq #1,%d0                                
      next_block = _Heap_Block_at( prev_block, size );                
      _HAssert(!_Heap_Is_prev_used( next_block));                     
      next_block->prev_size = size;                                   
    } else {                      /* coalesce prev */                 
      uintptr_t const size = block_size + prev_size;                  
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
   4ccbe:	2341 0004      	movel %d1,%a1@(4)                           
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
   4ccc2:	cbaa 0004      	andl %d5,%a2@(4)                            
      stats->max_free_blocks = stats->free_blocks;                    
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
   4ccc6:	53a8 0040      	subql #1,%a0@(64)                           
  ++stats->frees;                                                     
   4ccca:	52a8 0050      	addql #1,%a0@(80)                           
  stats->free_size += block_size;                                     
   4ccce:	d5a8 0030      	addl %d2,%a0@(48)                           
   4ccd2:	6000 ff3c      	braw 4cc10 <_Heap_Free+0xb8>                
	...                                                                  
                                                                      

00051d38 <_Heap_Get_free_information>: void _Heap_Get_free_information( Heap_Control *the_heap, Heap_Information *info ) {
   51d38:	4e56 ffec      	linkw %fp,#-20                              
   51d3c:	48d7 0c1c      	moveml %d2-%d4/%a2-%a3,%sp@                 
   51d40:	266e 0008      	moveal %fp@(8),%a3                          
   51d44:	246e 000c      	moveal %fp@(12),%a2                         
    info->number++;                                                   
    info->total += the_size;                                          
    if ( info->largest < the_size )                                   
        info->largest = the_size;                                     
  }                                                                   
}                                                                     
   51d48:	206b 0008      	moveal %a3@(8),%a0                          
)                                                                     
{                                                                     
  Heap_Block *the_block;                                              
  Heap_Block *const tail = _Heap_Free_list_tail(the_heap);            
                                                                      
  info->number = 0;                                                   
   51d4c:	4292           	clrl %a2@                                   
  info->largest = 0;                                                  
   51d4e:	42aa 0004      	clrl %a2@(4)                                
  info->total = 0;                                                    
   51d52:	42aa 0008      	clrl %a2@(8)                                
                                                                      
  for(the_block = _Heap_Free_list_first(the_heap);                    
   51d56:	b1cb           	cmpal %a3,%a0                               
   51d58:	6734           	beqs 51d8e <_Heap_Get_free_information+0x56><== NEVER TAKEN
   51d5a:	7401           	moveq #1,%d2                                
   51d5c:	4283           	clrl %d3                                    
   51d5e:	93c9           	subal %a1,%a1                               
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
   51d60:	70fe           	moveq #-2,%d0                               
                                                                      
    /* As we always coalesce free blocks, prev block must have been used. */
    _HAssert(_Heap_Is_prev_used(the_block));                          
                                                                      
    info->number++;                                                   
    info->total += the_size;                                          
   51d62:	2209           	movel %a1,%d1                               
  info->largest = 0;                                                  
  info->total = 0;                                                    
                                                                      
  for(the_block = _Heap_Free_list_first(the_heap);                    
      the_block != tail;                                              
      the_block = the_block->next)                                    
   51d64:	2802           	movel %d2,%d4                               
   51d66:	5284           	addql #1,%d4                                
   51d68:	c0a8 0004      	andl %a0@(4),%d0                            
                                                                      
    /* As we always coalesce free blocks, prev block must have been used. */
    _HAssert(_Heap_Is_prev_used(the_block));                          
                                                                      
    info->number++;                                                   
    info->total += the_size;                                          
   51d6c:	d280           	addl %d0,%d1                                
                                                                      
  info->number = 0;                                                   
  info->largest = 0;                                                  
  info->total = 0;                                                    
                                                                      
  for(the_block = _Heap_Free_list_first(the_heap);                    
   51d6e:	2241           	moveal %d1,%a1                              
    /* As we always coalesce free blocks, prev block must have been used. */
    _HAssert(_Heap_Is_prev_used(the_block));                          
                                                                      
    info->number++;                                                   
    info->total += the_size;                                          
    if ( info->largest < the_size )                                   
   51d70:	b680           	cmpl %d0,%d3                                
   51d72:	6404           	bccs 51d78 <_Heap_Get_free_information+0x40>
        info->largest = the_size;                                     
   51d74:	2540 0004      	movel %d0,%a2@(4)                           
  info->largest = 0;                                                  
  info->total = 0;                                                    
                                                                      
  for(the_block = _Heap_Free_list_first(the_heap);                    
      the_block != tail;                                              
      the_block = the_block->next)                                    
   51d78:	2068 0008      	moveal %a0@(8),%a0                          
                                                                      
  info->number = 0;                                                   
  info->largest = 0;                                                  
  info->total = 0;                                                    
                                                                      
  for(the_block = _Heap_Free_list_first(the_heap);                    
   51d7c:	b1cb           	cmpal %a3,%a0                               
   51d7e:	6708           	beqs 51d88 <_Heap_Get_free_information+0x50>
   51d80:	262a 0004      	movel %a2@(4),%d3                           
   51d84:	2404           	movel %d4,%d2                               
   51d86:	60d8           	bras 51d60 <_Heap_Get_free_information+0x28>
   51d88:	2482           	movel %d2,%a2@                              
   51d8a:	2541 0008      	movel %d1,%a2@(8)                           
    info->number++;                                                   
    info->total += the_size;                                          
    if ( info->largest < the_size )                                   
        info->largest = the_size;                                     
  }                                                                   
}                                                                     
   51d8e:	4cd7 0c1c      	moveml %sp@,%d2-%d4/%a2-%a3                 
   51d92:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004d7d0 <_Heap_Get_information>: void _Heap_Get_information( Heap_Control *the_heap, Heap_Information_block *the_info ) {
   4d7d0:	4e56 fff0      	linkw %fp,#-16                              
   4d7d4:	48d7 041c      	moveml %d2-%d4/%a2,%sp@                     
   4d7d8:	246e 0008      	moveal %fp@(8),%a2                          
   4d7dc:	282e 000c      	movel %fp@(12),%d4                          
  Heap_Block *the_block = the_heap->first_block;                      
  Heap_Block *const end = the_heap->last_block;                       
                                                                      
  memset(the_info, 0, sizeof(*the_info));                             
   4d7e0:	2044           	moveal %d4,%a0                              
void _Heap_Get_information(                                           
  Heap_Control            *the_heap,                                  
  Heap_Information_block  *the_info                                   
)                                                                     
{                                                                     
  Heap_Block *the_block = the_heap->first_block;                      
   4d7e2:	226a 0020      	moveal %a2@(32),%a1                         
  Heap_Block *const end = the_heap->last_block;                       
   4d7e6:	242a 0024      	movel %a2@(36),%d2                          
                                                                      
  memset(the_info, 0, sizeof(*the_info));                             
   4d7ea:	4298           	clrl %a0@+                                  
   4d7ec:	4298           	clrl %a0@+                                  
   4d7ee:	4298           	clrl %a0@+                                  
   4d7f0:	4298           	clrl %a0@+                                  
   4d7f2:	4298           	clrl %a0@+                                  
   4d7f4:	4290           	clrl %a0@                                   
                                                                      
  while ( the_block != end ) {                                        
   4d7f6:	b489           	cmpl %a1,%d2                                
   4d7f8:	6734           	beqs 4d82e <_Heap_Get_information+0x5e>     <== NEVER TAKEN
    uintptr_t const     the_size = _Heap_Block_size(the_block);       
    Heap_Block *const  next_block = _Heap_Block_at(the_block, the_size);
    Heap_Information  *info;                                          
                                                                      
    if ( _Heap_Is_prev_used(next_block) )                             
      info = &the_info->Used;                                         
   4d7fa:	2604           	movel %d4,%d3                               
   4d7fc:	0683 0000 000c 	addil #12,%d3                               
  Heap_Block *the_block = the_heap->first_block;                      
  Heap_Block *const end = the_heap->last_block;                       
                                                                      
  memset(the_info, 0, sizeof(*the_info));                             
                                                                      
  while ( the_block != end ) {                                        
   4d802:	2229 0004      	movel %a1@(4),%d1                           
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
   4d806:	70fe           	moveq #-2,%d0                               
    uintptr_t const     the_size = _Heap_Block_size(the_block);       
    Heap_Block *const  next_block = _Heap_Block_at(the_block, the_size);
    Heap_Information  *info;                                          
                                                                      
    if ( _Heap_Is_prev_used(next_block) )                             
      info = &the_info->Used;                                         
   4d808:	2043           	moveal %d3,%a0                              
   4d80a:	c081           	andl %d1,%d0                                
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
   4d80c:	d3c0           	addal %d0,%a1                               
    if ( info->largest < the_size )                                   
      info->largest = the_size;                                       
                                                                      
    the_block = next_block;                                           
  }                                                                   
}                                                                     
   4d80e:	2229 0004      	movel %a1@(4),%d1                           
  while ( the_block != end ) {                                        
    uintptr_t const     the_size = _Heap_Block_size(the_block);       
    Heap_Block *const  next_block = _Heap_Block_at(the_block, the_size);
    Heap_Information  *info;                                          
                                                                      
    if ( _Heap_Is_prev_used(next_block) )                             
   4d812:	0801 0000      	btst #0,%d1                                 
   4d816:	6602           	bnes 4d81a <_Heap_Get_information+0x4a>     
      info = &the_info->Used;                                         
    else                                                              
      info = &the_info->Free;                                         
   4d818:	2044           	moveal %d4,%a0                              
                                                                      
    info->number++;                                                   
   4d81a:	5290           	addql #1,%a0@                               
    info->total += the_size;                                          
   4d81c:	d1a8 0008      	addl %d0,%a0@(8)                            
    if ( info->largest < the_size )                                   
   4d820:	b0a8 0004      	cmpl %a0@(4),%d0                            
   4d824:	6304           	blss 4d82a <_Heap_Get_information+0x5a>     
      info->largest = the_size;                                       
   4d826:	2140 0004      	movel %d0,%a0@(4)                           
  Heap_Block *the_block = the_heap->first_block;                      
  Heap_Block *const end = the_heap->last_block;                       
                                                                      
  memset(the_info, 0, sizeof(*the_info));                             
                                                                      
  while ( the_block != end ) {                                        
   4d82a:	b3c2           	cmpal %d2,%a1                               
   4d82c:	66d8           	bnes 4d806 <_Heap_Get_information+0x36>     
    if ( info->largest < the_size )                                   
      info->largest = the_size;                                       
                                                                      
    the_block = next_block;                                           
  }                                                                   
}                                                                     
   4d82e:	4cd7 041c      	moveml %sp@,%d2-%d4/%a2                     
   4d832:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0005d440 <_Heap_Size_of_alloc_area>: bool _Heap_Size_of_alloc_area( Heap_Control *heap, void *alloc_begin_ptr, uintptr_t *alloc_size ) {
   5d440:	4e56 0000      	linkw %fp,#0                                
   5d444:	202e 000c      	movel %fp@(12),%d0                          
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
   5d448:	2040           	moveal %d0,%a0                              
   5d44a:	5188           	subql #8,%a0                                
   5d44c:	226e 0008      	moveal %fp@(8),%a1                          
   5d450:	2f02           	movel %d2,%sp@-                             
   5d452:	2400           	movel %d0,%d2                               
   5d454:	4c69 2001 0010 	remul %a1@(16),%d1,%d2                      
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
   5d45a:	91c1           	subal %d1,%a0                               
RTEMS_INLINE_ROUTINE bool _Heap_Is_block_in_heap(                     
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
   5d45c:	2229 0020      	movel %a1@(32),%d1                          
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
   5d460:	b288           	cmpl %a0,%d1                                
   5d462:	6236           	bhis 5d49a <_Heap_Size_of_alloc_area+0x5a>  
   5d464:	2269 0024      	moveal %a1@(36),%a1                         
   5d468:	b3c8           	cmpal %a0,%a1                               
   5d46a:	652e           	bcss 5d49a <_Heap_Size_of_alloc_area+0x5a>  <== NEVER TAKEN
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
   5d46c:	74fe           	moveq #-2,%d2                               
   5d46e:	c4a8 0004      	andl %a0@(4),%d2                            
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
   5d472:	d1c2           	addal %d2,%a0                               
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
   5d474:	b1c1           	cmpal %d1,%a0                               
   5d476:	6522           	bcss 5d49a <_Heap_Size_of_alloc_area+0x5a>  <== NEVER TAKEN
   5d478:	b1c9           	cmpal %a1,%a0                               
   5d47a:	621e           	bhis 5d49a <_Heap_Size_of_alloc_area+0x5a>  <== NEVER TAKEN
  block->size_and_flag = size | flag;                                 
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & HEAP_PREV_BLOCK_USED;                 
   5d47c:	7201           	moveq #1,%d1                                
   5d47e:	c2a8 0004      	andl %a0@(4),%d1                            
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
                                                                      
  if (                                                                
    !_Heap_Is_block_in_heap( heap, next_block )                       
      || !_Heap_Is_prev_used( next_block )                            
   5d482:	6716           	beqs 5d49a <_Heap_Size_of_alloc_area+0x5a>  <== NEVER TAKEN
  ) {                                                                 
    return false;                                                     
  }                                                                   
                                                                      
  *alloc_size = (uintptr_t) next_block + HEAP_ALLOC_BONUS - alloc_begin;
   5d484:	7204           	moveq #4,%d1                                
   5d486:	9280           	subl %d0,%d1                                
   5d488:	2001           	movel %d1,%d0                               
   5d48a:	d088           	addl %a0,%d0                                
   5d48c:	226e 0010      	moveal %fp@(16),%a1                         
                                                                      
  return true;                                                        
}                                                                     
   5d490:	241f           	movel %sp@+,%d2                             
   5d492:	4e5e           	unlk %fp                                    
      || !_Heap_Is_prev_used( next_block )                            
  ) {                                                                 
    return false;                                                     
  }                                                                   
                                                                      
  *alloc_size = (uintptr_t) next_block + HEAP_ALLOC_BONUS - alloc_begin;
   5d494:	2280           	movel %d0,%a1@                              
                                                                      
  return true;                                                        
   5d496:	7001           	moveq #1,%d0                                
}                                                                     
   5d498:	4e75           	rts                                         
   5d49a:	241f           	movel %sp@+,%d2                             
   5d49c:	4e5e           	unlk %fp                                    
                                                                      
  if (                                                                
    !_Heap_Is_block_in_heap( heap, next_block )                       
      || !_Heap_Is_prev_used( next_block )                            
  ) {                                                                 
    return false;                                                     
   5d49e:	4200           	clrb %d0                                    
  }                                                                   
                                                                      
  *alloc_size = (uintptr_t) next_block + HEAP_ALLOC_BONUS - alloc_begin;
                                                                      
  return true;                                                        
}                                                                     
	...                                                                  
                                                                      

0004856e <_Heap_Walk>: bool _Heap_Walk( Heap_Control *heap, int source, bool dump ) {
   4856e:	4e56 ffc4      	linkw %fp,#-60                              
   48572:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
   48576:	246e 0008      	moveal %fp@(8),%a2                          
  uintptr_t const min_block_size = heap->min_block_size;              
  Heap_Block *const first_block = heap->first_block;                  
  Heap_Block *const last_block = heap->last_block;                    
  Heap_Block *block = first_block;                                    
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
   4857a:	4bfa ff94      	lea %pc@(48510 <_Heap_Walk_print_nothing>),%a5
bool _Heap_Walk(                                                      
  Heap_Control *heap,                                                 
  int source,                                                         
  bool dump                                                           
)                                                                     
{                                                                     
   4857e:	2a2e 000c      	movel %fp@(12),%d5                          
  uintptr_t const page_size = heap->page_size;                        
   48582:	262a 0010      	movel %a2@(16),%d3                          
  uintptr_t const min_block_size = heap->min_block_size;              
   48586:	2c2a 0014      	movel %a2@(20),%d6                          
  Heap_Block *const first_block = heap->first_block;                  
   4858a:	282a 0020      	movel %a2@(32),%d4                          
  Heap_Block *const last_block = heap->last_block;                    
   4858e:	2e2a 0024      	movel %a2@(36),%d7                          
  Heap_Block *block = first_block;                                    
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
   48592:	4a2e 0013      	tstb %fp@(19)                               
   48596:	6704           	beqs 4859c <_Heap_Walk+0x2e>                
   48598:	4bfa ff7e      	lea %pc@(48518 <_Heap_Walk_print>),%a5      
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
   4859c:	7003           	moveq #3,%d0                                
   4859e:	b0b9 0006 32dc 	cmpl 632dc <_System_state_Current>,%d0      
   485a4:	670c           	beqs 485b2 <_Heap_Walk+0x44>                
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
   485a6:	4cee 3cfc ffc4 	moveml %fp@(-60),%d2-%d7/%a2-%a5            
    }                                                                 
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
   485ac:	7001           	moveq #1,%d0                                
}                                                                     
   485ae:	4e5e           	unlk %fp                                    
   485b0:	4e75           	rts                                         
  Heap_Block *const first_free_block = _Heap_Free_list_first( heap ); 
  Heap_Block *const last_free_block = _Heap_Free_list_last( heap );   
  Heap_Block *const first_block = heap->first_block;                  
  Heap_Block *const last_block = heap->last_block;                    
                                                                      
  (*printer)(                                                         
   485b2:	2f2a 000c      	movel %a2@(12),%sp@-                        
   485b6:	2f2a 0008      	movel %a2@(8),%sp@-                         
   485ba:	2f07           	movel %d7,%sp@-                             
   485bc:	2f04           	movel %d4,%sp@-                             
   485be:	2f2a 001c      	movel %a2@(28),%sp@-                        
   485c2:	2f2a 0018      	movel %a2@(24),%sp@-                        
   485c6:	2f06           	movel %d6,%sp@-                             
   485c8:	2f03           	movel %d3,%sp@-                             
   485ca:	4879 0005 f559 	pea 5f559 <_Status_Object_name_errors_to_status+0x5d>
   485d0:	42a7           	clrl %sp@-                                  
   485d2:	2f05           	movel %d5,%sp@-                             
   485d4:	4e95           	jsr %a5@                                    
    heap->area_begin, heap->area_end,                                 
    first_block, last_block,                                          
    first_free_block, last_free_block                                 
  );                                                                  
                                                                      
  if ( page_size == 0 ) {                                             
   485d6:	4fef 002c      	lea %sp@(44),%sp                            
   485da:	4a83           	tstl %d3                                    
   485dc:	6700 0082      	beqw 48660 <_Heap_Walk+0xf2>                
)                                                                     
{                                                                     
#if (CPU_ALIGNMENT == 0)                                              
    return true;                                                      
#else                                                                 
    return (((uintptr_t)address % CPU_ALIGNMENT) == 0);               
   485e0:	7003           	moveq #3,%d0                                
   485e2:	c083           	andl %d3,%d0                                
    (*printer)( source, true, "page size is zero\n" );                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Addresses_Is_aligned( (void *) page_size ) ) {               
   485e4:	6600 0090      	bnew 48676 <_Heap_Walk+0x108>               
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
   485e8:	2206           	movel %d6,%d1                               
   485ea:	4c43 1000      	remul %d3,%d0,%d1                           
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_aligned( min_block_size, page_size ) ) {             
   485ee:	4a80           	tstl %d0                                    
   485f0:	6600 00a4      	bnew 48696 <_Heap_Walk+0x128>               
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
   485f4:	2004           	movel %d4,%d0                               
   485f6:	5080           	addql #8,%d0                                
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
   485f8:	4c43 0001      	remul %d3,%d1,%d0                           
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
   485fc:	4a81           	tstl %d1                                    
   485fe:	6600 00ae      	bnew 486ae <_Heap_Walk+0x140>               
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
   48602:	2044           	moveal %d4,%a0                              
   48604:	2228 0004      	movel %a0@(4),%d1                           
   48608:	2d41 ffec      	movel %d1,%fp@(-20)                         
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( first_block ) ) {                         
   4860c:	0801 0000      	btst #0,%d1                                 
   48610:	6700 0188      	beqw 4879a <_Heap_Walk+0x22c>               
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
   48614:	2047           	moveal %d7,%a0                              
   48616:	72fe           	moveq #-2,%d1                               
   48618:	c2a8 0004      	andl %a0@(4),%d1                            
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
   4861c:	d1c1           	addal %d1,%a0                               
  block->size_and_flag = size | flag;                                 
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & HEAP_PREV_BLOCK_USED;                 
   4861e:	7201           	moveq #1,%d1                                
   48620:	c2a8 0004      	andl %a0@(4),%d1                            
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( _Heap_Is_free( last_block ) ) {                                
   48624:	6724           	beqs 4864a <_Heap_Walk+0xdc>                
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
   48626:	b1c4           	cmpal %d4,%a0                               
   48628:	6700 009c      	beqw 486c6 <_Heap_Walk+0x158>               
    _Heap_Block_at( last_block, _Heap_Block_size( last_block ) ) != first_block
  ) {                                                                 
    (*printer)(                                                       
   4862c:	4879 0005 f6b3 	pea 5f6b3 <_Status_Object_name_errors_to_status+0x1b7>
   48632:	4878 0001      	pea 1 <ADD>                                 
   48636:	2f05           	movel %d5,%sp@-                             
   48638:	4e95           	jsr %a5@                                    
   4863a:	4fef 000c      	lea %sp@(12),%sp                            
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
   4863e:	4200           	clrb %d0                                    
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
   48640:	4cee 3cfc ffc4 	moveml %fp@(-60),%d2-%d7/%a2-%a5            
   48646:	4e5e           	unlk %fp                                    
   48648:	4e75           	rts                                         
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( _Heap_Is_free( last_block ) ) {                                
    (*printer)(                                                       
   4864a:	4879 0005 f69e 	pea 5f69e <_Status_Object_name_errors_to_status+0x1a2>
  }                                                                   
                                                                      
  if (                                                                
    _Heap_Block_at( last_block, _Heap_Block_size( last_block ) ) != first_block
  ) {                                                                 
    (*printer)(                                                       
   48650:	4878 0001      	pea 1 <ADD>                                 
   48654:	2f05           	movel %d5,%sp@-                             
   48656:	4e95           	jsr %a5@                                    
   48658:	4fef 000c      	lea %sp@(12),%sp                            
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
   4865c:	4200           	clrb %d0                                    
   4865e:	60e0           	bras 48640 <_Heap_Walk+0xd2>                
    first_block, last_block,                                          
    first_free_block, last_free_block                                 
  );                                                                  
                                                                      
  if ( page_size == 0 ) {                                             
    (*printer)( source, true, "page size is zero\n" );                
   48660:	4879 0005 f5ea 	pea 5f5ea <_Status_Object_name_errors_to_status+0xee>
  }                                                                   
                                                                      
  if (                                                                
    _Heap_Block_at( last_block, _Heap_Block_size( last_block ) ) != first_block
  ) {                                                                 
    (*printer)(                                                       
   48666:	4878 0001      	pea 1 <ADD>                                 
   4866a:	2f05           	movel %d5,%sp@-                             
   4866c:	4e95           	jsr %a5@                                    
   4866e:	4fef 000c      	lea %sp@(12),%sp                            
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
   48672:	4200           	clrb %d0                                    
   48674:	60ca           	bras 48640 <_Heap_Walk+0xd2>                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Addresses_Is_aligned( (void *) page_size ) ) {               
    (*printer)(                                                       
   48676:	2f03           	movel %d3,%sp@-                             
   48678:	4879 0005 f5fd 	pea 5f5fd <_Status_Object_name_errors_to_status+0x101>
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Walk_is_in_free_list( heap, block ) ) {                 
    (*printer)(                                                       
   4867e:	4878 0001      	pea 1 <ADD>                                 
   48682:	2f05           	movel %d5,%sp@-                             
   48684:	4e95           	jsr %a5@                                    
   48686:	4fef 0010      	lea %sp@(16),%sp                            
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
   4868a:	4200           	clrb %d0                                    
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
   4868c:	4cee 3cfc ffc4 	moveml %fp@(-60),%d2-%d7/%a2-%a5            
   48692:	4e5e           	unlk %fp                                    
   48694:	4e75           	rts                                         
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_aligned( min_block_size, page_size ) ) {             
    (*printer)(                                                       
   48696:	2f06           	movel %d6,%sp@-                             
   48698:	4879 0005 f61b 	pea 5f61b <_Status_Object_name_errors_to_status+0x11f>
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Walk_is_in_free_list( heap, block ) ) {                 
    (*printer)(                                                       
   4869e:	4878 0001      	pea 1 <ADD>                                 
   486a2:	2f05           	movel %d5,%sp@-                             
   486a4:	4e95           	jsr %a5@                                    
   486a6:	4fef 0010      	lea %sp@(16),%sp                            
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
   486aa:	4200           	clrb %d0                                    
   486ac:	60de           	bras 4868c <_Heap_Walk+0x11e>               
  }                                                                   
                                                                      
  if (                                                                
    !_Heap_Is_aligned( _Heap_Alloc_area_of_block( first_block ), page_size )
  ) {                                                                 
    (*printer)(                                                       
   486ae:	2f04           	movel %d4,%sp@-                             
   486b0:	4879 0005 f63f 	pea 5f63f <_Status_Object_name_errors_to_status+0x143>
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Walk_is_in_free_list( heap, block ) ) {                 
    (*printer)(                                                       
   486b6:	4878 0001      	pea 1 <ADD>                                 
   486ba:	2f05           	movel %d5,%sp@-                             
   486bc:	4e95           	jsr %a5@                                    
   486be:	4fef 0010      	lea %sp@(16),%sp                            
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
   486c2:	4200           	clrb %d0                                    
   486c4:	60c6           	bras 4868c <_Heap_Walk+0x11e>               
  int source,                                                         
  Heap_Walk_printer printer,                                          
  Heap_Control *heap                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
   486c6:	202a 0010      	movel %a2@(16),%d0                          
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
   486ca:	226a 0008      	moveal %a2@(8),%a1                          
  int source,                                                         
  Heap_Walk_printer printer,                                          
  Heap_Control *heap                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
   486ce:	2d40 fffc      	movel %d0,%fp@(-4)                          
  const Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );
  const Heap_Block *const first_free_block = _Heap_Free_list_first( heap );
  const Heap_Block *prev_block = free_list_tail;                      
  const Heap_Block *free_block = first_free_block;                    
                                                                      
  while ( free_block != free_list_tail ) {                            
   486d2:	b3ca           	cmpal %a2,%a1                               
   486d4:	6700 034e      	beqw 48a24 <_Heap_Walk+0x4b6>               
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
   486d8:	242a 0020      	movel %a2@(32),%d2                          
   486dc:	2d42 fff4      	movel %d2,%fp@(-12)                         
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
   486e0:	b3c2           	cmpal %d2,%a1                               
   486e2:	6500 009a      	bcsw 4877e <_Heap_Walk+0x210>               
   486e6:	286a 0024      	moveal %a2@(36),%a4                         
   486ea:	b3cc           	cmpal %a4,%a1                               
   486ec:	6200 0090      	bhiw 4877e <_Heap_Walk+0x210>               
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
   486f0:	47e9 0008      	lea %a1@(8),%a3                             
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
   486f4:	200b           	movel %a3,%d0                               
   486f6:	222e fffc      	movel %fp@(-4),%d1                          
   486fa:	4c41 0002      	remul %d1,%d2,%d0                           
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
   486fe:	4a82           	tstl %d2                                    
   48700:	6600 00b0      	bnew 487b2 <_Heap_Walk+0x244>               
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
   48704:	74fe           	moveq #-2,%d2                               
  block->size_and_flag = size | flag;                                 
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & HEAP_PREV_BLOCK_USED;                 
   48706:	7001           	moveq #1,%d0                                
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
   48708:	c4a9 0004      	andl %a1@(4),%d2                            
  block->size_and_flag = size | flag;                                 
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & HEAP_PREV_BLOCK_USED;                 
   4870c:	c0b1 2804      	andl %a1@(00000004,%d2:l),%d0               
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
   48710:	6600 0304      	bnew 48a16 <_Heap_Walk+0x4a8>               
   48714:	222e fff4      	movel %fp@(-12),%d1                         
   48718:	240a           	movel %a2,%d2                               
   4871a:	266e ffec      	moveal %fp@(-20),%a3                        
   4871e:	2d43 fff8      	movel %d3,%fp@(-8)                          
   48722:	2d44 fff0      	movel %d4,%fp@(-16)                         
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
   48726:	2069 000c      	moveal %a1@(12),%a0                         
   4872a:	b488           	cmpl %a0,%d2                                
   4872c:	6600 02cc      	bnew 489fa <_Heap_Walk+0x48c>               
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    prev_block = free_block;                                          
    free_block = free_block->next;                                    
   48730:	2069 0008      	moveal %a1@(8),%a0                          
  const Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );
  const Heap_Block *const first_free_block = _Heap_Free_list_first( heap );
  const Heap_Block *prev_block = free_list_tail;                      
  const Heap_Block *free_block = first_free_block;                    
                                                                      
  while ( free_block != free_list_tail ) {                            
   48734:	b1ca           	cmpal %a2,%a0                               
   48736:	6700 0096      	beqw 487ce <_Heap_Walk+0x260>               
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
   4873a:	b1c1           	cmpal %d1,%a0                               
   4873c:	6542           	bcss 48780 <_Heap_Walk+0x212>               
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
   4873e:	2608           	movel %a0,%d3                               
   48740:	5083           	addql #8,%d3                                
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
   48742:	b9c8           	cmpal %a0,%a4                               
   48744:	653a           	bcss 48780 <_Heap_Walk+0x212>               <== NEVER TAKEN
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
   48746:	282e fffc      	movel %fp@(-4),%d4                          
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
   4874a:	2409           	movel %a1,%d2                               
   4874c:	2248           	moveal %a0,%a1                              
   4874e:	4c44 3000      	remul %d4,%d0,%d3                           
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
   48752:	4a80           	tstl %d0                                    
   48754:	665e           	bnes 487b4 <_Heap_Walk+0x246>               
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
   48756:	70fe           	moveq #-2,%d0                               
  block->size_and_flag = size | flag;                                 
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & HEAP_PREV_BLOCK_USED;                 
   48758:	7601           	moveq #1,%d3                                
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
   4875a:	c0a8 0004      	andl %a0@(4),%d0                            
  block->size_and_flag = size | flag;                                 
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & HEAP_PREV_BLOCK_USED;                 
   4875e:	c6b0 0804      	andl %a0@(00000004,%d0:l),%d3               
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
   48762:	67c2           	beqs 48726 <_Heap_Walk+0x1b8>               
      (*printer)(                                                     
   48764:	2f08           	movel %a0,%sp@-                             
   48766:	4879 0005 f732 	pea 5f732 <_Status_Object_name_errors_to_status+0x236>
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Walk_is_in_free_list( heap, block ) ) {                 
    (*printer)(                                                       
   4876c:	4878 0001      	pea 1 <ADD>                                 
   48770:	2f05           	movel %d5,%sp@-                             
   48772:	4e95           	jsr %a5@                                    
   48774:	4fef 0010      	lea %sp@(16),%sp                            
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
   48778:	4200           	clrb %d0                                    
   4877a:	6000 ff10      	braw 4868c <_Heap_Walk+0x11e>               
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
   4877e:	2049           	moveal %a1,%a0                              <== NOT EXECUTED
  const Heap_Block *prev_block = free_list_tail;                      
  const Heap_Block *free_block = first_free_block;                    
                                                                      
  while ( free_block != free_list_tail ) {                            
    if ( !_Heap_Is_block_in_heap( heap, free_block ) ) {              
      (*printer)(                                                     
   48780:	2f08           	movel %a0,%sp@-                             
   48782:	4879 0005 f6e2 	pea 5f6e2 <_Status_Object_name_errors_to_status+0x1e6>
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Walk_is_in_free_list( heap, block ) ) {                 
    (*printer)(                                                       
   48788:	4878 0001      	pea 1 <ADD>                                 
   4878c:	2f05           	movel %d5,%sp@-                             
   4878e:	4e95           	jsr %a5@                                    
   48790:	4fef 0010      	lea %sp@(16),%sp                            
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
   48794:	4200           	clrb %d0                                    
   48796:	6000 fef4      	braw 4868c <_Heap_Walk+0x11e>               
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( first_block ) ) {                         
    (*printer)(                                                       
   4879a:	4879 0005 f670 	pea 5f670 <_Status_Object_name_errors_to_status+0x174>
  }                                                                   
                                                                      
  if (                                                                
    _Heap_Block_at( last_block, _Heap_Block_size( last_block ) ) != first_block
  ) {                                                                 
    (*printer)(                                                       
   487a0:	4878 0001      	pea 1 <ADD>                                 
   487a4:	2f05           	movel %d5,%sp@-                             
   487a6:	4e95           	jsr %a5@                                    
   487a8:	4fef 000c      	lea %sp@(12),%sp                            
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
   487ac:	4200           	clrb %d0                                    
   487ae:	6000 fe90      	braw 48640 <_Heap_Walk+0xd2>                
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
   487b2:	2049           	moveal %a1,%a0                              <== NOT EXECUTED
      !_Heap_Is_aligned( _Heap_Alloc_area_of_block( free_block ), page_size )
    ) {                                                               
      (*printer)(                                                     
   487b4:	2f08           	movel %a0,%sp@-                             
   487b6:	4879 0005 f702 	pea 5f702 <_Status_Object_name_errors_to_status+0x206>
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Walk_is_in_free_list( heap, block ) ) {                 
    (*printer)(                                                       
   487bc:	4878 0001      	pea 1 <ADD>                                 
   487c0:	2f05           	movel %d5,%sp@-                             
   487c2:	4e95           	jsr %a5@                                    
   487c4:	4fef 0010      	lea %sp@(16),%sp                            
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
   487c8:	4200           	clrb %d0                                    
   487ca:	6000 fec0      	braw 4868c <_Heap_Walk+0x11e>               
   487ce:	262e fff8      	movel %fp@(-8),%d3                          
   487d2:	282e fff0      	movel %fp@(-16),%d4                         
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
   487d6:	2844           	moveal %d4,%a4                              
   487d8:	2d41 fff4      	movel %d1,%fp@(-12)                         
   487dc:	222e fff4      	movel %fp@(-12),%d1                         
   487e0:	2d4b ffec      	movel %a3,%fp@(-20)                         
   487e4:	2d43 fffc      	movel %d3,%fp@(-4)                          
   487e8:	262e ffec      	movel %fp@(-20),%d3                         
   487ec:	2d47 fff0      	movel %d7,%fp@(-16)                         
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
   487f0:	74fe           	moveq #-2,%d2                               
   487f2:	c483           	andl %d3,%d2                                
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
   487f4:	47f4 2800      	lea %a4@(00000000,%d2:l),%a3                
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
   487f8:	b7c1           	cmpal %d1,%a3                               
   487fa:	657e           	bcss 4887a <_Heap_Walk+0x30c>               <== NEVER TAKEN
   487fc:	b7ea 0024      	cmpal %a2@(36),%a3                          
   48800:	6278           	bhis 4887a <_Heap_Walk+0x30c>               
    uintptr_t const block_begin = (uintptr_t) block;                  
    uintptr_t const block_size = _Heap_Block_size( block );           
    bool const prev_used = _Heap_Is_prev_used( block );               
    Heap_Block *const next_block = _Heap_Block_at( block, block_size );
    uintptr_t const next_block_begin = (uintptr_t) next_block;        
    bool const is_not_last_block = block != last_block;               
   48802:	b9ee fff0      	cmpal %fp@(-16),%a4                         
   48806:	56c7           	sne %d7                                     
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
   48808:	222e fffc      	movel %fp@(-4),%d1                          
   4880c:	2002           	movel %d2,%d0                               
   4880e:	3247           	moveaw %d7,%a1                              
   48810:	4c41 0007      	remul %d1,%d7,%d0                           
   48814:	2009           	movel %a1,%d0                               
   48816:	4480           	negl %d0                                    
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) && is_not_last_block ) {
   48818:	4a87           	tstl %d7                                    
   4881a:	6704           	beqs 48820 <_Heap_Walk+0x2b2>               
   4881c:	4a00           	tstb %d0                                    
   4881e:	667c           	bnes 4889c <_Heap_Walk+0x32e>               
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( block_size < min_block_size && is_not_last_block ) {         
   48820:	b486           	cmpl %d6,%d2                                
   48822:	6406           	bccs 4882a <_Heap_Walk+0x2bc>               
   48824:	4a00           	tstb %d0                                    
   48826:	6600 008e      	bnew 488b6 <_Heap_Walk+0x348>               
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( next_block_begin <= block_begin && is_not_last_block ) {     
   4882a:	b7cc           	cmpal %a4,%a3                               
   4882c:	6206           	bhis 48834 <_Heap_Walk+0x2c6>               
   4882e:	4a00           	tstb %d0                                    
   48830:	6600 00a8      	bnew 488da <_Heap_Walk+0x36c>               
  block->size_and_flag = size | flag;                                 
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & HEAP_PREV_BLOCK_USED;                 
   48834:	7001           	moveq #1,%d0                                
   48836:	7201           	moveq #1,%d1                                
   48838:	c0ab 0004      	andl %a3@(4),%d0                            
   4883c:	c681           	andl %d1,%d3                                
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
   4883e:	4a80           	tstl %d0                                    
   48840:	6700 00cc      	beqw 4890e <_Heap_Walk+0x3a0>               
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
      }                                                               
    } else if (prev_used) {                                           
   48844:	4a83           	tstl %d3                                    
   48846:	6700 00ac      	beqw 488f4 <_Heap_Walk+0x386>               
      (*printer)(                                                     
   4884a:	2f02           	movel %d2,%sp@-                             
   4884c:	2f0c           	movel %a4,%sp@-                             
   4884e:	4879 0005 f8d7 	pea 5f8d7 <_Status_Object_name_errors_to_status+0x3db>
   48854:	42a7           	clrl %sp@-                                  
   48856:	2f05           	movel %d5,%sp@-                             
   48858:	4e95           	jsr %a5@                                    
   4885a:	4fef 0014      	lea %sp@(20),%sp                            
        block->prev_size                                              
      );                                                              
    }                                                                 
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
   4885e:	b7c4           	cmpal %d4,%a3                               
   48860:	6700 fd44      	beqw 485a6 <_Heap_Walk+0x38>                
   48864:	262b 0004      	movel %a3@(4),%d3                           
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
   48868:	74fe           	moveq #-2,%d2                               
   4886a:	284b           	moveal %a3,%a4                              
   4886c:	c483           	andl %d3,%d2                                
   4886e:	222a 0020      	movel %a2@(32),%d1                          
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
   48872:	47f4 2800      	lea %a4@(00000000,%d2:l),%a3                
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
   48876:	b7c1           	cmpal %d1,%a3                               
   48878:	6482           	bccs 487fc <_Heap_Walk+0x28e>               <== ALWAYS TAKEN
    Heap_Block *const next_block = _Heap_Block_at( block, block_size );
    uintptr_t const next_block_begin = (uintptr_t) next_block;        
    bool const is_not_last_block = block != last_block;               
                                                                      
    if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {              
      (*printer)(                                                     
   4887a:	2f0b           	movel %a3,%sp@-                             
   4887c:	2f0c           	movel %a4,%sp@-                             
   4887e:	4879 0005 f780 	pea 5f780 <_Status_Object_name_errors_to_status+0x284>
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( next_block_begin <= block_begin && is_not_last_block ) {     
      (*printer)(                                                     
   48884:	4878 0001      	pea 1 <ADD>                                 
   48888:	2f05           	movel %d5,%sp@-                             
   4888a:	4e95           	jsr %a5@                                    
        "block 0x%08x: next block 0x%08x is not a successor\n",       
        block,                                                        
        next_block                                                    
      );                                                              
                                                                      
      return false;                                                   
   4888c:	4fef 0014      	lea %sp@(20),%sp                            
   48890:	4200           	clrb %d0                                    
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
   48892:	4cee 3cfc ffc4 	moveml %fp@(-60),%d2-%d7/%a2-%a5            
   48898:	4e5e           	unlk %fp                                    
   4889a:	4e75           	rts                                         
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) && is_not_last_block ) {
      (*printer)(                                                     
   4889c:	2f02           	movel %d2,%sp@-                             
   4889e:	2f0c           	movel %a4,%sp@-                             
   488a0:	4879 0005 f7ad 	pea 5f7ad <_Status_Object_name_errors_to_status+0x2b1>
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( next_block_begin <= block_begin && is_not_last_block ) {     
      (*printer)(                                                     
   488a6:	4878 0001      	pea 1 <ADD>                                 
   488aa:	2f05           	movel %d5,%sp@-                             
   488ac:	4e95           	jsr %a5@                                    
        "block 0x%08x: next block 0x%08x is not a successor\n",       
        block,                                                        
        next_block                                                    
      );                                                              
                                                                      
      return false;                                                   
   488ae:	4fef 0014      	lea %sp@(20),%sp                            
   488b2:	4200           	clrb %d0                                    
   488b4:	60dc           	bras 48892 <_Heap_Walk+0x324>               
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( block_size < min_block_size && is_not_last_block ) {         
      (*printer)(                                                     
   488b6:	2f06           	movel %d6,%sp@-                             
   488b8:	2f02           	movel %d2,%sp@-                             
   488ba:	2f0c           	movel %a4,%sp@-                             
   488bc:	4879 0005 f7db 	pea 5f7db <_Status_Object_name_errors_to_status+0x2df>
   488c2:	4878 0001      	pea 1 <ADD>                                 
   488c6:	2f05           	movel %d5,%sp@-                             
   488c8:	4e95           	jsr %a5@                                    
        block,                                                        
        block_size,                                                   
        min_block_size                                                
      );                                                              
                                                                      
      return false;                                                   
   488ca:	4fef 0018      	lea %sp@(24),%sp                            
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
   488ce:	4cee 3cfc ffc4 	moveml %fp@(-60),%d2-%d7/%a2-%a5            
        block,                                                        
        block_size,                                                   
        min_block_size                                                
      );                                                              
                                                                      
      return false;                                                   
   488d4:	4200           	clrb %d0                                    
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
   488d6:	4e5e           	unlk %fp                                    
   488d8:	4e75           	rts                                         
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( next_block_begin <= block_begin && is_not_last_block ) {     
      (*printer)(                                                     
   488da:	2f0b           	movel %a3,%sp@-                             
   488dc:	2f0c           	movel %a4,%sp@-                             
   488de:	4879 0005 f806 	pea 5f806 <_Status_Object_name_errors_to_status+0x30a>
   488e4:	4878 0001      	pea 1 <ADD>                                 
   488e8:	2f05           	movel %d5,%sp@-                             
   488ea:	4e95           	jsr %a5@                                    
        "block 0x%08x: next block 0x%08x is not a successor\n",       
        block,                                                        
        next_block                                                    
      );                                                              
                                                                      
      return false;                                                   
   488ec:	4fef 0014      	lea %sp@(20),%sp                            
   488f0:	4200           	clrb %d0                                    
   488f2:	609e           	bras 48892 <_Heap_Walk+0x324>               
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
   488f4:	2f14           	movel %a4@,%sp@-                            
   488f6:	2f02           	movel %d2,%sp@-                             
   488f8:	2f0c           	movel %a4,%sp@-                             
   488fa:	4879 0005 f8ee 	pea 5f8ee <_Status_Object_name_errors_to_status+0x3f2>
   48900:	42a7           	clrl %sp@-                                  
   48902:	2f05           	movel %d5,%sp@-                             
   48904:	4e95           	jsr %a5@                                    
   48906:	4fef 0018      	lea %sp@(24),%sp                            
   4890a:	6000 ff52      	braw 4885e <_Heap_Walk+0x2f0>               
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
   4890e:	2e2a 0008      	movel %a2@(8),%d7                           
  Heap_Block *const last_free_block = _Heap_Free_list_last( heap );   
  bool const prev_used = _Heap_Is_prev_used( block );                 
  uintptr_t const block_size = _Heap_Block_size( block );             
  Heap_Block *const next_block = _Heap_Block_at( block, block_size ); 
                                                                      
  (*printer)(                                                         
   48912:	43f9 0005 f526 	lea 5f526 <_Status_Object_name_errors_to_status+0x2a>,%a1
    block->prev,                                                      
    block->prev == first_free_block ?                                 
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
   48918:	222c 0008      	movel %a4@(8),%d1                           
  Heap_Block *const last_free_block = _Heap_Free_list_last( heap );   
  bool const prev_used = _Heap_Is_prev_used( block );                 
  uintptr_t const block_size = _Heap_Block_size( block );             
  Heap_Block *const next_block = _Heap_Block_at( block, block_size ); 
                                                                      
  (*printer)(                                                         
   4891c:	b2aa 000c      	cmpl %a2@(12),%d1                           
   48920:	670a           	beqs 4892c <_Heap_Walk+0x3be>               
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
   48922:	43f9 0005 f46e 	lea 5f46e <rtems_filesystem_default_pathconf+0xb4>,%a1
   48928:	b28a           	cmpl %a2,%d1                                
   4892a:	6764           	beqs 48990 <_Heap_Walk+0x422>               
    false,                                                            
    "block 0x%08x: size %u, prev 0x%08x%s, next 0x%08x%s\n",          
    block,                                                            
    block_size,                                                       
    block->prev,                                                      
    block->prev == first_free_block ?                                 
   4892c:	202c 000c      	movel %a4@(12),%d0                          
  Heap_Block *const last_free_block = _Heap_Free_list_last( heap );   
  bool const prev_used = _Heap_Is_prev_used( block );                 
  uintptr_t const block_size = _Heap_Block_size( block );             
  Heap_Block *const next_block = _Heap_Block_at( block, block_size ); 
                                                                      
  (*printer)(                                                         
   48930:	41f9 0005 f53f 	lea 5f53f <_Status_Object_name_errors_to_status+0x43>,%a0
   48936:	b087           	cmpl %d7,%d0                                
   48938:	670a           	beqs 48944 <_Heap_Walk+0x3d6>               
    block,                                                            
    block_size,                                                       
    block->prev,                                                      
    block->prev == first_free_block ?                                 
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
   4893a:	41f9 0005 f46e 	lea 5f46e <rtems_filesystem_default_pathconf+0xb4>,%a0
   48940:	b08a           	cmpl %a2,%d0                                
   48942:	6754           	beqs 48998 <_Heap_Walk+0x42a>               
  Heap_Block *const last_free_block = _Heap_Free_list_last( heap );   
  bool const prev_used = _Heap_Is_prev_used( block );                 
  uintptr_t const block_size = _Heap_Block_size( block );             
  Heap_Block *const next_block = _Heap_Block_at( block, block_size ); 
                                                                      
  (*printer)(                                                         
   48944:	2f09           	movel %a1,%sp@-                             
   48946:	2f01           	movel %d1,%sp@-                             
   48948:	2f08           	movel %a0,%sp@-                             
   4894a:	2f00           	movel %d0,%sp@-                             
   4894c:	2f02           	movel %d2,%sp@-                             
   4894e:	2f0c           	movel %a4,%sp@-                             
   48950:	4879 0005 f83a 	pea 5f83a <_Status_Object_name_errors_to_status+0x33e>
   48956:	42a7           	clrl %sp@-                                  
   48958:	2f05           	movel %d5,%sp@-                             
   4895a:	4e95           	jsr %a5@                                    
    block->next == last_free_block ?                                  
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
  );                                                                  
                                                                      
  if ( block_size != next_block->prev_size ) {                        
   4895c:	2213           	movel %a3@,%d1                              
   4895e:	4fef 0024      	lea %sp@(36),%sp                            
   48962:	b282           	cmpl %d2,%d1                                
   48964:	663a           	bnes 489a0 <_Heap_Walk+0x432>               
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !prev_used ) {                                                 
   48966:	4a83           	tstl %d3                                    
   48968:	6776           	beqs 489e0 <_Heap_Walk+0x472>               
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
   4896a:	206a 0008      	moveal %a2@(8),%a0                          
)                                                                     
{                                                                     
  const Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );
  const Heap_Block *free_block = _Heap_Free_list_first( heap );       
                                                                      
  while ( free_block != free_list_tail ) {                            
   4896e:	b1ca           	cmpal %a2,%a0                               
   48970:	6754           	beqs 489c6 <_Heap_Walk+0x458>               <== NEVER TAKEN
    if ( free_block == block ) {                                      
   48972:	b1cc           	cmpal %a4,%a0                               
   48974:	6700 fee8      	beqw 4885e <_Heap_Walk+0x2f0>               
   48978:	2e2e fff0      	movel %fp@(-16),%d7                         
      return true;                                                    
    }                                                                 
    free_block = free_block->next;                                    
   4897c:	2068 0008      	moveal %a0@(8),%a0                          
)                                                                     
{                                                                     
  const Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );
  const Heap_Block *free_block = _Heap_Free_list_first( heap );       
                                                                      
  while ( free_block != free_list_tail ) {                            
   48980:	b1ca           	cmpal %a2,%a0                               
   48982:	6742           	beqs 489c6 <_Heap_Walk+0x458>               
    if ( free_block == block ) {                                      
   48984:	b1cc           	cmpal %a4,%a0                               
   48986:	66f4           	bnes 4897c <_Heap_Walk+0x40e>               
   48988:	2d47 fff0      	movel %d7,%fp@(-16)                         
   4898c:	6000 fed0      	braw 4885e <_Heap_Walk+0x2f0>               
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
   48990:	43f9 0005 f535 	lea 5f535 <_Status_Object_name_errors_to_status+0x39>,%a1
   48996:	6094           	bras 4892c <_Heap_Walk+0x3be>               
    block,                                                            
    block_size,                                                       
    block->prev,                                                      
    block->prev == first_free_block ?                                 
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
   48998:	41f9 0005 f54f 	lea 5f54f <_Status_Object_name_errors_to_status+0x53>,%a0
   4899e:	60a4           	bras 48944 <_Heap_Walk+0x3d6>               
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
  );                                                                  
                                                                      
  if ( block_size != next_block->prev_size ) {                        
    (*printer)(                                                       
   489a0:	2f0b           	movel %a3,%sp@-                             
   489a2:	2f01           	movel %d1,%sp@-                             
   489a4:	2f02           	movel %d2,%sp@-                             
   489a6:	2f0c           	movel %a4,%sp@-                             
   489a8:	4879 0005 f86f 	pea 5f86f <_Status_Object_name_errors_to_status+0x373>
   489ae:	4878 0001      	pea 1 <ADD>                                 
   489b2:	2f05           	movel %d5,%sp@-                             
   489b4:	4e95           	jsr %a5@                                    
   489b6:	4fef 001c      	lea %sp@(28),%sp                            
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
   489ba:	4cee 3cfc ffc4 	moveml %fp@(-60),%d2-%d7/%a2-%a5            
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
   489c0:	4200           	clrb %d0                                    
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
   489c2:	4e5e           	unlk %fp                                    
   489c4:	4e75           	rts                                         
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Walk_is_in_free_list( heap, block ) ) {                 
    (*printer)(                                                       
   489c6:	2f0c           	movel %a4,%sp@-                             
   489c8:	4879 0005 f913 	pea 5f913 <_Status_Object_name_errors_to_status+0x417>
   489ce:	4878 0001      	pea 1 <ADD>                                 
   489d2:	2f05           	movel %d5,%sp@-                             
   489d4:	4e95           	jsr %a5@                                    
   489d6:	4fef 0010      	lea %sp@(16),%sp                            
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
   489da:	4200           	clrb %d0                                    
   489dc:	6000 fcae      	braw 4868c <_Heap_Walk+0x11e>               
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !prev_used ) {                                                 
    (*printer)(                                                       
   489e0:	2f0c           	movel %a4,%sp@-                             
   489e2:	4879 0005 f8a8 	pea 5f8a8 <_Status_Object_name_errors_to_status+0x3ac>
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Walk_is_in_free_list( heap, block ) ) {                 
    (*printer)(                                                       
   489e8:	4878 0001      	pea 1 <ADD>                                 
   489ec:	2f05           	movel %d5,%sp@-                             
   489ee:	4e95           	jsr %a5@                                    
   489f0:	4fef 0010      	lea %sp@(16),%sp                            
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
   489f4:	4200           	clrb %d0                                    
   489f6:	6000 fc94      	braw 4868c <_Heap_Walk+0x11e>               
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
      (*printer)(                                                     
   489fa:	2f08           	movel %a0,%sp@-                             
   489fc:	2f09           	movel %a1,%sp@-                             
   489fe:	4879 0005 f74e 	pea 5f74e <_Status_Object_name_errors_to_status+0x252>
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( next_block_begin <= block_begin && is_not_last_block ) {     
      (*printer)(                                                     
   48a04:	4878 0001      	pea 1 <ADD>                                 
   48a08:	2f05           	movel %d5,%sp@-                             
   48a0a:	4e95           	jsr %a5@                                    
        "block 0x%08x: next block 0x%08x is not a successor\n",       
        block,                                                        
        next_block                                                    
      );                                                              
                                                                      
      return false;                                                   
   48a0c:	4fef 0014      	lea %sp@(20),%sp                            
   48a10:	4200           	clrb %d0                                    
   48a12:	6000 fe7e      	braw 48892 <_Heap_Walk+0x324>               
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
   48a16:	2049           	moveal %a1,%a0                              <== NOT EXECUTED
      (*printer)(                                                     
   48a18:	2f08           	movel %a0,%sp@-                             <== NOT EXECUTED
   48a1a:	4879 0005 f732 	pea 5f732 <_Status_Object_name_errors_to_status+0x236><== NOT EXECUTED
   48a20:	6000 fd4a      	braw 4876c <_Heap_Walk+0x1fe>               <== NOT EXECUTED
  const Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );
  const Heap_Block *const first_free_block = _Heap_Free_list_first( heap );
  const Heap_Block *prev_block = free_list_tail;                      
  const Heap_Block *free_block = first_free_block;                    
                                                                      
  while ( free_block != free_list_tail ) {                            
   48a24:	222a 0020      	movel %a2@(32),%d1                          
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
   48a28:	2844           	moveal %d4,%a4                              
  const Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );
  const Heap_Block *const first_free_block = _Heap_Free_list_first( heap );
  const Heap_Block *prev_block = free_list_tail;                      
  const Heap_Block *free_block = first_free_block;                    
                                                                      
  while ( free_block != free_list_tail ) {                            
   48a2a:	2d41 fff4      	movel %d1,%fp@(-12)                         
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
   48a2e:	222e fff4      	movel %fp@(-12),%d1                         
   48a32:	2d43 fffc      	movel %d3,%fp@(-4)                          
   48a36:	262e ffec      	movel %fp@(-20),%d3                         
   48a3a:	2d47 fff0      	movel %d7,%fp@(-16)                         
   48a3e:	6000 fdb0      	braw 487f0 <_Heap_Walk+0x282>               
	...                                                                  
                                                                      

00046f66 <_IO_Initialize_all_drivers>: * * Output Parameters: NONE */ void _IO_Initialize_all_drivers( void ) {
   46f66:	4e56 0000      	linkw %fp,#0                                
   46f6a:	2f0a           	movel %a2,%sp@-                             
   46f6c:	2f02           	movel %d2,%sp@-                             
   rtems_device_major_number major;                                   
                                                                      
   for ( major=0 ; major < _IO_Number_of_drivers ; major ++ )         
   46f6e:	4ab9 0006 14e2 	tstl 614e2 <_IO_Number_of_drivers>          
   46f74:	671e           	beqs 46f94 <_IO_Initialize_all_drivers+0x2e><== NEVER TAKEN
   46f76:	4282           	clrl %d2                                    
   46f78:	45f9 0004 c760 	lea 4c760 <rtems_io_initialize>,%a2         
     (void) rtems_io_initialize( major, 0, NULL );                    
   46f7e:	42a7           	clrl %sp@-                                  
   46f80:	42a7           	clrl %sp@-                                  
   46f82:	2f02           	movel %d2,%sp@-                             
                                                                      
void _IO_Initialize_all_drivers( void )                               
{                                                                     
   rtems_device_major_number major;                                   
                                                                      
   for ( major=0 ; major < _IO_Number_of_drivers ; major ++ )         
   46f84:	5282           	addql #1,%d2                                
     (void) rtems_io_initialize( major, 0, NULL );                    
   46f86:	4e92           	jsr %a2@                                    
                                                                      
void _IO_Initialize_all_drivers( void )                               
{                                                                     
   rtems_device_major_number major;                                   
                                                                      
   for ( major=0 ; major < _IO_Number_of_drivers ; major ++ )         
   46f88:	4fef 000c      	lea %sp@(12),%sp                            
   46f8c:	b4b9 0006 14e2 	cmpl 614e2 <_IO_Number_of_drivers>,%d2      
   46f92:	65ea           	bcss 46f7e <_IO_Initialize_all_drivers+0x18>
     (void) rtems_io_initialize( major, 0, NULL );                    
}                                                                     
   46f94:	242e fff8      	movel %fp@(-8),%d2                          
   46f98:	246e fffc      	moveal %fp@(-4),%a2                         
   46f9c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00046ecc <_IO_Manager_initialization>: * workspace. * */ void _IO_Manager_initialization(void) {
   46ecc:	4e56 fff0      	linkw %fp,#-16                              
   46ed0:	48d7 003c      	moveml %d2-%d5,%sp@                         
  uint32_t                    index;                                  
  rtems_driver_address_table *driver_table;                           
  uint32_t                    drivers_in_table;                       
  uint32_t                    number_of_drivers;                      
                                                                      
  driver_table      = Configuration.Device_driver_table;              
   46ed4:	2639 0005 f3a6 	movel 5f3a6 <Configuration+0x32>,%d3        
  drivers_in_table  = Configuration.number_of_device_drivers;         
   46eda:	2439 0005 f3a2 	movel 5f3a2 <Configuration+0x2e>,%d2        
  number_of_drivers = Configuration.maximum_drivers;                  
   46ee0:	2839 0005 f39e 	movel 5f39e <Configuration+0x2a>,%d4        
                                                                      
  /*                                                                  
   *  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 )                        
   46ee6:	b882           	cmpl %d2,%d4                                
   46ee8:	6366           	blss 46f50 <_IO_Manager_initialization+0x84>
   *  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 *)           
      _Workspace_Allocate_or_fatal_error(                             
   46eea:	2004           	movel %d4,%d0                               
   46eec:	2a04           	movel %d4,%d5                               
   46eee:	e788           	lsll #3,%d0                                 
   46ef0:	eb8d           	lsll #5,%d5                                 
   46ef2:	9a80           	subl %d0,%d5                                
   46ef4:	2f05           	movel %d5,%sp@-                             
   46ef6:	4eb9 0004 9f58 	jsr 49f58 <_Workspace_Allocate_or_fatal_error>
        sizeof( rtems_driver_address_table ) * ( number_of_drivers )  
      );                                                              
  _IO_Number_of_drivers = number_of_drivers;                          
                                                                      
  memset(                                                             
   46efc:	2f05           	movel %d5,%sp@-                             
   46efe:	42a7           	clrl %sp@-                                  
  /*                                                                  
   *  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 *)           
   46f00:	23c0 0006 14e6 	movel %d0,614e6 <_IO_Driver_address_table>  
      _Workspace_Allocate_or_fatal_error(                             
        sizeof( rtems_driver_address_table ) * ( number_of_drivers )  
      );                                                              
  _IO_Number_of_drivers = number_of_drivers;                          
                                                                      
  memset(                                                             
   46f06:	2f00           	movel %d0,%sp@-                             
                                                                      
  _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;                          
   46f08:	23c4 0006 14e2 	movel %d4,614e2 <_IO_Number_of_drivers>     
                                                                      
  memset(                                                             
   46f0e:	4eb9 0004 f4ec 	jsr 4f4ec <memset>                          
    _IO_Driver_address_table, 0,                                      
    sizeof( rtems_driver_address_table ) * ( number_of_drivers )      
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
   46f14:	4fef 0010      	lea %sp@(16),%sp                            
   46f18:	4a82           	tstl %d2                                    
   46f1a:	672a           	beqs 46f46 <_IO_Manager_initialization+0x7a><== NEVER TAKEN
   46f1c:	2839 0006 14e6 	movel 614e6 <_IO_Driver_address_table>,%d4  
   46f22:	4280           	clrl %d0                                    
   46f24:	4281           	clrl %d1                                    
    _IO_Driver_address_table[index] = driver_table[index];            
   46f26:	2243           	moveal %d3,%a1                              
   46f28:	2044           	moveal %d4,%a0                              
   46f2a:	d3c0           	addal %d0,%a1                               
   46f2c:	d1c0           	addal %d0,%a0                               
  memset(                                                             
    _IO_Driver_address_table, 0,                                      
    sizeof( rtems_driver_address_table ) * ( number_of_drivers )      
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
   46f2e:	5281           	addql #1,%d1                                
   46f30:	0680 0000 0018 	addil #24,%d0                               
    _IO_Driver_address_table[index] = driver_table[index];            
   46f36:	20d9           	movel %a1@+,%a0@+                           
   46f38:	20d9           	movel %a1@+,%a0@+                           
   46f3a:	20d9           	movel %a1@+,%a0@+                           
   46f3c:	20d9           	movel %a1@+,%a0@+                           
   46f3e:	20d9           	movel %a1@+,%a0@+                           
   46f40:	2091           	movel %a1@,%a0@                             
  memset(                                                             
    _IO_Driver_address_table, 0,                                      
    sizeof( rtems_driver_address_table ) * ( number_of_drivers )      
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
   46f42:	b282           	cmpl %d2,%d1                                
   46f44:	65e0           	bcss 46f26 <_IO_Manager_initialization+0x5a>
    _IO_Driver_address_table[index] = driver_table[index];            
}                                                                     
   46f46:	4cee 003c fff0 	moveml %fp@(-16),%d2-%d5                    
   46f4c:	4e5e           	unlk %fp                                    
   46f4e:	4e75           	rts                                         
   *  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;                          
   46f50:	23c3 0006 14e6 	movel %d3,614e6 <_IO_Driver_address_table>  
    _IO_Number_of_drivers = number_of_drivers;                        
   46f56:	23c2 0006 14e2 	movel %d2,614e2 <_IO_Number_of_drivers>     
    sizeof( rtems_driver_address_table ) * ( number_of_drivers )      
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
    _IO_Driver_address_table[index] = driver_table[index];            
}                                                                     
   46f5c:	4cee 003c fff0 	moveml %fp@(-16),%d2-%d5                    
   46f62:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00047b1c <_Internal_error_Occurred>: void _Internal_error_Occurred( Internal_errors_Source the_source, bool is_internal, Internal_errors_t the_error ) {
   47b1c:	4e56 fffc      	linkw %fp,#-4                               
   47b20:	206e 0010      	moveal %fp@(16),%a0                         
   47b24:	2f02           	movel %d2,%sp@-                             
   47b26:	222e 000c      	movel %fp@(12),%d1                          
                                                                      
  _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 );       
   47b2a:	4282           	clrl %d2                                    
   47b2c:	1401           	moveb %d1,%d2                               
   47b2e:	2242           	moveal %d2,%a1                              
   47b30:	2f08           	movel %a0,%sp@-                             
void _Internal_error_Occurred(                                        
  Internal_errors_Source  the_source,                                 
  bool                    is_internal,                                
  Internal_errors_t       the_error                                   
)                                                                     
{                                                                     
   47b32:	202e 0008      	movel %fp@(8),%d0                           
                                                                      
  _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 );       
   47b36:	2f09           	movel %a1,%sp@-                             
  Internal_errors_t       the_error                                   
)                                                                     
{                                                                     
                                                                      
  _Internal_errors_What_happened.the_source  = the_source;            
  _Internal_errors_What_happened.is_internal = is_internal;           
   47b38:	13c1 0006 0d02 	moveb %d1,60d02 <_Internal_errors_What_happened+0x4>
  _Internal_errors_What_happened.the_error   = the_error;             
                                                                      
  _User_extensions_Fatal( the_source, is_internal, the_error );       
   47b3e:	2d48 fffc      	movel %a0,%fp@(-4)                          
  bool                    is_internal,                                
  Internal_errors_t       the_error                                   
)                                                                     
{                                                                     
                                                                      
  _Internal_errors_What_happened.the_source  = the_source;            
   47b42:	23c0 0006 0cfe 	movel %d0,60cfe <_Internal_errors_What_happened>
  _Internal_errors_What_happened.is_internal = is_internal;           
  _Internal_errors_What_happened.the_error   = the_error;             
   47b48:	23c8 0006 0d04 	movel %a0,60d04 <_Internal_errors_What_happened+0x6>
                                                                      
  _User_extensions_Fatal( the_source, is_internal, the_error );       
   47b4e:	2f00           	movel %d0,%sp@-                             
   47b50:	4eb9 0004 9ad6 	jsr 49ad6 <_User_extensions_Fatal>          
                                                                      
  _System_state_Set( SYSTEM_STATE_FAILED );                           
                                                                      
  _CPU_Fatal_halt( the_error );                                       
   47b56:	206e fffc      	moveal %fp@(-4),%a0                         <== NOT EXECUTED
   47b5a:	327c 0700      	moveaw #1792,%a1                            <== NOT EXECUTED
   47b5e:	2409           	movel %a1,%d2                               <== NOT EXECUTED
   47b60:	40c0           	movew %sr,%d0                               <== NOT EXECUTED
   47b62:	8082           	orl %d2,%d0                                 <== NOT EXECUTED
   47b64:	46c0           	movew %d0,%sr                               <== NOT EXECUTED
   47b66:	2008           	movel %a0,%d0                               <== NOT EXECUTED
   47b68:	223c dead beef 	movel #-559038737,%d1                       <== NOT EXECUTED
   47b6e:	4ac8           	halt                                        <== NOT EXECUTED
                                                                      
RTEMS_INLINE_ROUTINE void _System_state_Set (                         
  System_state_Codes state                                            
)                                                                     
{                                                                     
  _System_state_Current = state;                                      
   47b70:	7005           	moveq #5,%d0                                <== NOT EXECUTED
   47b72:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   47b76:	23c0 0006 0db4 	movel %d0,60db4 <_System_state_Current>     <== NOT EXECUTED
   47b7c:	60fe           	bras 47b7c <_Internal_error_Occurred+0x60>  <== NOT EXECUTED
	...                                                                  
                                                                      

00047be0 <_Objects_Allocate>: */ Objects_Control *_Objects_Allocate( Objects_Information *information ) {
   47be0:	4e56 fff0      	linkw %fp,#-16                              
   47be4:	48d7 0c0c      	moveml %d2-%d3/%a2-%a3,%sp@                 
   47be8:	246e 0008      	moveal %fp@(8),%a2                          
   *  If the application is using the optional manager stubs and      
   *  still attempts to create the object, the information block      
   *  should be all zeroed out because it is in the BSS.  So let's    
   *  check that code for this manager is even present.               
   */                                                                 
  if ( information->size == 0 )                                       
   47bec:	4aaa 0014      	tstl %a2@(20)                               
   47bf0:	660c           	bnes 47bfe <_Objects_Allocate+0x1e>         <== ALWAYS TAKEN
    return NULL;                                                      
   47bf2:	4280           	clrl %d0                                    <== NOT EXECUTED
    );                                                                
  }                                                                   
#endif                                                                
                                                                      
  return the_object;                                                  
}                                                                     
   47bf4:	4cee 0c0c fff0 	moveml %fp@(-16),%d2-%d3/%a2-%a3            
   47bfa:	4e5e           	unlk %fp                                    
   47bfc:	4e75           	rts                                         
                                                                      
  /*                                                                  
   *  OK.  The manager should be initialized and configured to have objects.
   *  With any luck, it is safe to attempt to allocate an object.     
   */                                                                 
  the_object = (Objects_Control *) _Chain_Get( &information->Inactive );
   47bfe:	240a           	movel %a2,%d2                               
   47c00:	0682 0000 001c 	addil #28,%d2                               
   47c06:	47f9 0004 723c 	lea 4723c <_Chain_Get>,%a3                  
   47c0c:	2f02           	movel %d2,%sp@-                             
   47c0e:	4e93           	jsr %a3@                                    
                                                                      
  if ( information->auto_extend ) {                                   
   47c10:	588f           	addql #4,%sp                                
   47c12:	4a2a 0010      	tstb %a2@(16)                               
   47c16:	67dc           	beqs 47bf4 <_Objects_Allocate+0x14>         
    /*                                                                
     *  If the list is empty then we are out of objects and need to   
     *  extend information base.                                      
     */                                                               
                                                                      
    if ( !the_object ) {                                              
   47c18:	4a80           	tstl %d0                                    
   47c1a:	6738           	beqs 47c54 <_Objects_Allocate+0x74>         
    }                                                                 
                                                                      
    if ( the_object ) {                                               
      uint32_t   block;                                               
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
   47c1c:	2040           	moveal %d0,%a0                              
   47c1e:	4281           	clrl %d1                                    
   47c20:	4283           	clrl %d3                                    
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
   47c22:	4282           	clrl %d2                                    
    }                                                                 
                                                                      
    if ( the_object ) {                                               
      uint32_t   block;                                               
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
   47c24:	362a 0008      	movew %a2@(8),%d3                           
   47c28:	3228 000a      	movew %a0@(10),%d1                          
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
   47c2c:	342a 0012      	movew %a2@(18),%d2                          
                                                                      
      information->inactive_per_block[ block ]--;                     
   47c30:	206a 002a      	moveal %a2@(42),%a0                         
    }                                                                 
                                                                      
    if ( the_object ) {                                               
      uint32_t   block;                                               
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
   47c34:	9283           	subl %d3,%d1                                
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
   47c36:	4c42 1001      	remul %d2,%d1,%d1                           
                                                                      
      information->inactive_per_block[ block ]--;                     
      information->inactive--;                                        
   47c3a:	326a 0028      	moveaw %a2@(40),%a1                         
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
                                                                      
      information->inactive_per_block[ block ]--;                     
   47c3e:	e589           	lsll #2,%d1                                 
      information->inactive--;                                        
   47c40:	5389           	subql #1,%a1                                
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
                                                                      
      information->inactive_per_block[ block ]--;                     
   47c42:	d1c1           	addal %d1,%a0                               
   47c44:	5390           	subql #1,%a0@                               
      information->inactive--;                                        
   47c46:	3549 0028      	movew %a1,%a2@(40)                          
    );                                                                
  }                                                                   
#endif                                                                
                                                                      
  return the_object;                                                  
}                                                                     
   47c4a:	4cee 0c0c fff0 	moveml %fp@(-16),%d2-%d3/%a2-%a3            
   47c50:	4e5e           	unlk %fp                                    
   47c52:	4e75           	rts                                         
     *  If the list is empty then we are out of objects and need to   
     *  extend information base.                                      
     */                                                               
                                                                      
    if ( !the_object ) {                                              
      _Objects_Extend_information( information );                     
   47c54:	2f0a           	movel %a2,%sp@-                             
   47c56:	4eb9 0004 7c9c 	jsr 47c9c <_Objects_Extend_information>     
      the_object =  (Objects_Control *) _Chain_Get( &information->Inactive );
   47c5c:	2f02           	movel %d2,%sp@-                             
   47c5e:	4e93           	jsr %a3@                                    
    }                                                                 
                                                                      
    if ( the_object ) {                                               
   47c60:	508f           	addql #8,%sp                                
   47c62:	4a80           	tstl %d0                                    
   47c64:	66b6           	bnes 47c1c <_Objects_Allocate+0x3c>         
    );                                                                
  }                                                                   
#endif                                                                
                                                                      
  return the_object;                                                  
}                                                                     
   47c66:	4cee 0c0c fff0 	moveml %fp@(-16),%d2-%d3/%a2-%a3            
   47c6c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00047c70 <_Objects_Close>: RTEMS_INLINE_ROUTINE void _Objects_Invalidate_Id( Objects_Information *information, Objects_Control *the_object ) { _Objects_Set_local_object(
   47c70:	4280           	clrl %d0                                    
                                                                      
void _Objects_Close(                                                  
  Objects_Information  *information,                                  
  Objects_Control      *the_object                                    
)                                                                     
{                                                                     
   47c72:	4e56 0000      	linkw %fp,#0                                
   47c76:	226e 000c      	moveal %fp@(12),%a1                         
   47c7a:	206e 0008      	moveal %fp@(8),%a0                          
   47c7e:	2f0a           	movel %a2,%sp@-                             
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
   47c80:	2468 0018      	moveal %a0@(24),%a2                         
RTEMS_INLINE_ROUTINE void _Objects_Invalidate_Id(                     
  Objects_Information  *information,                                  
  Objects_Control      *the_object                                    
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
   47c84:	3029 000a      	movew %a1@(10),%d0                          
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
   47c88:	42b2 0c00      	clrl %a2@(00000000,%d0:l:4)                 
  _Objects_Invalidate_Id( information, the_object );                  
                                                                      
  _Objects_Namespace_remove( information, the_object );               
}                                                                     
   47c8c:	245f           	moveal %sp@+,%a2                            
  Objects_Control      *the_object                                    
)                                                                     
{                                                                     
  _Objects_Invalidate_Id( information, the_object );                  
                                                                      
  _Objects_Namespace_remove( information, the_object );               
   47c8e:	2d49 000c      	movel %a1,%fp@(12)                          
}                                                                     
   47c92:	4e5e           	unlk %fp                                    
  Objects_Control      *the_object                                    
)                                                                     
{                                                                     
  _Objects_Invalidate_Id( information, the_object );                  
                                                                      
  _Objects_Namespace_remove( information, the_object );               
   47c94:	4ef9 0004 8218 	jmp 48218 <_Objects_Namespace_remove>       
	...                                                                  
                                                                      

00047c9c <_Objects_Extend_information>: */ void _Objects_Extend_information( Objects_Information *information ) {
   47c9c:	4e56 ffcc      	linkw %fp,#-52                              
   47ca0:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
   47ca4:	246e 0008      	moveal %fp@(8),%a2                          
  /*                                                                  
   *  Search for a free block of indexes. If we do NOT need to allocate or
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
  minimum_index = _Objects_Get_index( information->minimum_id );      
   47ca8:	4285           	clrl %d5                                    
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
   47caa:	206a 002e      	moveal %a2@(46),%a0                         
  /*                                                                  
   *  Search for a free block of indexes. If we do NOT need to allocate or
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
  minimum_index = _Objects_Get_index( information->minimum_id );      
   47cae:	3a2a 0008      	movew %a2@(8),%d5                           
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
   47cb2:	4a88           	tstl %a0                                    
   47cb4:	6700 022c      	beqw 47ee2 <_Objects_Extend_information+0x246>
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
   47cb8:	322a 000e      	movew %a2@(14),%d1                          
   47cbc:	302a 0012      	movew %a2@(18),%d0                          
   47cc0:	3801           	movew %d1,%d4                               
   47cc2:	0284 0000 ffff 	andil #65535,%d4                            
   47cc8:	88c0           	divuw %d0,%d4                               
   47cca:	0284 0000 ffff 	andil #65535,%d4                            
                                                                      
    for ( ; block < block_count; block++ ) {                          
   47cd0:	6700 0226      	beqw 47ef8 <_Objects_Extend_information+0x25c>
      if ( information->object_blocks[ block ] == NULL ) {            
   47cd4:	4a90           	tstl %a0@                                   
   47cd6:	6700 0230      	beqw 47f08 <_Objects_Extend_information+0x26c>
 *    information     - object information table                      
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Objects_Extend_information(                                     
   47cda:	5888           	addql #4,%a0                                
  /*                                                                  
   *  Search for a free block of indexes. If we do NOT need to allocate or
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
  minimum_index = _Objects_Get_index( information->minimum_id );      
   47cdc:	2605           	movel %d5,%d3                               
  index_base    = minimum_index;                                      
  block         = 0;                                                  
   47cde:	4282           	clrl %d2                                    
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
      if ( information->object_blocks[ block ] == NULL ) {            
   47ce0:	0280 0000 ffff 	andil #65535,%d0                            
        do_extend = false;                                            
        break;                                                        
      } else                                                          
        index_base += information->allocation_size;                   
   47ce6:	d680           	addl %d0,%d3                                
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
   47ce8:	5282           	addql #1,%d2                                
   47cea:	b484           	cmpl %d4,%d2                                
   47cec:	6400 01a0      	bccw 47e8e <_Objects_Extend_information+0x1f2>
      if ( information->object_blocks[ block ] == NULL ) {            
   47cf0:	4a98           	tstl %a0@+                                  
   47cf2:	66f2           	bnes 47ce6 <_Objects_Extend_information+0x4a>
        do_extend = false;                                            
   47cf4:	4207           	clrb %d7                                    
      } else                                                          
        index_base += information->allocation_size;                   
    }                                                                 
  }                                                                   
                                                                      
  maximum = (uint32_t) information->maximum + information->allocation_size;
   47cf6:	0281 0000 ffff 	andil #65535,%d1                            
   47cfc:	2641           	moveal %d1,%a3                              
   47cfe:	d7c0           	addal %d0,%a3                               
  /*                                                                  
   *  We need to limit the number of objects to the maximum number    
   *  representable in the index portion of the object Id.  In the    
   *  case of 16-bit Ids, this is only 256 object instances.          
   */                                                                 
  if ( maximum > OBJECTS_ID_FINAL_INDEX ) {                           
   47d00:	b7fc 0000 ffff 	cmpal #65535,%a3                            
   47d06:	6200 017c      	bhiw 47e84 <_Objects_Extend_information+0x1e8>
                                                                      
  /*                                                                  
   * Allocate the name table, and the objects and if it fails either return or
   * generate a fatal error depending on auto-extending being active. 
   */                                                                 
  block_size = information->allocation_size * information->size;      
   47d0a:	41ea 0014      	lea %a2@(20),%a0                            
   47d0e:	4c10 0800      	mulsl %a0@,%d0                              
  if ( information->auto_extend ) {                                   
   47d12:	4a2a 0010      	tstb %a2@(16)                               
   47d16:	6700 017c      	beqw 47e94 <_Objects_Extend_information+0x1f8>
    new_object_block = _Workspace_Allocate( block_size );             
   47d1a:	2f00           	movel %d0,%sp@-                             
   47d1c:	4eb9 0004 9f22 	jsr 49f22 <_Workspace_Allocate>             
    if ( !new_object_block )                                          
   47d22:	588f           	addql #4,%sp                                
   * Allocate the name table, and the objects and if it fails either return or
   * generate a fatal error depending on auto-extending being active. 
   */                                                                 
  block_size = information->allocation_size * information->size;      
  if ( information->auto_extend ) {                                   
    new_object_block = _Workspace_Allocate( block_size );             
   47d24:	2c00           	movel %d0,%d6                               
    if ( !new_object_block )                                          
   47d26:	6700 015c      	beqw 47e84 <_Objects_Extend_information+0x1e8>
  }                                                                   
                                                                      
  /*                                                                  
   *  Do we need to grow the tables?                                  
   */                                                                 
  if ( do_extend ) {                                                  
   47d2a:	4a07           	tstb %d7                                    
   47d2c:	6700 00be      	beqw 47dec <_Objects_Extend_information+0x150>
     */                                                               
                                                                      
    /*                                                                
     *  Up the block count and maximum                                
     */                                                               
    block_count++;                                                    
   47d30:	2a44           	moveal %d4,%a5                              
   47d32:	528d           	addql #1,%a5                                
    /*                                                                
     *  Allocate the tables and break it up.                          
     */                                                               
    block_size = block_count *                                        
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
   47d34:	200b           	movel %a3,%d0                               
                                                                      
    /*                                                                
     *  Allocate the tables and break it up.                          
     */                                                               
    block_size = block_count *                                        
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
   47d36:	41f5 da00      	lea %a5@(00000000,%a5:l:2),%a0              
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
   47d3a:	d088           	addl %a0,%d0                                
                                                                      
    /*                                                                
     *  Allocate the tables and break it up.                          
     */                                                               
    block_size = block_count *                                        
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
   47d3c:	d085           	addl %d5,%d0                                
    block_count++;                                                    
                                                                      
    /*                                                                
     *  Allocate the tables and break it up.                          
     */                                                               
    block_size = block_count *                                        
   47d3e:	e588           	lsll #2,%d0                                 
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
    object_blocks = (void**) _Workspace_Allocate( block_size );       
   47d40:	2f00           	movel %d0,%sp@-                             
   47d42:	4eb9 0004 9f22 	jsr 49f22 <_Workspace_Allocate>             
                                                                      
    if ( !object_blocks ) {                                           
   47d48:	588f           	addql #4,%sp                                
     *  Allocate the tables and break it up.                          
     */                                                               
    block_size = block_count *                                        
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
    object_blocks = (void**) _Workspace_Allocate( block_size );       
   47d4a:	2840           	moveal %d0,%a4                              
                                                                      
    if ( !object_blocks ) {                                           
   47d4c:	4a80           	tstl %d0                                    
   47d4e:	6700 01c8      	beqw 47f18 <_Objects_Extend_information+0x27c>
    }                                                                 
                                                                      
    /*                                                                
     *  Break the block into the various sections.                    
     */                                                               
    inactive_per_block = (uint32_t *) _Addresses_Add_offset(          
   47d52:	2e0d           	movel %a5,%d7                               
     *  Take the block count down. Saves all the (block_count - 1)    
     *  in the copies.                                                
     */                                                               
    block_count--;                                                    
                                                                      
    if ( information->maximum > minimum_index ) {                     
   47d54:	4280           	clrl %d0                                    
    }                                                                 
                                                                      
    /*                                                                
     *  Break the block into the various sections.                    
     */                                                               
    inactive_per_block = (uint32_t *) _Addresses_Add_offset(          
   47d56:	e58f           	lsll #2,%d7                                 
     *  Take the block count down. Saves all the (block_count - 1)    
     *  in the copies.                                                
     */                                                               
    block_count--;                                                    
                                                                      
    if ( information->maximum > minimum_index ) {                     
   47d58:	302a 000e      	movew %a2@(14),%d0                          
   47d5c:	4bf4 7800      	lea %a4@(00000000,%d7:l),%a5                
   47d60:	de8d           	addl %a5,%d7                                
   47d62:	b085           	cmpl %d5,%d0                                
   47d64:	6200 013e      	bhiw 47ea4 <_Objects_Extend_information+0x208>
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
   47d68:	4a85           	tstl %d5                                    
   47d6a:	670c           	beqs 47d78 <_Objects_Extend_information+0xdc><== NEVER TAKEN
   47d6c:	2047           	moveal %d7,%a0                              
   47d6e:	4280           	clrl %d0                                    
        local_table[ index ] = NULL;                                  
   47d70:	4298           	clrl %a0@+                                  
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
   47d72:	5280           	addql #1,%d0                                
   47d74:	b085           	cmpl %d5,%d0                                
   47d76:	65f8           	bcss 47d70 <_Objects_Extend_information+0xd4><== NEVER TAKEN
   47d78:	e58c           	lsll #2,%d4                                 
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
   47d7a:	4281           	clrl %d1                                    
    }                                                                 
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
   47d7c:	42b4 4800      	clrl %a4@(00000000,%d4:l)                   
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
   47d80:	322a 0012      	movew %a2@(18),%d1                          
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
   47d84:	42b5 4800      	clrl %a5@(00000000,%d4:l)                   
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
   47d88:	d283           	addl %d3,%d1                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
   47d8a:	b283           	cmpl %d3,%d1                                
   47d8c:	6310           	blss 47d9e <_Objects_Extend_information+0x102><== NEVER TAKEN
   47d8e:	2247           	moveal %d7,%a1                              
 *    information     - object information table                      
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Objects_Extend_information(                                     
   47d90:	2003           	movel %d3,%d0                               
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
   47d92:	41f1 3c00      	lea %a1@(00000000,%d3:l:4),%a0              
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
      local_table[ index ] = NULL;                                    
   47d96:	4298           	clrl %a0@+                                  
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
   47d98:	5280           	addql #1,%d0                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
   47d9a:	b280           	cmpl %d0,%d1                                
   47d9c:	62f8           	bhis 47d96 <_Objects_Extend_information+0xfa>
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
      local_table[ index ] = NULL;                                    
    }                                                                 
                                                                      
    _ISR_Disable( level );                                            
   47d9e:	203c 0000 0700 	movel #1792,%d0                             
   47da4:	40c4           	movew %sr,%d4                               
   47da6:	8084           	orl %d4,%d0                                 
   47da8:	46c0           	movew %d0,%sr                               
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
   47daa:	2012           	movel %a2@,%d0                              
   47dac:	7a18           	moveq #24,%d5                               
                                                                      
    information->object_blocks = object_blocks;                       
    information->inactive_per_block = inactive_per_block;             
    information->local_table = local_table;                           
    information->maximum = (Objects_Maximum) maximum;                 
    information->maximum_id = _Objects_Build_id(                      
   47dae:	4281           	clrl %d1                                    
   47db0:	eba8           	lsll %d5,%d0                                
   47db2:	322a 0004      	movew %a2@(4),%d1                           
         (( (Objects_Id) the_class ) << OBJECTS_CLASS_START_BIT) |    
   47db6:	1a3c 001b      	moveb #27,%d5                               
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
   47dba:	08c0 0010      	bset #16,%d0                                
         (( (Objects_Id) the_class ) << OBJECTS_CLASS_START_BIT) |    
   47dbe:	eba9           	lsll %d5,%d1                                
   47dc0:	4285           	clrl %d5                                    
   47dc2:	8081           	orl %d1,%d0                                 
   47dc4:	3a0b           	movew %a3,%d5                               
      local_table[ index ] = NULL;                                    
    }                                                                 
                                                                      
    _ISR_Disable( level );                                            
                                                                      
    old_tables = information->object_blocks;                          
   47dc6:	206a 002e      	moveal %a2@(46),%a0                         
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
   47dca:	8085           	orl %d5,%d0                                 
                                                                      
    information->object_blocks = object_blocks;                       
   47dcc:	254c 002e      	movel %a4,%a2@(46)                          
    information->inactive_per_block = inactive_per_block;             
    information->local_table = local_table;                           
    information->maximum = (Objects_Maximum) maximum;                 
   47dd0:	354b 000e      	movew %a3,%a2@(14)                          
    _ISR_Disable( level );                                            
                                                                      
    old_tables = information->object_blocks;                          
                                                                      
    information->object_blocks = object_blocks;                       
    information->inactive_per_block = inactive_per_block;             
   47dd4:	254d 002a      	movel %a5,%a2@(42)                          
    information->local_table = local_table;                           
   47dd8:	2547 0018      	movel %d7,%a2@(24)                          
   47ddc:	2540 000a      	movel %d0,%a2@(10)                          
        information->the_class,                                       
        _Objects_Local_node,                                          
        information->maximum                                          
      );                                                              
                                                                      
    _ISR_Enable( level );                                             
   47de0:	46c4           	movew %d4,%sr                               
                                                                      
    _Workspace_Free( old_tables );                                    
   47de2:	2f08           	movel %a0,%sp@-                             
   47de4:	4eb9 0004 9f3e 	jsr 49f3e <_Workspace_Free>                 
   47dea:	588f           	addql #4,%sp                                
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
   47dec:	206a 002e      	moveal %a2@(46),%a0                         
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
  _Chain_Initialize(                                                  
   47df0:	4280           	clrl %d0                                    
   47df2:	280e           	movel %fp,%d4                               
   47df4:	0684 ffff fff4 	addil #-12,%d4                              
   47dfa:	47f9 0004 723c 	lea 4723c <_Chain_Get>,%a3                  
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
   47e00:	2a0a           	movel %a2,%d5                               
   47e02:	0685 0000 001c 	addil #28,%d5                               
   47e08:	49f9 0004 71dc 	lea 471dc <_Chain_Append>,%a4               
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
   47e0e:	e58a           	lsll #2,%d2                                 
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
  _Chain_Initialize(                                                  
   47e10:	302a 0012      	movew %a2@(18),%d0                          
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
   47e14:	2186 2800      	movel %d6,%a0@(00000000,%d2:l)              
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
  _Chain_Initialize(                                                  
   47e18:	2f2a 0014      	movel %a2@(20),%sp@-                        
   47e1c:	2f00           	movel %d0,%sp@-                             
   47e1e:	2f06           	movel %d6,%sp@-                             
   47e20:	2f04           	movel %d4,%sp@-                             
   47e22:	4eb9 0004 c7a8 	jsr 4c7a8 <_Chain_Initialize>               
  /*                                                                  
   *  Move from the local chain, initialise, then append to the inactive chain
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
   47e28:	4fef 0010      	lea %sp@(16),%sp                            
   47e2c:	2f04           	movel %d4,%sp@-                             
   47e2e:	4e93           	jsr %a3@                                    
   47e30:	588f           	addql #4,%sp                                
   47e32:	4a80           	tstl %d0                                    
   47e34:	6734           	beqs 47e6a <_Objects_Extend_information+0x1ce><== NEVER TAKEN
   47e36:	2212           	movel %a2@,%d1                              
   47e38:	7e18           	moveq #24,%d7                               
                                                                      
    the_object->id = _Objects_Build_id(                               
   47e3a:	4286           	clrl %d6                                    
   47e3c:	2040           	moveal %d0,%a0                              
   47e3e:	3c2a 0004      	movew %a2@(4),%d6                           
   47e42:	efa9           	lsll %d7,%d1                                
         (( (Objects_Id) the_class ) << OBJECTS_CLASS_START_BIT) |    
   47e44:	1e3c 001b      	moveb #27,%d7                               
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
   47e48:	08c1 0010      	bset #16,%d1                                
         (( (Objects_Id) the_class ) << OBJECTS_CLASS_START_BIT) |    
   47e4c:	efae           	lsll %d7,%d6                                
   47e4e:	8286           	orl %d6,%d1                                 
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
   47e50:	8283           	orl %d3,%d1                                 
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
   47e52:	5283           	addql #1,%d3                                
   47e54:	2141 0008      	movel %d1,%a0@(8)                           
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
   47e58:	2f00           	movel %d0,%sp@-                             
   47e5a:	2f05           	movel %d5,%sp@-                             
   47e5c:	4e94           	jsr %a4@                                    
                                                                      
    index++;                                                          
   47e5e:	508f           	addql #8,%sp                                
  /*                                                                  
   *  Move from the local chain, initialise, then append to the inactive chain
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
   47e60:	2f04           	movel %d4,%sp@-                             
   47e62:	4e93           	jsr %a3@                                    
   47e64:	588f           	addql #4,%sp                                
   47e66:	4a80           	tstl %d0                                    
   47e68:	66cc           	bnes 47e36 <_Objects_Extend_information+0x19a>
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
   47e6a:	4281           	clrl %d1                                    
   47e6c:	302a 0012      	movew %a2@(18),%d0                          
  information->inactive =                                             
    (Objects_Maximum)(information->inactive + information->allocation_size);
   47e70:	326a 0028      	moveaw %a2@(40),%a1                         
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
   47e74:	206a 002a      	moveal %a2@(42),%a0                         
   47e78:	3200           	movew %d0,%d1                               
  information->inactive =                                             
    (Objects_Maximum)(information->inactive + information->allocation_size);
   47e7a:	d089           	addl %a1,%d0                                
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
   47e7c:	2181 2800      	movel %d1,%a0@(00000000,%d2:l)              
  information->inactive =                                             
   47e80:	3540 0028      	movew %d0,%a2@(40)                          
    (Objects_Maximum)(information->inactive + information->allocation_size);
}                                                                     
   47e84:	4cee 3cfc ffcc 	moveml %fp@(-52),%d2-%d7/%a2-%a5            
   47e8a:	4e5e           	unlk %fp                                    
   47e8c:	4e75           	rts                                         
                                                                      
  /*                                                                  
   *  Search for a free block of indexes. If we do NOT need to allocate or
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
   47e8e:	7e01           	moveq #1,%d7                                
   47e90:	6000 fe64      	braw 47cf6 <_Objects_Extend_information+0x5a>
  if ( information->auto_extend ) {                                   
    new_object_block = _Workspace_Allocate( block_size );             
    if ( !new_object_block )                                          
      return;                                                         
  } else {                                                            
    new_object_block = _Workspace_Allocate_or_fatal_error( block_size );
   47e94:	2f00           	movel %d0,%sp@-                             
   47e96:	4eb9 0004 9f58 	jsr 49f58 <_Workspace_Allocate_or_fatal_error>
   47e9c:	588f           	addql #4,%sp                                
   47e9e:	2c00           	movel %d0,%d6                               
   47ea0:	6000 fe88      	braw 47d2a <_Objects_Extend_information+0x8e>
      /*                                                              
       *  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,                                          
   47ea4:	e58c           	lsll #2,%d4                                 
   47ea6:	2f04           	movel %d4,%sp@-                             
   47ea8:	2f2a 002e      	movel %a2@(46),%sp@-                        
   47eac:	2f0c           	movel %a4,%sp@-                             
   47eae:	4eb9 0004 f47c 	jsr 4f47c <memcpy>                          
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
   47eb4:	2f04           	movel %d4,%sp@-                             
   47eb6:	2f2a 002a      	movel %a2@(42),%sp@-                        
   47eba:	2f0d           	movel %a5,%sp@-                             
   47ebc:	4eb9 0004 f47c 	jsr 4f47c <memcpy>                          
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
              information->local_table,                               
              (information->maximum + minimum_index) * sizeof(Objects_Control *) );
   47ec2:	4280           	clrl %d0                                    
   47ec4:	302a 000e      	movew %a2@(14),%d0                          
   47ec8:	da80           	addl %d0,%d5                                
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
   47eca:	e58d           	lsll #2,%d5                                 
   47ecc:	2f05           	movel %d5,%sp@-                             
   47ece:	2f2a 0018      	movel %a2@(24),%sp@-                        
   47ed2:	2f07           	movel %d7,%sp@-                             
   47ed4:	4eb9 0004 f47c 	jsr 4f47c <memcpy>                          
   47eda:	4fef 0024      	lea %sp@(36),%sp                            
   47ede:	6000 fe9a      	braw 47d7a <_Objects_Extend_information+0xde>
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
   47ee2:	4280           	clrl %d0                                    
  /*                                                                  
   *  Search for a free block of indexes. If we do NOT need to allocate or
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
  minimum_index = _Objects_Get_index( information->minimum_id );      
   47ee4:	2605           	movel %d5,%d3                               
  index_base    = minimum_index;                                      
  block         = 0;                                                  
   47ee6:	4282           	clrl %d2                                    
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
   47ee8:	4284           	clrl %d4                                    
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
   47eea:	322a 000e      	movew %a2@(14),%d1                          
   47eee:	302a 0012      	movew %a2@(18),%d0                          
                                                                      
  /*                                                                  
   *  Search for a free block of indexes. If we do NOT need to allocate or
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
   47ef2:	7e01           	moveq #1,%d7                                
   47ef4:	6000 fe00      	braw 47cf6 <_Objects_Extend_information+0x5a>
  minimum_index = _Objects_Get_index( information->minimum_id );      
   47ef8:	2605           	movel %d5,%d3                               <== NOT EXECUTED
  index_base    = minimum_index;                                      
  block         = 0;                                                  
   47efa:	4282           	clrl %d2                                    <== NOT EXECUTED
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
   47efc:	0280 0000 ffff 	andil #65535,%d0                            <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Search for a free block of indexes. If we do NOT need to allocate or
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
   47f02:	7e01           	moveq #1,%d7                                <== NOT EXECUTED
   47f04:	6000 fdf0      	braw 47cf6 <_Objects_Extend_information+0x5a><== NOT EXECUTED
  minimum_index = _Objects_Get_index( information->minimum_id );      
   47f08:	2605           	movel %d5,%d3                               <== NOT EXECUTED
  index_base    = minimum_index;                                      
  block         = 0;                                                  
   47f0a:	4282           	clrl %d2                                    <== NOT EXECUTED
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
      if ( information->object_blocks[ block ] == NULL ) {            
   47f0c:	0280 0000 ffff 	andil #65535,%d0                            <== NOT EXECUTED
        do_extend = false;                                            
   47f12:	4207           	clrb %d7                                    <== NOT EXECUTED
   47f14:	6000 fde0      	braw 47cf6 <_Objects_Extend_information+0x5a><== NOT EXECUTED
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
    object_blocks = (void**) _Workspace_Allocate( block_size );       
                                                                      
    if ( !object_blocks ) {                                           
      _Workspace_Free( new_object_block );                            
   47f18:	2f06           	movel %d6,%sp@-                             
   47f1a:	4eb9 0004 9f3e 	jsr 49f3e <_Workspace_Free>                 
      return;                                                         
   47f20:	588f           	addql #4,%sp                                
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
  information->inactive =                                             
    (Objects_Maximum)(information->inactive + information->allocation_size);
}                                                                     
   47f22:	4cee 3cfc ffcc 	moveml %fp@(-52),%d2-%d7/%a2-%a5            
   47f28:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00047fdc <_Objects_Get_information>: Objects_Information *_Objects_Get_information( Objects_APIs the_api, uint16_t the_class ) {
   47fdc:	4e56 0000      	linkw %fp,#0                                
   47fe0:	2f02           	movel %d2,%sp@-                             
   47fe2:	342e 000e      	movew %fp@(14),%d2                          
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
   47fe6:	660a           	bnes 47ff2 <_Objects_Get_information+0x16>  
                                                                      
  if ( the_class > (uint32_t) the_class_api_maximum )                 
    return NULL;                                                      
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
    return NULL;                                                      
   47fe8:	4280           	clrl %d0                                    
    if ( info->maximum == 0 )                                         
      return NULL;                                                    
  #endif                                                              
                                                                      
  return info;                                                        
}                                                                     
   47fea:	242e fffc      	movel %fp@(-4),%d2                          
   47fee:	4e5e           	unlk %fp                                    
   47ff0:	4e75           	rts                                         
                                                                      
  /*                                                                  
   *  This call implicitly validates the_api so we do not call        
   *  _Objects_Is_api_valid above here.                               
   */                                                                 
  the_class_api_maximum = _Objects_API_maximum_class( the_api );      
   47ff2:	2f2e 0008      	movel %fp@(8),%sp@-                         
   47ff6:	4eb9 0004 ccd8 	jsr 4ccd8 <_Objects_API_maximum_class>      
  if ( the_class_api_maximum == 0 )                                   
   47ffc:	588f           	addql #4,%sp                                
   47ffe:	4a80           	tstl %d0                                    
   48000:	67e6           	beqs 47fe8 <_Objects_Get_information+0xc>   
    return NULL;                                                      
                                                                      
  if ( the_class > (uint32_t) the_class_api_maximum )                 
   48002:	0282 0000 ffff 	andil #65535,%d2                            
   48008:	b480           	cmpl %d0,%d2                                
   4800a:	62dc           	bhis 47fe8 <_Objects_Get_information+0xc>   
    return NULL;                                                      
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
   4800c:	202e 0008      	movel %fp@(8),%d0                           
   48010:	41f9 0006 0c24 	lea 60c24 <_Objects_Information_table>,%a0  
   48016:	2070 0c00      	moveal %a0@(00000000,%d0:l:4),%a0           
   4801a:	4a88           	tstl %a0                                    
   4801c:	67ca           	beqs 47fe8 <_Objects_Get_information+0xc>   <== NEVER TAKEN
    return NULL;                                                      
                                                                      
  info = _Objects_Information_table[ the_api ][ the_class ];          
   4801e:	2030 2c00      	movel %a0@(00000000,%d2:l:4),%d0            
  if ( !info )                                                        
   48022:	67c6           	beqs 47fea <_Objects_Get_information+0xe>   <== NEVER TAKEN
   *  Thus we may have 0 local instances and still have a valid object
   *  pointer.                                                        
   */                                                                 
  #if !defined(RTEMS_MULTIPROCESSING)                                 
    if ( info->maximum == 0 )                                         
      return NULL;                                                    
   48024:	2040           	moveal %d0,%a0                              
   48026:	4a68 000e      	tstw %a0@(14)                               
   4802a:	56c1           	sne %d1                                     
  #endif                                                              
                                                                      
  return info;                                                        
}                                                                     
   4802c:	242e fffc      	movel %fp@(-4),%d2                          
   *  Thus we may have 0 local instances and still have a valid object
   *  pointer.                                                        
   */                                                                 
  #if !defined(RTEMS_MULTIPROCESSING)                                 
    if ( info->maximum == 0 )                                         
      return NULL;                                                    
   48030:	49c1           	extbl %d1                                   
  #endif                                                              
                                                                      
  return info;                                                        
}                                                                     
   48032:	4e5e           	unlk %fp                                    
   *  Thus we may have 0 local instances and still have a valid object
   *  pointer.                                                        
   */                                                                 
  #if !defined(RTEMS_MULTIPROCESSING)                                 
    if ( info->maximum == 0 )                                         
      return NULL;                                                    
   48034:	c081           	andl %d1,%d0                                <== NOT EXECUTED
  #endif                                                              
                                                                      
  return info;                                                        
}                                                                     
                                                                      

00049ac8 <_Objects_Get_name_as_string>: char *_Objects_Get_name_as_string( Objects_Id id, size_t length, char *name ) {
   49ac8:	4e56 ffdc      	linkw %fp,#-36                              
   49acc:	48d7 0c3c      	moveml %d2-%d5/%a2-%a3,%sp@                 
   49ad0:	262e 000c      	movel %fp@(12),%d3                          
   49ad4:	242e 0010      	movel %fp@(16),%d2                          
  char                   lname[5];                                    
  Objects_Control       *the_object;                                  
  Objects_Locations      location;                                    
  Objects_Id             tmpId;                                       
                                                                      
  if ( length == 0 )                                                  
   49ad8:	4a83           	tstl %d3                                    
   49ada:	660e           	bnes 49aea <_Objects_Get_name_as_string+0x22>
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:                                              
      /* not supported */                                             
#endif                                                                
    case OBJECTS_ERROR:                                               
      return NULL;                                                    
   49adc:	4282           	clrl %d2                                    
                                                                      
      _Thread_Enable_dispatch();                                      
      return name;                                                    
  }                                                                   
  return NULL;                  /* unreachable path */                
}                                                                     
   49ade:	2002           	movel %d2,%d0                               
   49ae0:	4cee 0c3c ffdc 	moveml %fp@(-36),%d2-%d5/%a2-%a3            
   49ae6:	4e5e           	unlk %fp                                    
   49ae8:	4e75           	rts                                         
  Objects_Id             tmpId;                                       
                                                                      
  if ( length == 0 )                                                  
    return NULL;                                                      
                                                                      
  if ( name == NULL )                                                 
   49aea:	4a82           	tstl %d2                                    
   49aec:	67f0           	beqs 49ade <_Objects_Get_name_as_string+0x16>
    return NULL;                                                      
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
   49aee:	4aae 0008      	tstl %fp@(8)                                
   49af2:	6600 009a      	bnew 49b8e <_Objects_Get_name_as_string+0xc6>
   49af6:	2079 0006 3c4c 	moveal 63c4c <_Per_CPU_Information+0xc>,%a0 
   49afc:	2828 0008      	movel %a0@(8),%d4                           
                                                                      
  information = _Objects_Get_information_id( tmpId );                 
   49b00:	2f04           	movel %d4,%sp@-                             
   49b02:	4eb9 0004 99e0 	jsr 499e0 <_Objects_Get_information_id>     
  if ( !information )                                                 
   49b08:	588f           	addql #4,%sp                                
  if ( name == NULL )                                                 
    return NULL;                                                      
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
                                                                      
  information = _Objects_Get_information_id( tmpId );                 
   49b0a:	2440           	moveal %d0,%a2                              
  if ( !information )                                                 
   49b0c:	4a80           	tstl %d0                                    
   49b0e:	67cc           	beqs 49adc <_Objects_Get_name_as_string+0x14>
    return NULL;                                                      
                                                                      
  the_object = _Objects_Get( information, tmpId, &location );         
   49b10:	486e fffc      	pea %fp@(-4)                                
   49b14:	2f04           	movel %d4,%sp@-                             
   49b16:	2f00           	movel %d0,%sp@-                             
   49b18:	4eb9 0004 9bcc 	jsr 49bcc <_Objects_Get>                    
  switch ( location ) {                                               
   49b1e:	4fef 000c      	lea %sp@(12),%sp                            
   49b22:	4aae fffc      	tstl %fp@(-4)                               
   49b26:	66b4           	bnes 49adc <_Objects_Get_name_as_string+0x14>
      return NULL;                                                    
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      #if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)             
        if ( information->is_string ) {                               
   49b28:	4a2a 0032      	tstb %a2@(50)                               
   49b2c:	6768           	beqs 49b96 <_Objects_Get_name_as_string+0xce>
          s = the_object->name.name_p;                                
   49b2e:	2040           	moveal %d0,%a0                              
   49b30:	2668 000c      	moveal %a0@(12),%a3                         
        lname[ 4 ] = '\0';                                            
        s = lname;                                                    
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
   49b34:	4a8b           	tstl %a3                                    
   49b36:	674a           	beqs 49b82 <_Objects_Get_name_as_string+0xba>
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
   49b38:	5383           	subql #1,%d3                                
   49b3a:	6746           	beqs 49b82 <_Objects_Get_name_as_string+0xba><== NEVER TAKEN
   49b3c:	1013           	moveb %a3@,%d0                              
   49b3e:	6742           	beqs 49b82 <_Objects_Get_name_as_string+0xba>
 *  This method objects the name of an object and returns its name    
 *  in the form of a C string.  It attempts to be careful about       
 *  overflowing the user's string and about returning unprintable characters.
 */                                                                   
                                                                      
char *_Objects_Get_name_as_string(                                    
   49b40:	528b           	addql #1,%a3                                
        s = lname;                                                    
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
   49b42:	2242           	moveal %d2,%a1                              
 *  This method objects the name of an object and returns its name    
 *  in the form of a C string.  It attempts to be careful about       
 *  overflowing the user's string and about returning unprintable characters.
 */                                                                   
                                                                      
char *_Objects_Get_name_as_string(                                    
   49b44:	91c8           	subal %a0,%a0                               
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
          *d = (isprint((unsigned char)*s)) ? *s : '*';               
   49b46:	4281           	clrl %d1                                    
   49b48:	1200           	moveb %d0,%d1                               
   49b4a:	2479 0006 1d28 	moveal 61d28 <__ctype_ptr__>,%a2            
   49b50:	1232 1801      	moveb %a2@(00000001,%d1:l),%d1              
   49b54:	49c1           	extbl %d1                                   
   49b56:	0281 0000 0097 	andil #151,%d1                              
   49b5c:	6602           	bnes 49b60 <_Objects_Get_name_as_string+0x98>
   49b5e:	702a           	moveq #42,%d0                               
        s = lname;                                                    
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
   49b60:	5288           	addql #1,%a0                                
          *d = (isprint((unsigned char)*s)) ? *s : '*';               
   49b62:	12c0           	moveb %d0,%a1@+                             
        s = lname;                                                    
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
   49b64:	2449           	moveal %a1,%a2                              
   49b66:	b688           	cmpl %a0,%d3                                
   49b68:	6304           	blss 49b6e <_Objects_Get_name_as_string+0xa6>
   49b6a:	101b           	moveb %a3@+,%d0                             
   49b6c:	66d8           	bnes 49b46 <_Objects_Get_name_as_string+0x7e>
          *d = (isprint((unsigned char)*s)) ? *s : '*';               
        }                                                             
      }                                                               
      *d = '\0';                                                      
   49b6e:	4212           	clrb %a2@                                   
                                                                      
      _Thread_Enable_dispatch();                                      
   49b70:	4eb9 0004 a83e 	jsr 4a83e <_Thread_Enable_dispatch>         
      return name;                                                    
  }                                                                   
  return NULL;                  /* unreachable path */                
}                                                                     
   49b76:	2002           	movel %d2,%d0                               
   49b78:	4cee 0c3c ffdc 	moveml %fp@(-36),%d2-%d5/%a2-%a3            
   49b7e:	4e5e           	unlk %fp                                    
   49b80:	4e75           	rts                                         
        s = lname;                                                    
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
   49b82:	2442           	moveal %d2,%a2                              
          *d = (isprint((unsigned char)*s)) ? *s : '*';               
        }                                                             
      }                                                               
      *d = '\0';                                                      
   49b84:	4212           	clrb %a2@                                   
                                                                      
      _Thread_Enable_dispatch();                                      
   49b86:	4eb9 0004 a83e 	jsr 4a83e <_Thread_Enable_dispatch>         
   49b8c:	60e8           	bras 49b76 <_Objects_Get_name_as_string+0xae>
    return NULL;                                                      
                                                                      
  if ( name == NULL )                                                 
    return NULL;                                                      
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
   49b8e:	282e 0008      	movel %fp@(8),%d4                           
   49b92:	6000 ff6c      	braw 49b00 <_Objects_Get_name_as_string+0x38>
        if ( information->is_string ) {                               
          s = the_object->name.name_p;                                
        } else                                                        
      #endif                                                          
      {                                                               
        uint32_t  u32_name = (uint32_t) the_object->name.name_u32;    
   49b96:	2040           	moveal %d0,%a0                              
                                                                      
        lname[ 0 ] = (u32_name >> 24) & 0xff;                         
   49b98:	7218           	moveq #24,%d1                               
        lname[ 1 ] = (u32_name >> 16) & 0xff;                         
        lname[ 2 ] = (u32_name >>  8) & 0xff;                         
        lname[ 3 ] = (u32_name >>  0) & 0xff;                         
        lname[ 4 ] = '\0';                                            
        s = lname;                                                    
   49b9a:	47ee fff7      	lea %fp@(-9),%a3                            
        if ( information->is_string ) {                               
          s = the_object->name.name_p;                                
        } else                                                        
      #endif                                                          
      {                                                               
        uint32_t  u32_name = (uint32_t) the_object->name.name_u32;    
   49b9e:	2028 000c      	movel %a0@(12),%d0                          
                                                                      
        lname[ 0 ] = (u32_name >> 24) & 0xff;                         
   49ba2:	2a00           	movel %d0,%d5                               
   49ba4:	e2ad           	lsrl %d1,%d5                                
        lname[ 1 ] = (u32_name >> 16) & 0xff;                         
        lname[ 2 ] = (u32_name >>  8) & 0xff;                         
   49ba6:	2200           	movel %d0,%d1                               
      #endif                                                          
      {                                                               
        uint32_t  u32_name = (uint32_t) the_object->name.name_u32;    
                                                                      
        lname[ 0 ] = (u32_name >> 24) & 0xff;                         
        lname[ 1 ] = (u32_name >> 16) & 0xff;                         
   49ba8:	2800           	movel %d0,%d4                               
        lname[ 2 ] = (u32_name >>  8) & 0xff;                         
   49baa:	e089           	lsrl #8,%d1                                 
        lname[ 3 ] = (u32_name >>  0) & 0xff;                         
   49bac:	1d40 fffa      	moveb %d0,%fp@(-6)                          
      #endif                                                          
      {                                                               
        uint32_t  u32_name = (uint32_t) the_object->name.name_u32;    
                                                                      
        lname[ 0 ] = (u32_name >> 24) & 0xff;                         
        lname[ 1 ] = (u32_name >> 16) & 0xff;                         
   49bb0:	4244           	clrw %d4                                    
   49bb2:	4844           	swap %d4                                    
        lname[ 2 ] = (u32_name >>  8) & 0xff;                         
        lname[ 3 ] = (u32_name >>  0) & 0xff;                         
        lname[ 4 ] = '\0';                                            
   49bb4:	4200           	clrb %d0                                    
        } else                                                        
      #endif                                                          
      {                                                               
        uint32_t  u32_name = (uint32_t) the_object->name.name_u32;    
                                                                      
        lname[ 0 ] = (u32_name >> 24) & 0xff;                         
   49bb6:	1d45 fff7      	moveb %d5,%fp@(-9)                          
        lname[ 1 ] = (u32_name >> 16) & 0xff;                         
   49bba:	1d44 fff8      	moveb %d4,%fp@(-8)                          
        lname[ 2 ] = (u32_name >>  8) & 0xff;                         
   49bbe:	1d41 fff9      	moveb %d1,%fp@(-7)                          
        lname[ 3 ] = (u32_name >>  0) & 0xff;                         
        lname[ 4 ] = '\0';                                            
   49bc2:	1d40 fffb      	moveb %d0,%fp@(-5)                          
   49bc6:	6000 ff70      	braw 49b38 <_Objects_Get_name_as_string+0x70>
	...                                                                  
                                                                      

0005bca0 <_Objects_Get_no_protection>: /* * You can't just extract the index portion or you can get tricked * by a value between 1 and maximum. */ index = id - information->minimum_id + 1;
   5bca0:	7001           	moveq #1,%d0                                
                                                                      
  if ( information->maximum >= index ) {                              
   5bca2:	4281           	clrl %d1                                    
Objects_Control *_Objects_Get_no_protection(                          
  Objects_Information *information,                                   
  Objects_Id           id,                                            
  Objects_Locations   *location                                       
)                                                                     
{                                                                     
   5bca4:	4e56 0000      	linkw %fp,#0                                
   5bca8:	206e 0008      	moveal %fp@(8),%a0                          
                                                                      
  /*                                                                  
   * You can't just extract the index portion or you can get tricked  
   * by a value between 1 and maximum.                                
   */                                                                 
  index = id - information->minimum_id + 1;                           
   5bcac:	90a8 0006      	subl %a0@(6),%d0                            
   5bcb0:	d0ae 000c      	addl %fp@(12),%d0                           
                                                                      
  if ( information->maximum >= index ) {                              
   5bcb4:	3228 000e      	movew %a0@(14),%d1                          
Objects_Control *_Objects_Get_no_protection(                          
  Objects_Information *information,                                   
  Objects_Id           id,                                            
  Objects_Locations   *location                                       
)                                                                     
{                                                                     
   5bcb8:	226e 0010      	moveal %fp@(16),%a1                         
   * You can't just extract the index portion or you can get tricked  
   * by a value between 1 and maximum.                                
   */                                                                 
  index = id - information->minimum_id + 1;                           
                                                                      
  if ( information->maximum >= index ) {                              
   5bcbc:	b280           	cmpl %d0,%d1                                
   5bcbe:	6510           	bcss 5bcd0 <_Objects_Get_no_protection+0x30>
    if ( (the_object = information->local_table[ index ]) != NULL ) { 
   5bcc0:	2068 0018      	moveal %a0@(24),%a0                         
   5bcc4:	2030 0c00      	movel %a0@(00000000,%d0:l:4),%d0            
   5bcc8:	6706           	beqs 5bcd0 <_Objects_Get_no_protection+0x30><== NEVER TAKEN
      *location = OBJECTS_LOCAL;                                      
   5bcca:	4291           	clrl %a1@                                   
   *  This isn't supported or required yet for Global objects so      
   *  if it isn't local, we don't find it.                            
   */                                                                 
  *location = OBJECTS_ERROR;                                          
  return NULL;                                                        
}                                                                     
   5bccc:	4e5e           	unlk %fp                                    
   5bcce:	4e75           	rts                                         
                                                                      
  /*                                                                  
   *  This isn't supported or required yet for Global objects so      
   *  if it isn't local, we don't find it.                            
   */                                                                 
  *location = OBJECTS_ERROR;                                          
   5bcd0:	7001           	moveq #1,%d0                                
  return NULL;                                                        
}                                                                     
   5bcd2:	4e5e           	unlk %fp                                    
                                                                      
  /*                                                                  
   *  This isn't supported or required yet for Global objects so      
   *  if it isn't local, we don't find it.                            
   */                                                                 
  *location = OBJECTS_ERROR;                                          
   5bcd4:	2280           	movel %d0,%a1@                              
  return NULL;                                                        
   5bcd6:	4280           	clrl %d0                                    
}                                                                     
	...                                                                  
                                                                      

000497f4 <_Objects_Id_to_name>: */ Objects_Name_or_id_lookup_errors _Objects_Id_to_name ( Objects_Id id, Objects_Name *name ) {
   497f4:	4e56 fffc      	linkw %fp,#-4                               
   497f8:	222e 0008      	movel %fp@(8),%d1                           
   497fc:	2f02           	movel %d2,%sp@-                             
                                                                      
  /*                                                                  
   *  Caller is trusted for name != NULL.                             
   */                                                                 
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
   497fe:	4a81           	tstl %d1                                    
   49800:	660a           	bnes 4980c <_Objects_Id_to_name+0x18>       
   49802:	2079 0006 2dba 	moveal 62dba <_Per_CPU_Information+0xc>,%a0 
   49808:	2228 0008      	movel %a0@(8),%d1                           
   4980c:	7418           	moveq #24,%d2                               
   4980e:	2001           	movel %d1,%d0                               
   49810:	e4a8           	lsrl %d2,%d0                                
   49812:	143c 0007      	moveb #7,%d2                                
   49816:	c082           	andl %d2,%d0                                
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Objects_Is_api_valid(                      
  uint32_t   the_api                                                  
)                                                                     
{                                                                     
  if ( !the_api || the_api > OBJECTS_APIS_LAST )                      
   49818:	143c 0002      	moveb #2,%d2                                
   4981c:	2040           	moveal %d0,%a0                              
   4981e:	5388           	subql #1,%a0                                
   49820:	b488           	cmpl %a0,%d2                                
   49822:	6522           	bcss 49846 <_Objects_Id_to_name+0x52>       
                                                                      
  the_api = _Objects_Get_API( tmpId );                                
  if ( !_Objects_Is_api_valid( the_api ) )                            
    return OBJECTS_INVALID_ID;                                        
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
   49824:	41f9 0006 290c 	lea 6290c <_Objects_Information_table>,%a0  
   4982a:	2070 0c00      	moveal %a0@(00000000,%d0:l:4),%a0           
   4982e:	4a88           	tstl %a0                                    
   49830:	6714           	beqs 49846 <_Objects_Id_to_name+0x52>       
 */                                                                   
RTEMS_INLINE_ROUTINE uint32_t _Objects_Get_class(                     
  Objects_Id id                                                       
)                                                                     
{                                                                     
  return (uint32_t)                                                   
   49832:	2001           	movel %d1,%d0                               
   49834:	741b           	moveq #27,%d2                               
   49836:	e4a8           	lsrl %d2,%d0                                
    return OBJECTS_INVALID_ID;                                        
                                                                      
  the_class = _Objects_Get_class( tmpId );                            
                                                                      
  information = _Objects_Information_table[ the_api ][ the_class ];   
   49838:	2070 0c00      	moveal %a0@(00000000,%d0:l:4),%a0           
  if ( !information )                                                 
   4983c:	4a88           	tstl %a0                                    
   4983e:	6706           	beqs 49846 <_Objects_Id_to_name+0x52>       <== NEVER TAKEN
    return OBJECTS_INVALID_ID;                                        
                                                                      
  #if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                 
    if ( information->is_string )                                     
   49840:	4a28 0032      	tstb %a0@(50)                               
   49844:	670a           	beqs 49850 <_Objects_Id_to_name+0x5c>       <== ALWAYS TAKEN
    return OBJECTS_INVALID_ID;                                        
                                                                      
  *name = the_object->name;                                           
  _Thread_Enable_dispatch();                                          
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
}                                                                     
   49846:	242e fff8      	movel %fp@(-8),%d2                          
  the_api = _Objects_Get_API( tmpId );                                
  if ( !_Objects_Is_api_valid( the_api ) )                            
    return OBJECTS_INVALID_ID;                                        
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
    return OBJECTS_INVALID_ID;                                        
   4984a:	7003           	moveq #3,%d0                                
    return OBJECTS_INVALID_ID;                                        
                                                                      
  *name = the_object->name;                                           
  _Thread_Enable_dispatch();                                          
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
}                                                                     
   4984c:	4e5e           	unlk %fp                                    
   4984e:	4e75           	rts                                         
  #if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                 
    if ( information->is_string )                                     
      return OBJECTS_INVALID_ID;                                      
  #endif                                                              
                                                                      
  the_object = _Objects_Get( information, tmpId, &ignored_location ); 
   49850:	486e fffc      	pea %fp@(-4)                                
   49854:	2f01           	movel %d1,%sp@-                             
   49856:	2f08           	movel %a0,%sp@-                             
   49858:	4eb9 0004 9788 	jsr 49788 <_Objects_Get>                    
  if ( !the_object )                                                  
   4985e:	4fef 000c      	lea %sp@(12),%sp                            
   49862:	4a80           	tstl %d0                                    
   49864:	67e0           	beqs 49846 <_Objects_Id_to_name+0x52>       
    return OBJECTS_INVALID_ID;                                        
                                                                      
  *name = the_object->name;                                           
   49866:	206e 000c      	moveal %fp@(12),%a0                         
   4986a:	2240           	moveal %d0,%a1                              
   4986c:	20a9 000c      	movel %a1@(12),%a0@                         
  _Thread_Enable_dispatch();                                          
   49870:	4eb9 0004 a506 	jsr 4a506 <_Thread_Enable_dispatch>         
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
}                                                                     
   49876:	242e fff8      	movel %fp@(-8),%d2                          
  if ( !the_object )                                                  
    return OBJECTS_INVALID_ID;                                        
                                                                      
  *name = the_object->name;                                           
  _Thread_Enable_dispatch();                                          
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
   4987a:	4280           	clrl %d0                                    
}                                                                     
   4987c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00048658 <_Objects_Set_name>: { size_t length; const char *s; s = name; length = strnlen( name, information->name_length );
   48658:	4280           	clrl %d0                                    
bool _Objects_Set_name(                                               
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  const char          *name                                           
)                                                                     
{                                                                     
   4865a:	4e56 fff0      	linkw %fp,#-16                              
   4865e:	48d7 3c00      	moveml %a2-%a5,%sp@                         
   48662:	286e 0008      	moveal %fp@(8),%a4                          
  size_t                 length;                                      
  const char            *s;                                           
                                                                      
  s      = name;                                                      
  length = strnlen( name, information->name_length );                 
   48666:	302c 0034      	movew %a4@(52),%d0                          
bool _Objects_Set_name(                                               
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  const char          *name                                           
)                                                                     
{                                                                     
   4866a:	246e 0010      	moveal %fp@(16),%a2                         
  size_t                 length;                                      
  const char            *s;                                           
                                                                      
  s      = name;                                                      
  length = strnlen( name, information->name_length );                 
   4866e:	2f00           	movel %d0,%sp@-                             
bool _Objects_Set_name(                                               
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  const char          *name                                           
)                                                                     
{                                                                     
   48670:	2a6e 000c      	moveal %fp@(12),%a5                         
  size_t                 length;                                      
  const char            *s;                                           
                                                                      
  s      = name;                                                      
  length = strnlen( name, information->name_length );                 
   48674:	2f0a           	movel %a2,%sp@-                             
   48676:	4eb9 0005 0918 	jsr 50918 <strnlen>                         
                                                                      
#if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                   
  if ( information->is_string ) {                                     
   4867c:	508f           	addql #8,%sp                                
{                                                                     
  size_t                 length;                                      
  const char            *s;                                           
                                                                      
  s      = name;                                                      
  length = strnlen( name, information->name_length );                 
   4867e:	2640           	moveal %d0,%a3                              
                                                                      
#if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                   
  if ( information->is_string ) {                                     
   48680:	4a2c 0032      	tstb %a4@(50)                               
   48684:	6662           	bnes 486e8 <_Objects_Set_name+0x90>         
    d[length] = '\0';                                                 
    the_object->name.name_p = d;                                      
  } else                                                              
#endif                                                                
  {                                                                   
    the_object->name.name_u32 =  _Objects_Build_name(                 
   48686:	7018           	moveq #24,%d0                               
   48688:	1212           	moveb %a2@,%d1                              
   4868a:	49c1           	extbl %d1                                   
   4868c:	e1a9           	lsll %d0,%d1                                
   4868e:	103c 0001      	moveb #1,%d0                                
   48692:	b08b           	cmpl %a3,%d0                                
   48694:	643c           	bccs 486d2 <_Objects_Set_name+0x7a>         
   48696:	102a 0001      	moveb %a2@(1),%d0                           
   4869a:	49c0           	extbl %d0                                   
   4869c:	4840           	swap %d0                                    
   4869e:	4240           	clrw %d0                                    
   486a0:	8081           	orl %d1,%d0                                 
   486a2:	7202           	moveq #2,%d1                                
   486a4:	b28b           	cmpl %a3,%d1                                
   486a6:	6730           	beqs 486d8 <_Objects_Set_name+0x80>         
   486a8:	122a 0002      	moveb %a2@(2),%d1                           
   486ac:	49c1           	extbl %d1                                   
   486ae:	e189           	lsll #8,%d1                                 
   486b0:	8081           	orl %d1,%d0                                 
   486b2:	7203           	moveq #3,%d1                                
   486b4:	b28b           	cmpl %a3,%d1                                
   486b6:	6700 0082      	beqw 4873a <_Objects_Set_name+0xe2>         
   486ba:	122a 0003      	moveb %a2@(3),%d1                           
   486be:	49c1           	extbl %d1                                   
   486c0:	8081           	orl %d1,%d0                                 
   486c2:	2b40 000c      	movel %d0,%a5@(12)                          
      ((3 <  length) ? s[ 3 ] : ' ')                                  
    );                                                                
                                                                      
  }                                                                   
                                                                      
  return true;                                                        
   486c6:	7001           	moveq #1,%d0                                
}                                                                     
   486c8:	4cee 3c00 fff0 	moveml %fp@(-16),%a2-%a5                    
   486ce:	4e5e           	unlk %fp                                    
   486d0:	4e75           	rts                                         
    d[length] = '\0';                                                 
    the_object->name.name_p = d;                                      
  } else                                                              
#endif                                                                
  {                                                                   
    the_object->name.name_u32 =  _Objects_Build_name(                 
   486d2:	2001           	movel %d1,%d0                               
   486d4:	08c0 0015      	bset #21,%d0                                
   486d8:	7220           	moveq #32,%d1                               
   486da:	08c0 000d      	bset #13,%d0                                
   486de:	8081           	orl %d1,%d0                                 
   486e0:	2b40 000c      	movel %d0,%a5@(12)                          
      ((3 <  length) ? s[ 3 ] : ' ')                                  
    );                                                                
                                                                      
  }                                                                   
                                                                      
  return true;                                                        
   486e4:	7001           	moveq #1,%d0                                
   486e6:	60e0           	bras 486c8 <_Objects_Set_name+0x70>         
                                                                      
#if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                   
  if ( information->is_string ) {                                     
    char *d;                                                          
                                                                      
    d = _Workspace_Allocate( length + 1 );                            
   486e8:	486b 0001      	pea %a3@(1)                                 
   486ec:	4eb9 0004 a39a 	jsr 4a39a <_Workspace_Allocate>             
    if ( !d )                                                         
   486f2:	588f           	addql #4,%sp                                
                                                                      
#if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                   
  if ( information->is_string ) {                                     
    char *d;                                                          
                                                                      
    d = _Workspace_Allocate( length + 1 );                            
   486f4:	2840           	moveal %d0,%a4                              
    if ( !d )                                                         
   486f6:	4a80           	tstl %d0                                    
   486f8:	6734           	beqs 4872e <_Objects_Set_name+0xd6>         
      return false;                                                   
                                                                      
    _Workspace_Free( (void *)the_object->name.name_p );               
   486fa:	2f2d 000c      	movel %a5@(12),%sp@-                        
   486fe:	4eb9 0004 a3b6 	jsr 4a3b6 <_Workspace_Free>                 
    the_object->name.name_p = NULL;                                   
                                                                      
    strncpy( d, name, length );                                       
   48704:	2f0b           	movel %a3,%sp@-                             
   48706:	2f0a           	movel %a2,%sp@-                             
    d = _Workspace_Allocate( length + 1 );                            
    if ( !d )                                                         
      return false;                                                   
                                                                      
    _Workspace_Free( (void *)the_object->name.name_p );               
    the_object->name.name_p = NULL;                                   
   48708:	42ad 000c      	clrl %a5@(12)                               
                                                                      
    strncpy( d, name, length );                                       
   4870c:	2f0c           	movel %a4,%sp@-                             
   4870e:	4eb9 0005 0894 	jsr 50894 <strncpy>                         
    d[length] = '\0';                                                 
    the_object->name.name_p = d;                                      
   48714:	4fef 0010      	lea %sp@(16),%sp                            
                                                                      
    _Workspace_Free( (void *)the_object->name.name_p );               
    the_object->name.name_p = NULL;                                   
                                                                      
    strncpy( d, name, length );                                       
    d[length] = '\0';                                                 
   48718:	4200           	clrb %d0                                    
   4871a:	1980 b800      	moveb %d0,%a4@(00000000,%a3:l)              
      ((3 <  length) ? s[ 3 ] : ' ')                                  
    );                                                                
                                                                      
  }                                                                   
                                                                      
  return true;                                                        
   4871e:	7001           	moveq #1,%d0                                
    _Workspace_Free( (void *)the_object->name.name_p );               
    the_object->name.name_p = NULL;                                   
                                                                      
    strncpy( d, name, length );                                       
    d[length] = '\0';                                                 
    the_object->name.name_p = d;                                      
   48720:	2b4c 000c      	movel %a4,%a5@(12)                          
    );                                                                
                                                                      
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
   48724:	4cee 3c00 fff0 	moveml %fp@(-16),%a2-%a5                    
   4872a:	4e5e           	unlk %fp                                    
   4872c:	4e75           	rts                                         
   4872e:	4cee 3c00 fff0 	moveml %fp@(-16),%a2-%a5                    
  if ( information->is_string ) {                                     
    char *d;                                                          
                                                                      
    d = _Workspace_Allocate( length + 1 );                            
    if ( !d )                                                         
      return false;                                                   
   48734:	4200           	clrb %d0                                    
    );                                                                
                                                                      
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
   48736:	4e5e           	unlk %fp                                    
   48738:	4e75           	rts                                         
    d[length] = '\0';                                                 
    the_object->name.name_p = d;                                      
  } else                                                              
#endif                                                                
  {                                                                   
    the_object->name.name_u32 =  _Objects_Build_name(                 
   4873a:	7220           	moveq #32,%d1                               
   4873c:	8081           	orl %d1,%d0                                 
   4873e:	2b40 000c      	movel %d0,%a5@(12)                          
      ((3 <  length) ? s[ 3 ] : ' ')                                  
    );                                                                
                                                                      
  }                                                                   
                                                                      
  return true;                                                        
   48742:	7001           	moveq #1,%d0                                
   48744:	6082           	bras 486c8 <_Objects_Set_name+0x70>         
	...                                                                  
                                                                      

000482d0 <_Objects_Shrink_information>: /* * Search the list to find block or chunk with all objects inactive. */ index_base = _Objects_Get_index( information->minimum_id ); block_count = (information->maximum - index_base) /
   482d0:	4281           	clrl %d1                                    
 */                                                                   
                                                                      
void _Objects_Shrink_information(                                     
  Objects_Information *information                                    
)                                                                     
{                                                                     
   482d2:	4e56 ffec      	linkw %fp,#-20                              
   482d6:	48d7 0c1c      	moveml %d2-%d4/%a2-%a3,%sp@                 
   482da:	246e 0008      	moveal %fp@(8),%a2                          
                                                                      
  /*                                                                  
   * Search the list to find block or chunk with all objects inactive.
   */                                                                 
                                                                      
  index_base = _Objects_Get_index( information->minimum_id );         
   482de:	4282           	clrl %d2                                    
  block_count = (information->maximum - index_base) /                 
   482e0:	4283           	clrl %d3                                    
                                                                      
  /*                                                                  
   * Search the list to find block or chunk with all objects inactive.
   */                                                                 
                                                                      
  index_base = _Objects_Get_index( information->minimum_id );         
   482e2:	342a 0008      	movew %a2@(8),%d2                           
  block_count = (information->maximum - index_base) /                 
   482e6:	362a 000e      	movew %a2@(14),%d3                          
   482ea:	322a 0012      	movew %a2@(18),%d1                          
   482ee:	9682           	subl %d2,%d3                                
   482f0:	4c41 3003      	remul %d1,%d3,%d3                           
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
   482f4:	6774           	beqs 4836a <_Objects_Shrink_information+0x9a><== NEVER TAKEN
    if ( information->inactive_per_block[ block ] ==                  
   482f6:	206a 002a      	moveal %a2@(42),%a0                         
   482fa:	b290           	cmpl %a0@,%d1                               
   482fc:	677e           	beqs 4837c <_Objects_Shrink_information+0xac><== NEVER TAKEN
 *    the_block       - the block to remove                           
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Objects_Shrink_information(                                     
   482fe:	5888           	addql #4,%a0                                
                                                                      
  index_base = _Objects_Get_index( information->minimum_id );         
  block_count = (information->maximum - index_base) /                 
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
   48300:	4280           	clrl %d0                                    
   48302:	5280           	addql #1,%d0                                
      information->inactive -= information->allocation_size;          
                                                                      
      return;                                                         
    }                                                                 
                                                                      
    index_base += information->allocation_size;                       
   48304:	d481           	addl %d1,%d2                                
                                                                      
  index_base = _Objects_Get_index( information->minimum_id );         
  block_count = (information->maximum - index_base) /                 
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
   48306:	b083           	cmpl %d3,%d0                                
   48308:	6460           	bccs 4836a <_Objects_Shrink_information+0x9a>
      information->inactive -= information->allocation_size;          
                                                                      
      return;                                                         
    }                                                                 
                                                                      
    index_base += information->allocation_size;                       
   4830a:	2800           	movel %d0,%d4                               
   4830c:	e58c           	lsll #2,%d4                                 
  index_base = _Objects_Get_index( information->minimum_id );         
  block_count = (information->maximum - index_base) /                 
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
    if ( information->inactive_per_block[ block ] ==                  
   4830e:	b298           	cmpl %a0@+,%d1                              
   48310:	66f0           	bnes 48302 <_Objects_Shrink_information+0x32>
         information->allocation_size ) {                             
                                                                      
      /*                                                              
       *  Assume the Inactive chain is never empty at this point      
       */                                                             
      the_object = (Objects_Control *) _Chain_First( &information->Inactive );
   48312:	206a 001c      	moveal %a2@(28),%a0                         
          */                                                          
         extract_me = the_object;                                     
         the_object = (Objects_Control *) the_object->Node.next;      
         if ((index >= index_base) &&                                 
             (index < (index_base + information->allocation_size))) { 
           _Chain_Extract( &extract_me->Node );                       
   48316:	47f9 0004 7214 	lea 47214 <_Chain_Extract>,%a3              
       *  Assume the Inactive chain is never empty at this point      
       */                                                             
      the_object = (Objects_Control *) _Chain_First( &information->Inactive );
                                                                      
      do {                                                            
         index = _Objects_Get_index( the_object->id );                
   4831c:	4280           	clrl %d0                                    
   4831e:	3028 000a      	movew %a0@(10),%d0                          
         /*                                                           
          *  Get the next node before the node is extracted           
          */                                                          
         extract_me = the_object;                                     
         the_object = (Objects_Control *) the_object->Node.next;      
   48322:	2610           	movel %a0@,%d3                              
         if ((index >= index_base) &&                                 
   48324:	b480           	cmpl %d0,%d2                                
   48326:	620c           	bhis 48334 <_Objects_Shrink_information+0x64>
             (index < (index_base + information->allocation_size))) { 
   48328:	4281           	clrl %d1                                    
   4832a:	322a 0012      	movew %a2@(18),%d1                          
   4832e:	d282           	addl %d2,%d1                                
         /*                                                           
          *  Get the next node before the node is extracted           
          */                                                          
         extract_me = the_object;                                     
         the_object = (Objects_Control *) the_object->Node.next;      
         if ((index >= index_base) &&                                 
   48330:	b280           	cmpl %d0,%d1                                
   48332:	6240           	bhis 48374 <_Objects_Shrink_information+0xa4>
             (index < (index_base + information->allocation_size))) { 
           _Chain_Extract( &extract_me->Node );                       
         }                                                            
       }                                                              
       while ( the_object );                                          
   48334:	4a83           	tstl %d3                                    
   48336:	6704           	beqs 4833c <_Objects_Shrink_information+0x6c>
         index = _Objects_Get_index( the_object->id );                
         /*                                                           
          *  Get the next node before the node is extracted           
          */                                                          
         extract_me = the_object;                                     
         the_object = (Objects_Control *) the_object->Node.next;      
   48338:	2043           	moveal %d3,%a0                              
   4833a:	60e0           	bras 4831c <_Objects_Shrink_information+0x4c>
       while ( the_object );                                          
      /*                                                              
       *  Free the memory and reset the structures in the object' information
       */                                                             
                                                                      
      _Workspace_Free( information->object_blocks[ block ] );         
   4833c:	206a 002e      	moveal %a2@(46),%a0                         
   48340:	2f30 4800      	movel %a0@(00000000,%d4:l),%sp@-            
   48344:	4eb9 0004 9f3e 	jsr 49f3e <_Workspace_Free>                 
      information->object_blocks[ block ] = NULL;                     
   4834a:	206a 002e      	moveal %a2@(46),%a0                         
      information->inactive_per_block[ block ] = 0;                   
                                                                      
      information->inactive -= information->allocation_size;          
                                                                      
      return;                                                         
   4834e:	588f           	addql #4,%sp                                
      /*                                                              
       *  Free the memory and reset the structures in the object' information
       */                                                             
                                                                      
      _Workspace_Free( information->object_blocks[ block ] );         
      information->object_blocks[ block ] = NULL;                     
   48350:	42b0 4800      	clrl %a0@(00000000,%d4:l)                   
      information->inactive_per_block[ block ] = 0;                   
   48354:	206a 002a      	moveal %a2@(42),%a0                         
                                                                      
      information->inactive -= information->allocation_size;          
   48358:	302a 0028      	movew %a2@(40),%d0                          
   4835c:	322a 0012      	movew %a2@(18),%d1                          
       *  Free the memory and reset the structures in the object' information
       */                                                             
                                                                      
      _Workspace_Free( information->object_blocks[ block ] );         
      information->object_blocks[ block ] = NULL;                     
      information->inactive_per_block[ block ] = 0;                   
   48360:	42b0 4800      	clrl %a0@(00000000,%d4:l)                   
                                                                      
      information->inactive -= information->allocation_size;          
   48364:	9081           	subl %d1,%d0                                
   48366:	3540 0028      	movew %d0,%a2@(40)                          
      return;                                                         
    }                                                                 
                                                                      
    index_base += information->allocation_size;                       
  }                                                                   
}                                                                     
   4836a:	4cee 0c1c ffec 	moveml %fp@(-20),%d2-%d4/%a2-%a3            
   48370:	4e5e           	unlk %fp                                    
   48372:	4e75           	rts                                         
          */                                                          
         extract_me = the_object;                                     
         the_object = (Objects_Control *) the_object->Node.next;      
         if ((index >= index_base) &&                                 
             (index < (index_base + information->allocation_size))) { 
           _Chain_Extract( &extract_me->Node );                       
   48374:	2f08           	movel %a0,%sp@-                             
   48376:	4e93           	jsr %a3@                                    
   48378:	588f           	addql #4,%sp                                
   4837a:	60b8           	bras 48334 <_Objects_Shrink_information+0x64>
         information->allocation_size ) {                             
                                                                      
      /*                                                              
       *  Assume the Inactive chain is never empty at this point      
       */                                                             
      the_object = (Objects_Control *) _Chain_First( &information->Inactive );
   4837c:	206a 001c      	moveal %a2@(28),%a0                         <== NOT EXECUTED
  index_base = _Objects_Get_index( information->minimum_id );         
  block_count = (information->maximum - index_base) /                 
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
    if ( information->inactive_per_block[ block ] ==                  
   48380:	4284           	clrl %d4                                    <== NOT EXECUTED
          */                                                          
         extract_me = the_object;                                     
         the_object = (Objects_Control *) the_object->Node.next;      
         if ((index >= index_base) &&                                 
             (index < (index_base + information->allocation_size))) { 
           _Chain_Extract( &extract_me->Node );                       
   48382:	47f9 0004 7214 	lea 47214 <_Chain_Extract>,%a3              <== NOT EXECUTED
   48388:	6092           	bras 4831c <_Objects_Shrink_information+0x4c><== NOT EXECUTED
	...                                                                  
                                                                      

00047614 <_POSIX_Condition_variables_Wait_support>: pthread_cond_t *cond, pthread_mutex_t *mutex, Watchdog_Interval timeout, bool already_timedout ) {
   47614:	4e56 ffe8      	linkw %fp,#-24                              
   47618:	48d7 1c0c      	moveml %d2-%d3/%a2-%a4,%sp@                 
  register POSIX_Condition_variables_Control *the_cond;               
  Objects_Locations                           location;               
  int                                         status;                 
  int                                         mutex_status;           
                                                                      
  if ( !_POSIX_Mutex_Get( mutex, &location ) ) {                      
   4761c:	240e           	movel %fp,%d2                               
   4761e:	5982           	subql #4,%d2                                
  pthread_cond_t            *cond,                                    
  pthread_mutex_t           *mutex,                                   
  Watchdog_Interval          timeout,                                 
  bool                       already_timedout                         
)                                                                     
{                                                                     
   47620:	246e 000c      	moveal %fp@(12),%a2                         
  register POSIX_Condition_variables_Control *the_cond;               
  Objects_Locations                           location;               
  int                                         status;                 
  int                                         mutex_status;           
                                                                      
  if ( !_POSIX_Mutex_Get( mutex, &location ) ) {                      
   47624:	2f02           	movel %d2,%sp@-                             
  pthread_cond_t            *cond,                                    
  pthread_mutex_t           *mutex,                                   
  Watchdog_Interval          timeout,                                 
  bool                       already_timedout                         
)                                                                     
{                                                                     
   47626:	266e 0008      	moveal %fp@(8),%a3                          
  register POSIX_Condition_variables_Control *the_cond;               
  Objects_Locations                           location;               
  int                                         status;                 
  int                                         mutex_status;           
                                                                      
  if ( !_POSIX_Mutex_Get( mutex, &location ) ) {                      
   4762a:	2f0a           	movel %a2,%sp@-                             
  pthread_cond_t            *cond,                                    
  pthread_mutex_t           *mutex,                                   
  Watchdog_Interval          timeout,                                 
  bool                       already_timedout                         
)                                                                     
{                                                                     
   4762c:	162e 0017      	moveb %fp@(23),%d3                          
  register POSIX_Condition_variables_Control *the_cond;               
  Objects_Locations                           location;               
  int                                         status;                 
  int                                         mutex_status;           
                                                                      
  if ( !_POSIX_Mutex_Get( mutex, &location ) ) {                      
   47630:	4eb9 0004 7794 	jsr 47794 <_POSIX_Mutex_Get>                
   47636:	508f           	addql #8,%sp                                
   47638:	4a80           	tstl %d0                                    
   4763a:	6764           	beqs 476a0 <_POSIX_Condition_variables_Wait_support+0x8c>
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
   4763c:	2039 0006 36c8 	movel 636c8 <_Thread_Dispatch_disable_level>,%d0
   47642:	5380           	subql #1,%d0                                
     return EINVAL;                                                   
  }                                                                   
                                                                      
  _Thread_Unnest_dispatch();                                          
                                                                      
  the_cond = _POSIX_Condition_variables_Get( cond, &location );       
   47644:	2f02           	movel %d2,%sp@-                             
   47646:	23c0 0006 36c8 	movel %d0,636c8 <_Thread_Dispatch_disable_level>
   4764c:	2f0b           	movel %a3,%sp@-                             
   4764e:	4eb9 0004 73fc 	jsr 473fc <_POSIX_Condition_variables_Get>  
  switch ( location ) {                                               
   47654:	508f           	addql #8,%sp                                
     return EINVAL;                                                   
  }                                                                   
                                                                      
  _Thread_Unnest_dispatch();                                          
                                                                      
  the_cond = _POSIX_Condition_variables_Get( cond, &location );       
   47656:	2840           	moveal %d0,%a4                              
  switch ( location ) {                                               
   47658:	4aae fffc      	tstl %fp@(-4)                               
   4765c:	6642           	bnes 476a0 <_POSIX_Condition_variables_Wait_support+0x8c>
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      if ( the_cond->Mutex && ( the_cond->Mutex != *mutex ) ) {       
   4765e:	202c 0014      	movel %a4@(20),%d0                          
   47662:	6718           	beqs 4767c <_POSIX_Condition_variables_Wait_support+0x68>
   47664:	b092           	cmpl %a2@,%d0                               
   47666:	6714           	beqs 4767c <_POSIX_Condition_variables_Wait_support+0x68>
        _Thread_Enable_dispatch();                                    
   47668:	4eb9 0004 af4e 	jsr 4af4e <_Thread_Enable_dispatch>         
        return EINVAL;                                                
   4766e:	7416           	moveq #22,%d2                               
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
   47670:	2002           	movel %d2,%d0                               
   47672:	4cee 1c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a4            
   47678:	4e5e           	unlk %fp                                    
   4767a:	4e75           	rts                                         
      if ( the_cond->Mutex && ( the_cond->Mutex != *mutex ) ) {       
        _Thread_Enable_dispatch();                                    
        return EINVAL;                                                
      }                                                               
                                                                      
      (void) pthread_mutex_unlock( mutex );                           
   4767c:	2f0a           	movel %a2,%sp@-                             
   4767e:	4eb9 0004 7a64 	jsr 47a64 <pthread_mutex_unlock>            
        _Thread_Enable_dispatch();                                    
        return EINVAL;                                                
      }                                                               
*/                                                                    
                                                                      
      if ( !already_timedout ) {                                      
   47684:	588f           	addql #4,%sp                                
   47686:	4a03           	tstb %d3                                    
   47688:	6724           	beqs 476ae <_POSIX_Condition_variables_Wait_support+0x9a>
        status = _Thread_Executing->Wait.return_code;                 
        if ( status == EINTR )                                        
          status = 0;                                                 
                                                                      
      } else {                                                        
        _Thread_Enable_dispatch();                                    
   4768a:	4eb9 0004 af4e 	jsr 4af4e <_Thread_Enable_dispatch>         
        status = ETIMEDOUT;                                           
   47690:	7474           	moveq #116,%d2                              
                                                                      
      /*                                                              
       *  When we get here the dispatch disable level is 0.           
       */                                                             
                                                                      
      mutex_status = pthread_mutex_lock( mutex );                     
   47692:	2f0a           	movel %a2,%sp@-                             
   47694:	4eb9 0004 79c8 	jsr 479c8 <pthread_mutex_lock>              
      if ( mutex_status )                                             
   4769a:	588f           	addql #4,%sp                                
   4769c:	4a80           	tstl %d0                                    
   4769e:	67d0           	beqs 47670 <_POSIX_Condition_variables_Wait_support+0x5c><== ALWAYS TAKEN
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
   476a0:	7416           	moveq #22,%d2                               
}                                                                     
   476a2:	2002           	movel %d2,%d0                               
   476a4:	4cee 1c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a4            
   476aa:	4e5e           	unlk %fp                                    
   476ac:	4e75           	rts                                         
        return EINVAL;                                                
      }                                                               
*/                                                                    
                                                                      
      if ( !already_timedout ) {                                      
        the_cond->Mutex = *mutex;                                     
   476ae:	2952 0014      	movel %a2@,%a4@(20)                         
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_queue_Enter_critical_section (      
  Thread_queue_Control *the_thread_queue                              
)                                                                     
{                                                                     
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;
   476b2:	7201           	moveq #1,%d1                                
                                                                      
        _Thread_queue_Enter_critical_section( &the_cond->Wait_queue );
        _Thread_Executing->Wait.return_code = 0;                      
        _Thread_Executing->Wait.queue       = &the_cond->Wait_queue;  
   476b4:	200c           	movel %a4,%d0                               
   476b6:	0680 0000 0018 	addil #24,%d0                               
                                                                      
      if ( !already_timedout ) {                                      
        the_cond->Mutex = *mutex;                                     
                                                                      
        _Thread_queue_Enter_critical_section( &the_cond->Wait_queue );
        _Thread_Executing->Wait.return_code = 0;                      
   476bc:	2079 0006 3b32 	moveal 63b32 <_Per_CPU_Information+0xc>,%a0 
   476c2:	2941 0048      	movel %d1,%a4@(72)                          
   476c6:	42a8 0034      	clrl %a0@(52)                               
        _Thread_Executing->Wait.queue       = &the_cond->Wait_queue;  
        _Thread_Executing->Wait.id          = *cond;                  
   476ca:	2153 0020      	movel %a3@,%a0@(32)                         
      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;  
   476ce:	2140 0044      	movel %d0,%a0@(68)                          
        _Thread_Executing->Wait.id          = *cond;                  
                                                                      
        _Thread_queue_Enqueue( &the_cond->Wait_queue, timeout );      
   476d2:	4879 0004 b880 	pea 4b880 <_Thread_queue_Timeout>           
   476d8:	2f2e 0010      	movel %fp@(16),%sp@-                        
   476dc:	2f00           	movel %d0,%sp@-                             
   476de:	4eb9 0004 b454 	jsr 4b454 <_Thread_queue_Enqueue_with_handler>
                                                                      
        _Thread_Enable_dispatch();                                    
   476e4:	4eb9 0004 af4e 	jsr 4af4e <_Thread_Enable_dispatch>         
         *  a POSIX signal, then pthread_cond_wait returns spuriously,
         *  according to the POSIX standard. It means that pthread_cond_wait
         *  returns a success status, except for the fact that it was not
         *  woken up a pthread_cond_signal or a pthread_cond_broadcast.
         */                                                           
        status = _Thread_Executing->Wait.return_code;                 
   476ea:	2079 0006 3b32 	moveal 63b32 <_Per_CPU_Information+0xc>,%a0 
        if ( status == EINTR )                                        
          status = 0;                                                 
   476f0:	7004           	moveq #4,%d0                                
         *  according to the POSIX standard. It means that pthread_cond_wait
         *  returns a success status, except for the fact that it was not
         *  woken up a pthread_cond_signal or a pthread_cond_broadcast.
         */                                                           
        status = _Thread_Executing->Wait.return_code;                 
        if ( status == EINTR )                                        
   476f2:	4fef 000c      	lea %sp@(12),%sp                            
         *  a POSIX signal, then pthread_cond_wait returns spuriously,
         *  according to the POSIX standard. It means that pthread_cond_wait
         *  returns a success status, except for the fact that it was not
         *  woken up a pthread_cond_signal or a pthread_cond_broadcast.
         */                                                           
        status = _Thread_Executing->Wait.return_code;                 
   476f6:	2428 0034      	movel %a0@(52),%d2                          
        if ( status == EINTR )                                        
          status = 0;                                                 
   476fa:	b082           	cmpl %d2,%d0                                
   476fc:	56c0           	sne %d0                                     
                                                                      
      /*                                                              
       *  When we get here the dispatch disable level is 0.           
       */                                                             
                                                                      
      mutex_status = pthread_mutex_lock( mutex );                     
   476fe:	2f0a           	movel %a2,%sp@-                             
         *  returns a success status, except for the fact that it was not
         *  woken up a pthread_cond_signal or a pthread_cond_broadcast.
         */                                                           
        status = _Thread_Executing->Wait.return_code;                 
        if ( status == EINTR )                                        
          status = 0;                                                 
   47700:	49c0           	extbl %d0                                   
   47702:	c480           	andl %d0,%d2                                
                                                                      
      /*                                                              
       *  When we get here the dispatch disable level is 0.           
       */                                                             
                                                                      
      mutex_status = pthread_mutex_lock( mutex );                     
   47704:	4eb9 0004 79c8 	jsr 479c8 <pthread_mutex_lock>              
      if ( mutex_status )                                             
   4770a:	588f           	addql #4,%sp                                
   4770c:	4a80           	tstl %d0                                    
   4770e:	6700 ff60      	beqw 47670 <_POSIX_Condition_variables_Wait_support+0x5c>
   47712:	608c           	bras 476a0 <_POSIX_Condition_variables_Wait_support+0x8c>
                                                                      

0004680c <_POSIX_Keys_Free_memory>: #include <rtems/posix/key.h> void _POSIX_Keys_Free_memory( POSIX_Keys_Control *the_key ) {
   4680c:	4e56 0000      	linkw %fp,#0                                
   46810:	2f0b           	movel %a3,%sp@-                             
  uint32_t            the_api;                                        
                                                                      
  for ( the_api = 1; the_api <= OBJECTS_APIS_LAST; the_api++ )        
    _Workspace_Free( the_key->Values[ the_api ] );                    
   46812:	47f9 0004 b06a 	lea 4b06a <_Workspace_Free>,%a3             
#include <rtems/posix/key.h>                                          
                                                                      
void _POSIX_Keys_Free_memory(                                         
  POSIX_Keys_Control *the_key                                         
)                                                                     
{                                                                     
   46818:	2f0a           	movel %a2,%sp@-                             
   4681a:	246e 0008      	moveal %fp@(8),%a2                          
  uint32_t            the_api;                                        
                                                                      
  for ( the_api = 1; the_api <= OBJECTS_APIS_LAST; the_api++ )        
    _Workspace_Free( the_key->Values[ the_api ] );                    
   4681e:	2f2a 0018      	movel %a2@(24),%sp@-                        
   46822:	4e93           	jsr %a3@                                    
   46824:	2f2a 001c      	movel %a2@(28),%sp@-                        
   46828:	4e93           	jsr %a3@                                    
   4682a:	2d6a 0020 0008 	movel %a2@(32),%fp@(8)                      
   46830:	508f           	addql #8,%sp                                
}                                                                     
   46832:	246e fff8      	moveal %fp@(-8),%a2                         
   46836:	266e fffc      	moveal %fp@(-4),%a3                         
   4683a:	4e5e           	unlk %fp                                    
)                                                                     
{                                                                     
  uint32_t            the_api;                                        
                                                                      
  for ( the_api = 1; the_api <= OBJECTS_APIS_LAST; the_api++ )        
    _Workspace_Free( the_key->Values[ the_api ] );                    
   4683c:	4ef9 0004 b06a 	jmp 4b06a <_Workspace_Free>                 
	...                                                                  
                                                                      

0004e294 <_POSIX_Keys_Run_destructors>:
   4e294:	7218           	moveq #24,%d1                               
 */                                                                   
                                                                      
void _POSIX_Keys_Run_destructors(                                     
  Thread_Control *thread                                              
)                                                                     
{                                                                     
   4e296:	4e56 ffec      	linkw %fp,#-20                              
   4e29a:	206e 0008      	moveal %fp@(8),%a0                          
   4e29e:	48d7 007c      	moveml %d2-%d6,%sp@                         
  Objects_Maximum thread_index = _Objects_Get_index( thread->Object.id );
   4e2a2:	2628 0008      	movel %a0@(8),%d3                           
   4e2a6:	2003           	movel %d3,%d0                               
   4e2a8:	e2a8           	lsrl %d1,%d0                                
   4e2aa:	123c 0007      	moveb #7,%d1                                
   4e2ae:	c081           	andl %d1,%d0                                
    for ( index = 1 ; index <= max ; ++index ) {                      
      POSIX_Keys_Control *key = (POSIX_Keys_Control *)                
        _POSIX_Keys_Information.local_table [ index ];                
                                                                      
      if ( key != NULL && key->destructor != NULL ) {                 
        void *value = key->Values [ thread_api ][ thread_index ];     
   4e2b0:	0283 0000 ffff 	andil #65535,%d3                            
   4e2b6:	2c00           	movel %d0,%d6                               
   4e2b8:	5a86           	addql #5,%d6                                
   *                                                                  
   *  Reference: 17.1.1.2 P1003.1c/Draft 10, p. 163, line 99.         
   */                                                                 
  while ( !done ) {                                                   
    Objects_Maximum index = 0;                                        
    Objects_Maximum max = _POSIX_Keys_Information.maximum;            
   4e2ba:	3039 0006 0fc6 	movew 60fc6 <_POSIX_Keys_Information+0xe>,%d0
    for ( index = 1 ; index <= max ; ++index ) {                      
      POSIX_Keys_Control *key = (POSIX_Keys_Control *)                
        _POSIX_Keys_Information.local_table [ index ];                
                                                                      
      if ( key != NULL && key->destructor != NULL ) {                 
        void *value = key->Values [ thread_api ][ thread_index ];     
   4e2c0:	e58b           	lsll #2,%d3                                 
    Objects_Maximum index = 0;                                        
    Objects_Maximum max = _POSIX_Keys_Information.maximum;            
                                                                      
    done = true;                                                      
                                                                      
    for ( index = 1 ; index <= max ; ++index ) {                      
   4e2c2:	4a40           	tstw %d0                                    
   4e2c4:	660a           	bnes 4e2d0 <_POSIX_Keys_Run_destructors+0x3c>
          done = false;                                               
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
}                                                                     
   4e2c6:	4cee 007c ffec 	moveml %fp@(-20),%d2-%d6                    
   4e2cc:	4e5e           	unlk %fp                                    
   4e2ce:	4e75           	rts                                         
   4e2d0:	4285           	clrl %d5                                    
   4e2d2:	7201           	moveq #1,%d1                                
    Objects_Maximum index = 0;                                        
    Objects_Maximum max = _POSIX_Keys_Information.maximum;            
                                                                      
    done = true;                                                      
                                                                      
    for ( index = 1 ; index <= max ; ++index ) {                      
   4e2d4:	7401           	moveq #1,%d2                                
   4e2d6:	7801           	moveq #1,%d4                                
   4e2d8:	3a00           	movew %d0,%d5                               
      POSIX_Keys_Control *key = (POSIX_Keys_Control *)                
   4e2da:	2079 0006 0fd0 	moveal 60fd0 <_POSIX_Keys_Information+0x18>,%a0
    Objects_Maximum index = 0;                                        
    Objects_Maximum max = _POSIX_Keys_Information.maximum;            
                                                                      
    done = true;                                                      
                                                                      
    for ( index = 1 ; index <= max ; ++index ) {                      
   4e2e0:	5282           	addql #1,%d2                                
      POSIX_Keys_Control *key = (POSIX_Keys_Control *)                
   4e2e2:	2070 1c00      	moveal %a0@(00000000,%d1:l:4),%a0           
        _POSIX_Keys_Information.local_table [ index ];                
                                                                      
      if ( key != NULL && key->destructor != NULL ) {                 
   4e2e6:	4a88           	tstl %a0                                    
   4e2e8:	671c           	beqs 4e306 <_POSIX_Keys_Run_destructors+0x72>
   4e2ea:	2268 0010      	moveal %a0@(16),%a1                         
   4e2ee:	4a89           	tstl %a1                                    
   4e2f0:	6714           	beqs 4e306 <_POSIX_Keys_Run_destructors+0x72>
        void *value = key->Values [ thread_api ][ thread_index ];     
   4e2f2:	2070 6c00      	moveal %a0@(00000000,%d6:l:4),%a0           
   4e2f6:	d1c3           	addal %d3,%a0                               
   4e2f8:	2210           	movel %a0@,%d1                              
                                                                      
        if ( value != NULL ) {                                        
   4e2fa:	670a           	beqs 4e306 <_POSIX_Keys_Run_destructors+0x72>
          key->Values [ thread_api ][ thread_index ] = NULL;          
   4e2fc:	4290           	clrl %a0@                                   
          (*key->destructor)( value );                                
          done = false;                                               
   4e2fe:	4204           	clrb %d4                                    
      if ( key != NULL && key->destructor != NULL ) {                 
        void *value = key->Values [ thread_api ][ thread_index ];     
                                                                      
        if ( value != NULL ) {                                        
          key->Values [ thread_api ][ thread_index ] = NULL;          
          (*key->destructor)( value );                                
   4e300:	2f01           	movel %d1,%sp@-                             
   4e302:	4e91           	jsr %a1@                                    
   4e304:	588f           	addql #4,%sp                                
    Objects_Maximum index = 0;                                        
    Objects_Maximum max = _POSIX_Keys_Information.maximum;            
                                                                      
    done = true;                                                      
                                                                      
    for ( index = 1 ; index <= max ; ++index ) {                      
   4e306:	4281           	clrl %d1                                    
   4e308:	3202           	movew %d2,%d1                               
   4e30a:	b285           	cmpl %d5,%d1                                
   4e30c:	63cc           	blss 4e2da <_POSIX_Keys_Run_destructors+0x46>
   *  number of iterations.  An infinite loop may happen if destructors set
   *  thread specific data.  This can be considered dubious.          
   *                                                                  
   *  Reference: 17.1.1.2 P1003.1c/Draft 10, p. 163, line 99.         
   */                                                                 
  while ( !done ) {                                                   
   4e30e:	4a04           	tstb %d4                                    
   4e310:	66b4           	bnes 4e2c6 <_POSIX_Keys_Run_destructors+0x32>
    Objects_Maximum index = 0;                                        
    Objects_Maximum max = _POSIX_Keys_Information.maximum;            
   4e312:	3039 0006 0fc6 	movew 60fc6 <_POSIX_Keys_Information+0xe>,%d0
                                                                      
    done = true;                                                      
                                                                      
    for ( index = 1 ; index <= max ; ++index ) {                      
   4e318:	67ac           	beqs 4e2c6 <_POSIX_Keys_Run_destructors+0x32><== NEVER TAKEN
   4e31a:	60b4           	bras 4e2d0 <_POSIX_Keys_Run_destructors+0x3c>
                                                                      

0004c4b0 <_POSIX_Message_queue_Receive_support>: size_t msg_len, unsigned int *msg_prio, bool wait, Watchdog_Interval timeout ) {
   4c4b0:	4e56 ffe4      	linkw %fp,#-28                              
   4c4b4:	48d7 043c      	moveml %d2-%d5/%a2,%sp@                     
RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control_fd *_POSIX_Message_queue_Get_fd (
  mqd_t              id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (POSIX_Message_queue_Control_fd *) _Objects_Get(             
   4c4b8:	486e fffc      	pea %fp@(-4)                                
   4c4bc:	242e 0008      	movel %fp@(8),%d2                           
   4c4c0:	2f02           	movel %d2,%sp@-                             
   4c4c2:	4879 0006 ae1c 	pea 6ae1c <_POSIX_Message_queue_Information_fds>
   4c4c8:	162e 001b      	moveb %fp@(27),%d3                          
   4c4cc:	4eb9 0004 f970 	jsr 4f970 <_Objects_Get>                    
  Objects_Locations                location;                          
  size_t                           length_out;                        
  bool                             do_wait;                           
                                                                      
  the_mq_fd = _POSIX_Message_queue_Get_fd( mqdes, &location );        
  switch ( location ) {                                               
   4c4d2:	4fef 000c      	lea %sp@(12),%sp                            
   4c4d6:	4aae fffc      	tstl %fp@(-4)                               
   4c4da:	671a           	beqs 4c4f6 <_POSIX_Message_queue_Receive_support+0x46>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
   4c4dc:	4eb9 0005 6cb8 	jsr 56cb8 <__errno>                         
   4c4e2:	72ff           	moveq #-1,%d1                               
   4c4e4:	2040           	moveal %d0,%a0                              
   4c4e6:	7009           	moveq #9,%d0                                
}                                                                     
   4c4e8:	4cee 043c ffe4 	moveml %fp@(-28),%d2-%d5/%a2                
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
   4c4ee:	2080           	movel %d0,%a0@                              
}                                                                     
   4c4f0:	2001           	movel %d1,%d0                               
   4c4f2:	4e5e           	unlk %fp                                    
   4c4f4:	4e75           	rts                                         
                                                                      
  the_mq_fd = _POSIX_Message_queue_Get_fd( mqdes, &location );        
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( (the_mq_fd->oflag & O_ACCMODE) == O_WRONLY ) {             
   4c4f6:	2040           	moveal %d0,%a0                              
   4c4f8:	7803           	moveq #3,%d4                                
   4c4fa:	7a01           	moveq #1,%d5                                
   4c4fc:	2228 0014      	movel %a0@(20),%d1                          
   4c500:	c881           	andl %d1,%d4                                
   4c502:	ba84           	cmpl %d4,%d5                                
   4c504:	6700 00f0      	beqw 4c5f6 <_POSIX_Message_queue_Receive_support+0x146>
        _Thread_Enable_dispatch();                                    
        rtems_set_errno_and_return_minus_one( EBADF );                
      }                                                               
                                                                      
      the_mq = the_mq_fd->Queue;                                      
   4c508:	2240           	moveal %d0,%a1                              
                                                                      
      if ( msg_len < the_mq->Message_queue.maximum_message_size ) {   
   4c50a:	202e 0010      	movel %fp@(16),%d0                          
      if ( (the_mq_fd->oflag & O_ACCMODE) == O_WRONLY ) {             
        _Thread_Enable_dispatch();                                    
        rtems_set_errno_and_return_minus_one( EBADF );                
      }                                                               
                                                                      
      the_mq = the_mq_fd->Queue;                                      
   4c50e:	2069 0010      	moveal %a1@(16),%a0                         
                                                                      
      if ( msg_len < the_mq->Message_queue.maximum_message_size ) {   
   4c512:	b0a8 0066      	cmpl %a0@(102),%d0                          
   4c516:	6500 0094      	bcsw 4c5ac <_POSIX_Message_queue_Receive_support+0xfc>
      /*                                                              
       *  Now if something goes wrong, we return a "length" of -1     
       *  to indicate an error.                                       
       */                                                             
                                                                      
      length_out = -1;                                                
   4c51a:	70ff           	moveq #-1,%d0                               
   4c51c:	2d40 fff8      	movel %d0,%fp@(-8)                          
                                                                      
      /*                                                              
       *  A timed receive with a bad time will do a poll regardless.  
       */                                                             
      if ( wait )                                                     
   4c520:	4a03           	tstb %d3                                    
   4c522:	6756           	beqs 4c57a <_POSIX_Message_queue_Receive_support+0xca><== NEVER TAKEN
        do_wait = wait;                                               
                                                                      
      /*                                                              
       *  Now perform the actual message receive                      
       */                                                             
      _CORE_message_queue_Seize(                                      
   4c524:	2f2e 001c      	movel %fp@(28),%sp@-                        
      length_out = -1;                                                
                                                                      
      /*                                                              
       *  A timed receive with a bad time will do a poll regardless.  
       */                                                             
      if ( wait )                                                     
   4c528:	0801 000e      	btst #14,%d1                                
   4c52c:	57c0           	seq %d0                                     
   4c52e:	49c0           	extbl %d0                                   
   4c530:	4480           	negl %d0                                    
        do_wait = wait;                                               
                                                                      
      /*                                                              
       *  Now perform the actual message receive                      
       */                                                             
      _CORE_message_queue_Seize(                                      
   4c532:	2f00           	movel %d0,%sp@-                             
   4c534:	486e fff8      	pea %fp@(-8)                                
   4c538:	2f2e 000c      	movel %fp@(12),%sp@-                        
   4c53c:	2f02           	movel %d2,%sp@-                             
   4c53e:	4868 001a      	pea %a0@(26)                                
   4c542:	4eb9 0004 e8b0 	jsr 4e8b0 <_CORE_message_queue_Seize>       
        &length_out,                                                  
        do_wait,                                                      
        timeout                                                       
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
   4c548:	4eb9 0005 066a 	jsr 5066a <_Thread_Enable_dispatch>         
      *msg_prio =                                                     
        _POSIX_Message_queue_Priority_from_core(_Thread_Executing->Wait.count);
   4c54e:	2079 0006 ae8e 	moveal 6ae8e <_Per_CPU_Information+0xc>,%a0 
RTEMS_INLINE_ROUTINE unsigned int _POSIX_Message_queue_Priority_from_core(
  CORE_message_queue_Submit_types priority                            
)                                                                     
{                                                                     
  /* absolute value without a library dependency */                   
  return ((priority >= 0) ? priority : -priority);                    
   4c554:	2028 0024      	movel %a0@(36),%d0                          
   4c558:	6d4e           	blts 4c5a8 <_POSIX_Message_queue_Receive_support+0xf8>
        do_wait,                                                      
        timeout                                                       
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      *msg_prio =                                                     
   4c55a:	226e 0014      	moveal %fp@(20),%a1                         
        _POSIX_Message_queue_Priority_from_core(_Thread_Executing->Wait.count);
                                                                      
      if ( !_Thread_Executing->Wait.return_code )                     
   4c55e:	4fef 0018      	lea %sp@(24),%sp                            
        do_wait,                                                      
        timeout                                                       
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      *msg_prio =                                                     
   4c562:	2280           	movel %d0,%a1@                              
        _POSIX_Message_queue_Priority_from_core(_Thread_Executing->Wait.count);
                                                                      
      if ( !_Thread_Executing->Wait.return_code )                     
   4c564:	4aa8 0034      	tstl %a0@(52)                               
   4c568:	6662           	bnes 4c5cc <_POSIX_Message_queue_Receive_support+0x11c>
        return length_out;                                            
   4c56a:	222e fff8      	movel %fp@(-8),%d1                          
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
}                                                                     
   4c56e:	2001           	movel %d1,%d0                               
   4c570:	4cee 043c ffe4 	moveml %fp@(-28),%d2-%d5/%a2                
   4c576:	4e5e           	unlk %fp                                    
   4c578:	4e75           	rts                                         
        do_wait = wait;                                               
                                                                      
      /*                                                              
       *  Now perform the actual message receive                      
       */                                                             
      _CORE_message_queue_Seize(                                      
   4c57a:	2f2e 001c      	movel %fp@(28),%sp@-                        <== NOT EXECUTED
      length_out = -1;                                                
                                                                      
      /*                                                              
       *  A timed receive with a bad time will do a poll regardless.  
       */                                                             
      if ( wait )                                                     
   4c57e:	4280           	clrl %d0                                    <== NOT EXECUTED
        do_wait = wait;                                               
                                                                      
      /*                                                              
       *  Now perform the actual message receive                      
       */                                                             
      _CORE_message_queue_Seize(                                      
   4c580:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   4c582:	486e fff8      	pea %fp@(-8)                                <== NOT EXECUTED
   4c586:	2f2e 000c      	movel %fp@(12),%sp@-                        <== NOT EXECUTED
   4c58a:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   4c58c:	4868 001a      	pea %a0@(26)                                <== NOT EXECUTED
   4c590:	4eb9 0004 e8b0 	jsr 4e8b0 <_CORE_message_queue_Seize>       <== NOT EXECUTED
        &length_out,                                                  
        do_wait,                                                      
        timeout                                                       
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
   4c596:	4eb9 0005 066a 	jsr 5066a <_Thread_Enable_dispatch>         <== NOT EXECUTED
      *msg_prio =                                                     
        _POSIX_Message_queue_Priority_from_core(_Thread_Executing->Wait.count);
   4c59c:	2079 0006 ae8e 	moveal 6ae8e <_Per_CPU_Information+0xc>,%a0 <== NOT EXECUTED
   4c5a2:	2028 0024      	movel %a0@(36),%d0                          <== NOT EXECUTED
   4c5a6:	6cb2           	bges 4c55a <_POSIX_Message_queue_Receive_support+0xaa><== NOT EXECUTED
   4c5a8:	4480           	negl %d0                                    
   4c5aa:	60ae           	bras 4c55a <_POSIX_Message_queue_Receive_support+0xaa>
      }                                                               
                                                                      
      the_mq = the_mq_fd->Queue;                                      
                                                                      
      if ( msg_len < the_mq->Message_queue.maximum_message_size ) {   
        _Thread_Enable_dispatch();                                    
   4c5ac:	4eb9 0005 066a 	jsr 5066a <_Thread_Enable_dispatch>         
        rtems_set_errno_and_return_minus_one( EMSGSIZE );             
   4c5b2:	747a           	moveq #122,%d2                              
   4c5b4:	4eb9 0005 6cb8 	jsr 56cb8 <__errno>                         
   4c5ba:	72ff           	moveq #-1,%d1                               
   4c5bc:	2040           	moveal %d0,%a0                              
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
}                                                                     
   4c5be:	2001           	movel %d1,%d0                               
                                                                      
      the_mq = the_mq_fd->Queue;                                      
                                                                      
      if ( msg_len < the_mq->Message_queue.maximum_message_size ) {   
        _Thread_Enable_dispatch();                                    
        rtems_set_errno_and_return_minus_one( EMSGSIZE );             
   4c5c0:	2082           	movel %d2,%a0@                              
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
}                                                                     
   4c5c2:	4cee 043c ffe4 	moveml %fp@(-28),%d2-%d5/%a2                
   4c5c8:	4e5e           	unlk %fp                                    
   4c5ca:	4e75           	rts                                         
        _POSIX_Message_queue_Priority_from_core(_Thread_Executing->Wait.count);
                                                                      
      if ( !_Thread_Executing->Wait.return_code )                     
        return length_out;                                            
                                                                      
      rtems_set_errno_and_return_minus_one(                           
   4c5cc:	4eb9 0005 6cb8 	jsr 56cb8 <__errno>                         
   4c5d2:	2079 0006 ae8e 	moveal 6ae8e <_Per_CPU_Information+0xc>,%a0 
   4c5d8:	2440           	moveal %d0,%a2                              
   4c5da:	2f28 0034      	movel %a0@(52),%sp@-                        
   4c5de:	4eb9 0004 c8ac 	jsr 4c8ac <_POSIX_Message_queue_Translate_core_message_queue_return_code>
   4c5e4:	588f           	addql #4,%sp                                
   4c5e6:	72ff           	moveq #-1,%d1                               
   4c5e8:	2480           	movel %d0,%a2@                              
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
}                                                                     
   4c5ea:	2001           	movel %d1,%d0                               
   4c5ec:	4cee 043c ffe4 	moveml %fp@(-28),%d2-%d5/%a2                
   4c5f2:	4e5e           	unlk %fp                                    
   4c5f4:	4e75           	rts                                         
  the_mq_fd = _POSIX_Message_queue_Get_fd( mqdes, &location );        
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( (the_mq_fd->oflag & O_ACCMODE) == O_WRONLY ) {             
        _Thread_Enable_dispatch();                                    
   4c5f6:	4eb9 0005 066a 	jsr 5066a <_Thread_Enable_dispatch>         
        rtems_set_errno_and_return_minus_one( EBADF );                
   4c5fc:	7609           	moveq #9,%d3                                
   4c5fe:	4eb9 0005 6cb8 	jsr 56cb8 <__errno>                         
   4c604:	72ff           	moveq #-1,%d1                               
   4c606:	2040           	moveal %d0,%a0                              
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
}                                                                     
   4c608:	2001           	movel %d1,%d0                               
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( (the_mq_fd->oflag & O_ACCMODE) == O_WRONLY ) {             
        _Thread_Enable_dispatch();                                    
        rtems_set_errno_and_return_minus_one( EBADF );                
   4c60a:	2083           	movel %d3,%a0@                              
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
}                                                                     
   4c60c:	4cee 043c ffe4 	moveml %fp@(-28),%d2-%d5/%a2                
   4c612:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004c63c <_POSIX_Message_queue_Send_support>: /* * Validate the priority. * XXX - Do not validate msg_prio is not less than 0. */ if ( msg_prio > MQ_PRIO_MAX )
   4c63c:	7020           	moveq #32,%d0                               
  size_t              msg_len,                                        
  uint32_t            msg_prio,                                       
  bool                wait,                                           
  Watchdog_Interval   timeout                                         
)                                                                     
{                                                                     
   4c63e:	4e56 ffe8      	linkw %fp,#-24                              
   4c642:	48d7 043c      	moveml %d2-%d5/%a2,%sp@                     
   4c646:	262e 0008      	movel %fp@(8),%d3                           
   4c64a:	242e 0014      	movel %fp@(20),%d2                          
   4c64e:	182e 001b      	moveb %fp@(27),%d4                          
  /*                                                                  
   * Validate the priority.                                           
   * XXX - Do not validate msg_prio is not less than 0.               
   */                                                                 
                                                                      
  if ( msg_prio > MQ_PRIO_MAX )                                       
   4c652:	b082           	cmpl %d2,%d0                                
   4c654:	6500 00e2      	bcsw 4c738 <_POSIX_Message_queue_Send_support+0xfc>
RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control_fd *_POSIX_Message_queue_Get_fd (
  mqd_t              id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (POSIX_Message_queue_Control_fd *) _Objects_Get(             
   4c658:	486e fffc      	pea %fp@(-4)                                
   4c65c:	2f03           	movel %d3,%sp@-                             
   4c65e:	4879 0006 ae1c 	pea 6ae1c <_POSIX_Message_queue_Information_fds>
   4c664:	4eb9 0004 f970 	jsr 4f970 <_Objects_Get>                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  the_mq_fd = _POSIX_Message_queue_Get_fd( mqdes, &location );        
  switch ( location ) {                                               
   4c66a:	4fef 000c      	lea %sp@(12),%sp                            
   4c66e:	4aae fffc      	tstl %fp@(-4)                               
   4c672:	6600 00aa      	bnew 4c71e <_POSIX_Message_queue_Send_support+0xe2>
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( (the_mq_fd->oflag & O_ACCMODE) == O_RDONLY ) {             
   4c676:	2240           	moveal %d0,%a1                              
   4c678:	7a03           	moveq #3,%d5                                
   4c67a:	2229 0014      	movel %a1@(20),%d1                          
   4c67e:	ca81           	andl %d1,%d5                                
   4c680:	6700 00d0      	beqw 4c752 <_POSIX_Message_queue_Send_support+0x116>
        _Thread_Enable_dispatch();                                    
        rtems_set_errno_and_return_minus_one( EBADF );                
      }                                                               
                                                                      
      the_mq = the_mq_fd->Queue;                                      
   4c684:	2240           	moveal %d0,%a1                              
   4c686:	2069 0010      	moveal %a1@(16),%a0                         
                                                                      
      /*                                                              
       *  A timed receive with a bad time will do a poll regardless.  
       */                                                             
      if ( wait )                                                     
   4c68a:	4a04           	tstb %d4                                    
   4c68c:	6750           	beqs 4c6de <_POSIX_Message_queue_Send_support+0xa2>
        do_wait = wait;                                               
                                                                      
      /*                                                              
       *  Now perform the actual message receive                      
       */                                                             
      msg_status = _CORE_message_queue_Submit(                        
   4c68e:	2f2e 001c      	movel %fp@(28),%sp@-                        
   4c692:	4482           	negl %d2                                    
      the_mq = the_mq_fd->Queue;                                      
                                                                      
      /*                                                              
       *  A timed receive with a bad time will do a poll regardless.  
       */                                                             
      if ( wait )                                                     
   4c694:	0801 000e      	btst #14,%d1                                
   4c698:	57c0           	seq %d0                                     
   4c69a:	49c0           	extbl %d0                                   
   4c69c:	4480           	negl %d0                                    
        do_wait = wait;                                               
                                                                      
      /*                                                              
       *  Now perform the actual message receive                      
       */                                                             
      msg_status = _CORE_message_queue_Submit(                        
   4c69e:	2f00           	movel %d0,%sp@-                             
   4c6a0:	2f02           	movel %d2,%sp@-                             
   4c6a2:	42a7           	clrl %sp@-                                  
   4c6a4:	2f03           	movel %d3,%sp@-                             
   4c6a6:	2f2e 0010      	movel %fp@(16),%sp@-                        
   4c6aa:	2f2e 000c      	movel %fp@(12),%sp@-                        
   4c6ae:	4868 001a      	pea %a0@(26)                                
   4c6b2:	4eb9 0004 e9e8 	jsr 4e9e8 <_CORE_message_queue_Submit>      
        _POSIX_Message_queue_Priority_to_core( msg_prio ),            
        do_wait,                                                      
        timeout    /* no timeout */                                   
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
   4c6b8:	4fef 0020      	lea %sp@(32),%sp                            
        do_wait = wait;                                               
                                                                      
      /*                                                              
       *  Now perform the actual message receive                      
       */                                                             
      msg_status = _CORE_message_queue_Submit(                        
   4c6bc:	2400           	movel %d0,%d2                               
        _POSIX_Message_queue_Priority_to_core( msg_prio ),            
        do_wait,                                                      
        timeout    /* no timeout */                                   
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
   4c6be:	4eb9 0005 066a 	jsr 5066a <_Thread_Enable_dispatch>         
       *  after it wakes up.  The returned status is correct for      
       *  non-blocking operations but if we blocked, then we need     
       *  to look at the status in our TCB.                           
       */                                                             
                                                                      
      if ( msg_status == CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_WAIT ) 
   4c6c4:	7007           	moveq #7,%d0                                
   4c6c6:	b082           	cmpl %d2,%d0                                
   4c6c8:	6748           	beqs 4c712 <_POSIX_Message_queue_Send_support+0xd6>
        msg_status = _Thread_Executing->Wait.return_code;             
                                                                      
      if ( !msg_status )                                              
   4c6ca:	4a82           	tstl %d2                                    
   4c6cc:	6600 00a4      	bnew 4c772 <_POSIX_Message_queue_Send_support+0x136>
        return msg_status;                                            
   4c6d0:	4281           	clrl %d1                                    
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
}                                                                     
   4c6d2:	2001           	movel %d1,%d0                               
   4c6d4:	4cee 043c ffe8 	moveml %fp@(-24),%d2-%d5/%a2                
   4c6da:	4e5e           	unlk %fp                                    
   4c6dc:	4e75           	rts                                         
        do_wait = wait;                                               
                                                                      
      /*                                                              
       *  Now perform the actual message receive                      
       */                                                             
      msg_status = _CORE_message_queue_Submit(                        
   4c6de:	2f2e 001c      	movel %fp@(28),%sp@-                        
      the_mq = the_mq_fd->Queue;                                      
                                                                      
      /*                                                              
       *  A timed receive with a bad time will do a poll regardless.  
       */                                                             
      if ( wait )                                                     
   4c6e2:	4280           	clrl %d0                                    
        do_wait = wait;                                               
                                                                      
      /*                                                              
       *  Now perform the actual message receive                      
       */                                                             
      msg_status = _CORE_message_queue_Submit(                        
   4c6e4:	4482           	negl %d2                                    
   4c6e6:	2f00           	movel %d0,%sp@-                             
   4c6e8:	2f02           	movel %d2,%sp@-                             
   4c6ea:	42a7           	clrl %sp@-                                  
   4c6ec:	2f03           	movel %d3,%sp@-                             
   4c6ee:	2f2e 0010      	movel %fp@(16),%sp@-                        
   4c6f2:	2f2e 000c      	movel %fp@(12),%sp@-                        
   4c6f6:	4868 001a      	pea %a0@(26)                                
   4c6fa:	4eb9 0004 e9e8 	jsr 4e9e8 <_CORE_message_queue_Submit>      
        _POSIX_Message_queue_Priority_to_core( msg_prio ),            
        do_wait,                                                      
        timeout    /* no timeout */                                   
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
   4c700:	4fef 0020      	lea %sp@(32),%sp                            
        do_wait = wait;                                               
                                                                      
      /*                                                              
       *  Now perform the actual message receive                      
       */                                                             
      msg_status = _CORE_message_queue_Submit(                        
   4c704:	2400           	movel %d0,%d2                               
        _POSIX_Message_queue_Priority_to_core( msg_prio ),            
        do_wait,                                                      
        timeout    /* no timeout */                                   
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
   4c706:	4eb9 0005 066a 	jsr 5066a <_Thread_Enable_dispatch>         
       *  after it wakes up.  The returned status is correct for      
       *  non-blocking operations but if we blocked, then we need     
       *  to look at the status in our TCB.                           
       */                                                             
                                                                      
      if ( msg_status == CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_WAIT ) 
   4c70c:	7007           	moveq #7,%d0                                
   4c70e:	b082           	cmpl %d2,%d0                                
   4c710:	66b8           	bnes 4c6ca <_POSIX_Message_queue_Send_support+0x8e><== ALWAYS TAKEN
        msg_status = _Thread_Executing->Wait.return_code;             
   4c712:	2079 0006 ae8e 	moveal 6ae8e <_Per_CPU_Information+0xc>,%a0 
   4c718:	2428 0034      	movel %a0@(52),%d2                          
   4c71c:	60ac           	bras 4c6ca <_POSIX_Message_queue_Send_support+0x8e>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
   4c71e:	4eb9 0005 6cb8 	jsr 56cb8 <__errno>                         
   4c724:	72ff           	moveq #-1,%d1                               
   4c726:	2040           	moveal %d0,%a0                              
   4c728:	7009           	moveq #9,%d0                                
}                                                                     
   4c72a:	4cee 043c ffe8 	moveml %fp@(-24),%d2-%d5/%a2                
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
   4c730:	2080           	movel %d0,%a0@                              
}                                                                     
   4c732:	2001           	movel %d1,%d0                               
   4c734:	4e5e           	unlk %fp                                    
   4c736:	4e75           	rts                                         
   * Validate the priority.                                           
   * XXX - Do not validate msg_prio is not less than 0.               
   */                                                                 
                                                                      
  if ( msg_prio > MQ_PRIO_MAX )                                       
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   4c738:	4eb9 0005 6cb8 	jsr 56cb8 <__errno>                         
   4c73e:	7616           	moveq #22,%d3                               
   4c740:	72ff           	moveq #-1,%d1                               
   4c742:	2040           	moveal %d0,%a0                              
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
}                                                                     
   4c744:	2001           	movel %d1,%d0                               
   * Validate the priority.                                           
   * XXX - Do not validate msg_prio is not less than 0.               
   */                                                                 
                                                                      
  if ( msg_prio > MQ_PRIO_MAX )                                       
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   4c746:	2083           	movel %d3,%a0@                              
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
}                                                                     
   4c748:	4cee 043c ffe8 	moveml %fp@(-24),%d2-%d5/%a2                
   4c74e:	4e5e           	unlk %fp                                    
   4c750:	4e75           	rts                                         
  the_mq_fd = _POSIX_Message_queue_Get_fd( mqdes, &location );        
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( (the_mq_fd->oflag & O_ACCMODE) == O_RDONLY ) {             
        _Thread_Enable_dispatch();                                    
   4c752:	4eb9 0005 066a 	jsr 5066a <_Thread_Enable_dispatch>         
        rtems_set_errno_and_return_minus_one( EBADF );                
   4c758:	7409           	moveq #9,%d2                                
   4c75a:	4eb9 0005 6cb8 	jsr 56cb8 <__errno>                         
   4c760:	72ff           	moveq #-1,%d1                               
   4c762:	2040           	moveal %d0,%a0                              
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
}                                                                     
   4c764:	2001           	movel %d1,%d0                               
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( (the_mq_fd->oflag & O_ACCMODE) == O_RDONLY ) {             
        _Thread_Enable_dispatch();                                    
        rtems_set_errno_and_return_minus_one( EBADF );                
   4c766:	2082           	movel %d2,%a0@                              
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
}                                                                     
   4c768:	4cee 043c ffe8 	moveml %fp@(-24),%d2-%d5/%a2                
   4c76e:	4e5e           	unlk %fp                                    
   4c770:	4e75           	rts                                         
        msg_status = _Thread_Executing->Wait.return_code;             
                                                                      
      if ( !msg_status )                                              
        return msg_status;                                            
                                                                      
      rtems_set_errno_and_return_minus_one(                           
   4c772:	4eb9 0005 6cb8 	jsr 56cb8 <__errno>                         
   4c778:	2440           	moveal %d0,%a2                              
   4c77a:	2f02           	movel %d2,%sp@-                             
   4c77c:	4eb9 0004 c8ac 	jsr 4c8ac <_POSIX_Message_queue_Translate_core_message_queue_return_code>
   4c782:	588f           	addql #4,%sp                                
   4c784:	72ff           	moveq #-1,%d1                               
   4c786:	2480           	movel %d0,%a2@                              
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
}                                                                     
   4c788:	2001           	movel %d1,%d0                               
   4c78a:	4cee 043c ffe8 	moveml %fp@(-24),%d2-%d5/%a2                
   4c790:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004bd24 <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch>: #include <rtems/posix/pthread.h> void _POSIX_Thread_Evaluate_cancellation_and_enable_dispatch( Thread_Control *the_thread ) {
   4bd24:	4e56 0000      	linkw %fp,#0                                
   4bd28:	226e 0008      	moveal %fp@(8),%a1                          
  POSIX_API_Control *thread_support;                                  
                                                                      
  thread_support = the_thread->API_Extensions[ THREAD_API_POSIX ];    
   4bd2c:	2069 0102      	moveal %a1@(258),%a0                        
                                                                      
  if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
   4bd30:	4aa8 00d8      	tstl %a0@(216)                              
   4bd34:	6608           	bnes 4bd3e <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch+0x1a><== NEVER TAKEN
   4bd36:	7001           	moveq #1,%d0                                
   4bd38:	b0a8 00dc      	cmpl %a0@(220),%d0                          
   4bd3c:	6708           	beqs 4bd46 <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch+0x22>
    _Thread_Unnest_dispatch();                                        
    _POSIX_Thread_Exit( the_thread, PTHREAD_CANCELED );               
  } else                                                              
    _Thread_Enable_dispatch();                                        
                                                                      
}                                                                     
   4bd3e:	4e5e           	unlk %fp                                    
       thread_support->cancelability_type == PTHREAD_CANCEL_ASYNCHRONOUS &&
       thread_support->cancelation_requested ) {                      
    _Thread_Unnest_dispatch();                                        
    _POSIX_Thread_Exit( the_thread, PTHREAD_CANCELED );               
  } else                                                              
    _Thread_Enable_dispatch();                                        
   4bd40:	4ef9 0004 90e6 	jmp 490e6 <_Thread_Enable_dispatch>         
  POSIX_API_Control *thread_support;                                  
                                                                      
  thread_support = the_thread->API_Extensions[ THREAD_API_POSIX ];    
                                                                      
  if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
       thread_support->cancelability_type == PTHREAD_CANCEL_ASYNCHRONOUS &&
   4bd46:	4aa8 00e0      	tstl %a0@(224)                              
   4bd4a:	67f2           	beqs 4bd3e <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch+0x1a>
       thread_support->cancelation_requested ) {                      
    _Thread_Unnest_dispatch();                                        
    _POSIX_Thread_Exit( the_thread, PTHREAD_CANCELED );               
   4bd4c:	4878 ffff      	pea ffffffff <LESS>                         
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
   4bd50:	2039 0006 145c 	movel 6145c <_Thread_Dispatch_disable_level>,%d0
   4bd56:	5380           	subql #1,%d0                                
   4bd58:	2f09           	movel %a1,%sp@-                             
   4bd5a:	23c0 0006 145c 	movel %d0,6145c <_Thread_Dispatch_disable_level>
   4bd60:	4eb9 0004 c674 	jsr 4c674 <_POSIX_Thread_Exit>              
   4bd66:	508f           	addql #8,%sp                                
  } else                                                              
    _Thread_Enable_dispatch();                                        
                                                                      
}                                                                     
   4bd68:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004d4b8 <_POSIX_Thread_Translate_sched_param>: int policy, struct sched_param *param, Thread_CPU_budget_algorithms *budget_algorithm, Thread_CPU_budget_algorithm_callout *budget_callout ) {
   4d4b8:	4e56 ffe8      	linkw %fp,#-24                              
   4d4bc:	48d7 3c0c      	moveml %d2-%d3/%a2-%a5,%sp@                 
   4d4c0:	246e 000c      	moveal %fp@(12),%a2                         
  if ( !_POSIX_Priority_Is_valid( param->sched_priority ) )           
   4d4c4:	47f9 0004 d494 	lea 4d494 <_POSIX_Priority_Is_valid>,%a3    
   4d4ca:	2f12           	movel %a2@,%sp@-                            
  int                                  policy,                        
  struct sched_param                  *param,                         
  Thread_CPU_budget_algorithms        *budget_algorithm,              
  Thread_CPU_budget_algorithm_callout *budget_callout                 
)                                                                     
{                                                                     
   4d4cc:	242e 0008      	movel %fp@(8),%d2                           
   4d4d0:	286e 0010      	moveal %fp@(16),%a4                         
   4d4d4:	2a6e 0014      	moveal %fp@(20),%a5                         
  if ( !_POSIX_Priority_Is_valid( param->sched_priority ) )           
   4d4d8:	4e93           	jsr %a3@                                    
   4d4da:	588f           	addql #4,%sp                                
   4d4dc:	4a00           	tstb %d0                                    
   4d4de:	6720           	beqs 4d500 <_POSIX_Thread_Translate_sched_param+0x48><== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;               
   4d4e0:	4294           	clrl %a4@                                   
  *budget_callout = NULL;                                             
   4d4e2:	4295           	clrl %a5@                                   
                                                                      
  if ( policy == SCHED_OTHER ) {                                      
   4d4e4:	4a82           	tstl %d2                                    
   4d4e6:	6724           	beqs 4d50c <_POSIX_Thread_Translate_sched_param+0x54>
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;  
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_FIFO ) {                                       
   4d4e8:	7001           	moveq #1,%d0                                
   4d4ea:	b082           	cmpl %d2,%d0                                
   4d4ec:	6700 0086      	beqw 4d574 <_POSIX_Thread_Translate_sched_param+0xbc>
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;             
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_RR ) {                                         
   4d4f0:	103c 0002      	moveb #2,%d0                                
   4d4f4:	b082           	cmpl %d2,%d0                                
   4d4f6:	6700 0088      	beqw 4d580 <_POSIX_Thread_Translate_sched_param+0xc8>
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE;
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_SPORADIC ) {                                   
   4d4fa:	7004           	moveq #4,%d0                                
   4d4fc:	b082           	cmpl %d2,%d0                                
   4d4fe:	671c           	beqs 4d51c <_POSIX_Thread_Translate_sched_param+0x64>
    if ( _Timespec_To_ticks( ¶m->sched_ss_repl_period ) <         
	 _Timespec_To_ticks( ¶m->sched_ss_init_budget ) )                
      return EINVAL;                                                  
                                                                      
    if ( !_POSIX_Priority_Is_valid( param->sched_ss_low_priority ) )  
      return EINVAL;                                                  
   4d500:	7016           	moveq #22,%d0                               
    *budget_callout = _POSIX_Threads_Sporadic_budget_callout;         
    return 0;                                                         
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
   4d502:	4cee 3c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a5            
   4d508:	4e5e           	unlk %fp                                    
   4d50a:	4e75           	rts                                         
                                                                      
  *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;               
  *budget_callout = NULL;                                             
                                                                      
  if ( policy == SCHED_OTHER ) {                                      
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;  
   4d50c:	7201           	moveq #1,%d1                                
    return 0;                                                         
   4d50e:	4280           	clrl %d0                                    
                                                                      
  *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;               
  *budget_callout = NULL;                                             
                                                                      
  if ( policy == SCHED_OTHER ) {                                      
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;  
   4d510:	2881           	movel %d1,%a4@                              
    *budget_callout = _POSIX_Threads_Sporadic_budget_callout;         
    return 0;                                                         
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
   4d512:	4cee 3c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a5            
   4d518:	4e5e           	unlk %fp                                    
   4d51a:	4e75           	rts                                         
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE;
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_SPORADIC ) {                                   
    if ( (param->sched_ss_repl_period.tv_sec == 0) &&                 
   4d51c:	4aaa 0008      	tstl %a2@(8)                                
   4d520:	6606           	bnes 4d528 <_POSIX_Thread_Translate_sched_param+0x70>
   4d522:	4aaa 000c      	tstl %a2@(12)                               
   4d526:	67d8           	beqs 4d500 <_POSIX_Thread_Translate_sched_param+0x48>
         (param->sched_ss_repl_period.tv_nsec == 0) )                 
      return EINVAL;                                                  
                                                                      
    if ( (param->sched_ss_init_budget.tv_sec == 0) &&                 
   4d528:	4aaa 0010      	tstl %a2@(16)                               
   4d52c:	6606           	bnes 4d534 <_POSIX_Thread_Translate_sched_param+0x7c>
   4d52e:	4aaa 0014      	tstl %a2@(20)                               
   4d532:	67cc           	beqs 4d500 <_POSIX_Thread_Translate_sched_param+0x48>
         (param->sched_ss_init_budget.tv_nsec == 0) )                 
      return EINVAL;                                                  
                                                                      
    if ( _Timespec_To_ticks( ¶m->sched_ss_repl_period ) <         
   4d534:	486a 0008      	pea %a2@(8)                                 
   4d538:	243c 0004 ad78 	movel #306552,%d2                           
   4d53e:	2042           	moveal %d2,%a0                              
   4d540:	4e90           	jsr %a0@                                    
	 _Timespec_To_ticks( ¶m->sched_ss_init_budget ) )                
   4d542:	486a 0010      	pea %a2@(16)                                
                                                                      
    if ( (param->sched_ss_init_budget.tv_sec == 0) &&                 
         (param->sched_ss_init_budget.tv_nsec == 0) )                 
      return EINVAL;                                                  
                                                                      
    if ( _Timespec_To_ticks( ¶m->sched_ss_repl_period ) <         
   4d546:	2600           	movel %d0,%d3                               
	 _Timespec_To_ticks( ¶m->sched_ss_init_budget ) )                
   4d548:	2042           	moveal %d2,%a0                              
   4d54a:	4e90           	jsr %a0@                                    
                                                                      
    if ( (param->sched_ss_init_budget.tv_sec == 0) &&                 
         (param->sched_ss_init_budget.tv_nsec == 0) )                 
      return EINVAL;                                                  
                                                                      
    if ( _Timespec_To_ticks( ¶m->sched_ss_repl_period ) <         
   4d54c:	508f           	addql #8,%sp                                
   4d54e:	b083           	cmpl %d3,%d0                                
   4d550:	62ae           	bhis 4d500 <_POSIX_Thread_Translate_sched_param+0x48>
	 _Timespec_To_ticks( ¶m->sched_ss_init_budget ) )                
      return EINVAL;                                                  
                                                                      
    if ( !_POSIX_Priority_Is_valid( param->sched_ss_low_priority ) )  
   4d552:	2f2a 0004      	movel %a2@(4),%sp@-                         
   4d556:	4e93           	jsr %a3@                                    
   4d558:	588f           	addql #4,%sp                                
   4d55a:	4a00           	tstb %d0                                    
   4d55c:	67a2           	beqs 4d500 <_POSIX_Thread_Translate_sched_param+0x48>
      return EINVAL;                                                  
                                                                      
    *budget_algorithm  = THREAD_CPU_BUDGET_ALGORITHM_CALLOUT;         
   4d55e:	7003           	moveq #3,%d0                                
   4d560:	2880           	movel %d0,%a4@                              
    *budget_callout = _POSIX_Threads_Sporadic_budget_callout;         
    return 0;                                                         
   4d562:	4280           	clrl %d0                                    
                                                                      
    if ( !_POSIX_Priority_Is_valid( param->sched_ss_low_priority ) )  
      return EINVAL;                                                  
                                                                      
    *budget_algorithm  = THREAD_CPU_BUDGET_ALGORITHM_CALLOUT;         
    *budget_callout = _POSIX_Threads_Sporadic_budget_callout;         
   4d564:	2abc 0004 7164 	movel #291172,%a5@                          
    return 0;                                                         
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
   4d56a:	4cee 3c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a5            
   4d570:	4e5e           	unlk %fp                                    
   4d572:	4e75           	rts                                         
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_FIFO ) {                                       
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;             
    return 0;                                                         
   4d574:	4280           	clrl %d0                                    
    *budget_callout = _POSIX_Threads_Sporadic_budget_callout;         
    return 0;                                                         
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
   4d576:	4cee 3c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a5            
   4d57c:	4e5e           	unlk %fp                                    
   4d57e:	4e75           	rts                                         
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;             
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_RR ) {                                         
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE;
   4d580:	2880           	movel %d0,%a4@                              
    return 0;                                                         
   4d582:	4200           	clrb %d0                                    
    *budget_callout = _POSIX_Threads_Sporadic_budget_callout;         
    return 0;                                                         
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
   4d584:	4cee 3c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a5            
   4d58a:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00046df4 <_POSIX_Threads_Initialize_user_threads_body>: * * Output parameters: NONE */ void _POSIX_Threads_Initialize_user_threads_body(void) {
   46df4:	4e56 ff98      	linkw %fp,#-104                             
   46df8:	48d7 3c7c      	moveml %d2-%d6/%a2-%a5,%sp@                 
  uint32_t                            maximum;                        
  posix_initialization_threads_table *user_threads;                   
  pthread_t                           thread_id;                      
  pthread_attr_t                      attr;                           
                                                                      
  user_threads = Configuration_POSIX_API.User_initialization_threads_table;
   46dfc:	2479 0006 07fe 	moveal 607fe <Configuration_POSIX_API+0x34>,%a2
  maximum      = Configuration_POSIX_API.number_of_initialization_threads;
   46e02:	2839 0006 07fa 	movel 607fa <Configuration_POSIX_API+0x30>,%d4
                                                                      
  if ( !user_threads || maximum == 0 )                                
   46e08:	4a8a           	tstl %a2                                    
   46e0a:	675a           	beqs 46e66 <_POSIX_Threads_Initialize_user_threads_body+0x72><== NEVER TAKEN
   46e0c:	4a84           	tstl %d4                                    
   46e0e:	6756           	beqs 46e66 <_POSIX_Threads_Initialize_user_threads_body+0x72><== NEVER TAKEN
   46e10:	240e           	movel %fp,%d2                               
   46e12:	2a0e           	movel %fp,%d5                               
   46e14:	4283           	clrl %d3                                    
   46e16:	0682 ffff ffbc 	addil #-68,%d2                              
   46e1c:	2c3c 0004 d590 	movel #316816,%d6                           
   46e22:	4bf9 0004 d5bc 	lea 4d5bc <pthread_attr_setinheritsched>,%a5
   46e28:	49f9 0004 d5fc 	lea 4d5fc <pthread_attr_setstacksize>,%a4   
   46e2e:	5985           	subql #4,%d5                                
   46e30:	47f9 0004 6a40 	lea 46a40 <pthread_create>,%a3              
                                                                      
  for ( index=0 ; index < maximum ; index++ ) {                       
    /*                                                                
     * There is no way for these calls to fail in this situation.     
     */                                                               
    (void) pthread_attr_init( &attr );                                
   46e36:	2f02           	movel %d2,%sp@-                             
   46e38:	2046           	moveal %d6,%a0                              
   46e3a:	4e90           	jsr %a0@                                    
    (void) pthread_attr_setinheritsched( &attr, PTHREAD_EXPLICIT_SCHED );
   46e3c:	4878 0002      	pea 2 <DOUBLE_FLOAT>                        
   46e40:	2f02           	movel %d2,%sp@-                             
   46e42:	4e95           	jsr %a5@                                    
    (void) pthread_attr_setstacksize(&attr, user_threads[ index ].stack_size);
   46e44:	2f2a 0004      	movel %a2@(4),%sp@-                         
   46e48:	2f02           	movel %d2,%sp@-                             
   46e4a:	4e94           	jsr %a4@                                    
                                                                      
    status = pthread_create(                                          
   46e4c:	42a7           	clrl %sp@-                                  
   46e4e:	2f12           	movel %a2@,%sp@-                            
   46e50:	2f02           	movel %d2,%sp@-                             
   46e52:	2f05           	movel %d5,%sp@-                             
   46e54:	4e93           	jsr %a3@                                    
      &thread_id,                                                     
      &attr,                                                          
      user_threads[ index ].thread_entry,                             
      NULL                                                            
    );                                                                
    if ( status )                                                     
   46e56:	4fef 0024      	lea %sp@(36),%sp                            
   46e5a:	4a80           	tstl %d0                                    
   46e5c:	6612           	bnes 46e70 <_POSIX_Threads_Initialize_user_threads_body+0x7c>
   *                                                                  
   *  Setting the attributes explicitly is critical, since we don't want
   *  to inherit the idle tasks attributes.                           
   */                                                                 
                                                                      
  for ( index=0 ; index < maximum ; index++ ) {                       
   46e5e:	5283           	addql #1,%d3                                
   46e60:	508a           	addql #8,%a2                                
   46e62:	b684           	cmpl %d4,%d3                                
   46e64:	65d0           	bcss 46e36 <_POSIX_Threads_Initialize_user_threads_body+0x42><== NEVER TAKEN
      NULL                                                            
    );                                                                
    if ( status )                                                     
      _Internal_error_Occurred( INTERNAL_ERROR_POSIX_API, true, status );
  }                                                                   
}                                                                     
   46e66:	4cee 3c7c ff98 	moveml %fp@(-104),%d2-%d6/%a2-%a5           
   46e6c:	4e5e           	unlk %fp                                    
   46e6e:	4e75           	rts                                         
      &attr,                                                          
      user_threads[ index ].thread_entry,                             
      NULL                                                            
    );                                                                
    if ( status )                                                     
      _Internal_error_Occurred( INTERNAL_ERROR_POSIX_API, true, status );
   46e70:	2f00           	movel %d0,%sp@-                             
   46e72:	4878 0001      	pea 1 <ADD>                                 
   46e76:	4878 0002      	pea 2 <DOUBLE_FLOAT>                        
   46e7a:	4eb9 0004 8f44 	jsr 48f44 <_Internal_error_Occurred>        
                                                                      

0004c154 <_POSIX_Threads_Sporadic_budget_TSR>: */ void _POSIX_Threads_Sporadic_budget_TSR( Objects_Id id __attribute__((unused)), void *argument ) {
   4c154:	4e56 fff4      	linkw %fp,#-12                              
   4c158:	48d7 1c00      	moveml %a2-%a4,%sp@                         
   4c15c:	266e 000c      	moveal %fp@(12),%a3                         
  the_thread = argument;                                              
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
                                                                      
  /* ticks is guaranteed to be at least one */                        
  ticks = _Timespec_To_ticks( &api->schedparam.sched_ss_init_budget );
   4c160:	49f9 0004 d010 	lea 4d010 <_Timespec_To_ticks>,%a4          
  Thread_Control     *the_thread;                                     
  POSIX_API_Control  *api;                                            
                                                                      
  the_thread = argument;                                              
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
   4c166:	246b 0102      	moveal %a3@(258),%a2                        
                                                                      
  /* ticks is guaranteed to be at least one */                        
  ticks = _Timespec_To_ticks( &api->schedparam.sched_ss_init_budget );
   4c16a:	486a 0098      	pea %a2@(152)                               
   4c16e:	4e94           	jsr %a4@                                    
   */                                                                 
  #if 0                                                               
    printk( "TSR %d %d %d\n", the_thread->resource_count,             
        the_thread->current_priority, new_priority );                 
  #endif                                                              
  if ( the_thread->resource_count == 0 ) {                            
   4c170:	588f           	addql #4,%sp                                
                                                                      
RTEMS_INLINE_ROUTINE Priority_Control _POSIX_Priority_To_core(        
  int priority                                                        
)                                                                     
{                                                                     
  return (Priority_Control) (POSIX_SCHEDULER_MAXIMUM_PRIORITY - priority + 1);
   4c172:	4281           	clrl %d1                                    
   4c174:	1239 0005 f372 	moveb 5f372 <rtems_maximum_priority>,%d1    
   4c17a:	92aa 0088      	subl %a2@(136),%d1                          
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
                                                                      
  /* ticks is guaranteed to be at least one */                        
  ticks = _Timespec_To_ticks( &api->schedparam.sched_ss_init_budget );
                                                                      
  the_thread->cpu_time_budget = ticks;                                
   4c17e:	2740 0076      	movel %d0,%a3@(118)                         
                                                                      
  new_priority = _POSIX_Priority_To_core( api->schedparam.sched_priority );
  the_thread->real_priority = new_priority;                           
   4c182:	2741 0018      	movel %d1,%a3@(24)                          
   */                                                                 
  #if 0                                                               
    printk( "TSR %d %d %d\n", the_thread->resource_count,             
        the_thread->current_priority, new_priority );                 
  #endif                                                              
  if ( the_thread->resource_count == 0 ) {                            
   4c186:	4aab 001c      	tstl %a3@(28)                               
   4c18a:	6606           	bnes 4c192 <_POSIX_Threads_Sporadic_budget_TSR+0x3e><== NEVER TAKEN
    /*                                                                
     *  If this would make them less important, then do not change it.
     */                                                               
    if ( the_thread->current_priority > new_priority ) {              
   4c18c:	b2ab 0014      	cmpl %a3@(20),%d1                           
   4c190:	652c           	bcss 4c1be <_POSIX_Threads_Sporadic_budget_TSR+0x6a>
      #endif                                                          
    }                                                                 
  }                                                                   
                                                                      
  /* ticks is guaranteed to be at least one */                        
  ticks = _Timespec_To_ticks( &api->schedparam.sched_ss_repl_period );
   4c192:	486a 0090      	pea %a2@(144)                               
   4c196:	4e94           	jsr %a4@                                    
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
   4c198:	588f           	addql #4,%sp                                
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
   4c19a:	2540 00b4      	movel %d0,%a2@(180)                         
                                                                      
  _Watchdog_Insert_ticks( &api->Sporadic_timer, ticks );              
   4c19e:	45ea 00a8      	lea %a2@(168),%a2                           
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
   4c1a2:	203c 0006 0d28 	movel #396584,%d0                           
   4c1a8:	2d4a 000c      	movel %a2,%fp@(12)                          
}                                                                     
   4c1ac:	4cee 1c00 fff4 	moveml %fp@(-12),%a2-%a4                    
   4c1b2:	2d40 0008      	movel %d0,%fp@(8)                           
   4c1b6:	4e5e           	unlk %fp                                    
   4c1b8:	4ef9 0004 9c4c 	jmp 49c4c <_Watchdog_Insert>                
  if ( the_thread->resource_count == 0 ) {                            
    /*                                                                
     *  If this would make them less important, then do not change it.
     */                                                               
    if ( the_thread->current_priority > new_priority ) {              
      _Thread_Change_priority( the_thread, new_priority, true );      
   4c1be:	4878 0001      	pea 1 <ADD>                                 
   4c1c2:	2f01           	movel %d1,%sp@-                             
   4c1c4:	2f0b           	movel %a3,%sp@-                             
   4c1c6:	4eb9 0004 88d8 	jsr 488d8 <_Thread_Change_priority>         
   4c1cc:	4fef 000c      	lea %sp@(12),%sp                            
      #endif                                                          
    }                                                                 
  }                                                                   
                                                                      
  /* ticks is guaranteed to be at least one */                        
  ticks = _Timespec_To_ticks( &api->schedparam.sched_ss_repl_period );
   4c1d0:	486a 0090      	pea %a2@(144)                               
   4c1d4:	4e94           	jsr %a4@                                    
   4c1d6:	588f           	addql #4,%sp                                
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
   4c1d8:	2540 00b4      	movel %d0,%a2@(180)                         
                                                                      
  _Watchdog_Insert_ticks( &api->Sporadic_timer, ticks );              
   4c1dc:	45ea 00a8      	lea %a2@(168),%a2                           
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
   4c1e0:	203c 0006 0d28 	movel #396584,%d0                           
   4c1e6:	2d4a 000c      	movel %a2,%fp@(12)                          
}                                                                     
   4c1ea:	4cee 1c00 fff4 	moveml %fp@(-12),%a2-%a4                    
   4c1f0:	2d40 0008      	movel %d0,%fp@(8)                           
   4c1f4:	4e5e           	unlk %fp                                    
   4c1f6:	4ef9 0004 9c4c 	jmp 49c4c <_Watchdog_Insert>                
                                                                      

0004c1fc <_POSIX_Threads_Sporadic_budget_callout>:
   4c1fc:	4280           	clrl %d0                                    
                                                                      
  /*                                                                  
   *  This will prevent the thread from consuming its entire "budget" 
   *  while at low priority.                                          
   */                                                                 
  the_thread->cpu_time_budget = 0xFFFFFFFF; /* XXX should be based on MAX_U32 */
   4c1fe:	72ff           	moveq #-1,%d1                               
 *  _POSIX_Threads_Sporadic_budget_callout                            
 */                                                                   
void _POSIX_Threads_Sporadic_budget_callout(                          
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
   4c200:	4e56 0000      	linkw %fp,#0                                
   4c204:	206e 0008      	moveal %fp@(8),%a0                          
   4c208:	1039 0005 f372 	moveb 5f372 <rtems_maximum_priority>,%d0    
  POSIX_API_Control *api;                                             
  uint32_t           new_priority;                                    
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
   4c20e:	2268 0102      	moveal %a0@(258),%a1                        
   4c212:	90a9 008c      	subl %a1@(140),%d0                          
                                                                      
  /*                                                                  
   *  This will prevent the thread from consuming its entire "budget" 
   *  while at low priority.                                          
   */                                                                 
  the_thread->cpu_time_budget = 0xFFFFFFFF; /* XXX should be based on MAX_U32 */
   4c216:	2141 0076      	movel %d1,%a0@(118)                         
                                                                      
  new_priority = _POSIX_Priority_To_core(api->schedparam.sched_ss_low_priority);
  the_thread->real_priority = new_priority;                           
   4c21a:	2140 0018      	movel %d0,%a0@(24)                          
   */                                                                 
  #if 0                                                               
    printk( "callout %d %d %d\n", the_thread->resource_count,         
	the_thread->current_priority, new_priority );                        
  #endif                                                              
  if ( the_thread->resource_count == 0 ) {                            
   4c21e:	4aa8 001c      	tstl %a0@(28)                               
   4c222:	6606           	bnes 4c22a <_POSIX_Threads_Sporadic_budget_callout+0x2e><== NEVER TAKEN
    /*                                                                
     *  Make sure we are actually lowering it. If they have lowered it
     *  to logically lower than sched_ss_low_priority, then we do not want to
     *  change it.                                                    
     */                                                               
    if ( the_thread->current_priority < new_priority ) {              
   4c224:	b0a8 0014      	cmpl %a0@(20),%d0                           
   4c228:	6204           	bhis 4c22e <_POSIX_Threads_Sporadic_budget_callout+0x32><== ALWAYS TAKEN
      #if 0                                                           
        printk( "lower priority\n" );                                 
      #endif                                                          
    }                                                                 
  }                                                                   
}                                                                     
   4c22a:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   4c22c:	4e75           	rts                                         <== NOT EXECUTED
     *  Make sure we are actually lowering it. If they have lowered it
     *  to logically lower than sched_ss_low_priority, then we do not want to
     *  change it.                                                    
     */                                                               
    if ( the_thread->current_priority < new_priority ) {              
      _Thread_Change_priority( the_thread, new_priority, true );      
   4c22e:	4878 0001      	pea 1 <ADD>                                 
   4c232:	2f00           	movel %d0,%sp@-                             
   4c234:	2f08           	movel %a0,%sp@-                             
   4c236:	4eb9 0004 88d8 	jsr 488d8 <_Thread_Change_priority>         
   4c23c:	4fef 000c      	lea %sp@(12),%sp                            
      #if 0                                                           
        printk( "lower priority\n" );                                 
      #endif                                                          
    }                                                                 
  }                                                                   
}                                                                     
   4c240:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004e228 <_POSIX_Threads_cancel_run>: thread_support = the_thread->API_Extensions[ THREAD_API_POSIX ]; handler_stack = &thread_support->Cancellation_Handlers; thread_support->cancelability_state = PTHREAD_CANCEL_DISABLE;
   4e228:	7001           	moveq #1,%d0                                
#include <rtems/posix/threadsup.h>                                    
                                                                      
void _POSIX_Threads_cancel_run(                                       
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
   4e22a:	4e56 ffec      	linkw %fp,#-20                              
   4e22e:	206e 0008      	moveal %fp@(8),%a0                          
   4e232:	48d7 1c0c      	moveml %d2-%d3/%a2-%a4,%sp@                 
  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 ];    
   4e236:	2668 0102      	moveal %a0@(258),%a3                        
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
   4e23a:	240b           	movel %a3,%d2                               
   4e23c:	0682 0000 00e8 	addil #232,%d2                              
                                                                      
  handler_stack = &thread_support->Cancellation_Handlers;             
                                                                      
  thread_support->cancelability_state = PTHREAD_CANCEL_DISABLE;       
   4e242:	2740 00d8      	movel %d0,%a3@(216)                         
                                                                      
  while ( !_Chain_Is_empty( handler_stack ) ) {                       
   4e246:	b4ab 00e4      	cmpl %a3@(228),%d2                          
   4e24a:	673c           	beqs 4e288 <_POSIX_Threads_cancel_run+0x60> 
   4e24c:	49f9 0004 9f3e 	lea 49f3e <_Workspace_Free>,%a4             
    _ISR_Disable( level );                                            
   4e252:	263c 0000 0700 	movel #1792,%d3                             
   4e258:	2003           	movel %d3,%d0                               
   4e25a:	40c1           	movew %sr,%d1                               
   4e25c:	8081           	orl %d1,%d0                                 
   4e25e:	46c0           	movew %d0,%sr                               
      handler = (POSIX_Cancel_Handler_control *)                      
   4e260:	246b 00ec      	moveal %a3@(236),%a2                        
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
   4e264:	2252           	moveal %a2@,%a1                             
  previous       = the_node->previous;                                
   4e266:	206a 0004      	moveal %a2@(4),%a0                          
  next->previous = previous;                                          
   4e26a:	2348 0004      	movel %a0,%a1@(4)                           
  previous->next = next;                                              
   4e26e:	2089           	movel %a1,%a0@                              
           _Chain_Tail( handler_stack )->previous;                    
      _Chain_Extract_unprotected( &handler->Node );                   
    _ISR_Enable( level );                                             
   4e270:	46c1           	movew %d1,%sr                               
                                                                      
    (*handler->routine)( handler->arg );                              
   4e272:	2f2a 000c      	movel %a2@(12),%sp@-                        
   4e276:	206a 0008      	moveal %a2@(8),%a0                          
   4e27a:	4e90           	jsr %a0@                                    
                                                                      
    _Workspace_Free( handler );                                       
   4e27c:	2f0a           	movel %a2,%sp@-                             
   4e27e:	4e94           	jsr %a4@                                    
                                                                      
  handler_stack = &thread_support->Cancellation_Handlers;             
                                                                      
  thread_support->cancelability_state = PTHREAD_CANCEL_DISABLE;       
                                                                      
  while ( !_Chain_Is_empty( handler_stack ) ) {                       
   4e280:	508f           	addql #8,%sp                                
   4e282:	b4ab 00e4      	cmpl %a3@(228),%d2                          
   4e286:	66d0           	bnes 4e258 <_POSIX_Threads_cancel_run+0x30> <== NEVER TAKEN
                                                                      
    (*handler->routine)( handler->arg );                              
                                                                      
    _Workspace_Free( handler );                                       
  }                                                                   
}                                                                     
   4e288:	4cee 1c0c ffec 	moveml %fp@(-20),%d2-%d3/%a2-%a4            
   4e28e:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00046710 <_POSIX_Timer_TSR>: * This is the operation that is run when a timer expires */ void _POSIX_Timer_TSR( Objects_Id timer __attribute__((unused)), void *data) {
   46710:	4e56 0000      	linkw %fp,#0                                
   46714:	2f0a           	movel %a2,%sp@-                             
   46716:	246e 000c      	moveal %fp@(12),%a2                         
  bool                 activated;                                     
                                                                      
  ptimer = (POSIX_Timer_Control *)data;                               
                                                                      
  /* Increment the number of expirations. */                          
  ptimer->overrun = ptimer->overrun + 1;                              
   4671a:	52aa 0066      	addql #1,%a2@(102)                          
                                                                      
  /* The timer must be reprogrammed */                                
  if ( ( ptimer->timer_data.it_interval.tv_sec  != 0 ) ||             
   4671e:	4aaa 0052      	tstl %a2@(82)                               
   46722:	6606           	bnes 4672a <_POSIX_Timer_TSR+0x1a>          
   46724:	4aaa 0056      	tstl %a2@(86)                               
   46728:	672a           	beqs 46754 <_POSIX_Timer_TSR+0x44>          <== NEVER TAKEN
       ( ptimer->timer_data.it_interval.tv_nsec != 0 ) ) {            
    activated = _POSIX_Timer_Insert_helper(                           
   4672a:	2f0a           	movel %a2,%sp@-                             
   4672c:	4879 0004 6710 	pea 46710 <_POSIX_Timer_TSR>                
   46732:	2f2a 0008      	movel %a2@(8),%sp@-                         
   46736:	2f2a 0062      	movel %a2@(98),%sp@-                        
   4673a:	486a 0010      	pea %a2@(16)                                
   4673e:	4eb9 0004 cce4 	jsr 4cce4 <_POSIX_Timer_Insert_helper>      
      ptimer->ticks,                                                  
      ptimer->Object.id,                                              
      _POSIX_Timer_TSR,                                               
      ptimer                                                          
    );                                                                
    if ( !activated )                                                 
   46744:	4fef 0014      	lea %sp@(20),%sp                            
   46748:	4a00           	tstb %d0                                    
   4674a:	662a           	bnes 46776 <_POSIX_Timer_TSR+0x66>          <== ALWAYS TAKEN
                                                                      
  /* After the signal handler returns, the count of expirations of the
   * timer must be set to 0.                                          
   */                                                                 
  ptimer->overrun = 0;                                                
}                                                                     
   4674c:	246e fffc      	moveal %fp@(-4),%a2                         <== NOT EXECUTED
   46750:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   46752:	4e75           	rts                                         <== 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;                     
   46754:	7004           	moveq #4,%d0                                <== NOT EXECUTED
   46756:	1540 003c      	moveb %d0,%a2@(60)                          <== NOT EXECUTED
  /*                                                                  
   * 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 ) ) {
   4675a:	2f2a 0042      	movel %a2@(66),%sp@-                        <== NOT EXECUTED
   4675e:	2f2a 0038      	movel %a2@(56),%sp@-                        <== NOT EXECUTED
   46762:	4eb9 0004 c80c 	jsr 4c80c <pthread_kill>                    <== NOT EXECUTED
  }                                                                   
                                                                      
  /* After the signal handler returns, the count of expirations of the
   * timer must be set to 0.                                          
   */                                                                 
  ptimer->overrun = 0;                                                
   46768:	508f           	addql #8,%sp                                <== NOT EXECUTED
   4676a:	42aa 0066      	clrl %a2@(102)                              <== NOT EXECUTED
}                                                                     
   4676e:	246e fffc      	moveal %fp@(-4),%a2                         
   46772:	4e5e           	unlk %fp                                    
   46774:	4e75           	rts                                         
    );                                                                
    if ( !activated )                                                 
      return;                                                         
                                                                      
    /* Store the time when the timer was started again */             
    _TOD_Get( &ptimer->time );                                        
   46776:	486a 006a      	pea %a2@(106)                               
   4677a:	4eb9 0004 7f08 	jsr 47f08 <_TOD_Get>                        
                                                                      
    /* The state really did not change but just to be safe */         
    ptimer->state = POSIX_TIMER_STATE_CREATE_RUN;                     
   46780:	588f           	addql #4,%sp                                
   46782:	7003           	moveq #3,%d0                                
   46784:	1540 003c      	moveb %d0,%a2@(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 ) ) {
   46788:	2f2a 0042      	movel %a2@(66),%sp@-                        
   4678c:	2f2a 0038      	movel %a2@(56),%sp@-                        
   46790:	4eb9 0004 c80c 	jsr 4c80c <pthread_kill>                    
  }                                                                   
                                                                      
  /* After the signal handler returns, the count of expirations of the
   * timer must be set to 0.                                          
   */                                                                 
  ptimer->overrun = 0;                                                
   46796:	508f           	addql #8,%sp                                
   46798:	42aa 0066      	clrl %a2@(102)                              
   4679c:	60d0           	bras 4676e <_POSIX_Timer_TSR+0x5e>          
	...                                                                  
                                                                      

0004eb38 <_POSIX_signals_Clear_process_signals>: clear_signal = true; mask = signo_to_mask( signo ); ISR_Level level; _ISR_Disable( level );
   4eb38:	203c 0000 0700 	movel #1792,%d0                             
 */                                                                   
                                                                      
void _POSIX_signals_Clear_process_signals(                            
  int signo                                                           
)                                                                     
{                                                                     
   4eb3e:	4e56 0000      	linkw %fp,#0                                
   4eb42:	222e 0008      	movel %fp@(8),%d1                           
   4eb46:	2f03           	movel %d3,%sp@-                             
   4eb48:	2f02           	movel %d2,%sp@-                             
  clear_signal = true;                                                
  mask         = signo_to_mask( signo );                              
                                                                      
  ISR_Level  level;                                                   
                                                                      
  _ISR_Disable( level );                                              
   4eb4a:	40c2           	movew %sr,%d2                               
   4eb4c:	8082           	orl %d2,%d0                                 
   4eb4e:	46c0           	movew %d0,%sr                               
    if ( _POSIX_signals_Vectors[ signo ].sa_flags == SA_SIGINFO ) {   
   4eb50:	2601           	movel %d1,%d3                               
   4eb52:	2001           	movel %d1,%d0                               
   4eb54:	41f9 0006 1104 	lea 61104 <_POSIX_signals_Vectors>,%a0      
   4eb5a:	e58b           	lsll #2,%d3                                 
   4eb5c:	e988           	lsll #4,%d0                                 
   4eb5e:	9083           	subl %d3,%d0                                
   4eb60:	7602           	moveq #2,%d3                                
   4eb62:	b6b0 0800      	cmpl %a0@(00000000,%d0:l),%d3               
   4eb66:	6718           	beqs 4eb80 <_POSIX_signals_Clear_process_signals+0x48>
   4eb68:	5381           	subql #1,%d1                                
   4eb6a:	7001           	moveq #1,%d0                                
   4eb6c:	e3a8           	lsll %d1,%d0                                
      if ( !_Chain_Is_empty( &_POSIX_signals_Siginfo[ signo ] ) )     
       clear_signal = false;                                          
    }                                                                 
    if ( clear_signal ) {                                             
      _POSIX_signals_Pending &= ~mask;                                
   4eb6e:	4680           	notl %d0                                    
   4eb70:	c1b9 0006 12f8 	andl %d0,612f8 <_POSIX_signals_Pending>     
    }                                                                 
  _ISR_Enable( level );                                               
   4eb76:	46c2           	movew %d2,%sr                               
}                                                                     
   4eb78:	241f           	movel %sp@+,%d2                             
   4eb7a:	261f           	movel %sp@+,%d3                             
   4eb7c:	4e5e           	unlk %fp                                    
   4eb7e:	4e75           	rts                                         
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
   4eb80:	2040           	moveal %d0,%a0                              
   4eb82:	d1fc 0006 1300 	addal #398080,%a0                           
                                                                      
  ISR_Level  level;                                                   
                                                                      
  _ISR_Disable( level );                                              
    if ( _POSIX_signals_Vectors[ signo ].sa_flags == SA_SIGINFO ) {   
      if ( !_Chain_Is_empty( &_POSIX_signals_Siginfo[ signo ] ) )     
   4eb88:	43f9 0006 12fc 	lea 612fc <_POSIX_signals_Siginfo>,%a1      
   4eb8e:	b1f1 0800      	cmpal %a1@(00000000,%d0:l),%a0              
   4eb92:	67d4           	beqs 4eb68 <_POSIX_signals_Clear_process_signals+0x30><== ALWAYS TAKEN
       clear_signal = false;                                          
    }                                                                 
    if ( clear_signal ) {                                             
      _POSIX_signals_Pending &= ~mask;                                
    }                                                                 
  _ISR_Enable( level );                                               
   4eb94:	46c2           	movew %d2,%sr                               <== NOT EXECUTED
}                                                                     
   4eb96:	241f           	movel %sp@+,%d2                             <== NOT EXECUTED
   4eb98:	261f           	movel %sp@+,%d3                             <== NOT EXECUTED
   4eb9a:	4e5e           	unlk %fp                                    <== NOT EXECUTED
	...                                                                  
                                                                      

000474e0 <_POSIX_signals_Get_lowest>: sigset_t set ) { int signo; for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {
   474e0:	701b           	moveq #27,%d0                               
#include <rtems/score/isr.h>                                          
                                                                      
int _POSIX_signals_Get_lowest(                                        
  sigset_t   set                                                      
)                                                                     
{                                                                     
   474e2:	4e56 fff4      	linkw %fp,#-12                              
   474e6:	48d7 001c      	moveml %d2-%d4,%sp@                         
   474ea:	242e 0008      	movel %fp@(8),%d2                           
   474ee:	7601           	moveq #1,%d3                                
#include <rtems/posix/psignal.h>                                      
#include <rtems/seterr.h>                                             
#include <rtems/posix/time.h>                                         
#include <rtems/score/isr.h>                                          
                                                                      
int _POSIX_signals_Get_lowest(                                        
   474f0:	2200           	movel %d0,%d1                               
   474f2:	5381           	subql #1,%d1                                
   474f4:	2803           	movel %d3,%d4                               
   474f6:	e3ac           	lsll %d1,%d4                                
   474f8:	2204           	movel %d4,%d1                               
)                                                                     
{                                                                     
  int signo;                                                          
                                                                      
  for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {            
    if ( set & signo_to_mask( signo ) ) {                             
   474fa:	c282           	andl %d2,%d1                                
   474fc:	6626           	bnes 47524 <_POSIX_signals_Get_lowest+0x44> <== NEVER TAKEN
  sigset_t   set                                                      
)                                                                     
{                                                                     
  int signo;                                                          
                                                                      
  for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {            
   474fe:	5280           	addql #1,%d0                                
   47500:	123c 0020      	moveb #32,%d1                               
   47504:	b280           	cmpl %d0,%d1                                
   47506:	66e8           	bnes 474f0 <_POSIX_signals_Get_lowest+0x10> 
   47508:	7001           	moveq #1,%d0                                
   4750a:	7601           	moveq #1,%d3                                
#include <rtems/posix/psignal.h>                                      
#include <rtems/seterr.h>                                             
#include <rtems/posix/time.h>                                         
#include <rtems/score/isr.h>                                          
                                                                      
int _POSIX_signals_Get_lowest(                                        
   4750c:	2200           	movel %d0,%d1                               
   4750e:	5381           	subql #1,%d1                                
   47510:	2803           	movel %d3,%d4                               
   47512:	e3ac           	lsll %d1,%d4                                
   47514:	2204           	movel %d4,%d1                               
                                                                      
  #if (SIGHUP != 1)                                                   
    #error "Assumption that SIGHUP==1 violated!!"                     
  #endif                                                              
  for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {        
    if ( set & signo_to_mask( signo ) ) {                             
   47516:	c282           	andl %d2,%d1                                
   47518:	660a           	bnes 47524 <_POSIX_signals_Get_lowest+0x44> 
   */                                                                 
                                                                      
  #if (SIGHUP != 1)                                                   
    #error "Assumption that SIGHUP==1 violated!!"                     
  #endif                                                              
  for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {        
   4751a:	5280           	addql #1,%d0                                
   4751c:	123c 001b      	moveb #27,%d1                               
   47520:	b280           	cmpl %d0,%d1                                
   47522:	66e8           	bnes 4750c <_POSIX_signals_Get_lowest+0x2c> <== ALWAYS TAKEN
   *  a return 0.  This routine will NOT be called unless a signal    
   *  is pending in the set passed in.                                
   */                                                                 
found_it:                                                             
  return signo;                                                       
}                                                                     
   47524:	4cd7 001c      	moveml %sp@,%d2-%d4                         
   47528:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004bb66 <_POSIX_signals_Post_switch_extension>: */ void _POSIX_signals_Post_switch_extension( Thread_Control *the_thread ) {
   4bb66:	4e56 fff0      	linkw %fp,#-16                              
   4bb6a:	206e 0008      	moveal %fp@(8),%a0                          
   4bb6e:	48d7 0c0c      	moveml %d2-%d3/%a2-%a3,%sp@                 
  POSIX_API_Control  *api;                                            
  int                 signo;                                          
  ISR_Level           level;                                          
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
   4bb72:	2468 0102      	moveal %a0@(258),%a2                        
                                                                      
  /*                                                                  
   * api may be NULL in case of a thread close in progress            
   */                                                                 
  if ( !api )                                                         
   4bb76:	4a8a           	tstl %a2                                    
   4bb78:	6700 008e      	beqw 4bc08 <_POSIX_signals_Post_switch_extension+0xa2>
   *                                                                  
   *  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) {                                                         
    _ISR_Disable( level );                                            
   4bb7c:	263c 0000 0700 	movel #1792,%d3                             
   4bb82:	47f9 0004 e31c 	lea 4e31c <_POSIX_signals_Check_signal>,%a3 
   4bb88:	2003           	movel %d3,%d0                               
   4bb8a:	40c1           	movew %sr,%d1                               
   4bb8c:	8081           	orl %d1,%d0                                 
   4bb8e:	46c0           	movew %d0,%sr                               
      if ( !(~api->signals_blocked &                                  
            (api->signals_pending | _POSIX_signals_Pending)) ) {      
   4bb90:	2039 0006 12f8 	movel 612f8 <_POSIX_signals_Pending>,%d0    
   *  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) {                                                         
    _ISR_Disable( level );                                            
      if ( !(~api->signals_blocked &                                  
   4bb96:	242a 00d0      	movel %a2@(208),%d2                         
   4bb9a:	4682           	notl %d2                                    
            (api->signals_pending | _POSIX_signals_Pending)) ) {      
   4bb9c:	80aa 00d4      	orl %a2@(212),%d0                           
   *  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) {                                                         
    _ISR_Disable( level );                                            
      if ( !(~api->signals_blocked &                                  
   4bba0:	c082           	andl %d2,%d0                                
   4bba2:	6762           	beqs 4bc06 <_POSIX_signals_Post_switch_extension+0xa0>
            (api->signals_pending | _POSIX_signals_Pending)) ) {      
       _ISR_Enable( level );                                          
       break;                                                         
     }                                                                
    _ISR_Enable( level );                                             
   4bba4:	46c1           	movew %d1,%sr                               
                                                                      
    for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {          
   4bba6:	741b           	moveq #27,%d2                               
      _POSIX_signals_Check_signal( api, signo, false );               
   4bba8:	42a7           	clrl %sp@-                                  
   4bbaa:	2f02           	movel %d2,%sp@-                             
   4bbac:	2f0a           	movel %a2,%sp@-                             
   4bbae:	4e93           	jsr %a3@                                    
      _POSIX_signals_Check_signal( api, signo, true );                
   4bbb0:	4878 0001      	pea 1 <ADD>                                 
   4bbb4:	2f02           	movel %d2,%sp@-                             
       _ISR_Enable( level );                                          
       break;                                                         
     }                                                                
    _ISR_Enable( level );                                             
                                                                      
    for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {          
   4bbb6:	5282           	addql #1,%d2                                
      _POSIX_signals_Check_signal( api, signo, false );               
      _POSIX_signals_Check_signal( api, signo, true );                
   4bbb8:	2f0a           	movel %a2,%sp@-                             
   4bbba:	4e93           	jsr %a3@                                    
       _ISR_Enable( level );                                          
       break;                                                         
     }                                                                
    _ISR_Enable( level );                                             
                                                                      
    for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {          
   4bbbc:	4fef 0018      	lea %sp@(24),%sp                            
   4bbc0:	7020           	moveq #32,%d0                               
   4bbc2:	b082           	cmpl %d2,%d0                                
   4bbc4:	66e2           	bnes 4bba8 <_POSIX_signals_Post_switch_extension+0x42>
   4bbc6:	7401           	moveq #1,%d2                                
      _POSIX_signals_Check_signal( api, signo, true );                
    }                                                                 
    /* Unfortunately - nothing like __SIGFIRSTNOTRT in newlib signal .h */
                                                                      
    for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {      
      _POSIX_signals_Check_signal( api, signo, false );               
   4bbc8:	42a7           	clrl %sp@-                                  
   4bbca:	2f02           	movel %d2,%sp@-                             
   4bbcc:	2f0a           	movel %a2,%sp@-                             
   4bbce:	4e93           	jsr %a3@                                    
      _POSIX_signals_Check_signal( api, signo, true );                
   4bbd0:	4878 0001      	pea 1 <ADD>                                 
   4bbd4:	2f02           	movel %d2,%sp@-                             
      _POSIX_signals_Check_signal( api, signo, false );               
      _POSIX_signals_Check_signal( api, signo, true );                
    }                                                                 
    /* Unfortunately - nothing like __SIGFIRSTNOTRT in newlib signal .h */
                                                                      
    for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {      
   4bbd6:	5282           	addql #1,%d2                                
      _POSIX_signals_Check_signal( api, signo, false );               
      _POSIX_signals_Check_signal( api, signo, true );                
   4bbd8:	2f0a           	movel %a2,%sp@-                             
   4bbda:	4e93           	jsr %a3@                                    
      _POSIX_signals_Check_signal( api, signo, false );               
      _POSIX_signals_Check_signal( api, signo, true );                
    }                                                                 
    /* Unfortunately - nothing like __SIGFIRSTNOTRT in newlib signal .h */
                                                                      
    for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {      
   4bbdc:	4fef 0018      	lea %sp@(24),%sp                            
   4bbe0:	701b           	moveq #27,%d0                               
   4bbe2:	b082           	cmpl %d2,%d0                                
   4bbe4:	67a2           	beqs 4bb88 <_POSIX_signals_Post_switch_extension+0x22><== NEVER TAKEN
      _POSIX_signals_Check_signal( api, signo, false );               
   4bbe6:	42a7           	clrl %sp@-                                  
   4bbe8:	2f02           	movel %d2,%sp@-                             
   4bbea:	2f0a           	movel %a2,%sp@-                             
   4bbec:	4e93           	jsr %a3@                                    
      _POSIX_signals_Check_signal( api, signo, true );                
   4bbee:	4878 0001      	pea 1 <ADD>                                 
   4bbf2:	2f02           	movel %d2,%sp@-                             
      _POSIX_signals_Check_signal( api, signo, false );               
      _POSIX_signals_Check_signal( api, signo, true );                
    }                                                                 
    /* Unfortunately - nothing like __SIGFIRSTNOTRT in newlib signal .h */
                                                                      
    for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {      
   4bbf4:	5282           	addql #1,%d2                                
      _POSIX_signals_Check_signal( api, signo, false );               
      _POSIX_signals_Check_signal( api, signo, true );                
   4bbf6:	2f0a           	movel %a2,%sp@-                             
   4bbf8:	4e93           	jsr %a3@                                    
      _POSIX_signals_Check_signal( api, signo, false );               
      _POSIX_signals_Check_signal( api, signo, true );                
    }                                                                 
    /* Unfortunately - nothing like __SIGFIRSTNOTRT in newlib signal .h */
                                                                      
    for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {      
   4bbfa:	4fef 0018      	lea %sp@(24),%sp                            
   4bbfe:	701b           	moveq #27,%d0                               
   4bc00:	b082           	cmpl %d2,%d0                                
   4bc02:	66c4           	bnes 4bbc8 <_POSIX_signals_Post_switch_extension+0x62>
   4bc04:	6082           	bras 4bb88 <_POSIX_signals_Post_switch_extension+0x22>
   */                                                                 
  while (1) {                                                         
    _ISR_Disable( level );                                            
      if ( !(~api->signals_blocked &                                  
            (api->signals_pending | _POSIX_signals_Pending)) ) {      
       _ISR_Enable( level );                                          
   4bc06:	46c1           	movew %d1,%sr                               
    for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {      
      _POSIX_signals_Check_signal( api, signo, false );               
      _POSIX_signals_Check_signal( api, signo, true );                
    }                                                                 
  }                                                                   
}                                                                     
   4bc08:	4cee 0c0c fff0 	moveml %fp@(-16),%d2-%d3/%a2-%a3            
   4bc0e:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0005d0ac <_POSIX_signals_Unblock_thread>:
   5d0ac:	7001           	moveq #1,%d0                                
bool _POSIX_signals_Unblock_thread(                                   
  Thread_Control  *the_thread,                                        
  int              signo,                                             
  siginfo_t       *info                                               
)                                                                     
{                                                                     
   5d0ae:	4e56 ffec      	linkw %fp,#-20                              
   5d0b2:	206e 000c      	moveal %fp@(12),%a0                         
   5d0b6:	48d7 0c1c      	moveml %d2-%d4/%a2-%a3,%sp@                 
   5d0ba:	246e 0008      	moveal %fp@(8),%a2                          
   5d0be:	2608           	movel %a0,%d3                               
   5d0c0:	5383           	subql #1,%d3                                
                                                                      
  /*                                                                  
   *  Is the thread is specifically waiting for a signal?             
   */                                                                 
                                                                      
  if ( _States_Is_interruptible_signal( the_thread->current_state ) ) {
   5d0c2:	222a 0010      	movel %a2@(16),%d1                          
   5d0c6:	2401           	movel %d1,%d2                               
   5d0c8:	0282 1000 8000 	andil #268468224,%d2                        
bool _POSIX_signals_Unblock_thread(                                   
  Thread_Control  *the_thread,                                        
  int              signo,                                             
  siginfo_t       *info                                               
)                                                                     
{                                                                     
   5d0ce:	282e 0010      	movel %fp@(16),%d4                          
  POSIX_API_Control  *api;                                            
  sigset_t            mask;                                           
  siginfo_t          *the_info = NULL;                                
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
   5d0d2:	226a 0102      	moveal %a2@(258),%a1                        
   5d0d6:	e7a8           	lsll %d3,%d0                                
                                                                      
  /*                                                                  
   *  Is the thread is specifically waiting for a signal?             
   */                                                                 
                                                                      
  if ( _States_Is_interruptible_signal( the_thread->current_state ) ) {
   5d0d8:	0c82 1000 8000 	cmpil #268468224,%d2                        
   5d0de:	6770           	beqs 5d150 <_POSIX_signals_Unblock_thread+0xa4>
  }                                                                   
                                                                      
  /*                                                                  
   *  Thread is not waiting due to a sigwait.                         
   */                                                                 
  if ( ~api->signals_blocked & mask ) {                               
   5d0e0:	2429 00d0      	movel %a1@(208),%d2                         
   5d0e4:	4682           	notl %d2                                    
   5d0e6:	c082           	andl %d2,%d0                                
   5d0e8:	675a           	beqs 5d144 <_POSIX_signals_Unblock_thread+0x98>
     *      it is not blocked, THEN                                   
     *        we need to dispatch at the end of this ISR.             
     *    + Any other combination, do nothing.                        
     */                                                               
                                                                      
    if ( _States_Is_interruptible_by_signal( the_thread->current_state ) ) {
   5d0ea:	0801 001c      	btst #28,%d1                                
   5d0ee:	673e           	beqs 5d12e <_POSIX_signals_Unblock_thread+0x82>
      the_thread->Wait.return_code = EINTR;                           
   5d0f0:	7004           	moveq #4,%d0                                
   5d0f2:	2540 0034      	movel %d0,%a2@(52)                          
 */                                                                   
RTEMS_INLINE_ROUTINE bool _States_Is_waiting_on_thread_queue (        
  States_Control the_states                                           
)                                                                     
{                                                                     
   return (the_states & STATES_WAITING_ON_THREAD_QUEUE);              
   5d0f6:	2001           	movel %d1,%d0                               
   5d0f8:	0280 0003 bee0 	andil #245472,%d0                           
      /*                                                              
       *  In pthread_cond_wait, a thread will be blocking on a thread 
       *  queue, but is also interruptible by a POSIX signal.         
       */                                                             
       if ( _States_Is_waiting_on_thread_queue(the_thread->current_state) )
   5d0fe:	6600 00a0      	bnew 5d1a0 <_POSIX_signals_Unblock_thread+0xf4>
         _Thread_queue_Extract_with_proxy( the_thread );              
       else if ( _States_Is_delaying(the_thread->current_state) ) {   
   5d102:	44c1           	movew %d1,%ccr                              
   5d104:	6a3e           	bpls 5d144 <_POSIX_signals_Unblock_thread+0x98><== NEVER TAKEN
          (void) _Watchdog_Remove( &the_thread->Timer );              
   5d106:	486a 0048      	pea %a2@(72)                                
   5d10a:	4eb9 0004 9da0 	jsr 49da0 <_Watchdog_Remove>                
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
   5d110:	2f3c 1003 fff8 	movel #268697592,%sp@-                      
   5d116:	2f0a           	movel %a2,%sp@-                             
   5d118:	4eb9 0004 89bc 	jsr 489bc <_Thread_Clear_state>             
   5d11e:	4fef 000c      	lea %sp@(12),%sp                            
      if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
        _Thread_Dispatch_necessary = true;                            
    }                                                                 
  }                                                                   
  return false;                                                       
}                                                                     
   5d122:	4cee 0c1c ffec 	moveml %fp@(-20),%d2-%d4/%a2-%a3            
    } else if ( the_thread->current_state == STATES_READY ) {         
      if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
        _Thread_Dispatch_necessary = true;                            
    }                                                                 
  }                                                                   
  return false;                                                       
   5d128:	4200           	clrb %d0                                    
}                                                                     
   5d12a:	4e5e           	unlk %fp                                    
   5d12c:	4e75           	rts                                         
       else if ( _States_Is_delaying(the_thread->current_state) ) {   
          (void) _Watchdog_Remove( &the_thread->Timer );              
          _Thread_Unblock( the_thread );                              
       }                                                              
                                                                      
    } else if ( the_thread->current_state == STATES_READY ) {         
   5d12e:	4a81           	tstl %d1                                    
   5d130:	6612           	bnes 5d144 <_POSIX_signals_Unblock_thread+0x98><== NEVER TAKEN
      if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
   5d132:	4ab9 0006 10ce 	tstl 610ce <_Per_CPU_Information+0x8>       
   5d138:	670a           	beqs 5d144 <_POSIX_signals_Unblock_thread+0x98>
   5d13a:	b5f9 0006 10d2 	cmpal 610d2 <_Per_CPU_Information+0xc>,%a2  
   5d140:	6700 0090      	beqw 5d1d2 <_POSIX_signals_Unblock_thread+0x126>
        _Thread_Dispatch_necessary = true;                            
    }                                                                 
  }                                                                   
  return false;                                                       
}                                                                     
   5d144:	4cee 0c1c ffec 	moveml %fp@(-20),%d2-%d4/%a2-%a3            
    } else if ( the_thread->current_state == STATES_READY ) {         
      if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
        _Thread_Dispatch_necessary = true;                            
    }                                                                 
  }                                                                   
  return false;                                                       
   5d14a:	4200           	clrb %d0                                    
}                                                                     
   5d14c:	4e5e           	unlk %fp                                    
   5d14e:	4e75           	rts                                         
   *  Is the thread is specifically waiting for a signal?             
   */                                                                 
                                                                      
  if ( _States_Is_interruptible_signal( the_thread->current_state ) ) {
                                                                      
    if ( (the_thread->Wait.option & mask) || (~api->signals_blocked & mask) ) {
   5d150:	2200           	movel %d0,%d1                               
   5d152:	c2aa 0030      	andl %a2@(48),%d1                           
   5d156:	672e           	beqs 5d186 <_POSIX_signals_Unblock_thread+0xda>
      the_thread->Wait.return_code = EINTR;                           
   5d158:	7004           	moveq #4,%d0                                
                                                                      
      the_info = (siginfo_t *) the_thread->Wait.return_argument;      
   5d15a:	266a 0028      	moveal %a2@(40),%a3                         
   */                                                                 
                                                                      
  if ( _States_Is_interruptible_signal( the_thread->current_state ) ) {
                                                                      
    if ( (the_thread->Wait.option & mask) || (~api->signals_blocked & mask) ) {
      the_thread->Wait.return_code = EINTR;                           
   5d15e:	2540 0034      	movel %d0,%a2@(52)                          
                                                                      
      the_info = (siginfo_t *) the_thread->Wait.return_argument;      
                                                                      
      if ( !info ) {                                                  
   5d162:	4a84           	tstl %d4                                    
   5d164:	6750           	beqs 5d1b6 <_POSIX_signals_Unblock_thread+0x10a>
        the_info->si_signo = signo;                                   
        the_info->si_code = SI_USER;                                  
        the_info->si_value.sival_int = 0;                             
      } else {                                                        
        *the_info = *info;                                            
   5d166:	2244           	moveal %d4,%a1                              
   5d168:	204b           	moveal %a3,%a0                              
   5d16a:	20d9           	movel %a1@+,%a0@+                           
   5d16c:	20d9           	movel %a1@+,%a0@+                           
   5d16e:	2091           	movel %a1@,%a0@                             
      }                                                               
                                                                      
      _Thread_queue_Extract_with_proxy( the_thread );                 
   5d170:	2f0a           	movel %a2,%sp@-                             
   5d172:	4eb9 0004 94dc 	jsr 494dc <_Thread_queue_Extract_with_proxy>
      return true;                                                    
   5d178:	588f           	addql #4,%sp                                
   5d17a:	7001           	moveq #1,%d0                                
      if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
        _Thread_Dispatch_necessary = true;                            
    }                                                                 
  }                                                                   
  return false;                                                       
}                                                                     
   5d17c:	4cee 0c1c ffec 	moveml %fp@(-20),%d2-%d4/%a2-%a3            
   5d182:	4e5e           	unlk %fp                                    
   5d184:	4e75           	rts                                         
   *  Is the thread is specifically waiting for a signal?             
   */                                                                 
                                                                      
  if ( _States_Is_interruptible_signal( the_thread->current_state ) ) {
                                                                      
    if ( (the_thread->Wait.option & mask) || (~api->signals_blocked & mask) ) {
   5d186:	2229 00d0      	movel %a1@(208),%d1                         
   5d18a:	4681           	notl %d1                                    
   5d18c:	c081           	andl %d1,%d0                                
   5d18e:	67b4           	beqs 5d144 <_POSIX_signals_Unblock_thread+0x98>
      the_thread->Wait.return_code = EINTR;                           
   5d190:	7004           	moveq #4,%d0                                
                                                                      
      the_info = (siginfo_t *) the_thread->Wait.return_argument;      
   5d192:	266a 0028      	moveal %a2@(40),%a3                         
   */                                                                 
                                                                      
  if ( _States_Is_interruptible_signal( the_thread->current_state ) ) {
                                                                      
    if ( (the_thread->Wait.option & mask) || (~api->signals_blocked & mask) ) {
      the_thread->Wait.return_code = EINTR;                           
   5d196:	2540 0034      	movel %d0,%a2@(52)                          
                                                                      
      the_info = (siginfo_t *) the_thread->Wait.return_argument;      
                                                                      
      if ( !info ) {                                                  
   5d19a:	4a84           	tstl %d4                                    
   5d19c:	66c8           	bnes 5d166 <_POSIX_signals_Unblock_thread+0xba><== ALWAYS TAKEN
   5d19e:	6016           	bras 5d1b6 <_POSIX_signals_Unblock_thread+0x10a><== NOT EXECUTED
      /*                                                              
       *  In pthread_cond_wait, a thread will be blocking on a thread 
       *  queue, but is also interruptible by a POSIX signal.         
       */                                                             
       if ( _States_Is_waiting_on_thread_queue(the_thread->current_state) )
         _Thread_queue_Extract_with_proxy( the_thread );              
   5d1a0:	2f0a           	movel %a2,%sp@-                             
   5d1a2:	4eb9 0004 94dc 	jsr 494dc <_Thread_queue_Extract_with_proxy>
   5d1a8:	588f           	addql #4,%sp                                
      if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
        _Thread_Dispatch_necessary = true;                            
    }                                                                 
  }                                                                   
  return false;                                                       
}                                                                     
   5d1aa:	4cee 0c1c ffec 	moveml %fp@(-20),%d2-%d4/%a2-%a3            
    } else if ( the_thread->current_state == STATES_READY ) {         
      if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
        _Thread_Dispatch_necessary = true;                            
    }                                                                 
  }                                                                   
  return false;                                                       
   5d1b0:	4200           	clrb %d0                                    
}                                                                     
   5d1b2:	4e5e           	unlk %fp                                    
   5d1b4:	4e75           	rts                                         
                                                                      
      the_info = (siginfo_t *) the_thread->Wait.return_argument;      
                                                                      
      if ( !info ) {                                                  
        the_info->si_signo = signo;                                   
        the_info->si_code = SI_USER;                                  
   5d1b6:	103c 0001      	moveb #1,%d0                                
      the_thread->Wait.return_code = EINTR;                           
                                                                      
      the_info = (siginfo_t *) the_thread->Wait.return_argument;      
                                                                      
      if ( !info ) {                                                  
        the_info->si_signo = signo;                                   
   5d1ba:	2688           	movel %a0,%a3@                              
        the_info->si_code = SI_USER;                                  
   5d1bc:	2740 0004      	movel %d0,%a3@(4)                           
        the_info->si_value.sival_int = 0;                             
   5d1c0:	42ab 0008      	clrl %a3@(8)                                
      } else {                                                        
        *the_info = *info;                                            
      }                                                               
                                                                      
      _Thread_queue_Extract_with_proxy( the_thread );                 
   5d1c4:	2f0a           	movel %a2,%sp@-                             
   5d1c6:	4eb9 0004 94dc 	jsr 494dc <_Thread_queue_Extract_with_proxy>
      return true;                                                    
   5d1cc:	588f           	addql #4,%sp                                
   5d1ce:	7001           	moveq #1,%d0                                
   5d1d0:	60aa           	bras 5d17c <_POSIX_signals_Unblock_thread+0xd0>
          _Thread_Unblock( the_thread );                              
       }                                                              
                                                                      
    } else if ( the_thread->current_state == STATES_READY ) {         
      if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
        _Thread_Dispatch_necessary = true;                            
   5d1d2:	7001           	moveq #1,%d0                                
    }                                                                 
  }                                                                   
  return false;                                                       
}                                                                     
   5d1d4:	4cee 0c1c ffec 	moveml %fp@(-20),%d2-%d4/%a2-%a3            
   5d1da:	4e5e           	unlk %fp                                    
          _Thread_Unblock( the_thread );                              
       }                                                              
                                                                      
    } else if ( the_thread->current_state == STATES_READY ) {         
      if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
        _Thread_Dispatch_necessary = true;                            
   5d1dc:	13c0 0006 10de 	moveb %d0,610de <_Per_CPU_Information+0x18> 
    }                                                                 
  }                                                                   
  return false;                                                       
   5d1e2:	4200           	clrb %d0                                    
}                                                                     
	...                                                                  
                                                                      

0004c5fe <_RTEMS_tasks_Create_extension>: bool _RTEMS_tasks_Create_extension( Thread_Control *executing, Thread_Control *created ) {
   4c5fe:	4e56 0000      	linkw %fp,#0                                
   4c602:	2f0a           	movel %a2,%sp@-                             
   4c604:	246e 000c      	moveal %fp@(12),%a2                         
  /*                                                                  
   *  Notepads must be the last entry in the structure and they       
   *  can be left off if disabled in the configuration.               
   */                                                                 
  to_allocate = sizeof( RTEMS_API_Control );                          
  if ( !rtems_configuration_get_notepads_enabled() )                  
   4c608:	4a39 0005 f344 	tstb 5f344 <Configuration_RTEMS_API+0x4>    
   4c60e:	6758           	beqs 4c668 <_RTEMS_tasks_Create_extension+0x6a>
                                                                      
  /*                                                                  
   *  Notepads must be the last entry in the structure and they       
   *  can be left off if disabled in the configuration.               
   */                                                                 
  to_allocate = sizeof( RTEMS_API_Control );                          
   4c610:	705e           	moveq #94,%d0                               
  if ( !rtems_configuration_get_notepads_enabled() )                  
    to_allocate -= (RTEMS_NUMBER_NOTEPADS * sizeof(uint32_t));        
                                                                      
  api = _Workspace_Allocate( to_allocate );                           
   4c612:	2f00           	movel %d0,%sp@-                             
   4c614:	4eb9 0004 9f22 	jsr 49f22 <_Workspace_Allocate>             
                                                                      
  if ( !api )                                                         
   4c61a:	588f           	addql #4,%sp                                
   */                                                                 
  to_allocate = sizeof( RTEMS_API_Control );                          
  if ( !rtems_configuration_get_notepads_enabled() )                  
    to_allocate -= (RTEMS_NUMBER_NOTEPADS * sizeof(uint32_t));        
                                                                      
  api = _Workspace_Allocate( to_allocate );                           
   4c61c:	2040           	moveal %d0,%a0                              
                                                                      
  if ( !api )                                                         
   4c61e:	4a80           	tstl %d0                                    
   4c620:	6758           	beqs 4c67a <_RTEMS_tasks_Create_extension+0x7c>
    return false;                                                     
                                                                      
  created->API_Extensions[ THREAD_API_RTEMS ] = api;                  
   4c622:	2540 00fe      	movel %d0,%a2@(254)                         
 */                                                                   
RTEMS_INLINE_ROUTINE void _ASR_Initialize (                           
  ASR_Information *information                                        
)                                                                     
{                                                                     
  information->is_enabled      = false;                               
   4c626:	4200           	clrb %d0                                    
                                                                      
  api->pending_events = EVENT_SETS_NONE_PENDING;                      
   4c628:	4290           	clrl %a0@                                   
   4c62a:	1140 0008      	moveb %d0,%a0@(8)                           
  api->event_condition = 0;                                           
   4c62e:	42a8 0004      	clrl %a0@(4)                                
  information->handler         = NULL;                                
   4c632:	42a8 000a      	clrl %a0@(10)                               
  information->mode_set        = RTEMS_DEFAULT_MODES;                 
   4c636:	42a8 000e      	clrl %a0@(14)                               
  information->signals_posted  = 0;                                   
   4c63a:	42a8 0012      	clrl %a0@(18)                               
  information->signals_pending = 0;                                   
   4c63e:	42a8 0016      	clrl %a0@(22)                               
  information->nest_level      = 0;                                   
   4c642:	42a8 001a      	clrl %a0@(26)                               
  _ASR_Initialize( &api->Signal );                                    
  created->task_variables = NULL;                                     
   4c646:	42aa 010a      	clrl %a2@(266)                              
                                                                      
  if ( rtems_configuration_get_notepads_enabled() ) {                 
   4c64a:	4a39 0005 f344 	tstb 5f344 <Configuration_RTEMS_API+0x4>    
   4c650:	670c           	beqs 4c65e <_RTEMS_tasks_Create_extension+0x60>
 *  task is created via another API, then this routine is invoked     
 *  and this API given the opportunity to initialize its extension    
 *  area.                                                             
 */                                                                   
                                                                      
bool _RTEMS_tasks_Create_extension(                                   
   4c652:	41e8 001e      	lea %a0@(30),%a0                            
   4c656:	7010           	moveq #16,%d0                               
  _ASR_Initialize( &api->Signal );                                    
  created->task_variables = NULL;                                     
                                                                      
  if ( rtems_configuration_get_notepads_enabled() ) {                 
    for (i=0; i < RTEMS_NUMBER_NOTEPADS; i++)                         
      api->Notepads[i] = 0;                                           
   4c658:	4298           	clrl %a0@+                                  
   4c65a:	5380           	subql #1,%d0                                
  api->event_condition = 0;                                           
  _ASR_Initialize( &api->Signal );                                    
  created->task_variables = NULL;                                     
                                                                      
  if ( rtems_configuration_get_notepads_enabled() ) {                 
    for (i=0; i < RTEMS_NUMBER_NOTEPADS; i++)                         
   4c65c:	66fa           	bnes 4c658 <_RTEMS_tasks_Create_extension+0x5a>
      api->Notepads[i] = 0;                                           
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
   4c65e:	246e fffc      	moveal %fp@(-4),%a2                         
   4c662:	4e5e           	unlk %fp                                    
  if ( rtems_configuration_get_notepads_enabled() ) {                 
    for (i=0; i < RTEMS_NUMBER_NOTEPADS; i++)                         
      api->Notepads[i] = 0;                                           
  }                                                                   
                                                                      
  return true;                                                        
   4c664:	7001           	moveq #1,%d0                                
}                                                                     
   4c666:	4e75           	rts                                         
   *  Notepads must be the last entry in the structure and they       
   *  can be left off if disabled in the configuration.               
   */                                                                 
  to_allocate = sizeof( RTEMS_API_Control );                          
  if ( !rtems_configuration_get_notepads_enabled() )                  
    to_allocate -= (RTEMS_NUMBER_NOTEPADS * sizeof(uint32_t));        
   4c668:	701e           	moveq #30,%d0                               
                                                                      
  api = _Workspace_Allocate( to_allocate );                           
   4c66a:	2f00           	movel %d0,%sp@-                             
   4c66c:	4eb9 0004 9f22 	jsr 49f22 <_Workspace_Allocate>             
                                                                      
  if ( !api )                                                         
   4c672:	588f           	addql #4,%sp                                
   */                                                                 
  to_allocate = sizeof( RTEMS_API_Control );                          
  if ( !rtems_configuration_get_notepads_enabled() )                  
    to_allocate -= (RTEMS_NUMBER_NOTEPADS * sizeof(uint32_t));        
                                                                      
  api = _Workspace_Allocate( to_allocate );                           
   4c674:	2040           	moveal %d0,%a0                              
                                                                      
  if ( !api )                                                         
   4c676:	4a80           	tstl %d0                                    
   4c678:	66a8           	bnes 4c622 <_RTEMS_tasks_Create_extension+0x24><== ALWAYS TAKEN
    for (i=0; i < RTEMS_NUMBER_NOTEPADS; i++)                         
      api->Notepads[i] = 0;                                           
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
   4c67a:	246e fffc      	moveal %fp@(-4),%a2                         
   4c67e:	4e5e           	unlk %fp                                    
    to_allocate -= (RTEMS_NUMBER_NOTEPADS * sizeof(uint32_t));        
                                                                      
  api = _Workspace_Allocate( to_allocate );                           
                                                                      
  if ( !api )                                                         
    return false;                                                     
   4c680:	4200           	clrb %d0                                    <== NOT EXECUTED
    for (i=0; i < RTEMS_NUMBER_NOTEPADS; i++)                         
      api->Notepads[i] = 0;                                           
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
                                                                      

0004c5a8 <_RTEMS_tasks_Delete_extension>: void _RTEMS_tasks_Delete_extension( Thread_Control *executing, Thread_Control *deleted ) {
   4c5a8:	4e56 fff4      	linkw %fp,#-12                              
   4c5ac:	48d7 0c04      	moveml %d2/%a2-%a3,%sp@                     
   4c5b0:	246e 000c      	moveal %fp@(12),%a2                         
   4c5b4:	47f9 0004 c6d0 	lea 4c6d0 <_RTEMS_Tasks_Invoke_task_variable_dtor>,%a3
                                                                      
  /*                                                                  
   *  Free per task variable memory                                   
   */                                                                 
                                                                      
  tvp = deleted->task_variables;                                      
   4c5ba:	206a 010a      	moveal %a2@(266),%a0                        
  deleted->task_variables = NULL;                                     
   4c5be:	42aa 010a      	clrl %a2@(266)                              
  while (tvp) {                                                       
   4c5c2:	4a88           	tstl %a0                                    
   4c5c4:	671e           	beqs 4c5e4 <_RTEMS_tasks_Delete_extension+0x3c>
    next = (rtems_task_variable_t *)tvp->next;                        
   4c5c6:	2410           	movel %a0@,%d2                              
    _RTEMS_Tasks_Invoke_task_variable_dtor( deleted, tvp );           
   4c5c8:	2f08           	movel %a0,%sp@-                             
   4c5ca:	2f0a           	movel %a2,%sp@-                             
   4c5cc:	4e93           	jsr %a3@                                    
   *  Free per task variable memory                                   
   */                                                                 
                                                                      
  tvp = deleted->task_variables;                                      
  deleted->task_variables = NULL;                                     
  while (tvp) {                                                       
   4c5ce:	508f           	addql #8,%sp                                
   4c5d0:	4a82           	tstl %d2                                    
   4c5d2:	6710           	beqs 4c5e4 <_RTEMS_tasks_Delete_extension+0x3c><== NEVER TAKEN
    next = (rtems_task_variable_t *)tvp->next;                        
    _RTEMS_Tasks_Invoke_task_variable_dtor( deleted, tvp );           
    tvp = next;                                                       
   4c5d4:	2042           	moveal %d2,%a0                              
   */                                                                 
                                                                      
  tvp = deleted->task_variables;                                      
  deleted->task_variables = NULL;                                     
  while (tvp) {                                                       
    next = (rtems_task_variable_t *)tvp->next;                        
   4c5d6:	2410           	movel %a0@,%d2                              
    _RTEMS_Tasks_Invoke_task_variable_dtor( deleted, tvp );           
   4c5d8:	2f08           	movel %a0,%sp@-                             
   4c5da:	2f0a           	movel %a2,%sp@-                             
   4c5dc:	4e93           	jsr %a3@                                    
   *  Free per task variable memory                                   
   */                                                                 
                                                                      
  tvp = deleted->task_variables;                                      
  deleted->task_variables = NULL;                                     
  while (tvp) {                                                       
   4c5de:	508f           	addql #8,%sp                                
   4c5e0:	4a82           	tstl %d2                                    
   4c5e2:	66f0           	bnes 4c5d4 <_RTEMS_tasks_Delete_extension+0x2c>
                                                                      
  /*                                                                  
   *  Free API specific memory                                        
   */                                                                 
                                                                      
  (void) _Workspace_Free( deleted->API_Extensions[ THREAD_API_RTEMS ] );
   4c5e4:	2f2a 00fe      	movel %a2@(254),%sp@-                       
   4c5e8:	4eb9 0004 9f3e 	jsr 49f3e <_Workspace_Free>                 
  deleted->API_Extensions[ THREAD_API_RTEMS ] = NULL;                 
   4c5ee:	588f           	addql #4,%sp                                
   4c5f0:	42aa 00fe      	clrl %a2@(254)                              
}                                                                     
   4c5f4:	4cee 0c04 fff4 	moveml %fp@(-12),%d2/%a2-%a3                
   4c5fa:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00046b8c <_RTEMS_tasks_Initialize_user_tasks_body>: * * Output parameters: NONE */ void _RTEMS_tasks_Initialize_user_tasks_body( void ) {
   46b8c:	4e56 ffe4      	linkw %fp,#-28                              
   46b90:	48d7 1c1c      	moveml %d2-%d4/%a2-%a4,%sp@                 
  rtems_initialization_tasks_table *user_tasks;                       
                                                                      
  /*                                                                  
   *  Move information into local variables                           
   */                                                                 
  user_tasks = Configuration_RTEMS_API.User_initialization_tasks_table;
   46b94:	2479 0005 f36a 	moveal 5f36a <Configuration_RTEMS_API+0x2a>,%a2
  maximum    = Configuration_RTEMS_API.number_of_initialization_tasks;
   46b9a:	2639 0005 f366 	movel 5f366 <Configuration_RTEMS_API+0x26>,%d3
                                                                      
  /*                                                                  
   *  Verify that we have a set of user tasks to iterate              
   */                                                                 
  if ( !user_tasks )                                                  
   46ba0:	4a8a           	tstl %a2                                    
   46ba2:	6754           	beqs 46bf8 <_RTEMS_tasks_Initialize_user_tasks_body+0x6c>
    return;                                                           
                                                                      
  /*                                                                  
   *  Now iterate over the initialization tasks and create/start them.
   */                                                                 
  for ( index=0 ; index < maximum ; index++ ) {                       
   46ba4:	4a83           	tstl %d3                                    
   46ba6:	6750           	beqs 46bf8 <_RTEMS_tasks_Initialize_user_tasks_body+0x6c><== NEVER TAKEN
   46ba8:	280e           	movel %fp,%d4                               
   46baa:	4282           	clrl %d2                                    
   46bac:	5984           	subql #4,%d4                                
   46bae:	47f9 0004 6964 	lea 46964 <rtems_task_create>,%a3           
      &id                                                             
    );                                                                
    if ( !rtems_is_status_successful( return_value ) )                
      _Internal_error_Occurred( INTERNAL_ERROR_RTEMS_API, true, return_value );
                                                                      
    return_value = rtems_task_start(                                  
   46bb4:	49f9 0004 6c14 	lea 46c14 <rtems_task_start>,%a4            
                                                                      
  /*                                                                  
   *  Now iterate over the initialization tasks and create/start them.
   */                                                                 
  for ( index=0 ; index < maximum ; index++ ) {                       
    return_value = rtems_task_create(                                 
   46bba:	2f04           	movel %d4,%sp@-                             
   46bbc:	2f2a 000c      	movel %a2@(12),%sp@-                        
   46bc0:	2f2a 0014      	movel %a2@(20),%sp@-                        
   46bc4:	2f2a 0004      	movel %a2@(4),%sp@-                         
   46bc8:	2f2a 0008      	movel %a2@(8),%sp@-                         
   46bcc:	2f12           	movel %a2@,%sp@-                            
   46bce:	4e93           	jsr %a3@                                    
      user_tasks[ index ].stack_size,                                 
      user_tasks[ index ].mode_set,                                   
      user_tasks[ index ].attribute_set,                              
      &id                                                             
    );                                                                
    if ( !rtems_is_status_successful( return_value ) )                
   46bd0:	4fef 0018      	lea %sp@(24),%sp                            
   46bd4:	4a80           	tstl %d0                                    
   46bd6:	662a           	bnes 46c02 <_RTEMS_tasks_Initialize_user_tasks_body+0x76>
      _Internal_error_Occurred( INTERNAL_ERROR_RTEMS_API, true, return_value );
                                                                      
    return_value = rtems_task_start(                                  
   46bd8:	2f2a 0018      	movel %a2@(24),%sp@-                        
   46bdc:	2f2a 0010      	movel %a2@(16),%sp@-                        
   46be0:	2f2e fffc      	movel %fp@(-4),%sp@-                        
   46be4:	4e94           	jsr %a4@                                    
      id,                                                             
      user_tasks[ index ].entry_point,                                
      user_tasks[ index ].argument                                    
    );                                                                
    if ( !rtems_is_status_successful( return_value ) )                
   46be6:	4fef 000c      	lea %sp@(12),%sp                            
   46bea:	4a80           	tstl %d0                                    
   46bec:	6614           	bnes 46c02 <_RTEMS_tasks_Initialize_user_tasks_body+0x76>
    return;                                                           
                                                                      
  /*                                                                  
   *  Now iterate over the initialization tasks and create/start them.
   */                                                                 
  for ( index=0 ; index < maximum ; index++ ) {                       
   46bee:	5282           	addql #1,%d2                                
   46bf0:	45ea 001c      	lea %a2@(28),%a2                            
   46bf4:	b483           	cmpl %d3,%d2                                
   46bf6:	65c2           	bcss 46bba <_RTEMS_tasks_Initialize_user_tasks_body+0x2e><== NEVER TAKEN
      user_tasks[ index ].argument                                    
    );                                                                
    if ( !rtems_is_status_successful( return_value ) )                
      _Internal_error_Occurred( INTERNAL_ERROR_RTEMS_API, true, return_value );
  }                                                                   
}                                                                     
   46bf8:	4cee 1c1c ffe4 	moveml %fp@(-28),%d2-%d4/%a2-%a4            
   46bfe:	4e5e           	unlk %fp                                    
   46c00:	4e75           	rts                                         
      id,                                                             
      user_tasks[ index ].entry_point,                                
      user_tasks[ index ].argument                                    
    );                                                                
    if ( !rtems_is_status_successful( return_value ) )                
      _Internal_error_Occurred( INTERNAL_ERROR_RTEMS_API, true, return_value );
   46c02:	2f00           	movel %d0,%sp@-                             
   46c04:	4878 0001      	pea 1 <ADD>                                 
   46c08:	4878 0001      	pea 1 <ADD>                                 
   46c0c:	4eb9 0004 7b1c 	jsr 47b1c <_Internal_error_Occurred>        
	...                                                                  
                                                                      

0004c4d2 <_RTEMS_tasks_Switch_extension>: void _RTEMS_tasks_Switch_extension( Thread_Control *executing, Thread_Control *heir ) {
   4c4d2:	4e56 0000      	linkw %fp,#0                                
   4c4d6:	206e 0008      	moveal %fp@(8),%a0                          
                                                                      
  /*                                                                  
   *  Per Task Variables                                              
   */                                                                 
                                                                      
  tvp = executing->task_variables;                                    
   4c4da:	2068 010a      	moveal %a0@(266),%a0                        
  while (tvp) {                                                       
   4c4de:	4a88           	tstl %a0                                    
   4c4e0:	6712           	beqs 4c4f4 <_RTEMS_tasks_Switch_extension+0x22>
    tvp->tval = *tvp->ptr;                                            
   4c4e2:	2268 0004      	moveal %a0@(4),%a1                          
   4c4e6:	2151 000c      	movel %a1@,%a0@(12)                         
    *tvp->ptr = tvp->gval;                                            
   4c4ea:	22a8 0008      	movel %a0@(8),%a1@                          
    tvp = (rtems_task_variable_t *)tvp->next;                         
   4c4ee:	2050           	moveal %a0@,%a0                             
  /*                                                                  
   *  Per Task Variables                                              
   */                                                                 
                                                                      
  tvp = executing->task_variables;                                    
  while (tvp) {                                                       
   4c4f0:	4a88           	tstl %a0                                    
   4c4f2:	66ee           	bnes 4c4e2 <_RTEMS_tasks_Switch_extension+0x10><== NEVER TAKEN
    tvp->tval = *tvp->ptr;                                            
    *tvp->ptr = tvp->gval;                                            
    tvp = (rtems_task_variable_t *)tvp->next;                         
  }                                                                   
                                                                      
  tvp = heir->task_variables;                                         
   4c4f4:	206e 000c      	moveal %fp@(12),%a0                         
   4c4f8:	2068 010a      	moveal %a0@(266),%a0                        
  while (tvp) {                                                       
   4c4fc:	4a88           	tstl %a0                                    
   4c4fe:	6712           	beqs 4c512 <_RTEMS_tasks_Switch_extension+0x40>
    tvp->gval = *tvp->ptr;                                            
   4c500:	2268 0004      	moveal %a0@(4),%a1                          
   4c504:	2151 0008      	movel %a1@,%a0@(8)                          
    *tvp->ptr = tvp->tval;                                            
   4c508:	22a8 000c      	movel %a0@(12),%a1@                         
    tvp = (rtems_task_variable_t *)tvp->next;                         
   4c50c:	2050           	moveal %a0@,%a0                             
    *tvp->ptr = tvp->gval;                                            
    tvp = (rtems_task_variable_t *)tvp->next;                         
  }                                                                   
                                                                      
  tvp = heir->task_variables;                                         
  while (tvp) {                                                       
   4c50e:	4a88           	tstl %a0                                    
   4c510:	66ee           	bnes 4c500 <_RTEMS_tasks_Switch_extension+0x2e><== NEVER TAKEN
    tvp->gval = *tvp->ptr;                                            
    *tvp->ptr = tvp->tval;                                            
    tvp = (rtems_task_variable_t *)tvp->next;                         
  }                                                                   
}                                                                     
   4c512:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00047c84 <_Rate_monotonic_Timeout>: void _Rate_monotonic_Timeout( Objects_Id id, void *ignored ) {
   47c84:	4e56 fffc      	linkw %fp,#-4                               
   47c88:	2f0a           	movel %a2,%sp@-                             
   47c8a:	486e fffc      	pea %fp@(-4)                                
   47c8e:	2f2e 0008      	movel %fp@(8),%sp@-                         
   47c92:	4879 0006 2c7c 	pea 62c7c <_Rate_monotonic_Information>     
   47c98:	4eb9 0004 9bd4 	jsr 49bd4 <_Objects_Get>                    
  /*                                                                  
   *  When we get here, the Timer is already off the chain so we do not
   *  have to worry about that -- hence no _Watchdog_Remove().        
   */                                                                 
  the_period = _Rate_monotonic_Get( id, &location );                  
  switch ( location ) {                                               
   47c9e:	4fef 000c      	lea %sp@(12),%sp                            
   47ca2:	2440           	moveal %d0,%a2                              
   47ca4:	4aae fffc      	tstl %fp@(-4)                               
   47ca8:	6636           	bnes 47ce0 <_Rate_monotonic_Timeout+0x5c>   <== NEVER TAKEN
                                                                      
    case OBJECTS_LOCAL:                                               
      the_thread = the_period->owner;                                 
   47caa:	206a 0040      	moveal %a2@(64),%a0                         
 */                                                                   
RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_period (             
  States_Control the_states                                           
)                                                                     
{                                                                     
   return (the_states & STATES_WAITING_FOR_PERIOD);                   
   47cae:	2028 0010      	movel %a0@(16),%d0                          
   47cb2:	0280 0000 4000 	andil #16384,%d0                            
      if ( _States_Is_waiting_for_period( the_thread->current_state ) &&
   47cb8:	670a           	beqs 47cc4 <_Rate_monotonic_Timeout+0x40>   
   47cba:	202a 0008      	movel %a2@(8),%d0                           
   47cbe:	b0a8 0020      	cmpl %a0@(32),%d0                           
   47cc2:	675e           	beqs 47d22 <_Rate_monotonic_Timeout+0x9e>   
        _Thread_Unblock( the_thread );                                
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else if ( the_period->state == RATE_MONOTONIC_OWNER_IS_BLOCKING ) {
   47cc4:	7001           	moveq #1,%d0                                
   47cc6:	b0aa 0038      	cmpl %a2@(56),%d0                           
   47cca:	671c           	beqs 47ce8 <_Rate_monotonic_Timeout+0x64>   
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else                                                          
        the_period->state = RATE_MONOTONIC_EXPIRED;                   
   47ccc:	7004           	moveq #4,%d0                                
   47cce:	2540 0038      	movel %d0,%a2@(56)                          
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
   47cd2:	2039 0006 2d72 	movel 62d72 <_Thread_Dispatch_disable_level>,%d0
   47cd8:	5380           	subql #1,%d0                                
   47cda:	23c0 0006 2d72 	movel %d0,62d72 <_Thread_Dispatch_disable_level>
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
}                                                                     
   47ce0:	246e fff8      	moveal %fp@(-8),%a2                         
   47ce4:	4e5e           	unlk %fp                                    
   47ce6:	4e75           	rts                                         
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else if ( the_period->state == RATE_MONOTONIC_OWNER_IS_BLOCKING ) {
        the_period->state = RATE_MONOTONIC_EXPIRED_WHILE_BLOCKING;    
   47ce8:	103c 0003      	moveb #3,%d0                                
   47cec:	2540 0038      	movel %d0,%a2@(56)                          
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
   47cf0:	2f0a           	movel %a2,%sp@-                             
   47cf2:	4eb9 0004 7668 	jsr 47668 <_Rate_monotonic_Initiate_statistics>
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
   47cf8:	256a 003c 001c 	movel %a2@(60),%a2@(28)                     
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
   47cfe:	486a 0010      	pea %a2@(16)                                
   47d02:	4879 0006 2e32 	pea 62e32 <_Watchdog_Ticks_chain>           
   47d08:	4eb9 0004 b880 	jsr 4b880 <_Watchdog_Insert>                
   47d0e:	4fef 000c      	lea %sp@(12),%sp                            
   47d12:	2039 0006 2d72 	movel 62d72 <_Thread_Dispatch_disable_level>,%d0
   47d18:	5380           	subql #1,%d0                                
   47d1a:	23c0 0006 2d72 	movel %d0,62d72 <_Thread_Dispatch_disable_level>
   47d20:	60be           	bras 47ce0 <_Rate_monotonic_Timeout+0x5c>   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
   47d22:	2f3c 1003 fff8 	movel #268697592,%sp@-                      
   47d28:	2f08           	movel %a0,%sp@-                             
   47d2a:	4eb9 0004 a4f8 	jsr 4a4f8 <_Thread_Clear_state>             
      the_thread = the_period->owner;                                 
      if ( _States_Is_waiting_for_period( the_thread->current_state ) &&
            the_thread->Wait.id == the_period->Object.id ) {          
        _Thread_Unblock( the_thread );                                
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
   47d30:	2f0a           	movel %a2,%sp@-                             
   47d32:	4eb9 0004 7668 	jsr 47668 <_Rate_monotonic_Initiate_statistics>
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
   47d38:	256a 003c 001c 	movel %a2@(60),%a2@(28)                     
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
   47d3e:	486a 0010      	pea %a2@(16)                                
   47d42:	4879 0006 2e32 	pea 62e32 <_Watchdog_Ticks_chain>           
   47d48:	4eb9 0004 b880 	jsr 4b880 <_Watchdog_Insert>                
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
   47d4e:	4fef 0014      	lea %sp@(20),%sp                            
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
   47d52:	2039 0006 2d72 	movel 62d72 <_Thread_Dispatch_disable_level>,%d0
   47d58:	5380           	subql #1,%d0                                
   47d5a:	23c0 0006 2d72 	movel %d0,62d72 <_Thread_Dispatch_disable_level>
   47d60:	6000 ff7e      	braw 47ce0 <_Rate_monotonic_Timeout+0x5c>   
                                                                      

00048414 <_Scheduler_Handler_initialization>: #include <rtems/system.h> #include <rtems/config.h> #include <rtems/score/scheduler.h> void _Scheduler_Handler_initialization(void) {
   48414:	4e56 0000      	linkw %fp,#0                                
  (*_Scheduler.Operations.initialize)();                              
}                                                                     
   48418:	4e5e           	unlk %fp                                    
#include <rtems/config.h>                                             
#include <rtems/score/scheduler.h>                                    
                                                                      
void _Scheduler_Handler_initialization(void)                          
{                                                                     
  (*_Scheduler.Operations.initialize)();                              
   4841a:	2279 0005 f2a4 	moveal 5f2a4 <_Scheduler+0x4>,%a1           
   48420:	4ed1           	jmp %a1@                                    
	...                                                                  
                                                                      

00048440 <_Scheduler_priority_Block>: #include <rtems/score/thread.h> void _Scheduler_priority_Block( Thread_Control *the_thread ) {
   48440:	4e56 0000      	linkw %fp,#0                                
   48444:	206e 0008      	moveal %fp@(8),%a0                          
   48448:	2f0b           	movel %a3,%sp@-                             
   4844a:	2f0a           	movel %a2,%sp@-                             
)                                                                     
{                                                                     
  Scheduler_priority_Per_thread *sched_info;                          
  Chain_Control                 *ready;                               
                                                                      
  sched_info = (Scheduler_priority_Per_thread *) the_thread->scheduler_info;
   4844c:	2468 008a      	moveal %a0@(138),%a2                        
  ready      = sched_info->ready_chain;                               
   48450:	2252           	moveal %a2@,%a1                             
                                                                      
  if ( _Chain_Has_only_one_node( ready ) ) {                          
   48452:	2029 0008      	movel %a1@(8),%d0                           
   48456:	b091           	cmpl %a1@,%d0                               
   48458:	6700 0084      	beqw 484de <_Scheduler_priority_Block+0x9e> 
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
   4845c:	2450           	moveal %a0@,%a2                             
  previous       = the_node->previous;                                
   4845e:	2268 0004      	moveal %a0@(4),%a1                          
  next->previous = previous;                                          
   48462:	2549 0004      	movel %a1,%a2@(4)                           
  previous->next = next;                                              
   48466:	228a           	movel %a2,%a1@                              
  _Scheduler_priority_Ready_queue_extract( the_thread );              
                                                                      
  /* TODO: flash critical section? */                                 
                                                                      
  if ( _Thread_Is_heir( the_thread ) )                                
   48468:	b1f9 0006 10d6 	cmpal 610d6 <_Per_CPU_Information+0x10>,%a0 
   4846e:	6720           	beqs 48490 <_Scheduler_priority_Block+0x50> 
     _Scheduler_priority_Schedule_body();                             
                                                                      
  if ( _Thread_Is_executing( the_thread ) )                           
   48470:	b1f9 0006 10d2 	cmpal 610d2 <_Per_CPU_Information+0xc>,%a0  
   48476:	6708           	beqs 48480 <_Scheduler_priority_Block+0x40> 
    _Thread_Dispatch_necessary = true;                                
                                                                      
}                                                                     
   48478:	245f           	moveal %sp@+,%a2                            
   4847a:	265f           	moveal %sp@+,%a3                            
   4847c:	4e5e           	unlk %fp                                    
   4847e:	4e75           	rts                                         
   48480:	245f           	moveal %sp@+,%a2                            
                                                                      
  if ( _Thread_Is_heir( the_thread ) )                                
     _Scheduler_priority_Schedule_body();                             
                                                                      
  if ( _Thread_Is_executing( the_thread ) )                           
    _Thread_Dispatch_necessary = true;                                
   48482:	7001           	moveq #1,%d0                                
                                                                      
}                                                                     
   48484:	265f           	moveal %sp@+,%a3                            
   48486:	4e5e           	unlk %fp                                    
                                                                      
  if ( _Thread_Is_heir( the_thread ) )                                
     _Scheduler_priority_Schedule_body();                             
                                                                      
  if ( _Thread_Is_executing( the_thread ) )                           
    _Thread_Dispatch_necessary = true;                                
   48488:	13c0 0006 10de 	moveb %d0,610de <_Per_CPU_Information+0x18> 
                                                                      
}                                                                     
   4848e:	4e75           	rts                                         
RTEMS_INLINE_ROUTINE Priority_Control _Priority_bit_map_Get_highest( void )
{                                                                     
  Priority_bit_map_Control minor;                                     
  Priority_bit_map_Control major;                                     
                                                                      
  _Bitfield_Find_first_bit( _Priority_Major_bit_map, major );         
   48490:	3039 0006 10e0 	movew 610e0 <_Priority_Major_bit_map>,%d0   
   48496:	4840           	swap %d0                                    
   48498:	04c0           	ff1 %d0                                     
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
   4849a:	43f9 0006 10e4 	lea 610e4 <_Priority_Bit_map>,%a1           
   484a0:	0280 0000 ffff 	andil #65535,%d0                            
   484a6:	3231 0a00      	movew %a1@(00000000,%d0:l:2),%d1            
   484aa:	4841           	swap %d1                                    
   484ac:	04c1           	ff1 %d1                                     
   484ae:	2279 0005 f2a0 	moveal 5f2a0 <_Scheduler>,%a1               
                                                                      
  return (_Priority_Bits_index( major ) << 4) +                       
   484b4:	0281 0000 ffff 	andil #65535,%d1                            
   484ba:	e988           	lsll #4,%d0                                 
   484bc:	d081           	addl %d1,%d0                                
  Chain_Control       *the_ready_queue                                
)                                                                     
{                                                                     
  Priority_Control index = _Priority_bit_map_Get_highest();           
                                                                      
  if ( !_Chain_Is_empty( &the_ready_queue[ index ] ) )                
   484be:	2200           	movel %d0,%d1                               
   484c0:	e988           	lsll #4,%d0                                 
   484c2:	e589           	lsll #2,%d1                                 
   484c4:	9081           	subl %d1,%d0                                
   484c6:	d3c0           	addal %d0,%a1                               
   484c8:	2019           	movel %a1@+,%d0                             
   484ca:	b3c0           	cmpal %d0,%a1                               
   484cc:	6750           	beqs 4851e <_Scheduler_priority_Block+0xde> <== NEVER TAKEN
 *                                                                    
 *  @param[in] the_thread  - pointer to thread                        
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_priority_Schedule_body(void)     
{                                                                     
  _Thread_Heir = _Scheduler_priority_Ready_queue_first(               
   484ce:	23c0 0006 10d6 	movel %d0,610d6 <_Per_CPU_Information+0x10> 
  /* TODO: flash critical section? */                                 
                                                                      
  if ( _Thread_Is_heir( the_thread ) )                                
     _Scheduler_priority_Schedule_body();                             
                                                                      
  if ( _Thread_Is_executing( the_thread ) )                           
   484d4:	b1f9 0006 10d2 	cmpal 610d2 <_Per_CPU_Information+0xc>,%a0  
   484da:	669c           	bnes 48478 <_Scheduler_priority_Block+0x38> <== NEVER TAKEN
   484dc:	60a2           	bras 48480 <_Scheduler_priority_Block+0x40> 
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
   484de:	2009           	movel %a1,%d0                               
   484e0:	5880           	addql #4,%d0                                
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_bit_map_Remove (                  
  Priority_bit_map_Information *the_priority_map                      
)                                                                     
{                                                                     
  *the_priority_map->minor &= the_priority_map->block_minor;          
   484e2:	266a 0004      	moveal %a2@(4),%a3                          
   484e6:	2280           	movel %d0,%a1@                              
   484e8:	302a 000e      	movew %a2@(14),%d0                          
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
   484ec:	42a9 0004      	clrl %a1@(4)                                
  tail->previous = head;                                              
   484f0:	2349 0008      	movel %a1,%a1@(8)                           
   484f4:	3213           	movew %a3@,%d1                              
   484f6:	c081           	andl %d1,%d0                                
   484f8:	3680           	movew %d0,%a3@                              
  if ( *the_priority_map->minor == 0 )                                
   484fa:	6600 ff6c      	bnew 48468 <_Scheduler_priority_Block+0x28> 
    _Priority_Major_bit_map &= the_priority_map->block_major;         
   484fe:	3239 0006 10e0 	movew 610e0 <_Priority_Major_bit_map>,%d1   
   48504:	302a 000c      	movew %a2@(12),%d0                          
   48508:	c081           	andl %d1,%d0                                
   4850a:	33c0 0006 10e0 	movew %d0,610e0 <_Priority_Major_bit_map>   
{                                                                     
  _Scheduler_priority_Ready_queue_extract( the_thread );              
                                                                      
  /* TODO: flash critical section? */                                 
                                                                      
  if ( _Thread_Is_heir( the_thread ) )                                
   48510:	b1f9 0006 10d6 	cmpal 610d6 <_Per_CPU_Information+0x10>,%a0 
   48516:	6600 ff58      	bnew 48470 <_Scheduler_priority_Block+0x30> 
   4851a:	6000 ff74      	braw 48490 <_Scheduler_priority_Block+0x50> 
  Priority_Control index = _Priority_bit_map_Get_highest();           
                                                                      
  if ( !_Chain_Is_empty( &the_ready_queue[ index ] ) )                
    return (Thread_Control *) _Chain_First( &the_ready_queue[ index ] );
                                                                      
  return NULL;                                                        
   4851e:	4280           	clrl %d0                                    <== NOT EXECUTED
 *                                                                    
 *  @param[in] the_thread  - pointer to thread                        
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_priority_Schedule_body(void)     
{                                                                     
  _Thread_Heir = _Scheduler_priority_Ready_queue_first(               
   48520:	23c0 0006 10d6 	movel %d0,610d6 <_Per_CPU_Information+0x10> <== NOT EXECUTED
   48526:	60ac           	bras 484d4 <_Scheduler_priority_Block+0x94> <== NOT EXECUTED
                                                                      

0004861c <_Scheduler_priority_Free>: #include <rtems/score/wkspace.h> void _Scheduler_priority_Free ( Thread_Control *the_thread ) {
   4861c:	4e56 0000      	linkw %fp,#0                                
   48620:	206e 0008      	moveal %fp@(8),%a0                          
  _Workspace_Free( the_thread->scheduler_info );                      
   48624:	2d68 008a 0008 	movel %a0@(138),%fp@(8)                     
}                                                                     
   4862a:	4e5e           	unlk %fp                                    
                                                                      
void _Scheduler_priority_Free (                                       
  Thread_Control    *the_thread                                       
)                                                                     
{                                                                     
  _Workspace_Free( the_thread->scheduler_info );                      
   4862c:	4ef9 0004 9f3e 	jmp 49f3e <_Workspace_Free>                 
	...                                                                  
                                                                      

0004869c <_Scheduler_priority_Schedule>: #include <rtems/system.h> #include <rtems/score/scheduler.h> #include <rtems/score/schedulerpriority.h> void _Scheduler_priority_Schedule(void) {
   4869c:	4e56 0000      	linkw %fp,#0                                
RTEMS_INLINE_ROUTINE Priority_Control _Priority_bit_map_Get_highest( void )
{                                                                     
  Priority_bit_map_Control minor;                                     
  Priority_bit_map_Control major;                                     
                                                                      
  _Bitfield_Find_first_bit( _Priority_Major_bit_map, major );         
   486a0:	3039 0006 10e0 	movew 610e0 <_Priority_Major_bit_map>,%d0   
   486a6:	4840           	swap %d0                                    
   486a8:	04c0           	ff1 %d0                                     
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
   486aa:	41f9 0006 10e4 	lea 610e4 <_Priority_Bit_map>,%a0           
   486b0:	0280 0000 ffff 	andil #65535,%d0                            
   486b6:	3230 0a00      	movew %a0@(00000000,%d0:l:2),%d1            
   486ba:	4841           	swap %d1                                    
   486bc:	04c1           	ff1 %d1                                     
  _Scheduler_priority_Schedule_body();                                
}                                                                     
   486be:	2079 0005 f2a0 	moveal 5f2a0 <_Scheduler>,%a0               
                                                                      
  return (_Priority_Bits_index( major ) << 4) +                       
   486c4:	0281 0000 ffff 	andil #65535,%d1                            
   486ca:	e988           	lsll #4,%d0                                 
   486cc:	d081           	addl %d1,%d0                                
  Chain_Control       *the_ready_queue                                
)                                                                     
{                                                                     
  Priority_Control index = _Priority_bit_map_Get_highest();           
                                                                      
  if ( !_Chain_Is_empty( &the_ready_queue[ index ] ) )                
   486ce:	2200           	movel %d0,%d1                               
   486d0:	e988           	lsll #4,%d0                                 
   486d2:	e589           	lsll #2,%d1                                 
   486d4:	9081           	subl %d1,%d0                                
   486d6:	d1c0           	addal %d0,%a0                               
   486d8:	2018           	movel %a0@+,%d0                             
   486da:	b1c0           	cmpal %d0,%a0                               
   486dc:	670a           	beqs 486e8 <_Scheduler_priority_Schedule+0x4c><== NEVER TAKEN
 *                                                                    
 *  @param[in] the_thread  - pointer to thread                        
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_priority_Schedule_body(void)     
{                                                                     
  _Thread_Heir = _Scheduler_priority_Ready_queue_first(               
   486de:	23c0 0006 10d6 	movel %d0,610d6 <_Per_CPU_Information+0x10> 
   486e4:	4e5e           	unlk %fp                                    
   486e6:	4e75           	rts                                         
  Priority_Control index = _Priority_bit_map_Get_highest();           
                                                                      
  if ( !_Chain_Is_empty( &the_ready_queue[ index ] ) )                
    return (Thread_Control *) _Chain_First( &the_ready_queue[ index ] );
                                                                      
  return NULL;                                                        
   486e8:	4280           	clrl %d0                                    <== NOT EXECUTED
   486ea:	4e5e           	unlk %fp                                    <== NOT EXECUTED
 *                                                                    
 *  @param[in] the_thread  - pointer to thread                        
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_priority_Schedule_body(void)     
{                                                                     
  _Thread_Heir = _Scheduler_priority_Ready_queue_first(               
   486ec:	23c0 0006 10d6 	movel %d0,610d6 <_Per_CPU_Information+0x10> <== NOT EXECUTED
                                                                      

00048a28 <_Scheduler_simple_Block>: #include <rtems/score/schedulersimple.h> void _Scheduler_simple_Block( Thread_Control *the_thread ) {
   48a28:	4e56 0000      	linkw %fp,#0                                
   48a2c:	2f02           	movel %d2,%sp@-                             
   48a2e:	242e 0008      	movel %fp@(8),%d2                           
  _Scheduler_simple_Extract(the_thread);                              
   48a32:	2f02           	movel %d2,%sp@-                             
   48a34:	4eb9 0004 8a8c 	jsr 48a8c <_Scheduler_simple_Extract>       
                                                                      
  if ( _Thread_Is_heir( the_thread ) )                                
   48a3a:	588f           	addql #4,%sp                                
   48a3c:	b4b9 0006 1c2e 	cmpl 61c2e <_Per_CPU_Information+0x10>,%d2  
   48a42:	6720           	beqs 48a64 <_Scheduler_simple_Block+0x3c>   
    _Scheduler_simple_Schedule();                                     
                                                                      
  if ( _Thread_Is_executing( the_thread ) )                           
   48a44:	b4b9 0006 1c2a 	cmpl 61c2a <_Per_CPU_Information+0xc>,%d2   
   48a4a:	6708           	beqs 48a54 <_Scheduler_simple_Block+0x2c>   <== NEVER TAKEN
    _Thread_Dispatch_necessary = true;                                
}                                                                     
   48a4c:	242e fffc      	movel %fp@(-4),%d2                          
   48a50:	4e5e           	unlk %fp                                    
   48a52:	4e75           	rts                                         
   48a54:	242e fffc      	movel %fp@(-4),%d2                          
   48a58:	4e5e           	unlk %fp                                    
                                                                      
  if ( _Thread_Is_heir( the_thread ) )                                
    _Scheduler_simple_Schedule();                                     
                                                                      
  if ( _Thread_Is_executing( the_thread ) )                           
    _Thread_Dispatch_necessary = true;                                
   48a5a:	7001           	moveq #1,%d0                                
   48a5c:	13c0 0006 1c36 	moveb %d0,61c36 <_Per_CPU_Information+0x18> 
}                                                                     
   48a62:	4e75           	rts                                         
)                                                                     
{                                                                     
  _Scheduler_simple_Extract(the_thread);                              
                                                                      
  if ( _Thread_Is_heir( the_thread ) )                                
    _Scheduler_simple_Schedule();                                     
   48a64:	4eb9 0004 8b74 	jsr 48b74 <_Scheduler_simple_Schedule>      
                                                                      
  if ( _Thread_Is_executing( the_thread ) )                           
   48a6a:	b4b9 0006 1c2a 	cmpl 61c2a <_Per_CPU_Information+0xc>,%d2   
   48a70:	66da           	bnes 48a4c <_Scheduler_simple_Block+0x24>   <== NEVER TAKEN
   48a72:	60e0           	bras 48a54 <_Scheduler_simple_Block+0x2c>   
                                                                      

00048ae8 <_Scheduler_simple_Ready_queue_Enqueue_first>: #include <rtems/score/schedulersimple.h> void _Scheduler_simple_Ready_queue_Enqueue_first( Thread_Control *the_thread ) {
   48ae8:	4e56 0000      	linkw %fp,#0                                
   48aec:	226e 0008      	moveal %fp@(8),%a1                          
    }                                                                 
  }                                                                   
                                                                      
  /* enqueue */                                                       
  _Chain_Insert_unprotected( (Chain_Node *)current, &the_thread->Object.Node );
}                                                                     
   48af0:	2079 0005 fd90 	moveal 5fd90 <_Scheduler>,%a0               
#include <rtems/score/schedulersimple.h>                              
                                                                      
void _Scheduler_simple_Ready_queue_Enqueue_first(                     
  Thread_Control    *the_thread                                       
)                                                                     
{                                                                     
   48af6:	2f0a           	movel %a2,%sp@-                             
   */                                                                 
  for ( the_node = _Chain_First(ready) ; ; the_node = the_node->next ) {
    current = (Thread_Control *) the_node;                            
                                                                      
    /* break when AT HEAD OF (or PAST) our priority */                
    if ( the_thread->current_priority <= current->current_priority ) {
   48af8:	2029 0014      	movel %a1@(20),%d0                          
    }                                                                 
  }                                                                   
                                                                      
  /* enqueue */                                                       
  _Chain_Insert_unprotected( (Chain_Node *)current, &the_thread->Object.Node );
}                                                                     
   48afc:	2050           	moveal %a0@,%a0                             
   */                                                                 
  for ( the_node = _Chain_First(ready) ; ; the_node = the_node->next ) {
    current = (Thread_Control *) the_node;                            
                                                                      
    /* break when AT HEAD OF (or PAST) our priority */                
    if ( the_thread->current_priority <= current->current_priority ) {
   48afe:	b0a8 0014      	cmpl %a0@(20),%d0                           
   48b02:	6308           	blss 48b0c <_Scheduler_simple_Ready_queue_Enqueue_first+0x24>
   * Do NOT need to check for end of chain because there is always    
   * at least one task on the ready chain -- the IDLE task.  It can   
   * never block, should never attempt to obtain a semaphore or mutex,
   * and thus will always be there.                                   
   */                                                                 
  for ( the_node = _Chain_First(ready) ; ; the_node = the_node->next ) {
   48b04:	2050           	moveal %a0@,%a0                             
    current = (Thread_Control *) the_node;                            
                                                                      
    /* break when AT HEAD OF (or PAST) our priority */                
    if ( the_thread->current_priority <= current->current_priority ) {
   48b06:	b0a8 0014      	cmpl %a0@(20),%d0                           
   48b0a:	62f8           	bhis 48b04 <_Scheduler_simple_Ready_queue_Enqueue_first+0x1c><== NEVER TAKEN
      current = (Thread_Control *)current->Object.Node.previous;      
   48b0c:	2068 0004      	moveal %a0@(4),%a0                          
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
   48b10:	2450           	moveal %a0@,%a2                             
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
   48b12:	2348 0004      	movel %a0,%a1@(4)                           
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
   48b16:	2089           	movel %a1,%a0@                              
  the_node->next        = before_node;                                
  before_node->previous = the_node;                                   
   48b18:	2549 0004      	movel %a1,%a2@(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;                                
   48b1c:	228a           	movel %a2,%a1@                              
    }                                                                 
  }                                                                   
                                                                      
  /* enqueue */                                                       
  _Chain_Insert_unprotected( (Chain_Node *)current, &the_thread->Object.Node );
}                                                                     
   48b1e:	245f           	moveal %sp@+,%a2                            
   48b20:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00049028 <_TOD_Set>: */ void _TOD_Set( const struct timespec *time ) {
   49028:	4e56 0000      	linkw %fp,#0                                
   4902c:	2039 0006 37a8 	movel 637a8 <_Thread_Dispatch_disable_level>,%d0
   49032:	5280           	addql #1,%d0                                
   49034:	2f0a           	movel %a2,%sp@-                             
   49036:	246e 0008      	moveal %fp@(8),%a2                          
   4903a:	23c0 0006 37a8 	movel %d0,637a8 <_Thread_Dispatch_disable_level>
  long seconds;                                                       
                                                                      
  _Thread_Disable_dispatch();                                         
  _TOD_Deactivate();                                                  
                                                                      
  seconds = _TOD_Seconds_since_epoch();                               
   49040:	2039 0006 3832 	movel 63832 <_TOD_Now>,%d0                  
                                                                      
  if ( time->tv_sec < seconds )                                       
   49046:	2212           	movel %a2@,%d1                              
   49048:	b280           	cmpl %d0,%d1                                
   4904a:	6d38           	blts 49084 <_TOD_Set+0x5c>                  
  Watchdog_Adjust_directions direction,                               
  Watchdog_Interval          units                                    
)                                                                     
{                                                                     
                                                                      
  _Watchdog_Adjust( &_Watchdog_Seconds_chain, direction, units );     
   4904c:	9280           	subl %d0,%d1                                
   4904e:	2f01           	movel %d1,%sp@-                             
   49050:	42a7           	clrl %sp@-                                  
   49052:	4879 0006 385c 	pea 6385c <_Watchdog_Seconds_chain>         
   49058:	4eb9 0004 b828 	jsr 4b828 <_Watchdog_Adjust>                
    _Watchdog_Adjust_seconds( WATCHDOG_BACKWARD, seconds - time->tv_sec );
  else                                                                
    _Watchdog_Adjust_seconds( WATCHDOG_FORWARD, time->tv_sec - seconds );
                                                                      
  /* POSIX format TOD (timespec) */                                   
  _Timestamp_Set( &_TOD_Now, time->tv_sec, time->tv_nsec );           
   4905e:	23d2 0006 3832 	movel %a2@,63832 <_TOD_Now>                 
   49064:	588a           	addql #4,%a2                                
   49066:	4fef 000c      	lea %sp@(12),%sp                            
   4906a:	23d2 0006 3836 	movel %a2@,63836 <_TOD_Now+0x4>             
  _TOD_Is_set = true;                                                 
                                                                      
  _TOD_Activate();                                                    
                                                                      
  _Thread_Enable_dispatch();                                          
}                                                                     
   49070:	246e fffc      	moveal %fp@(-4),%a2                         
   49074:	4e5e           	unlk %fp                                    
  else                                                                
    _Watchdog_Adjust_seconds( WATCHDOG_FORWARD, time->tv_sec - seconds );
                                                                      
  /* POSIX format TOD (timespec) */                                   
  _Timestamp_Set( &_TOD_Now, time->tv_sec, time->tv_nsec );           
  _TOD_Is_set = true;                                                 
   49076:	7001           	moveq #1,%d0                                
   49078:	13c0 0006 37b8 	moveb %d0,637b8 <_TOD_Is_set>               
                                                                      
  _TOD_Activate();                                                    
                                                                      
  _Thread_Enable_dispatch();                                          
   4907e:	4ef9 0004 a83e 	jmp 4a83e <_Thread_Enable_dispatch>         
   49084:	9081           	subl %d1,%d0                                
   49086:	2f00           	movel %d0,%sp@-                             
   49088:	4878 0001      	pea 1 <ADD>                                 
   4908c:	4879 0006 385c 	pea 6385c <_Watchdog_Seconds_chain>         
   49092:	4eb9 0004 b828 	jsr 4b828 <_Watchdog_Adjust>                
    _Watchdog_Adjust_seconds( WATCHDOG_BACKWARD, seconds - time->tv_sec );
  else                                                                
    _Watchdog_Adjust_seconds( WATCHDOG_FORWARD, time->tv_sec - seconds );
                                                                      
  /* POSIX format TOD (timespec) */                                   
  _Timestamp_Set( &_TOD_Now, time->tv_sec, time->tv_nsec );           
   49098:	23d2 0006 3832 	movel %a2@,63832 <_TOD_Now>                 
   4909e:	588a           	addql #4,%a2                                
   490a0:	4fef 000c      	lea %sp@(12),%sp                            
   490a4:	23d2 0006 3836 	movel %a2@,63836 <_TOD_Now+0x4>             
  _TOD_Is_set = true;                                                 
                                                                      
  _TOD_Activate();                                                    
                                                                      
  _Thread_Enable_dispatch();                                          
}                                                                     
   490aa:	246e fffc      	moveal %fp@(-4),%a2                         
   490ae:	4e5e           	unlk %fp                                    
  else                                                                
    _Watchdog_Adjust_seconds( WATCHDOG_FORWARD, time->tv_sec - seconds );
                                                                      
  /* POSIX format TOD (timespec) */                                   
  _Timestamp_Set( &_TOD_Now, time->tv_sec, time->tv_nsec );           
  _TOD_Is_set = true;                                                 
   490b0:	7001           	moveq #1,%d0                                
   490b2:	13c0 0006 37b8 	moveb %d0,637b8 <_TOD_Is_set>               
                                                                      
  _TOD_Activate();                                                    
                                                                      
  _Thread_Enable_dispatch();                                          
   490b8:	4ef9 0004 a83e 	jmp 4a83e <_Thread_Enable_dispatch>         
	...                                                                  
                                                                      

000476b0 <_TOD_Validate>: */ bool _TOD_Validate( const rtems_time_of_day *the_tod ) {
   476b0:	4e56 0000      	linkw %fp,#0                                
   476b4:	206e 0008      	moveal %fp@(8),%a0                          
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
	    rtems_configuration_get_microseconds_per_tick();                 
   476b8:	2039 0006 1ae0 	movel 61ae0 <Configuration+0xc>,%d0         
 */                                                                   
                                                                      
bool _TOD_Validate(                                                   
  const rtems_time_of_day *the_tod                                    
)                                                                     
{                                                                     
   476be:	2f02           	movel %d2,%sp@-                             
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
	    rtems_configuration_get_microseconds_per_tick();                 
  if ((!the_tod)                                  ||                  
   476c0:	4a88           	tstl %a0                                    
   476c2:	6762           	beqs 47726 <_TOD_Validate+0x76>             <== NEVER TAKEN
)                                                                     
{                                                                     
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
   476c4:	243c 000f 4240 	movel #1000000,%d2                          
   476ca:	4c40 2002      	remul %d0,%d2,%d2                           
	    rtems_configuration_get_microseconds_per_tick();                 
  if ((!the_tod)                                  ||                  
   476ce:	b4a8 0018      	cmpl %a0@(24),%d2                           
   476d2:	6352           	blss 47726 <_TOD_Validate+0x76>             <== NEVER TAKEN
      (the_tod->ticks  >= ticks_per_second)       ||                  
   476d4:	703b           	moveq #59,%d0                               
   476d6:	b0a8 0014      	cmpl %a0@(20),%d0                           
   476da:	654a           	bcss 47726 <_TOD_Validate+0x76>             <== NEVER TAKEN
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
   476dc:	b0a8 0010      	cmpl %a0@(16),%d0                           
   476e0:	6544           	bcss 47726 <_TOD_Validate+0x76>             <== NEVER TAKEN
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
   476e2:	7217           	moveq #23,%d1                               
   476e4:	b2a8 000c      	cmpl %a0@(12),%d1                           
   476e8:	653c           	bcss 47726 <_TOD_Validate+0x76>             <== NEVER TAKEN
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
   476ea:	2028 0004      	movel %a0@(4),%d0                           
	    rtems_configuration_get_microseconds_per_tick();                 
  if ((!the_tod)                                  ||                  
      (the_tod->ticks  >= ticks_per_second)       ||                  
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
   476ee:	6736           	beqs 47726 <_TOD_Validate+0x76>             <== NEVER TAKEN
      (the_tod->month  == 0)                      ||                  
   476f0:	740c           	moveq #12,%d2                               
   476f2:	b480           	cmpl %d0,%d2                                
   476f4:	6530           	bcss 47726 <_TOD_Validate+0x76>             <== NEVER TAKEN
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
   476f6:	2210           	movel %a0@,%d1                              
      (the_tod->ticks  >= ticks_per_second)       ||                  
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
   476f8:	0c81 0000 07c3 	cmpil #1987,%d1                             
   476fe:	6326           	blss 47726 <_TOD_Validate+0x76>             <== NEVER TAKEN
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
      (the_tod->day    == 0) )                                        
   47700:	2068 0008      	moveal %a0@(8),%a0                          
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
   47704:	4a88           	tstl %a0                                    
   47706:	671e           	beqs 47726 <_TOD_Validate+0x76>             <== NEVER TAKEN
      (the_tod->day    == 0) )                                        
     return false;                                                    
                                                                      
  if ( (the_tod->year % 4) == 0 )                                     
   47708:	143c 0003      	moveb #3,%d2                                
   4770c:	c282           	andl %d2,%d1                                
   4770e:	661e           	bnes 4772e <_TOD_Validate+0x7e>             
    days_in_month = _TOD_Days_per_month[ 1 ][ the_tod->month ];       
   47710:	43f9 0006 0a96 	lea 60a96 <_TOD_Days_per_month>,%a1         
   47716:	2031 0c34      	movel %a1@(00000034,%d0:l:4),%d0            
 *    false - if the the_tod is invalid                               
 *                                                                    
 *  NOTE: This routine only works for leap-years through 2099.        
 */                                                                   
                                                                      
bool _TOD_Validate(                                                   
   4771a:	b1c0           	cmpal %d0,%a0                               
   4771c:	53c0           	sls %d0                                     
   4771e:	4480           	negl %d0                                    
                                                                      
  if ( the_tod->day > days_in_month )                                 
    return false;                                                     
                                                                      
  return true;                                                        
}                                                                     
   47720:	241f           	movel %sp@+,%d2                             
   47722:	4e5e           	unlk %fp                                    
   47724:	4e75           	rts                                         
   47726:	241f           	movel %sp@+,%d2                             
   47728:	4e5e           	unlk %fp                                    
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
      (the_tod->day    == 0) )                                        
     return false;                                                    
   4772a:	4200           	clrb %d0                                    
                                                                      
  if ( the_tod->day > days_in_month )                                 
    return false;                                                     
                                                                      
  return true;                                                        
}                                                                     
   4772c:	4e75           	rts                                         
     return false;                                                    
                                                                      
  if ( (the_tod->year % 4) == 0 )                                     
    days_in_month = _TOD_Days_per_month[ 1 ][ the_tod->month ];       
  else                                                                
    days_in_month = _TOD_Days_per_month[ 0 ][ the_tod->month ];       
   4772e:	43f9 0006 0a96 	lea 60a96 <_TOD_Days_per_month>,%a1         
   47734:	2031 0c00      	movel %a1@(00000000,%d0:l:4),%d0            
 *    false - if the the_tod is invalid                               
 *                                                                    
 *  NOTE: This routine only works for leap-years through 2099.        
 */                                                                   
                                                                      
bool _TOD_Validate(                                                   
   47738:	b1c0           	cmpal %d0,%a0                               
   4773a:	53c0           	sls %d0                                     
   4773c:	4480           	negl %d0                                    
   4773e:	60e0           	bras 47720 <_TOD_Validate+0x70>             
                                                                      

000488d8 <_Thread_Change_priority>: void _Thread_Change_priority( Thread_Control *the_thread, Priority_Control new_priority, bool prepend_it ) {
   488d8:	4e56 fff0      	linkw %fp,#-16                              
   488dc:	48d7 041c      	moveml %d2-%d4/%a2,%sp@                     
   488e0:	246e 0008      	moveal %fp@(8),%a2                          
  States_Control state, original_state;                               
                                                                      
  /*                                                                  
   * Save original state                                              
   */                                                                 
  original_state = the_thread->current_state;                         
   488e4:	262a 0010      	movel %a2@(16),%d3                          
void _Thread_Change_priority(                                         
  Thread_Control   *the_thread,                                       
  Priority_Control  new_priority,                                     
  bool              prepend_it                                        
)                                                                     
{                                                                     
   488e8:	242e 000c      	movel %fp@(12),%d2                          
  /*                                                                  
   * Set a transient state for the thread so it is pulled off the Ready chains.
   * This will prevent it from being scheduled no matter what happens in an
   * ISR.                                                             
   */                                                                 
  _Thread_Set_transient( the_thread );                                
   488ec:	2f0a           	movel %a2,%sp@-                             
void _Thread_Change_priority(                                         
  Thread_Control   *the_thread,                                       
  Priority_Control  new_priority,                                     
  bool              prepend_it                                        
)                                                                     
{                                                                     
   488ee:	182e 0013      	moveb %fp@(19),%d4                          
  /*                                                                  
   * Set a transient state for the thread so it is pulled off the Ready chains.
   * This will prevent it from being scheduled no matter what happens in an
   * ISR.                                                             
   */                                                                 
  _Thread_Set_transient( the_thread );                                
   488f2:	4eb9 0004 96f0 	jsr 496f0 <_Thread_Set_transient>           
                                                                      
  /*                                                                  
   *  Do not bother recomputing all the priority related information if
   *  we are not REALLY changing priority.                            
   */                                                                 
 if ( the_thread->current_priority != new_priority )                  
   488f8:	588f           	addql #4,%sp                                
   488fa:	b4aa 0014      	cmpl %a2@(20),%d2                           
   488fe:	670c           	beqs 4890c <_Thread_Change_priority+0x34>   
    _Thread_Set_priority( the_thread, new_priority );                 
   48900:	2f02           	movel %d2,%sp@-                             
   48902:	2f0a           	movel %a2,%sp@-                             
   48904:	4eb9 0004 968c 	jsr 4968c <_Thread_Set_priority>            
   4890a:	508f           	addql #8,%sp                                
                                                                      
  _ISR_Disable( level );                                              
   4890c:	203c 0000 0700 	movel #1792,%d0                             
   48912:	40c2           	movew %sr,%d2                               
   48914:	8082           	orl %d2,%d0                                 
   48916:	46c0           	movew %d0,%sr                               
                                                                      
  /*                                                                  
   *  If the thread has more than STATES_TRANSIENT set, then it is blocked,
   *  If it is blocked on a thread queue, then we need to requeue it. 
   */                                                                 
  state = the_thread->current_state;                                  
   48918:	202a 0010      	movel %a2@(16),%d0                          
  if ( state != STATES_TRANSIENT ) {                                  
   4891c:	7204           	moveq #4,%d1                                
   4891e:	b280           	cmpl %d0,%d1                                
   48920:	6738           	beqs 4895a <_Thread_Change_priority+0x82>   
    /* Only clear the transient state if it wasn't set already */     
    if ( ! _States_Is_transient( original_state ) )                   
   48922:	44c3           	movew %d3,%ccr                              
   48924:	6708           	beqs 4892e <_Thread_Change_priority+0x56>   <== NEVER TAKEN
RTEMS_INLINE_ROUTINE States_Control _States_Clear (                   
  States_Control states_to_clear,                                     
  States_Control current_state                                        
)                                                                     
{                                                                     
   return (current_state & ~states_to_clear);                         
   48926:	72fb           	moveq #-5,%d1                               
   48928:	c280           	andl %d0,%d1                                
   4892a:	2541 0010      	movel %d1,%a2@(16)                          
      the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
    _ISR_Enable( level );                                             
   4892e:	46c2           	movew %d2,%sr                               
 */                                                                   
RTEMS_INLINE_ROUTINE bool _States_Is_waiting_on_thread_queue (        
  States_Control the_states                                           
)                                                                     
{                                                                     
   return (the_states & STATES_WAITING_ON_THREAD_QUEUE);              
   48930:	0280 0003 bee0 	andil #245472,%d0                           
    if ( _States_Is_waiting_on_thread_queue( state ) ) {              
   48936:	660a           	bnes 48942 <_Thread_Change_priority+0x6a>   
                                                                      
  if ( !_Thread_Is_executing_also_the_heir() &&                       
       _Thread_Executing->is_preemptible )                            
    _Thread_Dispatch_necessary = true;                                
  _ISR_Enable( level );                                               
}                                                                     
   48938:	4cee 041c fff0 	moveml %fp@(-16),%d2-%d4/%a2                
   4893e:	4e5e           	unlk %fp                                    
   48940:	4e75           	rts                                         
    /* Only clear the transient state if it wasn't set already */     
    if ( ! _States_Is_transient( original_state ) )                   
      the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
    _ISR_Enable( level );                                             
    if ( _States_Is_waiting_on_thread_queue( state ) ) {              
      _Thread_queue_Requeue( the_thread->Wait.queue, the_thread );    
   48942:	2d4a 000c      	movel %a2,%fp@(12)                          
   48946:	2d6a 0044 0008 	movel %a2@(68),%fp@(8)                      
                                                                      
  if ( !_Thread_Is_executing_also_the_heir() &&                       
       _Thread_Executing->is_preemptible )                            
    _Thread_Dispatch_necessary = true;                                
  _ISR_Enable( level );                                               
}                                                                     
   4894c:	4cee 041c fff0 	moveml %fp@(-16),%d2-%d4/%a2                
   48952:	4e5e           	unlk %fp                                    
    /* Only clear the transient state if it wasn't set already */     
    if ( ! _States_Is_transient( original_state ) )                   
      the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
    _ISR_Enable( level );                                             
    if ( _States_Is_waiting_on_thread_queue( state ) ) {              
      _Thread_queue_Requeue( the_thread->Wait.queue, the_thread );    
   48954:	4ef9 0004 95e0 	jmp 495e0 <_Thread_queue_Requeue>           
    }                                                                 
    return;                                                           
  }                                                                   
                                                                      
  /* Only clear the transient state if it wasn't set already */       
  if ( ! _States_Is_transient( original_state ) ) {                   
   4895a:	44c3           	movew %d3,%ccr                              
   4895c:	6714           	beqs 48972 <_Thread_Change_priority+0x9a>   <== NEVER TAKEN
     *  Interrupts are STILL disabled.                                
     *  We now know the thread will be in the READY state when we remove
     *  the TRANSIENT state.  So we have to place it on the appropriate
     *  Ready Queue with interrupts off.                              
     */                                                               
    the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
   4895e:	42aa 0010      	clrl %a2@(16)                               
                                                                      
    if ( prepend_it )                                                 
   48962:	4a04           	tstb %d4                                    
   48964:	6748           	beqs 489ae <_Thread_Change_priority+0xd6>   
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_Enqueue_first(                   
  Thread_Control    *the_thread                                       
)                                                                     
{                                                                     
  _Scheduler.Operations.enqueue_first( the_thread );                  
   48966:	2f0a           	movel %a2,%sp@-                             
   48968:	2079 0005 f2c8 	moveal 5f2c8 <_Scheduler+0x28>,%a0          
   4896e:	4e90           	jsr %a0@                                    
   48970:	588f           	addql #4,%sp                                
      _Scheduler_Enqueue_first( the_thread );                         
    else                                                              
      _Scheduler_Enqueue( the_thread );                               
  }                                                                   
                                                                      
  _ISR_Flash( level );                                                
   48972:	203c 0000 0700 	movel #1792,%d0                             
   48978:	46c2           	movew %d2,%sr                               
   4897a:	8082           	orl %d2,%d0                                 
   4897c:	46c0           	movew %d0,%sr                               
 *  This kernel routine implements the scheduling decision logic for  
 *  the scheduler. It does NOT dispatch.                              
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_Schedule( void )                 
{                                                                     
  _Scheduler.Operations.schedule();                                   
   4897e:	2079 0005 f2a8 	moveal 5f2a8 <_Scheduler+0x8>,%a0           
   48984:	4e90           	jsr %a0@                                    
 *  is also the heir thread, and false otherwise.                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing_also_the_heir( void )  
{                                                                     
  return ( _Thread_Executing == _Thread_Heir );                       
   48986:	2079 0006 10d2 	moveal 610d2 <_Per_CPU_Information+0xc>,%a0 
   *  We altered the set of thread priorities.  So let's figure out   
   *  who is the heir and if we need to switch to them.               
   */                                                                 
  _Scheduler_Schedule();                                              
                                                                      
  if ( !_Thread_Is_executing_also_the_heir() &&                       
   4898c:	b1f9 0006 10d6 	cmpal 610d6 <_Per_CPU_Information+0x10>,%a0 
   48992:	670e           	beqs 489a2 <_Thread_Change_priority+0xca>   
   48994:	4a28 0074      	tstb %a0@(116)                              
   48998:	6708           	beqs 489a2 <_Thread_Change_priority+0xca>   
       _Thread_Executing->is_preemptible )                            
    _Thread_Dispatch_necessary = true;                                
   4899a:	7001           	moveq #1,%d0                                
   4899c:	13c0 0006 10de 	moveb %d0,610de <_Per_CPU_Information+0x18> 
  _ISR_Enable( level );                                               
   489a2:	46c2           	movew %d2,%sr                               
}                                                                     
   489a4:	4cee 041c fff0 	moveml %fp@(-16),%d2-%d4/%a2                
   489aa:	4e5e           	unlk %fp                                    
   489ac:	4e75           	rts                                         
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_Enqueue(                         
  Thread_Control    *the_thread                                       
)                                                                     
{                                                                     
  _Scheduler.Operations.enqueue( the_thread );                        
   489ae:	2f0a           	movel %a2,%sp@-                             
   489b0:	2079 0005 f2c4 	moveal 5f2c4 <_Scheduler+0x24>,%a0          
   489b6:	4e90           	jsr %a0@                                    
   489b8:	588f           	addql #4,%sp                                
   489ba:	60b6           	bras 48972 <_Thread_Change_priority+0x9a>   
                                                                      

00048a18 <_Thread_Close>: RTEMS_INLINE_ROUTINE void _Objects_Invalidate_Id( Objects_Information *information, Objects_Control *the_object ) { _Objects_Set_local_object(
   48a18:	4280           	clrl %d0                                    
                                                                      
void _Thread_Close(                                                   
  Objects_Information  *information,                                  
  Thread_Control       *the_thread                                    
)                                                                     
{                                                                     
   48a1a:	4e56 0000      	linkw %fp,#0                                
   48a1e:	2f0b           	movel %a3,%sp@-                             
   48a20:	266e 0008      	moveal %fp@(8),%a3                          
   48a24:	2f0a           	movel %a2,%sp@-                             
   48a26:	246e 000c      	moveal %fp@(12),%a2                         
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
   48a2a:	206b 0018      	moveal %a3@(24),%a0                         
RTEMS_INLINE_ROUTINE void _Objects_Invalidate_Id(                     
  Objects_Information  *information,                                  
  Objects_Control      *the_object                                    
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
   48a2e:	302a 000a      	movew %a2@(10),%d0                          
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
   48a32:	42b0 0c00      	clrl %a0@(00000000,%d0:l:4)                 
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
   48a36:	2039 0006 0c68 	movel 60c68 <_Thread_Dispatch_disable_level>,%d0
   48a3c:	5380           	subql #1,%d0                                
   *  disappear and set a transient state on it.  So we temporarily   
   *  unnest dispatching.                                             
   */                                                                 
  _Thread_Unnest_dispatch();                                          
                                                                      
  _User_extensions_Thread_delete( the_thread );                       
   48a3e:	2f0a           	movel %a2,%sp@-                             
   48a40:	23c0 0006 0c68 	movel %d0,60c68 <_Thread_Dispatch_disable_level>
   48a46:	4eb9 0004 9b80 	jsr 49b80 <_User_extensions_Thread_delete>  
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
   48a4c:	2039 0006 0c68 	movel 60c68 <_Thread_Dispatch_disable_level>,%d0
   48a52:	5280           	addql #1,%d0                                
   48a54:	23c0 0006 0c68 	movel %d0,60c68 <_Thread_Dispatch_disable_level>
  /*                                                                  
   *  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 );                 
   48a5a:	2f0a           	movel %a2,%sp@-                             
   48a5c:	2f0b           	movel %a3,%sp@-                             
   48a5e:	4eb9 0004 7c70 	jsr 47c70 <_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 );                    
   48a64:	4878 0001      	pea 1 <ADD>                                 
   48a68:	2f0a           	movel %a2,%sp@-                             
   48a6a:	4eb9 0004 96a4 	jsr 496a4 <_Thread_Set_state>               
                                                                      
  if ( !_Thread_queue_Extract_with_proxy( the_thread ) ) {            
   48a70:	2f0a           	movel %a2,%sp@-                             
   48a72:	4eb9 0004 94dc 	jsr 494dc <_Thread_queue_Extract_with_proxy>
   48a78:	4fef 0018      	lea %sp@(24),%sp                            
   48a7c:	4a00           	tstb %d0                                    
   48a7e:	660a           	bnes 48a8a <_Thread_Close+0x72>             
    if ( _Watchdog_Is_active( &the_thread->Timer ) )                  
   48a80:	7002           	moveq #2,%d0                                
   48a82:	b0aa 0050      	cmpl %a2@(80),%d0                           
   48a86:	6700 0088      	beqw 48b10 <_Thread_Close+0xf8>             
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_Free(                            
  Thread_Control    *the_thread                                       
)                                                                     
{                                                                     
  return _Scheduler.Operations.free( the_thread );                    
   48a8a:	2f0a           	movel %a2,%sp@-                             
   48a8c:	2079 0005 f2bc 	moveal 5f2bc <_Scheduler+0x1c>,%a0          
   48a92:	4e90           	jsr %a0@                                    
  /*                                                                  
   *  The thread might have been FP.  So deal with that.              
   */                                                                 
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
#if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                            
  if ( _Thread_Is_allocated_fp( the_thread ) )                        
   48a94:	588f           	addql #4,%sp                                
   48a96:	b5f9 0006 0cea 	cmpal 60cea <_Thread_Allocated_fp>,%a2      
   48a9c:	6736           	beqs 48ad4 <_Thread_Close+0xbc>             
    _Thread_Deallocate_fp();                                          
#endif                                                                
  the_thread->fp_context = NULL;                                      
                                                                      
  _Workspace_Free( the_thread->Start.fp_context );                    
   48a9e:	2f2a 00ba      	movel %a2@(186),%sp@-                       
   48aa2:	47f9 0004 9f3e 	lea 49f3e <_Workspace_Free>,%a3             
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
#if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                            
  if ( _Thread_Is_allocated_fp( the_thread ) )                        
    _Thread_Deallocate_fp();                                          
#endif                                                                
  the_thread->fp_context = NULL;                                      
   48aa8:	42aa 00f6      	clrl %a2@(246)                              
                                                                      
  _Workspace_Free( the_thread->Start.fp_context );                    
   48aac:	4e93           	jsr %a3@                                    
                                                                      
  /*                                                                  
   *  Free the rest of the memory associated with this task           
   *  and set the associated pointers to NULL for safety.             
   */                                                                 
  _Thread_Stack_Free( the_thread );                                   
   48aae:	2f0a           	movel %a2,%sp@-                             
   48ab0:	4eb9 0004 979c 	jsr 4979c <_Thread_Stack_Free>              
  the_thread->Start.stack = NULL;                                     
                                                                      
  _Workspace_Free( the_thread->extensions );                          
   48ab6:	2f2a 0106      	movel %a2@(262),%sp@-                       
  /*                                                                  
   *  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;                                     
   48aba:	42aa 00be      	clrl %a2@(190)                              
                                                                      
  _Workspace_Free( the_thread->extensions );                          
   48abe:	4e93           	jsr %a3@                                    
  the_thread->extensions = NULL;                                      
}                                                                     
   48ac0:	266e fffc      	moveal %fp@(-4),%a3                         
   */                                                                 
  _Thread_Stack_Free( the_thread );                                   
  the_thread->Start.stack = NULL;                                     
                                                                      
  _Workspace_Free( the_thread->extensions );                          
  the_thread->extensions = NULL;                                      
   48ac4:	4fef 000c      	lea %sp@(12),%sp                            
   48ac8:	42aa 0106      	clrl %a2@(262)                              
}                                                                     
   48acc:	246e fff8      	moveal %fp@(-8),%a2                         
   48ad0:	4e5e           	unlk %fp                                    
   48ad2:	4e75           	rts                                         
  if ( _Thread_Is_allocated_fp( the_thread ) )                        
    _Thread_Deallocate_fp();                                          
#endif                                                                
  the_thread->fp_context = NULL;                                      
                                                                      
  _Workspace_Free( the_thread->Start.fp_context );                    
   48ad4:	2f2a 00ba      	movel %a2@(186),%sp@-                       
   48ad8:	47f9 0004 9f3e 	lea 49f3e <_Workspace_Free>,%a3             
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
#if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                            
  if ( _Thread_Is_allocated_fp( the_thread ) )                        
    _Thread_Deallocate_fp();                                          
#endif                                                                
  the_thread->fp_context = NULL;                                      
   48ade:	42aa 00f6      	clrl %a2@(246)                              
 */                                                                   
                                                                      
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
RTEMS_INLINE_ROUTINE void _Thread_Deallocate_fp( void )               
{                                                                     
  _Thread_Allocated_fp = NULL;                                        
   48ae2:	42b9 0006 0cea 	clrl 60cea <_Thread_Allocated_fp>           
                                                                      
  _Workspace_Free( the_thread->Start.fp_context );                    
   48ae8:	4e93           	jsr %a3@                                    
                                                                      
  /*                                                                  
   *  Free the rest of the memory associated with this task           
   *  and set the associated pointers to NULL for safety.             
   */                                                                 
  _Thread_Stack_Free( the_thread );                                   
   48aea:	2f0a           	movel %a2,%sp@-                             
   48aec:	4eb9 0004 979c 	jsr 4979c <_Thread_Stack_Free>              
  the_thread->Start.stack = NULL;                                     
                                                                      
  _Workspace_Free( the_thread->extensions );                          
   48af2:	2f2a 0106      	movel %a2@(262),%sp@-                       
  /*                                                                  
   *  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;                                     
   48af6:	42aa 00be      	clrl %a2@(190)                              
                                                                      
  _Workspace_Free( the_thread->extensions );                          
   48afa:	4e93           	jsr %a3@                                    
  the_thread->extensions = NULL;                                      
}                                                                     
   48afc:	266e fffc      	moveal %fp@(-4),%a3                         
   */                                                                 
  _Thread_Stack_Free( the_thread );                                   
  the_thread->Start.stack = NULL;                                     
                                                                      
  _Workspace_Free( the_thread->extensions );                          
  the_thread->extensions = NULL;                                      
   48b00:	4fef 000c      	lea %sp@(12),%sp                            
   48b04:	42aa 0106      	clrl %a2@(262)                              
}                                                                     
   48b08:	246e fff8      	moveal %fp@(-8),%a2                         
   48b0c:	4e5e           	unlk %fp                                    
   48b0e:	4e75           	rts                                         
   */                                                                 
  _Thread_Set_state( the_thread, STATES_DORMANT );                    
                                                                      
  if ( !_Thread_queue_Extract_with_proxy( the_thread ) ) {            
    if ( _Watchdog_Is_active( &the_thread->Timer ) )                  
      (void) _Watchdog_Remove( &the_thread->Timer );                  
   48b10:	486a 0048      	pea %a2@(72)                                
   48b14:	4eb9 0004 9da0 	jsr 49da0 <_Watchdog_Remove>                
   48b1a:	588f           	addql #4,%sp                                
   48b1c:	2079 0005 f2bc 	moveal 5f2bc <_Scheduler+0x1c>,%a0          
   48b22:	2f0a           	movel %a2,%sp@-                             
   48b24:	4e90           	jsr %a0@                                    
  /*                                                                  
   *  The thread might have been FP.  So deal with that.              
   */                                                                 
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
#if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                            
  if ( _Thread_Is_allocated_fp( the_thread ) )                        
   48b26:	588f           	addql #4,%sp                                
   48b28:	b5f9 0006 0cea 	cmpal 60cea <_Thread_Allocated_fp>,%a2      
   48b2e:	6600 ff6e      	bnew 48a9e <_Thread_Close+0x86>             
   48b32:	60a0           	bras 48ad4 <_Thread_Close+0xbc>             <== NOT EXECUTED
                                                                      

00048be4 <_Thread_Delay_ended>: void _Thread_Delay_ended( Objects_Id id, void *ignored __attribute__((unused)) ) {
   48be4:	4e56 fffc      	linkw %fp,#-4                               
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
                                                                      
  the_thread = _Thread_Get( id, &location );                          
   48be8:	486e fffc      	pea %fp@(-4)                                
   48bec:	2f2e 0008      	movel %fp@(8),%sp@-                         
   48bf0:	4eb9 0004 8db0 	jsr 48db0 <_Thread_Get>                     
  switch ( location ) {                                               
   48bf6:	508f           	addql #8,%sp                                
   48bf8:	4aae fffc      	tstl %fp@(-4)                               
   48bfc:	661e           	bnes 48c1c <_Thread_Delay_ended+0x38>       <== NEVER TAKEN
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_Clear_state(                                            
   48bfe:	2f3c 1000 0018 	movel #268435480,%sp@-                      
   48c04:	2f00           	movel %d0,%sp@-                             
   48c06:	4eb9 0004 89bc 	jsr 489bc <_Thread_Clear_state>             
   48c0c:	508f           	addql #8,%sp                                
   48c0e:	2039 0006 0c68 	movel 60c68 <_Thread_Dispatch_disable_level>,%d0
   48c14:	5380           	subql #1,%d0                                
   48c16:	23c0 0006 0c68 	movel %d0,60c68 <_Thread_Dispatch_disable_level>
          | STATES_INTERRUPTIBLE_BY_SIGNAL                            
      );                                                              
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
   48c1c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00048c20 <_Thread_Dispatch>: * dispatch thread * no dispatch thread */ void _Thread_Dispatch( void ) {
   48c20:	4e56 ffc8      	linkw %fp,#-56                              
   48c24:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
  Thread_Control   *executing;                                        
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
   48c28:	283c 0000 0700 	movel #1792,%d4                             
   48c2e:	2004           	movel %d4,%d0                               
{                                                                     
  Thread_Control   *executing;                                        
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
   48c30:	2479 0006 10d2 	moveal 610d2 <_Per_CPU_Information+0xc>,%a2 
  _ISR_Disable( level );                                              
   48c36:	40c1           	movew %sr,%d1                               
   48c38:	8081           	orl %d1,%d0                                 
   48c3a:	46c0           	movew %d0,%sr                               
  while ( _Thread_Dispatch_necessary == true ) {                      
   48c3c:	1039 0006 10de 	moveb 610de <_Per_CPU_Information+0x18>,%d0 
   48c42:	6700 0120      	beqw 48d64 <_Thread_Dispatch+0x144>         
    heir = _Thread_Heir;                                              
    _Thread_Dispatch_disable_level = 1;                               
   48c46:	7001           	moveq #1,%d0                                
   48c48:	23c0 0006 0c68 	movel %d0,60c68 <_Thread_Dispatch_disable_level>
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
    heir = _Thread_Heir;                                              
   48c4e:	2679 0006 10d6 	moveal 610d6 <_Per_CPU_Information+0x10>,%a3
    _Thread_Dispatch_disable_level = 1;                               
    _Thread_Dispatch_necessary = false;                               
   48c54:	4200           	clrb %d0                                    
    _Thread_Executing = heir;                                         
   48c56:	23cb 0006 10d2 	movel %a3,610d2 <_Per_CPU_Information+0xc>  
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
    heir = _Thread_Heir;                                              
    _Thread_Dispatch_disable_level = 1;                               
    _Thread_Dispatch_necessary = false;                               
   48c5c:	13c0 0006 10de 	moveb %d0,610de <_Per_CPU_Information+0x18> 
    /*                                                                
     *  When the heir and executing are the same, then we are being   
     *  requested to do the post switch dispatching.  This is normally
     *  done to dispatch signals.                                     
     */                                                               
    if ( heir == executing )                                          
   48c62:	b7ca           	cmpal %a2,%a3                               
   48c64:	6700 00fe      	beqw 48d64 <_Thread_Dispatch+0x144>         
   48c68:	260e           	movel %fp,%d3                               
   48c6a:	240e           	movel %fp,%d2                               
   48c6c:	5183           	subql #8,%d3                                
   48c6e:	2e3c 0004 c960 	movel #313696,%d7                           
   48c74:	0682 ffff fff0 	addil #-16,%d2                              
   48c7a:	2c3c 0004 9944 	movel #301380,%d6                           
   48c80:	2a3c 0004 98fc 	movel #301308,%d5                           
   48c86:	4bf9 0004 9c0c 	lea 49c0c <_User_extensions_Thread_switch>,%a5
   48c8c:	49f9 0004 9f8c 	lea 49f8c <_CPU_Context_switch>,%a4         
     */                                                               
#if __RTEMS_ADA__                                                     
    executing->rtems_ada_self = rtems_ada_self;                       
    rtems_ada_self = heir->rtems_ada_self;                            
#endif                                                                
    if ( heir->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE )
   48c92:	7001           	moveq #1,%d0                                
   48c94:	b0ab 007a      	cmpl %a3@(122),%d0                          
   48c98:	6700 00e2      	beqw 48d7c <_Thread_Dispatch+0x15c>         
      heir->cpu_time_budget = _Thread_Ticks_per_timeslice;            
                                                                      
    _ISR_Enable( level );                                             
   48c9c:	46c1           	movew %d1,%sr                               
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
   48c9e:	2f03           	movel %d3,%sp@-                             
   48ca0:	2047           	moveal %d7,%a0                              
   48ca2:	4e90           	jsr %a0@                                    
        _Timestamp_Subtract(                                          
   48ca4:	2046           	moveal %d6,%a0                              
   48ca6:	2f02           	movel %d2,%sp@-                             
   48ca8:	2f03           	movel %d3,%sp@-                             
   48caa:	4879 0006 0d14 	pea 60d14 <_Thread_Time_of_last_context_switch>
   48cb0:	4e90           	jsr %a0@                                    
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
   48cb2:	2045           	moveal %d5,%a0                              
   48cb4:	2f02           	movel %d2,%sp@-                             
   48cb6:	486a 0082      	pea %a2@(130)                               
   48cba:	4e90           	jsr %a0@                                    
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
   48cbc:	2079 0006 0cee 	moveal 60cee <_Thread_libc_reent>,%a0       
   48cc2:	4fef 0018      	lea %sp@(24),%sp                            
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
        _Thread_Time_of_last_context_switch = uptime;                 
   48cc6:	202e fff8      	movel %fp@(-8),%d0                          
   48cca:	222e fffc      	movel %fp@(-4),%d1                          
   48cce:	23c0 0006 0d14 	movel %d0,60d14 <_Thread_Time_of_last_context_switch>
   48cd4:	23c1 0006 0d18 	movel %d1,60d18 <_Thread_Time_of_last_context_switch+0x4>
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
   48cda:	4a88           	tstl %a0                                    
   48cdc:	6708           	beqs 48ce6 <_Thread_Dispatch+0xc6>          <== NEVER TAKEN
      executing->libc_reent = *_Thread_libc_reent;                    
   48cde:	2550 00fa      	movel %a0@,%a2@(250)                        
      *_Thread_libc_reent = heir->libc_reent;                         
   48ce2:	20ab 00fa      	movel %a3@(250),%a0@                        
    }                                                                 
                                                                      
    _User_extensions_Thread_switch( executing, heir );                
   48ce6:	2f0b           	movel %a3,%sp@-                             
   48ce8:	2f0a           	movel %a2,%sp@-                             
   48cea:	4e95           	jsr %a5@                                    
    if ( executing->fp_context != NULL )                              
      _Context_Save_fp( &executing->fp_context );                     
#endif                                                                
#endif                                                                
                                                                      
    _Context_Switch( &executing->Registers, &heir->Registers );       
   48cec:	486b 00c2      	pea %a3@(194)                               
   48cf0:	486a 00c2      	pea %a2@(194)                               
   48cf4:	4e94           	jsr %a4@                                    
                                                                      
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
#if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                            
    if ( (executing->fp_context != NULL) &&                           
   48cf6:	4fef 0010      	lea %sp@(16),%sp                            
   48cfa:	4aaa 00f6      	tstl %a2@(246)                              
   48cfe:	672c           	beqs 48d2c <_Thread_Dispatch+0x10c>         
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
RTEMS_INLINE_ROUTINE bool _Thread_Is_allocated_fp (                   
  const Thread_Control *the_thread                                    
)                                                                     
{                                                                     
  return ( the_thread == _Thread_Allocated_fp );                      
   48d00:	2079 0006 0cea 	moveal 60cea <_Thread_Allocated_fp>,%a0     
   48d06:	b1ca           	cmpal %a2,%a0                               
   48d08:	6722           	beqs 48d2c <_Thread_Dispatch+0x10c>         
         !_Thread_Is_allocated_fp( executing ) ) {                    
      if ( _Thread_Allocated_fp != NULL )                             
   48d0a:	4a88           	tstl %a0                                    
   48d0c:	670c           	beqs 48d1a <_Thread_Dispatch+0xfa>          
        _Context_Save_fp( &_Thread_Allocated_fp->fp_context );        
   48d0e:	4868 00f6      	pea %a0@(246)                               
   48d12:	4eb9 0004 a0b2 	jsr 4a0b2 <_CPU_Context_save_fp>            
   48d18:	588f           	addql #4,%sp                                
      _Context_Restore_fp( &executing->fp_context );                  
   48d1a:	486a 00f6      	pea %a2@(246)                               
   48d1e:	4eb9 0004 a0ea 	jsr 4a0ea <_CPU_Context_restore_fp>         
      _Thread_Allocated_fp = executing;                               
   48d24:	588f           	addql #4,%sp                                
   48d26:	23ca 0006 0cea 	movel %a2,60cea <_Thread_Allocated_fp>      
    if ( executing->fp_context != NULL )                              
      _Context_Restore_fp( &executing->fp_context );                  
#endif                                                                
#endif                                                                
                                                                      
    executing = _Thread_Executing;                                    
   48d2c:	2479 0006 10d2 	moveal 610d2 <_Per_CPU_Information+0xc>,%a2 
                                                                      
    _ISR_Disable( level );                                            
   48d32:	2004           	movel %d4,%d0                               
   48d34:	40c1           	movew %sr,%d1                               
   48d36:	8081           	orl %d1,%d0                                 
   48d38:	46c0           	movew %d0,%sr                               
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
   48d3a:	1039 0006 10de 	moveb 610de <_Per_CPU_Information+0x18>,%d0 
   48d40:	6722           	beqs 48d64 <_Thread_Dispatch+0x144>         
    heir = _Thread_Heir;                                              
    _Thread_Dispatch_disable_level = 1;                               
   48d42:	7001           	moveq #1,%d0                                
   48d44:	23c0 0006 0c68 	movel %d0,60c68 <_Thread_Dispatch_disable_level>
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
    heir = _Thread_Heir;                                              
   48d4a:	2679 0006 10d6 	moveal 610d6 <_Per_CPU_Information+0x10>,%a3
    _Thread_Dispatch_disable_level = 1;                               
    _Thread_Dispatch_necessary = false;                               
   48d50:	4200           	clrb %d0                                    
    _Thread_Executing = heir;                                         
   48d52:	23cb 0006 10d2 	movel %a3,610d2 <_Per_CPU_Information+0xc>  
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
    heir = _Thread_Heir;                                              
    _Thread_Dispatch_disable_level = 1;                               
    _Thread_Dispatch_necessary = false;                               
   48d58:	13c0 0006 10de 	moveb %d0,610de <_Per_CPU_Information+0x18> 
    /*                                                                
     *  When the heir and executing are the same, then we are being   
     *  requested to do the post switch dispatching.  This is normally
     *  done to dispatch signals.                                     
     */                                                               
    if ( heir == executing )                                          
   48d5e:	b5cb           	cmpal %a3,%a2                               
   48d60:	6600 ff30      	bnew 48c92 <_Thread_Dispatch+0x72>          
                                                                      
    _ISR_Disable( level );                                            
  }                                                                   
                                                                      
post_switch:                                                          
  _Thread_Dispatch_disable_level = 0;                                 
   48d64:	42b9 0006 0c68 	clrl 60c68 <_Thread_Dispatch_disable_level> 
                                                                      
  _ISR_Enable( level );                                               
   48d6a:	46c1           	movew %d1,%sr                               
                                                                      
  _API_extensions_Run_postswitch();                                   
   48d6c:	4eb9 0004 70ae 	jsr 470ae <_API_extensions_Run_postswitch>  
}                                                                     
   48d72:	4cee 3cfc ffc8 	moveml %fp@(-56),%d2-%d7/%a2-%a5            
   48d78:	4e5e           	unlk %fp                                    
   48d7a:	4e75           	rts                                         
#if __RTEMS_ADA__                                                     
    executing->rtems_ada_self = rtems_ada_self;                       
    rtems_ada_self = heir->rtems_ada_self;                            
#endif                                                                
    if ( heir->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE )
      heir->cpu_time_budget = _Thread_Ticks_per_timeslice;            
   48d7c:	41f9 0006 0c20 	lea 60c20 <_Thread_Ticks_per_timeslice>,%a0 
   48d82:	2750 0076      	movel %a0@,%a3@(118)                        
   48d86:	6000 ff14      	braw 48c9c <_Thread_Dispatch+0x7c>          
                                                                      

0004e974 <_Thread_Handler>: * * Output parameters: NONE */ void _Thread_Handler( void ) {
   4e974:	4e56 0000      	linkw %fp,#0                                
   4e978:	2f0a           	movel %a2,%sp@-                             
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    static char doneConstructors;                                     
    char doneCons;                                                    
  #endif                                                              
                                                                      
  executing = _Thread_Executing;                                      
   4e97a:	2479 0006 10d2 	moveal 610d2 <_Per_CPU_Information+0xc>,%a2 
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Thread_Handler( void )                                          
{                                                                     
   4e980:	2f02           	movel %d2,%sp@-                             
  /*                                                                  
   * have to put level into a register for those cpu's that use       
   * inline asm here                                                  
   */                                                                 
                                                                      
  level = executing->Start.isr_level;                                 
   4e982:	222a 00a8      	movel %a2@(168),%d1                         
  _ISR_Set_level(level);                                              
   4e986:	40c0           	movew %sr,%d0                               
   4e988:	e189           	lsll #8,%d1                                 
   4e98a:	0280 0000 f8ff 	andil #63743,%d0                            
   4e990:	8081           	orl %d1,%d0                                 
   4e992:	46c0           	movew %d0,%sr                               
                                                                      
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    doneCons = doneConstructors;                                      
    doneConstructors = 1;                                             
   4e994:	7001           	moveq #1,%d0                                
                                                                      
  level = executing->Start.isr_level;                                 
  _ISR_Set_level(level);                                              
                                                                      
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    doneCons = doneConstructors;                                      
   4e996:	1439 0006 0428 	moveb 60428 <doneConstructors.3362>,%d2     
    doneConstructors = 1;                                             
   4e99c:	13c0 0006 0428 	moveb %d0,60428 <doneConstructors.3362>     
  #endif                                                              
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    #if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                        
      if ( (executing->fp_context != NULL) &&                         
   4e9a2:	4aaa 00f6      	tstl %a2@(246)                              
   4e9a6:	6720           	beqs 4e9c8 <_Thread_Handler+0x54>           
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
RTEMS_INLINE_ROUTINE bool _Thread_Is_allocated_fp (                   
  const Thread_Control *the_thread                                    
)                                                                     
{                                                                     
  return ( the_thread == _Thread_Allocated_fp );                      
   4e9a8:	2079 0006 0cea 	moveal 60cea <_Thread_Allocated_fp>,%a0     
   4e9ae:	b1ca           	cmpal %a2,%a0                               
   4e9b0:	6716           	beqs 4e9c8 <_Thread_Handler+0x54>           
            !_Thread_Is_allocated_fp( executing ) ) {                 
        if ( _Thread_Allocated_fp != NULL )                           
   4e9b2:	4a88           	tstl %a0                                    
   4e9b4:	670c           	beqs 4e9c2 <_Thread_Handler+0x4e>           
          _Context_Save_fp( &_Thread_Allocated_fp->fp_context );      
   4e9b6:	4868 00f6      	pea %a0@(246)                               
   4e9ba:	4eb9 0004 a0b2 	jsr 4a0b2 <_CPU_Context_save_fp>            
   4e9c0:	588f           	addql #4,%sp                                
        _Thread_Allocated_fp = executing;                             
   4e9c2:	23ca 0006 0cea 	movel %a2,60cea <_Thread_Allocated_fp>      
  /*                                                                  
   * 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 );                         
   4e9c8:	2f0a           	movel %a2,%sp@-                             
   4e9ca:	4eb9 0004 9a58 	jsr 49a58 <_User_extensions_Thread_begin>   
                                                                      
  /*                                                                  
   *  At this point, the dispatch disable level BETTER be 1.          
   */                                                                 
  _Thread_Enable_dispatch();                                          
   4e9d0:	4eb9 0004 8d8a 	jsr 48d8a <_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) */ {                 
   4e9d6:	588f           	addql #4,%sp                                
   4e9d8:	4a02           	tstb %d2                                    
   4e9da:	6724           	beqs 4ea00 <_Thread_Handler+0x8c>           
      INIT_NAME ();                                                   
    }                                                                 
  #endif                                                              
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
   4e9dc:	202a 0092      	movel %a2@(146),%d0                         
   4e9e0:	672a           	beqs 4ea0c <_Thread_Handler+0x98>           
      (*(Thread_Entry_numeric) executing->Start.entry_point)(         
        executing->Start.numeric_argument                             
      );                                                              
  }                                                                   
  #if defined(RTEMS_POSIX_API)                                        
    else if ( executing->Start.prototype == THREAD_START_POINTER ) {  
   4e9e2:	7201           	moveq #1,%d1                                
   4e9e4:	b280           	cmpl %d0,%d1                                
   4e9e6:	674c           	beqs 4ea34 <_Thread_Handler+0xc0>           <== ALWAYS TAKEN
   *  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 );                       
   4e9e8:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   4e9ea:	4eb9 0004 9a96 	jsr 49a96 <_User_extensions_Thread_exitted> <== NOT EXECUTED
                                                                      
  _Internal_error_Occurred(                                           
   4e9f0:	4878 0005      	pea 5 <COMPARE>                             <== NOT EXECUTED
   4e9f4:	4878 0001      	pea 1 <ADD>                                 <== NOT EXECUTED
   4e9f8:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   4e9fa:	4eb9 0004 7b1c 	jsr 47b1c <_Internal_error_Occurred>        <== NOT EXECUTED
     *  _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) */ {                 
      INIT_NAME ();                                                   
   4ea00:	4eb9 0005 d538 	jsr 5d538 <_init>                           
    }                                                                 
  #endif                                                              
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
   4ea06:	202a 0092      	movel %a2@(146),%d0                         
   4ea0a:	66d6           	bnes 4e9e2 <_Thread_Handler+0x6e>           
    executing->Wait.return_argument =                                 
      (*(Thread_Entry_numeric) executing->Start.entry_point)(         
   4ea0c:	2f2a 009a      	movel %a2@(154),%sp@-                       
   4ea10:	206a 008e      	moveal %a2@(142),%a0                        
   4ea14:	4e90           	jsr %a0@                                    
      INIT_NAME ();                                                   
    }                                                                 
  #endif                                                              
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
    executing->Wait.return_argument =                                 
   4ea16:	588f           	addql #4,%sp                                
   4ea18:	2540 0028      	movel %d0,%a2@(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 );                       
   4ea1c:	2f0a           	movel %a2,%sp@-                             
   4ea1e:	4eb9 0004 9a96 	jsr 49a96 <_User_extensions_Thread_exitted> 
                                                                      
  _Internal_error_Occurred(                                           
   4ea24:	4878 0005      	pea 5 <COMPARE>                             
   4ea28:	4878 0001      	pea 1 <ADD>                                 
   4ea2c:	42a7           	clrl %sp@-                                  
   4ea2e:	4eb9 0004 7b1c 	jsr 47b1c <_Internal_error_Occurred>        
      );                                                              
  }                                                                   
  #if defined(RTEMS_POSIX_API)                                        
    else if ( executing->Start.prototype == THREAD_START_POINTER ) {  
      executing->Wait.return_argument =                               
        (*(Thread_Entry_pointer) executing->Start.entry_point)(       
   4ea34:	2f2a 0096      	movel %a2@(150),%sp@-                       
   4ea38:	206a 008e      	moveal %a2@(142),%a0                        
   4ea3c:	4e90           	jsr %a0@                                    
        executing->Start.numeric_argument                             
      );                                                              
  }                                                                   
  #if defined(RTEMS_POSIX_API)                                        
    else if ( executing->Start.prototype == THREAD_START_POINTER ) {  
      executing->Wait.return_argument =                               
   4ea3e:	588f           	addql #4,%sp                                
   4ea40:	2540 0028      	movel %d0,%a2@(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 );                       
   4ea44:	2f0a           	movel %a2,%sp@-                             
   4ea46:	4eb9 0004 9a96 	jsr 49a96 <_User_extensions_Thread_exitted> 
                                                                      
  _Internal_error_Occurred(                                           
   4ea4c:	4878 0005      	pea 5 <COMPARE>                             <== NOT EXECUTED
   4ea50:	4878 0001      	pea 1 <ADD>                                 <== NOT EXECUTED
   4ea54:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   4ea56:	4eb9 0004 7b1c 	jsr 47b1c <_Internal_error_Occurred>        <== NOT EXECUTED
                                                                      

0004908c <_Thread_Handler_initialization>: * * Output parameters: NONE */ void _Thread_Handler_initialization(void) {
   4908c:	4e56 0000      	linkw %fp,#0                                
  /*                                                                  
   * BOTH stacks hooks must be set or both must be NULL.              
   * Do not allow mixture.                                            
   */                                                                 
    if ( !( (!Configuration.stack_allocate_hook)                      
            == (!Configuration.stack_free_hook) ) )                   
   49090:	4ab9 0005 f398 	tstl 5f398 <Configuration+0x24>             
   49096:	57c1           	seq %d1                                     
  #endif                                                              
  /*                                                                  
   * BOTH stacks hooks must be set or both must be NULL.              
   * Do not allow mixture.                                            
   */                                                                 
    if ( !( (!Configuration.stack_allocate_hook)                      
   49098:	4ab9 0005 f394 	tstl 5f394 <Configuration+0x20>             
   4909e:	57c0           	seq %d0                                     
            == (!Configuration.stack_free_hook) ) )                   
   490a0:	4481           	negl %d1                                    
  #endif                                                              
  /*                                                                  
   * BOTH stacks hooks must be set or both must be NULL.              
   * Do not allow mixture.                                            
   */                                                                 
    if ( !( (!Configuration.stack_allocate_hook)                      
   490a2:	4480           	negl %d0                                    
   490a4:	b380           	eorl %d1,%d0                                
  uint32_t     maximum_internal_threads;                              
  #if defined(RTEMS_MULTIPROCESSING)                                  
    uint32_t   maximum_proxies;                                       
  #endif                                                              
                                                                      
  ticks_per_timeslice = Configuration.ticks_per_timeslice;            
   490a6:	2239 0005 f384 	movel 5f384 <Configuration+0x10>,%d1        
  maximum_extensions  = Configuration.maximum_extensions;             
   490ac:	2079 0005 f37c 	moveal 5f37c <Configuration+0x8>,%a0        
  #endif                                                              
  /*                                                                  
   * BOTH stacks hooks must be set or both must be NULL.              
   * Do not allow mixture.                                            
   */                                                                 
    if ( !( (!Configuration.stack_allocate_hook)                      
   490b2:	4a00           	tstb %d0                                    
   490b4:	6650           	bnes 49106 <_Thread_Handler_initialization+0x7a>
  #if defined(RTEMS_MULTIPROCESSING)                                  
    if ( _System_state_Is_multiprocessing )                           
      maximum_internal_threads += 1;                                  
  #endif                                                              
                                                                      
  _Objects_Initialize_information(                                    
   490b6:	4878 0008      	pea 8 <DIVIDE_BY_ZERO>                      
      INTERNAL_ERROR_CORE,                                            
      true,                                                           
      INTERNAL_ERROR_BAD_STACK_HOOK                                   
    );                                                                
                                                                      
  _Thread_Dispatch_necessary = false;                                 
   490ba:	4200           	clrb %d0                                    
  #if defined(RTEMS_MULTIPROCESSING)                                  
    if ( _System_state_Is_multiprocessing )                           
      maximum_internal_threads += 1;                                  
  #endif                                                              
                                                                      
  _Objects_Initialize_information(                                    
   490bc:	42a7           	clrl %sp@-                                  
   490be:	4878 010e      	pea 10e <DBL_MANT_DIG+0xd9>                 
   490c2:	4878 0001      	pea 1 <ADD>                                 
   490c6:	4878 0001      	pea 1 <ADD>                                 
   490ca:	4878 0001      	pea 1 <ADD>                                 
   490ce:	4879 0006 0d7a 	pea 60d7a <_Thread_Internal_information>    
      INTERNAL_ERROR_CORE,                                            
      true,                                                           
      INTERNAL_ERROR_BAD_STACK_HOOK                                   
    );                                                                
                                                                      
  _Thread_Dispatch_necessary = false;                                 
   490d4:	13c0 0006 10de 	moveb %d0,610de <_Per_CPU_Information+0x18> 
  _Thread_Executing         = NULL;                                   
   490da:	42b9 0006 10d2 	clrl 610d2 <_Per_CPU_Information+0xc>       
  _Thread_Heir              = NULL;                                   
   490e0:	42b9 0006 10d6 	clrl 610d6 <_Per_CPU_Information+0x10>      
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
  _Thread_Allocated_fp      = NULL;                                   
   490e6:	42b9 0006 0cea 	clrl 60cea <_Thread_Allocated_fp>           
#endif                                                                
                                                                      
  _Thread_Maximum_extensions = maximum_extensions;                    
   490ec:	23c8 0006 0cfa 	movel %a0,60cfa <_Thread_Maximum_extensions>
                                                                      
  _Thread_Ticks_per_timeslice  = ticks_per_timeslice;                 
   490f2:	23c1 0006 0c20 	movel %d1,60c20 <_Thread_Ticks_per_timeslice>
  #if defined(RTEMS_MULTIPROCESSING)                                  
    if ( _System_state_Is_multiprocessing )                           
      maximum_internal_threads += 1;                                  
  #endif                                                              
                                                                      
  _Objects_Initialize_information(                                    
   490f8:	4eb9 0004 8104 	jsr 48104 <_Objects_Initialize_information> 
   490fe:	4fef 001c      	lea %sp@(28),%sp                            
      false,                      /* true if this is a global object class */
      NULL                        /* Proxy extraction support callout */
    #endif                                                            
  );                                                                  
                                                                      
}                                                                     
   49102:	4e5e           	unlk %fp                                    
   49104:	4e75           	rts                                         
   * BOTH stacks hooks must be set or both must be NULL.              
   * Do not allow mixture.                                            
   */                                                                 
    if ( !( (!Configuration.stack_allocate_hook)                      
            == (!Configuration.stack_free_hook) ) )                   
    _Internal_error_Occurred(                                         
   49106:	4878 000e      	pea e <OPER1+0x2>                           
   4910a:	4878 0001      	pea 1 <ADD>                                 
   4910e:	42a7           	clrl %sp@-                                  
   49110:	4eb9 0004 7b1c 	jsr 47b1c <_Internal_error_Occurred>        
	...                                                                  
                                                                      

00048e4c <_Thread_Initialize>: Thread_CPU_budget_algorithms budget_algorithm, Thread_CPU_budget_algorithm_callout budget_callout, uint32_t isr_level, Objects_Name name ) {
   48e4c:	4e56 ffe0      	linkw %fp,#-32                              
   48e50:	202e 0010      	movel %fp@(16),%d0                          
   48e54:	48d7 1c7c      	moveml %d2-%d6/%a2-%a4,%sp@                 
   48e58:	246e 000c      	moveal %fp@(12),%a2                         
   48e5c:	282e 0014      	movel %fp@(20),%d4                          
   48e60:	242e 001c      	movel %fp@(28),%d2                          
   48e64:	262e 0024      	movel %fp@(36),%d3                          
   48e68:	1a2e 001b      	moveb %fp@(27),%d5                          
   48e6c:	1c2e 0023      	moveb %fp@(35),%d6                          
                                                                      
  /*                                                                  
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
   48e70:	42aa 00fe      	clrl %a2@(254)                              
   48e74:	42aa 0102      	clrl %a2@(258)                              
                                                                      
  extensions_area = NULL;                                             
  the_thread->libc_reent = NULL;                                      
   48e78:	42aa 00fa      	clrl %a2@(250)                              
    if ( !actual_stack_size || actual_stack_size < stack_size )       
      return false;                     /* stack allocation failed */ 
                                                                      
    stack = the_thread->Start.stack;                                  
  #else                                                               
    if ( !stack_area ) {                                              
   48e7c:	4a80           	tstl %d0                                    
   48e7e:	6700 01a4      	beqw 49024 <_Thread_Initialize+0x1d8>       
      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;                 
   48e82:	2204           	movel %d4,%d1                               
   48e84:	4204           	clrb %d4                                    
   48e86:	1544 00b0      	moveb %d4,%a2@(176)                         
  Stack_Control *the_stack,                                           
  void          *starting_address,                                    
  size_t         size                                                 
)                                                                     
{                                                                     
  the_stack->area = starting_address;                                 
   48e8a:	2540 00b6      	movel %d0,%a2@(182)                         
  the_stack->size = size;                                             
   48e8e:	2541 00b2      	movel %d1,%a2@(178)                         
                                                                      
  /*                                                                  
   *  Allocate the floating point area for this thread                
   */                                                                 
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( is_fp ) {                                                    
   48e92:	4a05           	tstb %d5                                    
   48e94:	6600 0102      	bnew 48f98 <_Thread_Initialize+0x14c>       
   48e98:	4280           	clrl %d0                                    
                                                                      
  extensions_area = NULL;                                             
  the_thread->libc_reent = NULL;                                      
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    fp_area = NULL;                                                   
   48e9a:	4284           	clrl %d4                                    
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
   48e9c:	2239 0006 0cfa 	movel 60cfa <_Thread_Maximum_extensions>,%d1
      fp_area = _Workspace_Allocate( CONTEXT_FP_SIZE );               
      if ( !fp_area )                                                 
        goto failed;                                                  
      fp_area = _Context_Fp_start( fp_area, 0 );                      
    }                                                                 
    the_thread->fp_context       = fp_area;                           
   48ea2:	2540 00f6      	movel %d0,%a2@(246)                         
    the_thread->Start.fp_context = fp_area;                           
   48ea6:	2540 00ba      	movel %d0,%a2@(186)                         
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
   48eaa:	42aa 0050      	clrl %a2@(80)                               
  the_watchdog->routine   = routine;                                  
   48eae:	42aa 0064      	clrl %a2@(100)                              
  the_watchdog->id        = id;                                       
   48eb2:	42aa 0068      	clrl %a2@(104)                              
  the_watchdog->user_data = user_data;                                
   48eb6:	42aa 006c      	clrl %a2@(108)                              
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
   48eba:	4a81           	tstl %d1                                    
   48ebc:	6600 0124      	bnew 48fe2 <_Thread_Initialize+0x196>       
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
      goto failed;                                                    
  }                                                                   
  the_thread->extensions = (void **) extensions_area;                 
   48ec0:	42aa 0106      	clrl %a2@(262)                              
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
                                                                      
  extensions_area = NULL;                                             
   48ec4:	97cb           	subal %a3,%a3                               
  /*                                                                  
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
  the_thread->Start.budget_algorithm = budget_algorithm;              
   48ec6:	2543 00a0      	movel %d3,%a2@(160)                         
  the_thread->Start.budget_callout   = budget_callout;                
                                                                      
  switch ( budget_algorithm ) {                                       
   48eca:	7002           	moveq #2,%d0                                
                                                                      
  /*                                                                  
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
   48ecc:	1546 009e      	moveb %d6,%a2@(158)                         
  the_thread->Start.budget_algorithm = budget_algorithm;              
  the_thread->Start.budget_callout   = budget_callout;                
   48ed0:	256e 0028 00a4 	movel %fp@(40),%a2@(164)                    
                                                                      
  switch ( budget_algorithm ) {                                       
   48ed6:	b083           	cmpl %d3,%d0                                
   48ed8:	6700 00a4      	beqw 48f7e <_Thread_Initialize+0x132>       
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
   48edc:	7001           	moveq #1,%d0                                
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	break;                                                               
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
   48ede:	256e 002c 00a8 	movel %fp@(44),%a2@(168)                    
 */                                                                   
RTEMS_INLINE_ROUTINE void* _Scheduler_Allocate(                       
  Thread_Control    *the_thread                                       
)                                                                     
{                                                                     
  return _Scheduler.Operations.allocate( the_thread );                
   48ee4:	2079 0005 f2b8 	moveal 5f2b8 <_Scheduler+0x18>,%a0          
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
   48eea:	2540 0010      	movel %d0,%a2@(16)                          
  the_thread->Wait.queue              = NULL;                         
   48eee:	42aa 0044      	clrl %a2@(68)                               
  the_thread->resource_count          = 0;                            
   48ef2:	42aa 001c      	clrl %a2@(28)                               
  the_thread->real_priority           = priority;                     
   48ef6:	2542 0018      	movel %d2,%a2@(24)                          
  the_thread->Start.initial_priority  = priority;                     
   48efa:	2542 00ac      	movel %d2,%a2@(172)                         
   48efe:	2f0a           	movel %a2,%sp@-                             
   48f00:	4e90           	jsr %a0@                                    
  sched =_Scheduler_Allocate( the_thread );                           
  if ( !sched )                                                       
   48f02:	588f           	addql #4,%sp                                
   48f04:	2600           	movel %d0,%d3                               
   48f06:	673a           	beqs 48f42 <_Thread_Initialize+0xf6>        
    goto failed;                                                      
  _Thread_Set_priority( the_thread, priority );                       
   48f08:	2f02           	movel %d2,%sp@-                             
   48f0a:	2f0a           	movel %a2,%sp@-                             
   48f0c:	4eb9 0004 968c 	jsr 4968c <_Thread_Set_priority>            
                                                                      
   _Workspace_Free( sched );                                          
                                                                      
   _Thread_Stack_Free( the_thread );                                  
  return false;                                                       
}                                                                     
   48f12:	206e 0008      	moveal %fp@(8),%a0                          
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
   48f16:	4280           	clrl %d0                                    
   48f18:	2068 0018      	moveal %a0@(24),%a0                         
   48f1c:	302a 000a      	movew %a2@(10),%d0                          
                                                                      
  /*                                                                  
   *  Initialize the CPU usage statistics                             
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _Timestamp_Set_to_zero( &the_thread->cpu_time_used );             
   48f20:	42aa 0082      	clrl %a2@(130)                              
   48f24:	42aa 0086      	clrl %a2@(134)                              
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
   48f28:	218a 0c00      	movel %a2,%a0@(00000000,%d0:l:4)            
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
   48f2c:	256e 0030 000c 	movel %fp@(48),%a2@(12)                     
   *  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 );    
   48f32:	2f0a           	movel %a2,%sp@-                             
   48f34:	4eb9 0004 9b28 	jsr 49b28 <_User_extensions_Thread_create>  
  if ( extension_status )                                             
   48f3a:	4fef 000c      	lea %sp@(12),%sp                            
   48f3e:	4a00           	tstb %d0                                    
   48f40:	664a           	bnes 48f8c <_Thread_Initialize+0x140>       
    return true;                                                      
                                                                      
failed:                                                               
  _Workspace_Free( the_thread->libc_reent );                          
   48f42:	2f2a 00fa      	movel %a2@(250),%sp@-                       
   48f46:	49f9 0004 9f3e 	lea 49f3e <_Workspace_Free>,%a4             
   48f4c:	4e94           	jsr %a4@                                    
                                                                      
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    _Workspace_Free( the_thread->API_Extensions[i] );                 
   48f4e:	2f2a 00fe      	movel %a2@(254),%sp@-                       
   48f52:	4e94           	jsr %a4@                                    
   48f54:	2f2a 0102      	movel %a2@(258),%sp@-                       
   48f58:	4e94           	jsr %a4@                                    
                                                                      
  _Workspace_Free( extensions_area );                                 
   48f5a:	2f0b           	movel %a3,%sp@-                             
   48f5c:	4e94           	jsr %a4@                                    
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    _Workspace_Free( fp_area );                                       
   48f5e:	2f04           	movel %d4,%sp@-                             
   48f60:	4e94           	jsr %a4@                                    
  #endif                                                              
                                                                      
   _Workspace_Free( sched );                                          
   48f62:	2f03           	movel %d3,%sp@-                             
   48f64:	4e94           	jsr %a4@                                    
                                                                      
   _Thread_Stack_Free( the_thread );                                  
   48f66:	2f0a           	movel %a2,%sp@-                             
   48f68:	4eb9 0004 979c 	jsr 4979c <_Thread_Stack_Free>              
  return false;                                                       
   48f6e:	4fef 001c      	lea %sp@(28),%sp                            
   48f72:	4200           	clrb %d0                                    
}                                                                     
   48f74:	4cee 1c7c ffe0 	moveml %fp@(-32),%d2-%d6/%a2-%a4            
   48f7a:	4e5e           	unlk %fp                                    
   48f7c:	4e75           	rts                                         
    case THREAD_CPU_BUDGET_ALGORITHM_NONE:                            
    case THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE:                 
      break;                                                          
    #if defined(RTEMS_SCORE_THREAD_ENABLE_EXHAUST_TIMESLICE)          
      case THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE:             
        the_thread->cpu_time_budget = _Thread_Ticks_per_timeslice;    
   48f7e:	41f9 0006 0c20 	lea 60c20 <_Thread_Ticks_per_timeslice>,%a0 
   48f84:	2550 0076      	movel %a0@,%a2@(118)                        
        break;                                                        
   48f88:	6000 ff52      	braw 48edc <_Thread_Initialize+0x90>        
                                                                      
   _Workspace_Free( sched );                                          
                                                                      
   _Thread_Stack_Free( the_thread );                                  
  return false;                                                       
}                                                                     
   48f8c:	4cee 1c7c ffe0 	moveml %fp@(-32),%d2-%d6/%a2-%a4            
   *  Mutex provides sufficient protection to let the user extensions 
   *  run safely.                                                     
   */                                                                 
  extension_status = _User_extensions_Thread_create( the_thread );    
  if ( extension_status )                                             
    return true;                                                      
   48f92:	7001           	moveq #1,%d0                                
                                                                      
   _Workspace_Free( sched );                                          
                                                                      
   _Thread_Stack_Free( the_thread );                                  
  return false;                                                       
}                                                                     
   48f94:	4e5e           	unlk %fp                                    
   48f96:	4e75           	rts                                         
  /*                                                                  
   *  Allocate the floating point area for this thread                
   */                                                                 
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( is_fp ) {                                                    
      fp_area = _Workspace_Allocate( CONTEXT_FP_SIZE );               
   48f98:	4878 001c      	pea 1c <OPER2+0x8>                          
   48f9c:	4eb9 0004 9f22 	jsr 49f22 <_Workspace_Allocate>             
      if ( !fp_area )                                                 
   48fa2:	588f           	addql #4,%sp                                
  /*                                                                  
   *  Allocate the floating point area for this thread                
   */                                                                 
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( is_fp ) {                                                    
      fp_area = _Workspace_Allocate( CONTEXT_FP_SIZE );               
   48fa4:	2800           	movel %d0,%d4                               
      if ( !fp_area )                                                 
   48fa6:	6600 fef4      	bnew 48e9c <_Thread_Initialize+0x50>        
  extension_status = _User_extensions_Thread_create( the_thread );    
  if ( extension_status )                                             
    return true;                                                      
                                                                      
failed:                                                               
  _Workspace_Free( the_thread->libc_reent );                          
   48faa:	2f2a 00fa      	movel %a2@(250),%sp@-                       
   48fae:	49f9 0004 9f3e 	lea 49f3e <_Workspace_Free>,%a4             
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
                                                                      
  extensions_area = NULL;                                             
   48fb4:	97cb           	subal %a3,%a3                               
  size_t               actual_stack_size = 0;                         
  void                *stack = NULL;                                  
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    void              *fp_area;                                       
  #endif                                                              
  void                *sched = NULL;                                  
   48fb6:	4283           	clrl %d3                                    
  extension_status = _User_extensions_Thread_create( the_thread );    
  if ( extension_status )                                             
    return true;                                                      
                                                                      
failed:                                                               
  _Workspace_Free( the_thread->libc_reent );                          
   48fb8:	4e94           	jsr %a4@                                    
                                                                      
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    _Workspace_Free( the_thread->API_Extensions[i] );                 
   48fba:	2f2a 00fe      	movel %a2@(254),%sp@-                       
   48fbe:	4e94           	jsr %a4@                                    
   48fc0:	2f2a 0102      	movel %a2@(258),%sp@-                       
   48fc4:	4e94           	jsr %a4@                                    
                                                                      
  _Workspace_Free( extensions_area );                                 
   48fc6:	2f0b           	movel %a3,%sp@-                             
   48fc8:	4e94           	jsr %a4@                                    
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    _Workspace_Free( fp_area );                                       
   48fca:	2f04           	movel %d4,%sp@-                             
   48fcc:	4e94           	jsr %a4@                                    
  #endif                                                              
                                                                      
   _Workspace_Free( sched );                                          
   48fce:	2f03           	movel %d3,%sp@-                             
   48fd0:	4e94           	jsr %a4@                                    
                                                                      
   _Thread_Stack_Free( the_thread );                                  
   48fd2:	2f0a           	movel %a2,%sp@-                             
   48fd4:	4eb9 0004 979c 	jsr 4979c <_Thread_Stack_Free>              
  return false;                                                       
   48fda:	4fef 001c      	lea %sp@(28),%sp                            
   48fde:	4200           	clrb %d0                                    
   48fe0:	6092           	bras 48f74 <_Thread_Initialize+0x128>       
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
    extensions_area = _Workspace_Allocate(                            
   48fe2:	e589           	lsll #2,%d1                                 
   48fe4:	2041           	moveal %d1,%a0                              
   48fe6:	4868 0004      	pea %a0@(4)                                 
   48fea:	4eb9 0004 9f22 	jsr 49f22 <_Workspace_Allocate>             
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
   48ff0:	588f           	addql #4,%sp                                
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
    extensions_area = _Workspace_Allocate(                            
   48ff2:	2640           	moveal %d0,%a3                              
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
   48ff4:	4a80           	tstl %d0                                    
   48ff6:	675a           	beqs 49052 <_Thread_Initialize+0x206>       
      goto failed;                                                    
  }                                                                   
  the_thread->extensions = (void **) extensions_area;                 
   48ff8:	2079 0006 0cfa 	moveal 60cfa <_Thread_Maximum_extensions>,%a0
   * create the extension long after tasks have been created          
   * so they cannot rely on the thread create user extension          
   * call.                                                            
   */                                                                 
  if ( the_thread->extensions ) {                                     
    for ( i = 0; i <= _Thread_Maximum_extensions ; i++ )              
   48ffe:	4281           	clrl %d1                                    
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
      goto failed;                                                    
  }                                                                   
  the_thread->extensions = (void **) extensions_area;                 
   49000:	4280           	clrl %d0                                    
   49002:	254b 0106      	movel %a3,%a2@(262)                         
   * so they cannot rely on the thread create user extension          
   * call.                                                            
   */                                                                 
  if ( the_thread->extensions ) {                                     
    for ( i = 0; i <= _Thread_Maximum_extensions ; i++ )              
      the_thread->extensions[i] = NULL;                               
   49006:	42b3 1c00      	clrl %a3@(00000000,%d1:l:4)                 
   * create the extension long after tasks have been created          
   * so they cannot rely on the thread create user extension          
   * call.                                                            
   */                                                                 
  if ( the_thread->extensions ) {                                     
    for ( i = 0; i <= _Thread_Maximum_extensions ; i++ )              
   4900a:	5280           	addql #1,%d0                                
   4900c:	2200           	movel %d0,%d1                               
   4900e:	b088           	cmpl %a0,%d0                                
   49010:	6200 feb4      	bhiw 48ec6 <_Thread_Initialize+0x7a>        
      the_thread->extensions[i] = NULL;                               
   49014:	42b3 1c00      	clrl %a3@(00000000,%d1:l:4)                 
   * create the extension long after tasks have been created          
   * so they cannot rely on the thread create user extension          
   * call.                                                            
   */                                                                 
  if ( the_thread->extensions ) {                                     
    for ( i = 0; i <= _Thread_Maximum_extensions ; i++ )              
   49018:	5280           	addql #1,%d0                                
   4901a:	2200           	movel %d0,%d1                               
   4901c:	b088           	cmpl %a0,%d0                                
   4901e:	63e6           	blss 49006 <_Thread_Initialize+0x1ba>       
   49020:	6000 fea4      	braw 48ec6 <_Thread_Initialize+0x7a>        
      return false;                     /* stack allocation failed */ 
                                                                      
    stack = the_thread->Start.stack;                                  
  #else                                                               
    if ( !stack_area ) {                                              
      actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
   49024:	2f04           	movel %d4,%sp@-                             
   49026:	2f0a           	movel %a2,%sp@-                             
   49028:	4eb9 0004 9738 	jsr 49738 <_Thread_Stack_Allocate>          
      if ( !actual_stack_size || actual_stack_size < stack_size )     
   4902e:	508f           	addql #8,%sp                                
      return false;                     /* stack allocation failed */ 
                                                                      
    stack = the_thread->Start.stack;                                  
  #else                                                               
    if ( !stack_area ) {                                              
      actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
   49030:	2200           	movel %d0,%d1                               
      if ( !actual_stack_size || actual_stack_size < stack_size )     
   49032:	6712           	beqs 49046 <_Thread_Initialize+0x1fa>       
   49034:	b084           	cmpl %d4,%d0                                
   49036:	650e           	bcss 49046 <_Thread_Initialize+0x1fa>       <== NEVER TAKEN
        return false;                     /* stack allocation failed */
                                                                      
      stack = the_thread->Start.stack;                                
   49038:	202a 00be      	movel %a2@(190),%d0                         
      the_thread->Start.core_allocated_stack = true;                  
   4903c:	7801           	moveq #1,%d4                                
   4903e:	1544 00b0      	moveb %d4,%a2@(176)                         
   49042:	6000 fe46      	braw 48e8a <_Thread_Initialize+0x3e>        
                                                                      
   _Workspace_Free( sched );                                          
                                                                      
   _Thread_Stack_Free( the_thread );                                  
  return false;                                                       
}                                                                     
   49046:	4cee 1c7c ffe0 	moveml %fp@(-32),%d2-%d6/%a2-%a4            
    stack = the_thread->Start.stack;                                  
  #else                                                               
    if ( !stack_area ) {                                              
      actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
      if ( !actual_stack_size || actual_stack_size < stack_size )     
        return false;                     /* stack allocation failed */
   4904c:	4200           	clrb %d0                                    
                                                                      
   _Workspace_Free( sched );                                          
                                                                      
   _Thread_Stack_Free( the_thread );                                  
  return false;                                                       
}                                                                     
   4904e:	4e5e           	unlk %fp                                    
   49050:	4e75           	rts                                         
  extension_status = _User_extensions_Thread_create( the_thread );    
  if ( extension_status )                                             
    return true;                                                      
                                                                      
failed:                                                               
  _Workspace_Free( the_thread->libc_reent );                          
   49052:	2f2a 00fa      	movel %a2@(250),%sp@-                       
   49056:	49f9 0004 9f3e 	lea 49f3e <_Workspace_Free>,%a4             
  size_t               actual_stack_size = 0;                         
  void                *stack = NULL;                                  
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    void              *fp_area;                                       
  #endif                                                              
  void                *sched = NULL;                                  
   4905c:	4283           	clrl %d3                                    
  extension_status = _User_extensions_Thread_create( the_thread );    
  if ( extension_status )                                             
    return true;                                                      
                                                                      
failed:                                                               
  _Workspace_Free( the_thread->libc_reent );                          
   4905e:	4e94           	jsr %a4@                                    
                                                                      
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    _Workspace_Free( the_thread->API_Extensions[i] );                 
   49060:	2f2a 00fe      	movel %a2@(254),%sp@-                       
   49064:	4e94           	jsr %a4@                                    
   49066:	2f2a 0102      	movel %a2@(258),%sp@-                       
   4906a:	4e94           	jsr %a4@                                    
                                                                      
  _Workspace_Free( extensions_area );                                 
   4906c:	2f0b           	movel %a3,%sp@-                             
   4906e:	4e94           	jsr %a4@                                    
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    _Workspace_Free( fp_area );                                       
   49070:	2f04           	movel %d4,%sp@-                             
   49072:	4e94           	jsr %a4@                                    
  #endif                                                              
                                                                      
   _Workspace_Free( sched );                                          
   49074:	2f03           	movel %d3,%sp@-                             
   49076:	4e94           	jsr %a4@                                    
                                                                      
   _Thread_Stack_Free( the_thread );                                  
   49078:	2f0a           	movel %a2,%sp@-                             
   4907a:	4eb9 0004 979c 	jsr 4979c <_Thread_Stack_Free>              
  return false;                                                       
   49080:	4fef 001c      	lea %sp@(28),%sp                            
   49084:	4200           	clrb %d0                                    
   49086:	6000 feec      	braw 48f74 <_Thread_Initialize+0x128>       
	...                                                                  
                                                                      

0004dcf8 <_Thread_Reset>: void _Thread_Reset( Thread_Control *the_thread, void *pointer_argument, Thread_Entry_numeric_type numeric_argument ) {
   4dcf8:	4e56 0000      	linkw %fp,#0                                
   4dcfc:	2f0a           	movel %a2,%sp@-                             
   4dcfe:	246e 0008      	moveal %fp@(8),%a2                          
  the_thread->resource_count   = 0;                                   
  the_thread->is_preemptible   = the_thread->Start.is_preemptible;    
  the_thread->budget_algorithm = the_thread->Start.budget_algorithm;  
   4dd02:	256a 00a0 007a 	movel %a2@(160),%a2@(122)                   
  the_thread->budget_callout   = the_thread->Start.budget_callout;    
   4dd08:	256a 00a4 007e 	movel %a2@(164),%a2@(126)                   
                                                                      
  the_thread->Start.pointer_argument = pointer_argument;              
   4dd0e:	256e 000c 0096 	movel %fp@(12),%a2@(150)                    
  the_thread->Start.numeric_argument = numeric_argument;              
   4dd14:	256e 0010 009a 	movel %fp@(16),%a2@(154)                    
  void                      *pointer_argument,                        
  Thread_Entry_numeric_type  numeric_argument                         
)                                                                     
{                                                                     
  the_thread->resource_count   = 0;                                   
  the_thread->is_preemptible   = the_thread->Start.is_preemptible;    
   4dd1a:	156a 009e 0074 	moveb %a2@(158),%a2@(116)                   
  Thread_Control            *the_thread,                              
  void                      *pointer_argument,                        
  Thread_Entry_numeric_type  numeric_argument                         
)                                                                     
{                                                                     
  the_thread->resource_count   = 0;                                   
   4dd20:	42aa 001c      	clrl %a2@(28)                               
  the_thread->budget_callout   = the_thread->Start.budget_callout;    
                                                                      
  the_thread->Start.pointer_argument = pointer_argument;              
  the_thread->Start.numeric_argument = numeric_argument;              
                                                                      
  if ( !_Thread_queue_Extract_with_proxy( the_thread ) ) {            
   4dd24:	2f0a           	movel %a2,%sp@-                             
   4dd26:	4eb9 0004 a0f0 	jsr 4a0f0 <_Thread_queue_Extract_with_proxy>
   4dd2c:	588f           	addql #4,%sp                                
   4dd2e:	4a00           	tstb %d0                                    
   4dd30:	6608           	bnes 4dd3a <_Thread_Reset+0x42>             
                                                                      
    if ( _Watchdog_Is_active( &the_thread->Timer ) )                  
   4dd32:	7002           	moveq #2,%d0                                
   4dd34:	b0aa 0050      	cmpl %a2@(80),%d0                           
   4dd38:	672a           	beqs 4dd64 <_Thread_Reset+0x6c>             
      (void) _Watchdog_Remove( &the_thread->Timer );                  
  }                                                                   
                                                                      
  if ( the_thread->current_priority != the_thread->Start.initial_priority ) {
   4dd3a:	202a 00ac      	movel %a2@(172),%d0                         
   4dd3e:	b0aa 0014      	cmpl %a2@(20),%d0                           
   4dd42:	6718           	beqs 4dd5c <_Thread_Reset+0x64>             
    the_thread->real_priority = the_thread->Start.initial_priority;   
   4dd44:	2540 0018      	movel %d0,%a2@(24)                          
    _Thread_Set_priority( the_thread, the_thread->Start.initial_priority );
   4dd48:	2d4a 0008      	movel %a2,%fp@(8)                           
  }                                                                   
}                                                                     
   4dd4c:	246e fffc      	moveal %fp@(-4),%a2                         
      (void) _Watchdog_Remove( &the_thread->Timer );                  
  }                                                                   
                                                                      
  if ( the_thread->current_priority != the_thread->Start.initial_priority ) {
    the_thread->real_priority = the_thread->Start.initial_priority;   
    _Thread_Set_priority( the_thread, the_thread->Start.initial_priority );
   4dd50:	2d40 000c      	movel %d0,%fp@(12)                          
  }                                                                   
}                                                                     
   4dd54:	4e5e           	unlk %fp                                    
      (void) _Watchdog_Remove( &the_thread->Timer );                  
  }                                                                   
                                                                      
  if ( the_thread->current_priority != the_thread->Start.initial_priority ) {
    the_thread->real_priority = the_thread->Start.initial_priority;   
    _Thread_Set_priority( the_thread, the_thread->Start.initial_priority );
   4dd56:	4ef9 0004 a330 	jmp 4a330 <_Thread_Set_priority>            
  }                                                                   
}                                                                     
   4dd5c:	246e fffc      	moveal %fp@(-4),%a2                         
   4dd60:	4e5e           	unlk %fp                                    
   4dd62:	4e75           	rts                                         
  the_thread->Start.numeric_argument = numeric_argument;              
                                                                      
  if ( !_Thread_queue_Extract_with_proxy( the_thread ) ) {            
                                                                      
    if ( _Watchdog_Is_active( &the_thread->Timer ) )                  
      (void) _Watchdog_Remove( &the_thread->Timer );                  
   4dd64:	486a 0048      	pea %a2@(72)                                
   4dd68:	4eb9 0004 aa88 	jsr 4aa88 <_Watchdog_Remove>                
   4dd6e:	588f           	addql #4,%sp                                
   4dd70:	60c8           	bras 4dd3a <_Thread_Reset+0x42>             
	...                                                                  
                                                                      

0004a2a0 <_Thread_Restart>: */ RTEMS_INLINE_ROUTINE bool _States_Is_dormant ( States_Control the_states ) { return (the_states & STATES_DORMANT);
   4a2a0:	7001           	moveq #1,%d0                                
bool _Thread_Restart(                                                 
  Thread_Control            *the_thread,                              
  void                      *pointer_argument,                        
  Thread_Entry_numeric_type  numeric_argument                         
)                                                                     
{                                                                     
   4a2a2:	4e56 0000      	linkw %fp,#0                                
   4a2a6:	2f0a           	movel %a2,%sp@-                             
   4a2a8:	246e 0008      	moveal %fp@(8),%a2                          
   4a2ac:	c0aa 0010      	andl %a2@(16),%d0                           
  if ( !_States_Is_dormant( the_thread->current_state ) ) {           
   4a2b0:	670a           	beqs 4a2bc <_Thread_Restart+0x1c>           
                                                                      
    return true;                                                      
  }                                                                   
                                                                      
  return false;                                                       
}                                                                     
   4a2b2:	246e fffc      	moveal %fp@(-4),%a2                         
   4a2b6:	4e5e           	unlk %fp                                    
      _Thread_Restart_self();                                         
                                                                      
    return true;                                                      
  }                                                                   
                                                                      
  return false;                                                       
   4a2b8:	4200           	clrb %d0                                    
}                                                                     
   4a2ba:	4e75           	rts                                         
  Thread_Entry_numeric_type  numeric_argument                         
)                                                                     
{                                                                     
  if ( !_States_Is_dormant( the_thread->current_state ) ) {           
                                                                      
    _Thread_Set_transient( the_thread );                              
   4a2bc:	2f0a           	movel %a2,%sp@-                             
   4a2be:	4eb9 0004 a394 	jsr 4a394 <_Thread_Set_transient>           
                                                                      
    _Thread_Reset( the_thread, pointer_argument, numeric_argument );  
   4a2c4:	2f2e 0010      	movel %fp@(16),%sp@-                        
   4a2c8:	2f2e 000c      	movel %fp@(12),%sp@-                        
   4a2cc:	2f0a           	movel %a2,%sp@-                             
   4a2ce:	4eb9 0004 dcf8 	jsr 4dcf8 <_Thread_Reset>                   
                                                                      
    _Thread_Load_environment( the_thread );                           
   4a2d4:	2f0a           	movel %a2,%sp@-                             
   4a2d6:	4eb9 0004 d9e4 	jsr 4d9e4 <_Thread_Load_environment>        
                                                                      
    _Thread_Ready( the_thread );                                      
   4a2dc:	2f0a           	movel %a2,%sp@-                             
   4a2de:	4eb9 0004 dcc8 	jsr 4dcc8 <_Thread_Ready>                   
                                                                      
    _User_extensions_Thread_restart( the_thread );                    
   4a2e4:	2f0a           	movel %a2,%sp@-                             
   4a2e6:	4eb9 0004 a86c 	jsr 4a86c <_User_extensions_Thread_restart> 
                                                                      
    if ( _Thread_Is_executing ( the_thread ) )                        
   4a2ec:	4fef 001c      	lea %sp@(28),%sp                            
   4a2f0:	b5f9 0006 206a 	cmpal 6206a <_Per_CPU_Information+0xc>,%a2  
   4a2f6:	670a           	beqs 4a302 <_Thread_Restart+0x62>           
                                                                      
    return true;                                                      
  }                                                                   
                                                                      
  return false;                                                       
}                                                                     
   4a2f8:	246e fffc      	moveal %fp@(-4),%a2                         
   4a2fc:	4e5e           	unlk %fp                                    
    _User_extensions_Thread_restart( the_thread );                    
                                                                      
    if ( _Thread_Is_executing ( the_thread ) )                        
      _Thread_Restart_self();                                         
                                                                      
    return true;                                                      
   4a2fe:	7001           	moveq #1,%d0                                
  }                                                                   
                                                                      
  return false;                                                       
}                                                                     
   4a300:	4e75           	rts                                         
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Restart_self( void )                
{                                                                     
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
  if ( _Thread_Executing->fp_context != NULL )                        
   4a302:	4aaa 00f6      	tstl %a2@(246)                              
   4a306:	6712           	beqs 4a31a <_Thread_Restart+0x7a>           
    _Context_Restore_fp( &_Thread_Executing->fp_context );            
   4a308:	486a 00f6      	pea %a2@(246)                               
   4a30c:	4eb9 0004 add2 	jsr 4add2 <_CPU_Context_restore_fp>         
   4a312:	2479 0006 206a 	moveal 6206a <_Per_CPU_Information+0xc>,%a2 
   4a318:	588f           	addql #4,%sp                                
#endif                                                                
                                                                      
  _CPU_Context_Restart_self( &_Thread_Executing->Registers );         
   4a31a:	486a 00c2      	pea %a2@(194)                               
   4a31e:	4eb9 0004 ac8a 	jsr 4ac8a <_CPU_Context_Restart_self>       
   4a324:	246e fffc      	moveal %fp@(-4),%a2                         <== NOT EXECUTED
   4a328:	588f           	addql #4,%sp                                <== NOT EXECUTED
   4a32a:	4e5e           	unlk %fp                                    <== NOT EXECUTED
    _User_extensions_Thread_restart( the_thread );                    
                                                                      
    if ( _Thread_Is_executing ( the_thread ) )                        
      _Thread_Restart_self();                                         
                                                                      
    return true;                                                      
   4a32c:	7001           	moveq #1,%d0                                <== NOT EXECUTED
  }                                                                   
                                                                      
  return false;                                                       
}                                                                     
                                                                      

0004987c <_Thread_Tickle_timeslice>: * * Output parameters: NONE */ void _Thread_Tickle_timeslice( void ) {
   4987c:	4e56 0000      	linkw %fp,#0                                
   49880:	2f0a           	movel %a2,%sp@-                             
  Thread_Control *executing;                                          
                                                                      
  executing = _Thread_Executing;                                      
   49882:	2479 0006 10d2 	moveal 610d2 <_Per_CPU_Information+0xc>,%a2 
  /*                                                                  
   *  If the thread is not preemptible or is not ready, then          
   *  just return.                                                    
   */                                                                 
                                                                      
  if ( !executing->is_preemptible )                                   
   49888:	4a2a 0074      	tstb %a2@(116)                              
   4988c:	6720           	beqs 498ae <_Thread_Tickle_timeslice+0x32>  
    return;                                                           
                                                                      
  if ( !_States_Is_ready( executing->current_state ) )                
   4988e:	4aaa 0010      	tstl %a2@(16)                               
   49892:	661a           	bnes 498ae <_Thread_Tickle_timeslice+0x32>  
                                                                      
  /*                                                                  
   *  The cpu budget algorithm determines what happens next.          
   */                                                                 
                                                                      
  switch ( executing->budget_algorithm ) {                            
   49894:	202a 007a      	movel %a2@(122),%d0                         
   49898:	7201           	moveq #1,%d1                                
   4989a:	b280           	cmpl %d0,%d1                                
   4989c:	6210           	bhis 498ae <_Thread_Tickle_timeslice+0x32>  
   4989e:	123c 0002      	moveb #2,%d1                                
   498a2:	b280           	cmpl %d0,%d1                                
   498a4:	642e           	bccs 498d4 <_Thread_Tickle_timeslice+0x58>  
   498a6:	123c 0003      	moveb #3,%d1                                
   498aa:	b280           	cmpl %d0,%d1                                
   498ac:	6708           	beqs 498b6 <_Thread_Tickle_timeslice+0x3a>  <== ALWAYS TAKEN
	if ( --executing->cpu_time_budget == 0 )                             
	  (*executing->budget_callout)( executing );                         
	break;                                                               
    #endif                                                            
  }                                                                   
}                                                                     
   498ae:	246e fffc      	moveal %fp@(-4),%a2                         
   498b2:	4e5e           	unlk %fp                                    
   498b4:	4e75           	rts                                         
      }                                                               
      break;                                                          
                                                                      
    #if defined(RTEMS_SCORE_THREAD_ENABLE_SCHEDULER_CALLOUT)          
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	if ( --executing->cpu_time_budget == 0 )                             
   498b6:	202a 0076      	movel %a2@(118),%d0                         
   498ba:	5380           	subql #1,%d0                                
   498bc:	2540 0076      	movel %d0,%a2@(118)                         
   498c0:	66ec           	bnes 498ae <_Thread_Tickle_timeslice+0x32>  
	  (*executing->budget_callout)( executing );                         
   498c2:	2f0a           	movel %a2,%sp@-                             
   498c4:	206a 007e      	moveal %a2@(126),%a0                        
   498c8:	4e90           	jsr %a0@                                    
	break;                                                               
    #endif                                                            
  }                                                                   
}                                                                     
   498ca:	246e fffc      	moveal %fp@(-4),%a2                         
      break;                                                          
                                                                      
    #if defined(RTEMS_SCORE_THREAD_ENABLE_SCHEDULER_CALLOUT)          
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	if ( --executing->cpu_time_budget == 0 )                             
	  (*executing->budget_callout)( executing );                         
   498ce:	588f           	addql #4,%sp                                
	break;                                                               
    #endif                                                            
  }                                                                   
}                                                                     
   498d0:	4e5e           	unlk %fp                                    
   498d2:	4e75           	rts                                         
                                                                      
    case THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE:                 
    #if defined(RTEMS_SCORE_THREAD_ENABLE_EXHAUST_TIMESLICE)          
      case THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE:             
    #endif                                                            
      if ( (int)(--executing->cpu_time_budget) <= 0 ) {               
   498d4:	202a 0076      	movel %a2@(118),%d0                         
   498d8:	5380           	subql #1,%d0                                
   498da:	2540 0076      	movel %d0,%a2@(118)                         
   498de:	6ece           	bgts 498ae <_Thread_Tickle_timeslice+0x32>  
 *  always operates on the scheduler that 'owns' the currently executing
 *  thread.                                                           
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_Yield( void )                    
{                                                                     
  _Scheduler.Operations.yield();                                      
   498e0:	2079 0005 f2ac 	moveal 5f2ac <_Scheduler+0xc>,%a0           
   498e6:	4e90           	jsr %a0@                                    
         *  executing thread's timeslice is reset.  Otherwise, the    
         *  currently executing thread is placed at the rear of the   
         *  FIFO for this priority and a new heir is selected.        
         */                                                           
        _Scheduler_Yield( );                                          
        executing->cpu_time_budget = _Thread_Ticks_per_timeslice;     
   498e8:	41f9 0006 0c20 	lea 60c20 <_Thread_Ticks_per_timeslice>,%a0 
   498ee:	2550 0076      	movel %a0@,%a2@(118)                        
	if ( --executing->cpu_time_budget == 0 )                             
	  (*executing->budget_callout)( executing );                         
	break;                                                               
    #endif                                                            
  }                                                                   
}                                                                     
   498f2:	246e fffc      	moveal %fp@(-4),%a2                         
   498f6:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00048870 <_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 ) ) {
   48870:	7202           	moveq #2,%d1                                
  Thread_blocking_operation_States  sync_state __attribute__((unused)),
#endif                                                                
  Thread_Control                   *the_thread,                       
  ISR_Level                         level                             
)                                                                     
{                                                                     
   48872:	4e56 0000      	linkw %fp,#0                                
   48876:	202e 0010      	movel %fp@(16),%d0                          
   4887a:	2f0a           	movel %a2,%sp@-                             
   4887c:	246e 000c      	moveal %fp@(12),%a2                         
  #endif                                                              
                                                                      
  /*                                                                  
   * The thread is not waiting on anything after this completes.      
   */                                                                 
  the_thread->Wait.queue = NULL;                                      
   48880:	42aa 0044      	clrl %a2@(68)                               
                                                                      
  /*                                                                  
   *  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 ) ) {                  
   48884:	b2aa 0050      	cmpl %a2@(80),%d1                           
   48888:	671c           	beqs 488a6 <_Thread_blocking_operation_Cancel+0x36>
    _Watchdog_Deactivate( &the_thread->Timer );                       
    _ISR_Enable( level );                                             
    (void) _Watchdog_Remove( &the_thread->Timer );                    
  } else                                                              
    _ISR_Enable( level );                                             
   4888a:	46c0           	movew %d0,%sr                               
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
   4888c:	2d4a 0008      	movel %a2,%fp@(8)                           
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
                                                                      
}                                                                     
   48890:	246e fffc      	moveal %fp@(-4),%a2                         
   48894:	203c 1003 fff8 	movel #268697592,%d0                        
   4889a:	2d40 000c      	movel %d0,%fp@(12)                          
   4889e:	4e5e           	unlk %fp                                    
   488a0:	4ef9 0004 89bc 	jmp 489bc <_Thread_Clear_state>             
RTEMS_INLINE_ROUTINE void _Watchdog_Deactivate(                       
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_REMOVE_IT;                           
   488a6:	123c 0003      	moveb #3,%d1                                
   488aa:	2541 0050      	movel %d1,%a2@(80)                          
   *  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 ) ) {                  
    _Watchdog_Deactivate( &the_thread->Timer );                       
    _ISR_Enable( level );                                             
   488ae:	46c0           	movew %d0,%sr                               
    (void) _Watchdog_Remove( &the_thread->Timer );                    
   488b0:	486a 0048      	pea %a2@(72)                                
   488b4:	4eb9 0004 9da0 	jsr 49da0 <_Watchdog_Remove>                
   488ba:	588f           	addql #4,%sp                                
   488bc:	203c 1003 fff8 	movel #268697592,%d0                        
   488c2:	2d4a 0008      	movel %a2,%fp@(8)                           
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
                                                                      
}                                                                     
   488c6:	246e fffc      	moveal %fp@(-4),%a2                         
   488ca:	2d40 000c      	movel %d0,%fp@(12)                          
   488ce:	4e5e           	unlk %fp                                    
   488d0:	4ef9 0004 89bc 	jmp 489bc <_Thread_Clear_state>             
	...                                                                  
                                                                      

00049194 <_Thread_queue_Dequeue_priority>: Chain_Node *new_second_node; Chain_Node *last_node; Chain_Node *next_node; Chain_Node *previous_node; _ISR_Disable( level );
   49194:	203c 0000 0700 	movel #1792,%d0                             
 */                                                                   
                                                                      
Thread_Control *_Thread_queue_Dequeue_priority(                       
  Thread_queue_Control *the_thread_queue                              
)                                                                     
{                                                                     
   4919a:	4e56 ffe8      	linkw %fp,#-24                              
   4919e:	48d7 3c0c      	moveml %d2-%d3/%a2-%a5,%sp@                 
   491a2:	266e 0008      	moveal %fp@(8),%a3                          
  Chain_Node     *new_second_node;                                    
  Chain_Node     *last_node;                                          
  Chain_Node     *next_node;                                          
  Chain_Node     *previous_node;                                      
                                                                      
  _ISR_Disable( level );                                              
   491a6:	40c3           	movew %sr,%d3                               
   491a8:	8083           	orl %d3,%d0                                 
   491aa:	46c0           	movew %d0,%sr                               
  for( index=0 ;                                                      
   491ac:	4280           	clrl %d0                                    
  Chain_Node     *new_second_node;                                    
  Chain_Node     *last_node;                                          
  Chain_Node     *next_node;                                          
  Chain_Node     *previous_node;                                      
                                                                      
  _ISR_Disable( level );                                              
   491ae:	204b           	moveal %a3,%a0                              
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
   491b0:	2400           	movel %d0,%d2                               
   491b2:	2200           	movel %d0,%d1                               
  for( index=0 ;                                                      
       index < TASK_QUEUE_DATA_NUMBER_OF_PRIORITY_HEADERS ;           
       index++ ) {                                                    
   491b4:	5280           	addql #1,%d0                                
   491b6:	e58a           	lsll #2,%d2                                 
   491b8:	e989           	lsll #4,%d1                                 
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
  return( the_thread );                                               
}                                                                     
   491ba:	2450           	moveal %a0@,%a2                             
   491bc:	9282           	subl %d2,%d1                                
  Chain_Node     *previous_node;                                      
                                                                      
  _ISR_Disable( level );                                              
  for( index=0 ;                                                      
       index < TASK_QUEUE_DATA_NUMBER_OF_PRIORITY_HEADERS ;           
       index++ ) {                                                    
   491be:	41e8 000c      	lea %a0@(12),%a0                            
   491c2:	43f3 1804      	lea %a3@(00000004,%d1:l),%a1                
    if ( !_Chain_Is_empty( &the_thread_queue->Queues.Priority[ index ] ) ) {
   491c6:	b3ca           	cmpal %a2,%a1                               
   491c8:	6616           	bnes 491e0 <_Thread_queue_Dequeue_priority+0x4c>
  Chain_Node     *last_node;                                          
  Chain_Node     *next_node;                                          
  Chain_Node     *previous_node;                                      
                                                                      
  _ISR_Disable( level );                                              
  for( index=0 ;                                                      
   491ca:	7204           	moveq #4,%d1                                
   491cc:	b280           	cmpl %d0,%d1                                
   491ce:	66e0           	bnes 491b0 <_Thread_queue_Dequeue_priority+0x1c>
  }                                                                   
                                                                      
  /*                                                                  
   * We did not find a thread to unblock.                             
   */                                                                 
  _ISR_Enable( level );                                               
   491d0:	46c3           	movew %d3,%sr                               
  return NULL;                                                        
   491d2:	4282           	clrl %d2                                    
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
  return( the_thread );                                               
}                                                                     
   491d4:	2002           	movel %d2,%d0                               
   491d6:	4cee 3c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a5            
   491dc:	4e5e           	unlk %fp                                    
   491de:	4e75           	rts                                         
   491e0:	200a           	movel %a2,%d0                               
  _ISR_Disable( level );                                              
  for( index=0 ;                                                      
       index < TASK_QUEUE_DATA_NUMBER_OF_PRIORITY_HEADERS ;           
       index++ ) {                                                    
    if ( !_Chain_Is_empty( &the_thread_queue->Queues.Priority[ index ] ) ) {
      the_thread = (Thread_Control *) _Chain_First(                   
   491e2:	240a           	movel %a2,%d2                               
   491e4:	0680 0000 003c 	addil #60,%d0                               
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
  return( the_thread );                                               
}                                                                     
   491ea:	206a 0038      	moveal %a2@(56),%a0                         
                                                                      
dequeue:                                                              
  the_thread->Wait.queue = NULL;                                      
  new_first_node   = _Chain_First( &the_thread->Wait.Block2n );       
  new_first_thread = (Thread_Control *) new_first_node;               
  next_node        = the_thread->Object.Node.next;                    
   491ee:	2252           	moveal %a2@,%a1                             
  previous_node    = the_thread->Object.Node.previous;                
   491f0:	266a 0004      	moveal %a2@(4),%a3                          
   */                                                                 
  _ISR_Enable( level );                                               
  return NULL;                                                        
                                                                      
dequeue:                                                              
  the_thread->Wait.queue = NULL;                                      
   491f4:	42aa 0044      	clrl %a2@(68)                               
  new_first_node   = _Chain_First( &the_thread->Wait.Block2n );       
  new_first_thread = (Thread_Control *) new_first_node;               
  next_node        = the_thread->Object.Node.next;                    
  previous_node    = the_thread->Object.Node.previous;                
                                                                      
  if ( !_Chain_Is_empty( &the_thread->Wait.Block2n ) ) {              
   491f8:	b088           	cmpl %a0,%d0                                
   491fa:	6700 008a      	beqw 49286 <_Thread_queue_Dequeue_priority+0xf2>
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
  return( the_thread );                                               
}                                                                     
   491fe:	286a 0040      	moveal %a2@(64),%a4                         
  next_node        = the_thread->Object.Node.next;                    
  previous_node    = the_thread->Object.Node.previous;                
                                                                      
  if ( !_Chain_Is_empty( &the_thread->Wait.Block2n ) ) {              
    last_node       = _Chain_Last( &the_thread->Wait.Block2n );       
    new_second_node = new_first_node->next;                           
   49202:	2a50           	moveal %a0@,%a5                             
                                                                      
    previous_node->next      = new_first_node;                        
    next_node->previous      = new_first_node;                        
   49204:	2348 0004      	movel %a0,%a1@(4)                           
                                                                      
  if ( !_Chain_Is_empty( &the_thread->Wait.Block2n ) ) {              
    last_node       = _Chain_Last( &the_thread->Wait.Block2n );       
    new_second_node = new_first_node->next;                           
                                                                      
    previous_node->next      = new_first_node;                        
   49208:	2688           	movel %a0,%a3@                              
    next_node->previous      = new_first_node;                        
    new_first_node->next     = next_node;                             
    new_first_node->previous = previous_node;                         
   4920a:	214b 0004      	movel %a3,%a0@(4)                           
    last_node       = _Chain_Last( &the_thread->Wait.Block2n );       
    new_second_node = new_first_node->next;                           
                                                                      
    previous_node->next      = new_first_node;                        
    next_node->previous      = new_first_node;                        
    new_first_node->next     = next_node;                             
   4920e:	2089           	movel %a1,%a0@                              
    new_first_node->previous = previous_node;                         
                                                                      
    if ( !_Chain_Has_only_one_node( &the_thread->Wait.Block2n ) ) {   
   49210:	226a 0040      	moveal %a2@(64),%a1                         
   49214:	b3ea 0038      	cmpal %a2@(56),%a1                          
   49218:	6716           	beqs 49230 <_Thread_queue_Dequeue_priority+0x9c>
                                                /* > two threads on 2-n */
      head = _Chain_Head( &new_first_thread->Wait.Block2n );          
      tail = _Chain_Tail( &new_first_thread->Wait.Block2n );          
                                                                      
      new_second_node->previous = head;                               
      head->next = new_second_node;                                   
   4921a:	214d 0038      	movel %a5,%a0@(56)                          
    new_first_node->previous = previous_node;                         
                                                                      
    if ( !_Chain_Has_only_one_node( &the_thread->Wait.Block2n ) ) {   
                                                /* > two threads on 2-n */
      head = _Chain_Head( &new_first_thread->Wait.Block2n );          
      tail = _Chain_Tail( &new_first_thread->Wait.Block2n );          
   4921e:	43e8 003c      	lea %a0@(60),%a1                            
   49222:	2889           	movel %a1,%a4@                              
    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 */
      head = _Chain_Head( &new_first_thread->Wait.Block2n );          
   49224:	43e8 0038      	lea %a0@(56),%a1                            
   49228:	2b49 0004      	movel %a1,%a5@(4)                           
      tail = _Chain_Tail( &new_first_thread->Wait.Block2n );          
                                                                      
      new_second_node->previous = head;                               
      head->next = new_second_node;                                   
      tail->previous = last_node;                                     
   4922c:	214c 0040      	movel %a4,%a0@(64)                          
  } else {                                                            
    previous_node->next = next_node;                                  
    next_node->previous = previous_node;                              
  }                                                                   
                                                                      
  if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {                 
   49230:	7002           	moveq #2,%d0                                
   49232:	b0aa 0050      	cmpl %a2@(80),%d0                           
   49236:	671e           	beqs 49256 <_Thread_queue_Dequeue_priority+0xc2>
    _ISR_Enable( level );                                             
   49238:	46c3           	movew %d3,%sr                               
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
   4923a:	2f3c 1003 fff8 	movel #268697592,%sp@-                      
   49240:	2f0a           	movel %a2,%sp@-                             
   49242:	4eb9 0004 89bc 	jsr 489bc <_Thread_Clear_state>             
   49248:	508f           	addql #8,%sp                                
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
  return( the_thread );                                               
}                                                                     
   4924a:	2002           	movel %d2,%d0                               
   4924c:	4cee 3c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a5            
   49252:	4e5e           	unlk %fp                                    
   49254:	4e75           	rts                                         
RTEMS_INLINE_ROUTINE void _Watchdog_Deactivate(                       
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_REMOVE_IT;                           
   49256:	7203           	moveq #3,%d1                                
   49258:	2541 0050      	movel %d1,%a2@(80)                          
  if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {                 
    _ISR_Enable( level );                                             
    _Thread_Unblock( the_thread );                                    
  } else {                                                            
    _Watchdog_Deactivate( &the_thread->Timer );                       
    _ISR_Enable( level );                                             
   4925c:	46c3           	movew %d3,%sr                               
    (void) _Watchdog_Remove( &the_thread->Timer );                    
   4925e:	486a 0048      	pea %a2@(72)                                
   49262:	4eb9 0004 9da0 	jsr 49da0 <_Watchdog_Remove>                
   49268:	2f3c 1003 fff8 	movel #268697592,%sp@-                      
   4926e:	2f0a           	movel %a2,%sp@-                             
   49270:	4eb9 0004 89bc 	jsr 489bc <_Thread_Clear_state>             
   49276:	4fef 000c      	lea %sp@(12),%sp                            
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
  return( the_thread );                                               
}                                                                     
   4927a:	2002           	movel %d2,%d0                               
   4927c:	4cee 3c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a5            
   49282:	4e5e           	unlk %fp                                    
   49284:	4e75           	rts                                         
      head->next = new_second_node;                                   
      tail->previous = last_node;                                     
      last_node->next = tail;                                         
    }                                                                 
  } else {                                                            
    previous_node->next = next_node;                                  
   49286:	2689           	movel %a1,%a3@                              
    next_node->previous = previous_node;                              
   49288:	234b 0004      	movel %a3,%a1@(4)                           
   4928c:	60a2           	bras 49230 <_Thread_queue_Dequeue_priority+0x9c>
	...                                                                  
                                                                      

00049338 <_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 ) {
   49338:	4e56 ffe0      	linkw %fp,#-32                              
   4933c:	48d7 1c7c      	moveml %d2-%d6/%a2-%a4,%sp@                 
   49340:	246e 000c      	moveal %fp@(12),%a2                         
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
   49344:	41ea 003c      	lea %a2@(60),%a0                            
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
   49348:	49ea 0038      	lea %a2@(56),%a4                            
   4934c:	266e 0008      	moveal %fp@(8),%a3                          
  Priority_Control     priority;                                      
  States_Control       block_state;                                   
                                                                      
  _Chain_Initialize_empty( &the_thread->Wait.Block2n );               
                                                                      
  priority     = the_thread->current_priority;                        
   49350:	222a 0014      	movel %a2@(20),%d1                          
                                                                      
RTEMS_INLINE_ROUTINE uint32_t   _Thread_queue_Header_number (         
  Priority_Control the_priority                                       
)                                                                     
{                                                                     
  return (the_priority / TASK_QUEUE_DATA_PRIORITIES_PER_HEADER);      
   49354:	2a01           	movel %d1,%d5                               
   49356:	ec8d           	lsrl #6,%d5                                 
  header_index = _Thread_queue_Header_number( priority );             
  header       = &the_thread_queue->Queues.Priority[ header_index ];  
  block_state  = the_thread_queue->state;                             
   49358:	242b 0038      	movel %a3@(56),%d2                          
  Chain_Node *tail = _Chain_Tail( the_chain );                        
   4935c:	2548 0038      	movel %a0,%a2@(56)                          
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
   49360:	254c 0040      	movel %a4,%a2@(64)                          
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
   49364:	42aa 003c      	clrl %a2@(60)                               
                                                                      
  if ( _Thread_queue_Is_reverse_search( priority ) )                  
   49368:	0801 0005      	btst #5,%d1                                 
   4936c:	665e           	bnes 493cc <_Thread_queue_Enqueue_priority+0x94>
   4936e:	700c           	moveq #12,%d0                               
   49370:	4c00 5800      	mulsl %d0,%d5                               
    goto restart_reverse_search;                                      
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
  _ISR_Disable( level );                                              
   49374:	2c3c 0000 0700 	movel #1792,%d6                             
   4937a:	2006           	movel %d6,%d0                               
RTEMS_INLINE_ROUTINE bool _Chain_Is_tail(                             
  Chain_Control *the_chain,                                           
  const Chain_Node    *the_node                                       
)                                                                     
{                                                                     
  return (the_node == _Chain_Tail(the_chain));                        
   4937c:	49f3 5804      	lea %a3@(00000004,%d5:l),%a4                
   49380:	40c3           	movew %sr,%d3                               
   49382:	8083           	orl %d3,%d0                                 
   49384:	46c0           	movew %d0,%sr                               
   49386:	2803           	movel %d3,%d4                               
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  *level_p = level;                                                   
  return the_thread_queue->sync_state;                                
}                                                                     
   49388:	2073 5800      	moveal %a3@(00000000,%d5:l),%a0             
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) _Chain_First( header );          
  while ( !_Chain_Is_tail( header, (Chain_Node *)search_thread ) ) {  
   4938c:	b9c8           	cmpal %a0,%a4                               
   4938e:	6700 013a      	beqw 494ca <_Thread_queue_Enqueue_priority+0x192>
    search_priority = search_thread->current_priority;                
   49392:	2268 0014      	moveal %a0@(20),%a1                         
    if ( priority <= search_priority )                                
   49396:	b3c1           	cmpal %d1,%a1                               
   49398:	6418           	bccs 493b2 <_Thread_queue_Enqueue_priority+0x7a>
      break;                                                          
    search_priority = search_thread->current_priority;                
    if ( priority <= search_priority )                                
      break;                                                          
#endif                                                                
    _ISR_Flash( level );                                              
   4939a:	2006           	movel %d6,%d0                               
   4939c:	46c3           	movew %d3,%sr                               
   4939e:	8083           	orl %d3,%d0                                 
   493a0:	46c0           	movew %d0,%sr                               
RTEMS_INLINE_ROUTINE bool _States_Are_set (                           
  States_Control the_states,                                          
  States_Control mask                                                 
)                                                                     
{                                                                     
   return ( (the_states & mask) != STATES_READY);                     
   493a2:	2002           	movel %d2,%d0                               
   493a4:	c0a8 0010      	andl %a0@(16),%d0                           
    if ( !_States_Are_set( search_thread->current_state, block_state) ) {
   493a8:	6700 00be      	beqw 49468 <_Thread_queue_Enqueue_priority+0x130>
      _ISR_Enable( level );                                           
      goto restart_forward_search;                                    
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
   493ac:	2050           	moveal %a0@,%a0                             
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) _Chain_First( header );          
  while ( !_Chain_Is_tail( header, (Chain_Node *)search_thread ) ) {  
   493ae:	b9c8           	cmpal %a0,%a4                               
   493b0:	66e0           	bnes 49392 <_Thread_queue_Enqueue_priority+0x5a>
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
   493b2:	202b 0030      	movel %a3@(48),%d0                          
   493b6:	7401           	moveq #1,%d2                                
   493b8:	b480           	cmpl %d0,%d2                                
   493ba:	6700 00c4      	beqw 49480 <_Thread_queue_Enqueue_priority+0x148>
   *  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;                                                   
   493be:	206e 0010      	moveal %fp@(16),%a0                         
   493c2:	2084           	movel %d4,%a0@                              
  return the_thread_queue->sync_state;                                
}                                                                     
   493c4:	4cd7 1c7c      	moveml %sp@,%d2-%d6/%a2-%a4                 
   493c8:	4e5e           	unlk %fp                                    
   493ca:	4e75           	rts                                         
   493cc:	700c           	moveq #12,%d0                               
   493ce:	4c00 5800      	mulsl %d0,%d5                               
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
                                                                      
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
   493d2:	4283           	clrl %d3                                    
   493d4:	1639 0005 f372 	moveb 5f372 <rtems_maximum_priority>,%d3    
                                                                      
  _ISR_Disable( level );                                              
   493da:	2c3c 0000 0700 	movel #1792,%d6                             
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  *level_p = level;                                                   
  return the_thread_queue->sync_state;                                
}                                                                     
   493e0:	da8b           	addl %a3,%d5                                
   493e2:	2845           	moveal %d5,%a4                              
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
                                                                      
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
   493e4:	2243           	moveal %d3,%a1                              
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  *level_p = level;                                                   
  return the_thread_queue->sync_state;                                
}                                                                     
   493e6:	508c           	addql #8,%a4                                
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
                                                                      
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
                                                                      
  _ISR_Disable( level );                                              
   493e8:	2006           	movel %d6,%d0                               
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
                                                                      
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
   493ea:	5289           	addql #1,%a1                                
                                                                      
  _ISR_Disable( level );                                              
   493ec:	40c3           	movew %sr,%d3                               
   493ee:	8083           	orl %d3,%d0                                 
   493f0:	46c0           	movew %d0,%sr                               
   493f2:	2803           	movel %d3,%d4                               
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  *level_p = level;                                                   
  return the_thread_queue->sync_state;                                
}                                                                     
   493f4:	2054           	moveal %a4@,%a0                             
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
                                                                      
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) _Chain_Last( header );           
  while ( !_Chain_Is_head( header, (Chain_Node *)search_thread ) ) {  
   493f6:	ba88           	cmpl %a0,%d5                                
   493f8:	6720           	beqs 4941a <_Thread_queue_Enqueue_priority+0xe2>
    search_priority = search_thread->current_priority;                
   493fa:	2268 0014      	moveal %a0@(20),%a1                         
    if ( priority >= search_priority )                                
   493fe:	b3c1           	cmpal %d1,%a1                               
   49400:	6318           	blss 4941a <_Thread_queue_Enqueue_priority+0xe2>
      break;                                                          
    search_priority = search_thread->current_priority;                
    if ( priority >= search_priority )                                
      break;                                                          
#endif                                                                
    _ISR_Flash( level );                                              
   49402:	2006           	movel %d6,%d0                               
   49404:	46c3           	movew %d3,%sr                               
   49406:	8083           	orl %d3,%d0                                 
   49408:	46c0           	movew %d0,%sr                               
   4940a:	2002           	movel %d2,%d0                               
   4940c:	c0a8 0010      	andl %a0@(16),%d0                           
    if ( !_States_Are_set( search_thread->current_state, block_state) ) {
   49410:	6736           	beqs 49448 <_Thread_queue_Enqueue_priority+0x110><== NEVER TAKEN
      _ISR_Enable( level );                                           
      goto restart_reverse_search;                                    
    }                                                                 
    search_thread = (Thread_Control *)                                
                         search_thread->Object.Node.previous;         
   49412:	2068 0004      	moveal %a0@(4),%a0                          
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
                                                                      
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) _Chain_Last( header );           
  while ( !_Chain_Is_head( header, (Chain_Node *)search_thread ) ) {  
   49416:	ba88           	cmpl %a0,%d5                                
   49418:	66e0           	bnes 493fa <_Thread_queue_Enqueue_priority+0xc2>
    }                                                                 
    search_thread = (Thread_Control *)                                
                         search_thread->Object.Node.previous;         
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
   4941a:	202b 0030      	movel %a3@(48),%d0                          
   4941e:	7401           	moveq #1,%d2                                
   49420:	b480           	cmpl %d0,%d2                                
   49422:	669a           	bnes 493be <_Thread_queue_Enqueue_priority+0x86>
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
   49424:	42ab 0030      	clrl %a3@(48)                               
                                                                      
  if ( priority == search_priority )                                  
   49428:	b3c1           	cmpal %d1,%a1                               
   4942a:	677a           	beqs 494a6 <_Thread_queue_Enqueue_priority+0x16e>
    goto equal_priority;                                              
                                                                      
  search_node = (Chain_Node *) search_thread;                         
  next_node   = search_node->next;                                    
   4942c:	2250           	moveal %a0@,%a1                             
  the_node    = (Chain_Node *) the_thread;                            
                                                                      
  the_node->next          = next_node;                                
  the_node->previous      = search_node;                              
   4942e:	2548 0004      	movel %a0,%a2@(4)                           
                                                                      
  search_node = (Chain_Node *) search_thread;                         
  next_node   = search_node->next;                                    
  the_node    = (Chain_Node *) the_thread;                            
                                                                      
  the_node->next          = next_node;                                
   49432:	2489           	movel %a1,%a2@                              
  the_node->previous      = search_node;                              
  search_node->next       = the_node;                                 
  next_node->previous    = the_node;                                  
   49434:	234a 0004      	movel %a2,%a1@(4)                           
  next_node   = search_node->next;                                    
  the_node    = (Chain_Node *) the_thread;                            
                                                                      
  the_node->next          = next_node;                                
  the_node->previous      = search_node;                              
  search_node->next       = the_node;                                 
   49438:	208a           	movel %a2,%a0@                              
  next_node->previous    = the_node;                                  
  the_thread->Wait.queue = the_thread_queue;                          
   4943a:	254b 0044      	movel %a3,%a2@(68)                          
  _ISR_Enable( level );                                               
   4943e:	46c3           	movew %d3,%sr                               
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  *level_p = level;                                                   
  return the_thread_queue->sync_state;                                
}                                                                     
   49440:	4cd7 1c7c      	moveml %sp@,%d2-%d6/%a2-%a4                 
   49444:	4e5e           	unlk %fp                                    
   49446:	4e75           	rts                                         
    if ( priority >= search_priority )                                
      break;                                                          
#endif                                                                
    _ISR_Flash( level );                                              
    if ( !_States_Are_set( search_thread->current_state, block_state) ) {
      _ISR_Enable( level );                                           
   49448:	46c3           	movew %d3,%sr                               <== NOT EXECUTED
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
                                                                      
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
   4944a:	4283           	clrl %d3                                    <== NOT EXECUTED
   4944c:	1639 0005 f372 	moveb 5f372 <rtems_maximum_priority>,%d3    <== NOT EXECUTED
                                                                      
  _ISR_Disable( level );                                              
   49452:	2006           	movel %d6,%d0                               <== NOT EXECUTED
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
                                                                      
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
   49454:	2243           	moveal %d3,%a1                              <== NOT EXECUTED
   49456:	5289           	addql #1,%a1                                <== NOT EXECUTED
                                                                      
  _ISR_Disable( level );                                              
   49458:	40c3           	movew %sr,%d3                               <== NOT EXECUTED
   4945a:	8083           	orl %d3,%d0                                 <== NOT EXECUTED
   4945c:	46c0           	movew %d0,%sr                               <== NOT EXECUTED
   4945e:	2803           	movel %d3,%d4                               <== NOT EXECUTED
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  *level_p = level;                                                   
  return the_thread_queue->sync_state;                                
}                                                                     
   49460:	2054           	moveal %a4@,%a0                             <== NOT EXECUTED
restart_reverse_search:                                               
  search_priority     = PRIORITY_MAXIMUM + 1;                         
                                                                      
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) _Chain_Last( header );           
  while ( !_Chain_Is_head( header, (Chain_Node *)search_thread ) ) {  
   49462:	ba88           	cmpl %a0,%d5                                <== NOT EXECUTED
   49464:	6694           	bnes 493fa <_Thread_queue_Enqueue_priority+0xc2><== NOT EXECUTED
   49466:	60b2           	bras 4941a <_Thread_queue_Enqueue_priority+0xe2><== NOT EXECUTED
    if ( priority <= search_priority )                                
      break;                                                          
#endif                                                                
    _ISR_Flash( level );                                              
    if ( !_States_Are_set( search_thread->current_state, block_state) ) {
      _ISR_Enable( level );                                           
   49468:	46c3           	movew %d3,%sr                               
  if ( _Thread_queue_Is_reverse_search( priority ) )                  
    goto restart_reverse_search;                                      
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
  _ISR_Disable( level );                                              
   4946a:	2006           	movel %d6,%d0                               
   4946c:	40c3           	movew %sr,%d3                               
   4946e:	8083           	orl %d3,%d0                                 
   49470:	46c0           	movew %d0,%sr                               
   49472:	2803           	movel %d3,%d4                               
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  *level_p = level;                                                   
  return the_thread_queue->sync_state;                                
}                                                                     
   49474:	2073 5800      	moveal %a3@(00000000,%d5:l),%a0             
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
  _ISR_Disable( level );                                              
  search_thread = (Thread_Control *) _Chain_First( header );          
  while ( !_Chain_Is_tail( header, (Chain_Node *)search_thread ) ) {  
   49478:	b9c8           	cmpal %a0,%a4                               
   4947a:	6600 ff16      	bnew 49392 <_Thread_queue_Enqueue_priority+0x5a>
   4947e:	604a           	bras 494ca <_Thread_queue_Enqueue_priority+0x192>
                                                                      
  if ( the_thread_queue->sync_state !=                                
       THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )                   
    goto synchronize;                                                 
                                                                      
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
   49480:	42ab 0030      	clrl %a3@(48)                               
                                                                      
  if ( priority == search_priority )                                  
   49484:	b3c1           	cmpal %d1,%a1                               
   49486:	671e           	beqs 494a6 <_Thread_queue_Enqueue_priority+0x16e>
    goto equal_priority;                                              
                                                                      
  search_node   = (Chain_Node *) search_thread;                       
  previous_node = search_node->previous;                              
   49488:	2268 0004      	moveal %a0@(4),%a1                          
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
   4948c:	2488           	movel %a0,%a2@                              
  the_node->previous     = previous_node;                             
   4948e:	2549 0004      	movel %a1,%a2@(4)                           
  previous_node->next    = the_node;                                  
   49492:	228a           	movel %a2,%a1@                              
  search_node->previous  = the_node;                                  
   49494:	214a 0004      	movel %a2,%a0@(4)                           
  the_thread->Wait.queue = the_thread_queue;                          
   49498:	254b 0044      	movel %a3,%a2@(68)                          
  _ISR_Enable( level );                                               
   4949c:	46c3           	movew %d3,%sr                               
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  *level_p = level;                                                   
  return the_thread_queue->sync_state;                                
}                                                                     
   4949e:	4cd7 1c7c      	moveml %sp@,%d2-%d6/%a2-%a4                 
   494a2:	4e5e           	unlk %fp                                    
   494a4:	4e75           	rts                                         
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
                                                                      
equal_priority:               /* add at end of priority group */      
  search_node   = _Chain_Tail( &search_thread->Wait.Block2n );        
   494a6:	49e8 003c      	lea %a0@(60),%a4                            
  previous_node = search_node->previous;                              
   494aa:	2268 0040      	moveal %a0@(64),%a1                         
  the_thread->Wait.queue = the_thread_queue;                          
  _ISR_Enable( level );                                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
                                                                      
equal_priority:               /* add at end of priority group */      
  search_node   = _Chain_Tail( &search_thread->Wait.Block2n );        
   494ae:	248c           	movel %a4,%a2@                              
  previous_node = search_node->previous;                              
  the_node      = (Chain_Node *) the_thread;                          
                                                                      
  the_node->next         = search_node;                               
  the_node->previous     = previous_node;                             
   494b0:	2549 0004      	movel %a1,%a2@(4)                           
  previous_node->next    = the_node;                                  
   494b4:	228a           	movel %a2,%a1@                              
  search_node->previous  = the_node;                                  
   494b6:	214a 0040      	movel %a2,%a0@(64)                          
  the_thread->Wait.queue = the_thread_queue;                          
   494ba:	254b 0044      	movel %a3,%a2@(68)                          
  _ISR_Enable( level );                                               
   494be:	46c4           	movew %d4,%sr                               
  return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;                  
   494c0:	7001           	moveq #1,%d0                                
   *                                                                  
   *  WARNING! Returning with interrupts disabled!                    
   */                                                                 
  *level_p = level;                                                   
  return the_thread_queue->sync_state;                                
}                                                                     
   494c2:	4cd7 1c7c      	moveml %sp@,%d2-%d6/%a2-%a4                 
   494c6:	4e5e           	unlk %fp                                    
   494c8:	4e75           	rts                                         
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
   494ca:	202b 0030      	movel %a3@(48),%d0                          
                                                                      
  if ( _Thread_queue_Is_reverse_search( priority ) )                  
    goto restart_reverse_search;                                      
                                                                      
restart_forward_search:                                               
  search_priority = PRIORITY_MINIMUM - 1;                             
   494ce:	327c ffff      	moveaw #-1,%a1                              
    }                                                                 
    search_thread =                                                   
       (Thread_Control *)search_thread->Object.Node.next;             
  }                                                                   
                                                                      
  if ( the_thread_queue->sync_state !=                                
   494d2:	7401           	moveq #1,%d2                                
   494d4:	b480           	cmpl %d0,%d2                                
   494d6:	6600 fee6      	bnew 493be <_Thread_queue_Enqueue_priority+0x86>
   494da:	60a4           	bras 49480 <_Thread_queue_Enqueue_priority+0x148>
                                                                      

0004ea5c <_Thread_queue_Extract_fifo>: Thread_Control *the_thread ) { ISR_Level level; _ISR_Disable( level );
   4ea5c:	203c 0000 0700 	movel #1792,%d0                             
                                                                      
void _Thread_queue_Extract_fifo(                                      
  Thread_queue_Control *the_thread_queue __attribute__((unused)),     
  Thread_Control       *the_thread                                    
)                                                                     
{                                                                     
   4ea62:	4e56 0000      	linkw %fp,#0                                
   4ea66:	2f0a           	movel %a2,%sp@-                             
   4ea68:	246e 000c      	moveal %fp@(12),%a2                         
  ISR_Level level;                                                    
                                                                      
  _ISR_Disable( level );                                              
   4ea6c:	40c1           	movew %sr,%d1                               
   4ea6e:	8081           	orl %d1,%d0                                 
   4ea70:	46c0           	movew %d0,%sr                               
   4ea72:	202a 0010      	movel %a2@(16),%d0                          
   4ea76:	0280 0003 bee0 	andil #245472,%d0                           
                                                                      
  if ( !_States_Is_waiting_on_thread_queue( the_thread->current_state ) ) {
   4ea7c:	6734           	beqs 4eab2 <_Thread_queue_Extract_fifo+0x56>
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
   4ea7e:	2252           	moveal %a2@,%a1                             
                                                                      
  _Chain_Extract_unprotected( &the_thread->Object.Node );             
                                                                      
  the_thread->Wait.queue = NULL;                                      
                                                                      
  if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {                 
   4ea80:	7002           	moveq #2,%d0                                
  previous       = the_node->previous;                                
   4ea82:	206a 0004      	moveal %a2@(4),%a0                          
  next->previous = previous;                                          
   4ea86:	2348 0004      	movel %a0,%a1@(4)                           
  previous->next = next;                                              
   4ea8a:	2089           	movel %a1,%a0@                              
    return;                                                           
  }                                                                   
                                                                      
  _Chain_Extract_unprotected( &the_thread->Object.Node );             
                                                                      
  the_thread->Wait.queue = NULL;                                      
   4ea8c:	42aa 0044      	clrl %a2@(68)                               
                                                                      
  if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {                 
   4ea90:	b0aa 0050      	cmpl %a2@(80),%d0                           
   4ea94:	6726           	beqs 4eabc <_Thread_queue_Extract_fifo+0x60>
    _ISR_Enable( level );                                             
   4ea96:	46c1           	movew %d1,%sr                               
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
   4ea98:	2d4a 0008      	movel %a2,%fp@(8)                           
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
                                                                      
}                                                                     
   4ea9c:	246e fffc      	moveal %fp@(-4),%a2                         
   4eaa0:	203c 1003 fff8 	movel #268697592,%d0                        
   4eaa6:	2d40 000c      	movel %d0,%fp@(12)                          
   4eaaa:	4e5e           	unlk %fp                                    
   4eaac:	4ef9 0004 89bc 	jmp 489bc <_Thread_Clear_state>             
  ISR_Level level;                                                    
                                                                      
  _ISR_Disable( level );                                              
                                                                      
  if ( !_States_Is_waiting_on_thread_queue( the_thread->current_state ) ) {
    _ISR_Enable( level );                                             
   4eab2:	46c1           	movew %d1,%sr                               
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
                                                                      
}                                                                     
   4eab4:	246e fffc      	moveal %fp@(-4),%a2                         
   4eab8:	4e5e           	unlk %fp                                    
   4eaba:	4e75           	rts                                         
   4eabc:	7003           	moveq #3,%d0                                
   4eabe:	2540 0050      	movel %d0,%a2@(80)                          
                                                                      
  if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {                 
    _ISR_Enable( level );                                             
  } else {                                                            
    _Watchdog_Deactivate( &the_thread->Timer );                       
    _ISR_Enable( level );                                             
   4eac2:	46c1           	movew %d1,%sr                               
    (void) _Watchdog_Remove( &the_thread->Timer );                    
   4eac4:	486a 0048      	pea %a2@(72)                                
   4eac8:	4eb9 0004 9da0 	jsr 49da0 <_Watchdog_Remove>                
   4eace:	588f           	addql #4,%sp                                
   4ead0:	203c 1003 fff8 	movel #268697592,%d0                        
   4ead6:	2d4a 0008      	movel %a2,%fp@(8)                           
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
                                                                      
}                                                                     
   4eada:	246e fffc      	moveal %fp@(-4),%a2                         
   4eade:	2d40 000c      	movel %d0,%fp@(12)                          
   4eae2:	4e5e           	unlk %fp                                    
   4eae4:	4ef9 0004 89bc 	jmp 489bc <_Thread_Clear_state>             
	...                                                                  
                                                                      

0004cea8 <_Thread_queue_Extract_priority_helper>: Chain_Node *new_first_node; Chain_Node *new_second_node; Chain_Node *last_node; the_node = (Chain_Node *) the_thread; _ISR_Disable( level );
   4cea8:	203c 0000 0700 	movel #1792,%d0                             
void _Thread_queue_Extract_priority_helper(                           
  Thread_queue_Control *the_thread_queue __attribute__((unused)),     
  Thread_Control       *the_thread,                                   
  bool                  requeuing                                     
)                                                                     
{                                                                     
   4ceae:	4e56 ffec      	linkw %fp,#-20                              
   4ceb2:	48d7 3c04      	moveml %d2/%a2-%a5,%sp@                     
   4ceb6:	246e 000c      	moveal %fp@(12),%a2                         
   4ceba:	142e 0013      	moveb %fp@(19),%d2                          
  Chain_Node     *new_first_node;                                     
  Chain_Node     *new_second_node;                                    
  Chain_Node     *last_node;                                          
                                                                      
  the_node = (Chain_Node *) the_thread;                               
  _ISR_Disable( level );                                              
   4cebe:	40c1           	movew %sr,%d1                               
   4cec0:	8081           	orl %d1,%d0                                 
   4cec2:	46c0           	movew %d0,%sr                               
 */                                                                   
RTEMS_INLINE_ROUTINE bool _States_Is_waiting_on_thread_queue (        
  States_Control the_states                                           
)                                                                     
{                                                                     
   return (the_states & STATES_WAITING_ON_THREAD_QUEUE);              
   4cec4:	202a 0010      	movel %a2@(16),%d0                          
   4cec8:	0280 0003 bee0 	andil #245472,%d0                           
  if ( !_States_Is_waiting_on_thread_queue( the_thread->current_state ) ) {
   4cece:	677e           	beqs 4cf4e <_Thread_queue_Extract_priority_helper+0xa6>
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
   4ced0:	200a           	movel %a2,%d0                               
   4ced2:	0680 0000 003c 	addil #60,%d0                               
                                                                      
  /*                                                                  
   *  The thread was actually waiting on a thread queue so let's remove it.
   */                                                                 
                                                                      
  next_node     = the_node->next;                                     
   4ced8:	2252           	moveal %a2@,%a1                             
  previous_node = the_node->previous;                                 
   4ceda:	266a 0004      	moveal %a2@(4),%a3                          
                                                                      
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
}                                                                     
   4cede:	206a 0038      	moveal %a2@(56),%a0                         
   */                                                                 
                                                                      
  next_node     = the_node->next;                                     
  previous_node = the_node->previous;                                 
                                                                      
  if ( !_Chain_Is_empty( &the_thread->Wait.Block2n ) ) {              
   4cee2:	b088           	cmpl %a0,%d0                                
   4cee4:	6774           	beqs 4cf5a <_Thread_queue_Extract_priority_helper+0xb2>
                                                                      
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
}                                                                     
   4cee6:	286a 0040      	moveal %a2@(64),%a4                         
                                                                      
  if ( !_Chain_Is_empty( &the_thread->Wait.Block2n ) ) {              
    new_first_node   = _Chain_First( &the_thread->Wait.Block2n );     
    new_first_thread = (Thread_Control *) new_first_node;             
    last_node        = _Chain_Last( &the_thread->Wait.Block2n );      
    new_second_node  = new_first_node->next;                          
   4ceea:	2a50           	moveal %a0@,%a5                             
                                                                      
    previous_node->next      = new_first_node;                        
    next_node->previous      = new_first_node;                        
   4ceec:	2348 0004      	movel %a0,%a1@(4)                           
    new_first_node   = _Chain_First( &the_thread->Wait.Block2n );     
    new_first_thread = (Thread_Control *) new_first_node;             
    last_node        = _Chain_Last( &the_thread->Wait.Block2n );      
    new_second_node  = new_first_node->next;                          
                                                                      
    previous_node->next      = new_first_node;                        
   4cef0:	2688           	movel %a0,%a3@                              
    next_node->previous      = new_first_node;                        
    new_first_node->next     = next_node;                             
    new_first_node->previous = previous_node;                         
   4cef2:	214b 0004      	movel %a3,%a0@(4)                           
    last_node        = _Chain_Last( &the_thread->Wait.Block2n );      
    new_second_node  = new_first_node->next;                          
                                                                      
    previous_node->next      = new_first_node;                        
    next_node->previous      = new_first_node;                        
    new_first_node->next     = next_node;                             
   4cef6:	2089           	movel %a1,%a0@                              
    new_first_node->previous = previous_node;                         
                                                                      
    if ( !_Chain_Has_only_one_node( &the_thread->Wait.Block2n ) ) {   
   4cef8:	202a 0040      	movel %a2@(64),%d0                          
   4cefc:	b0aa 0038      	cmpl %a2@(56),%d0                           
   4cf00:	6716           	beqs 4cf18 <_Thread_queue_Extract_priority_helper+0x70>
                                        /* > two threads on 2-n */    
      head = _Chain_Head( &new_first_thread->Wait.Block2n );          
      tail = _Chain_Tail( &new_first_thread->Wait.Block2n );          
                                                                      
      new_second_node->previous = head;                               
      head->next = new_second_node;                                   
   4cf02:	214d 0038      	movel %a5,%a0@(56)                          
    new_first_node->previous = previous_node;                         
                                                                      
    if ( !_Chain_Has_only_one_node( &the_thread->Wait.Block2n ) ) {   
                                        /* > two threads on 2-n */    
      head = _Chain_Head( &new_first_thread->Wait.Block2n );          
      tail = _Chain_Tail( &new_first_thread->Wait.Block2n );          
   4cf06:	43e8 003c      	lea %a0@(60),%a1                            
   4cf0a:	2889           	movel %a1,%a4@                              
    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 */    
      head = _Chain_Head( &new_first_thread->Wait.Block2n );          
   4cf0c:	43e8 0038      	lea %a0@(56),%a1                            
   4cf10:	2b49 0004      	movel %a1,%a5@(4)                           
      tail = _Chain_Tail( &new_first_thread->Wait.Block2n );          
                                                                      
      new_second_node->previous = head;                               
      head->next = new_second_node;                                   
      tail->previous = last_node;                                     
   4cf14:	214c 0040      	movel %a4,%a0@(64)                          
                                                                      
  /*                                                                  
   *  If we are not supposed to touch timers or the thread's state, return.
   */                                                                 
                                                                      
  if ( requeuing ) {                                                  
   4cf18:	4a02           	tstb %d2                                    
   4cf1a:	6626           	bnes 4cf42 <_Thread_queue_Extract_priority_helper+0x9a>
    _ISR_Enable( level );                                             
    return;                                                           
  }                                                                   
                                                                      
  if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {                 
   4cf1c:	7002           	moveq #2,%d0                                
   4cf1e:	b0aa 0050      	cmpl %a2@(80),%d0                           
   4cf22:	6742           	beqs 4cf66 <_Thread_queue_Extract_priority_helper+0xbe>
    _ISR_Enable( level );                                             
   4cf24:	46c1           	movew %d1,%sr                               
   4cf26:	2d4a 0008      	movel %a2,%fp@(8)                           
   4cf2a:	227c 1003 fff8 	moveal #268697592,%a1                       
                                                                      
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
}                                                                     
   4cf30:	4cee 3c04 ffec 	moveml %fp@(-20),%d2/%a2-%a5                
   4cf36:	2d49 000c      	movel %a1,%fp@(12)                          
   4cf3a:	4e5e           	unlk %fp                                    
   4cf3c:	4ef9 0004 89bc 	jmp 489bc <_Thread_Clear_state>             
  /*                                                                  
   *  If we are not supposed to touch timers or the thread's state, return.
   */                                                                 
                                                                      
  if ( requeuing ) {                                                  
    _ISR_Enable( level );                                             
   4cf42:	46c1           	movew %d1,%sr                               
                                                                      
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
}                                                                     
   4cf44:	4cee 3c04 ffec 	moveml %fp@(-20),%d2/%a2-%a5                
   4cf4a:	4e5e           	unlk %fp                                    
   4cf4c:	4e75           	rts                                         
  Chain_Node     *last_node;                                          
                                                                      
  the_node = (Chain_Node *) the_thread;                               
  _ISR_Disable( level );                                              
  if ( !_States_Is_waiting_on_thread_queue( the_thread->current_state ) ) {
    _ISR_Enable( level );                                             
   4cf4e:	46c1           	movew %d1,%sr                               
                                                                      
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
}                                                                     
   4cf50:	4cee 3c04 ffec 	moveml %fp@(-20),%d2/%a2-%a5                
   4cf56:	4e5e           	unlk %fp                                    
   4cf58:	4e75           	rts                                         
      head->next = new_second_node;                                   
      tail->previous = last_node;                                     
      last_node->next = tail;                                         
    }                                                                 
  } else {                                                            
    previous_node->next = next_node;                                  
   4cf5a:	2689           	movel %a1,%a3@                              
    next_node->previous = previous_node;                              
   4cf5c:	234b 0004      	movel %a3,%a1@(4)                           
                                                                      
  /*                                                                  
   *  If we are not supposed to touch timers or the thread's state, return.
   */                                                                 
                                                                      
  if ( requeuing ) {                                                  
   4cf60:	4a02           	tstb %d2                                    
   4cf62:	67b8           	beqs 4cf1c <_Thread_queue_Extract_priority_helper+0x74>
   4cf64:	60dc           	bras 4cf42 <_Thread_queue_Extract_priority_helper+0x9a>
   4cf66:	7003           	moveq #3,%d0                                
   4cf68:	2540 0050      	movel %d0,%a2@(80)                          
                                                                      
  if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {                 
    _ISR_Enable( level );                                             
  } else {                                                            
    _Watchdog_Deactivate( &the_thread->Timer );                       
    _ISR_Enable( level );                                             
   4cf6c:	46c1           	movew %d1,%sr                               
    (void) _Watchdog_Remove( &the_thread->Timer );                    
   4cf6e:	486a 0048      	pea %a2@(72)                                
   4cf72:	4eb9 0004 9da0 	jsr 49da0 <_Watchdog_Remove>                
   4cf78:	588f           	addql #4,%sp                                
   4cf7a:	227c 1003 fff8 	moveal #268697592,%a1                       
   4cf80:	2d4a 0008      	movel %a2,%fp@(8)                           
                                                                      
#if defined(RTEMS_MULTIPROCESSING)                                    
  if ( !_Objects_Is_local_id( the_thread->Object.id ) )               
    _Thread_MP_Free_proxy( the_thread );                              
#endif                                                                
}                                                                     
   4cf84:	4cee 3c04 ffec 	moveml %fp@(-20),%d2/%a2-%a5                
   4cf8a:	2d49 000c      	movel %a1,%fp@(12)                          
   4cf8e:	4e5e           	unlk %fp                                    
   4cf90:	4ef9 0004 89bc 	jmp 489bc <_Thread_Clear_state>             
	...                                                                  
                                                                      

00049548 <_Thread_queue_Initialize>: the_thread_queue->state = state; the_thread_queue->discipline = the_discipline; the_thread_queue->timeout_status = timeout_status; the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SYNCHRONIZED; if ( the_discipline == THREAD_QUEUE_DISCIPLINE_PRIORITY ) {
   49548:	7201           	moveq #1,%d1                                
  Thread_queue_Control         *the_thread_queue,                     
  Thread_queue_Disciplines      the_discipline,                       
  States_Control                state,                                
  uint32_t                      timeout_status                        
)                                                                     
{                                                                     
   4954a:	4e56 0000      	linkw %fp,#0                                
   4954e:	206e 0008      	moveal %fp@(8),%a0                          
   49552:	2f0a           	movel %a2,%sp@-                             
   49554:	202e 000c      	movel %fp@(12),%d0                          
   49558:	2f02           	movel %d2,%sp@-                             
  the_thread_queue->state          = state;                           
   4955a:	216e 0010 0038 	movel %fp@(16),%a0@(56)                     
  the_thread_queue->discipline     = the_discipline;                  
  the_thread_queue->timeout_status = timeout_status;                  
   49560:	216e 0014 003c 	movel %fp@(20),%a0@(60)                     
  States_Control                state,                                
  uint32_t                      timeout_status                        
)                                                                     
{                                                                     
  the_thread_queue->state          = state;                           
  the_thread_queue->discipline     = the_discipline;                  
   49566:	2140 0034      	movel %d0,%a0@(52)                          
  the_thread_queue->timeout_status = timeout_status;                  
  the_thread_queue->sync_state     = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
   4956a:	42a8 0030      	clrl %a0@(48)                               
                                                                      
  if ( the_discipline == THREAD_QUEUE_DISCIPLINE_PRIORITY ) {         
   4956e:	b280           	cmpl %d0,%d1                                
   49570:	6716           	beqs 49588 <_Thread_queue_Initialize+0x40>  
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
   49572:	2448           	moveal %a0,%a2                              
   49574:	588a           	addql #4,%a2                                
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
   49576:	42a8 0004      	clrl %a0@(4)                                
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
   4957a:	208a           	movel %a2,%a0@                              
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
  tail->previous = head;                                              
   4957c:	2148 0008      	movel %a0,%a0@(8)                           
      _Chain_Initialize_empty( &the_thread_queue->Queues.Priority[index] );
  } else { /* must be THREAD_QUEUE_DISCIPLINE_FIFO */                 
    _Chain_Initialize_empty( &the_thread_queue->Queues.Fifo );        
  }                                                                   
                                                                      
}                                                                     
   49580:	241f           	movel %sp@+,%d2                             
   49582:	245f           	moveal %sp@+,%a2                            
   49584:	4e5e           	unlk %fp                                    
   49586:	4e75           	rts                                         
  the_thread_queue->state          = state;                           
  the_thread_queue->discipline     = the_discipline;                  
  the_thread_queue->timeout_status = timeout_status;                  
  the_thread_queue->sync_state     = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
                                                                      
  if ( the_discipline == THREAD_QUEUE_DISCIPLINE_PRIORITY ) {         
   49588:	2248           	moveal %a0,%a1                              
   4958a:	4280           	clrl %d0                                    
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
   4958c:	2400           	movel %d0,%d2                               
   4958e:	2200           	movel %d0,%d1                               
    uint32_t   index;                                                 
                                                                      
    for( index=0 ;                                                    
         index < TASK_QUEUE_DATA_NUMBER_OF_PRIORITY_HEADERS ;         
         index++)                                                     
   49590:	5280           	addql #1,%d0                                
   49592:	e58a           	lsll #2,%d2                                 
   49594:	e989           	lsll #4,%d1                                 
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
   49596:	42a9 0004      	clrl %a1@(4)                                
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
   4959a:	9282           	subl %d2,%d1                                
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
   4959c:	45f0 1800      	lea %a0@(00000000,%d1:l),%a2                
   495a0:	234a 0008      	movel %a2,%a1@(8)                           
  Chain_Node *tail = _Chain_Tail( the_chain );                        
   495a4:	45f0 1804      	lea %a0@(00000004,%d1:l),%a2                
  the_thread_queue->sync_state     = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
                                                                      
  if ( the_discipline == THREAD_QUEUE_DISCIPLINE_PRIORITY ) {         
    uint32_t   index;                                                 
                                                                      
    for( index=0 ;                                                    
   495a8:	7204           	moveq #4,%d1                                
   495aa:	228a           	movel %a2,%a1@                              
         index < TASK_QUEUE_DATA_NUMBER_OF_PRIORITY_HEADERS ;         
         index++)                                                     
   495ac:	43e9 000c      	lea %a1@(12),%a1                            
  the_thread_queue->sync_state     = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
                                                                      
  if ( the_discipline == THREAD_QUEUE_DISCIPLINE_PRIORITY ) {         
    uint32_t   index;                                                 
                                                                      
    for( index=0 ;                                                    
   495b0:	b280           	cmpl %d0,%d1                                
   495b2:	67cc           	beqs 49580 <_Thread_queue_Initialize+0x38>  <== NEVER TAKEN
   495b4:	2400           	movel %d0,%d2                               
   495b6:	2200           	movel %d0,%d1                               
         index < TASK_QUEUE_DATA_NUMBER_OF_PRIORITY_HEADERS ;         
         index++)                                                     
   495b8:	5280           	addql #1,%d0                                
   495ba:	e58a           	lsll #2,%d2                                 
   495bc:	e989           	lsll #4,%d1                                 
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
   495be:	42a9 0004      	clrl %a1@(4)                                
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
   495c2:	9282           	subl %d2,%d1                                
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
   495c4:	45f0 1800      	lea %a0@(00000000,%d1:l),%a2                
   495c8:	234a 0008      	movel %a2,%a1@(8)                           
  Chain_Node *tail = _Chain_Tail( the_chain );                        
   495cc:	45f0 1804      	lea %a0@(00000004,%d1:l),%a2                
  the_thread_queue->sync_state     = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
                                                                      
  if ( the_discipline == THREAD_QUEUE_DISCIPLINE_PRIORITY ) {         
    uint32_t   index;                                                 
                                                                      
    for( index=0 ;                                                    
   495d0:	7204           	moveq #4,%d1                                
   495d2:	228a           	movel %a2,%a1@                              
         index < TASK_QUEUE_DATA_NUMBER_OF_PRIORITY_HEADERS ;         
         index++)                                                     
   495d4:	43e9 000c      	lea %a1@(12),%a1                            
  the_thread_queue->sync_state     = THREAD_BLOCKING_OPERATION_SYNCHRONIZED;
                                                                      
  if ( the_discipline == THREAD_QUEUE_DISCIPLINE_PRIORITY ) {         
    uint32_t   index;                                                 
                                                                      
    for( index=0 ;                                                    
   495d8:	b280           	cmpl %d0,%d1                                
   495da:	66b0           	bnes 4958c <_Thread_queue_Initialize+0x44>  
   495dc:	60a2           	bras 49580 <_Thread_queue_Initialize+0x38>  
	...                                                                  
                                                                      

0004cf98 <_Thread_queue_Process_timeout>: #include <rtems/score/tqdata.h> void _Thread_queue_Process_timeout( Thread_Control *the_thread ) {
   4cf98:	4e56 0000      	linkw %fp,#0                                
   4cf9c:	206e 0008      	moveal %fp@(8),%a0                          
  Thread_queue_Control *the_thread_queue = the_thread->Wait.queue;    
   4cfa0:	2268 0044      	moveal %a0@(68),%a1                         
   *  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 &&
   4cfa4:	2029 0030      	movel %a1@(48),%d0                          
   4cfa8:	6708           	beqs 4cfb2 <_Thread_queue_Process_timeout+0x1a>
   4cfaa:	b1f9 0006 10d2 	cmpal 610d2 <_Per_CPU_Information+0xc>,%a0  
   4cfb0:	6716           	beqs 4cfc8 <_Thread_queue_Process_timeout+0x30><== ALWAYS TAKEN
    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;
   4cfb2:	2169 003c 0034 	movel %a1@(60),%a0@(52)                     
    _Thread_queue_Extract( the_thread->Wait.queue, the_thread );      
   4cfb8:	2f08           	movel %a0,%sp@-                             
   4cfba:	2f09           	movel %a1,%sp@-                             
   4cfbc:	4eb9 0004 ce70 	jsr 4ce70 <_Thread_queue_Extract>           
   4cfc2:	508f           	addql #8,%sp                                
  }                                                                   
}                                                                     
   4cfc4:	4e5e           	unlk %fp                                    
   4cfc6:	4e75           	rts                                         
   *  a timeout is not allowed to occur.                              
   */                                                                 
                                                                      
  if ( the_thread_queue->sync_state != THREAD_BLOCKING_OPERATION_SYNCHRONIZED &&
       _Thread_Is_executing( the_thread ) ) {                         
    if ( the_thread_queue->sync_state != THREAD_BLOCKING_OPERATION_SATISFIED ) {
   4cfc8:	7203           	moveq #3,%d1                                
   4cfca:	b280           	cmpl %d0,%d1                                
   4cfcc:	67f6           	beqs 4cfc4 <_Thread_queue_Process_timeout+0x2c><== NEVER TAKEN
      the_thread->Wait.return_code = the_thread->Wait.queue->timeout_status;
      the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;
   4cfce:	7002           	moveq #2,%d0                                
    }                                                                 
  } else {                                                            
    the_thread->Wait.return_code = the_thread->Wait.queue->timeout_status;
    _Thread_queue_Extract( the_thread->Wait.queue, the_thread );      
  }                                                                   
}                                                                     
   4cfd0:	4e5e           	unlk %fp                                    
   */                                                                 
                                                                      
  if ( the_thread_queue->sync_state != THREAD_BLOCKING_OPERATION_SYNCHRONIZED &&
       _Thread_Is_executing( the_thread ) ) {                         
    if ( the_thread_queue->sync_state != THREAD_BLOCKING_OPERATION_SATISFIED ) {
      the_thread->Wait.return_code = the_thread->Wait.queue->timeout_status;
   4cfd2:	2169 003c 0034 	movel %a1@(60),%a0@(52)                     
      the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;
   4cfd8:	2340 0030      	movel %d0,%a1@(48)                          
    }                                                                 
  } else {                                                            
    the_thread->Wait.return_code = the_thread->Wait.queue->timeout_status;
    _Thread_queue_Extract( the_thread->Wait.queue, the_thread );      
  }                                                                   
}                                                                     
	...                                                                  
                                                                      

000495e0 <_Thread_queue_Requeue>: void _Thread_queue_Requeue( Thread_queue_Control *the_thread_queue, Thread_Control *the_thread ) {
   495e0:	4e56 fff0      	linkw %fp,#-16                              
   495e4:	48d7 0c04      	moveml %d2/%a2-%a3,%sp@                     
   495e8:	246e 0008      	moveal %fp@(8),%a2                          
   495ec:	266e 000c      	moveal %fp@(12),%a3                         
  /*                                                                  
   * Just in case the thread really wasn't blocked on a thread queue  
   * when we get here.                                                
   */                                                                 
  if ( !the_thread_queue )                                            
   495f0:	4a8a           	tstl %a2                                    
   495f2:	6708           	beqs 495fc <_Thread_queue_Requeue+0x1c>     <== NEVER TAKEN
                                                                      
  /*                                                                  
   * If queueing by FIFO, there is nothing to do. This only applies to
   * priority blocking discipline.                                    
   */                                                                 
  if ( the_thread_queue->discipline == THREAD_QUEUE_DISCIPLINE_PRIORITY ) {
   495f4:	7001           	moveq #1,%d0                                
   495f6:	b0aa 0034      	cmpl %a2@(52),%d0                           
   495fa:	670a           	beqs 49606 <_Thread_queue_Requeue+0x26>     <== ALWAYS TAKEN
      _Thread_queue_Extract_priority_helper( tq, the_thread, true );  
      (void) _Thread_queue_Enqueue_priority( tq, the_thread, &level_ignored );
    }                                                                 
    _ISR_Enable( level );                                             
  }                                                                   
}                                                                     
   495fc:	4cee 0c04 fff0 	moveml %fp@(-16),%d2/%a2-%a3                <== NOT EXECUTED
   49602:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   49604:	4e75           	rts                                         <== NOT EXECUTED
  if ( the_thread_queue->discipline == THREAD_QUEUE_DISCIPLINE_PRIORITY ) {
    Thread_queue_Control *tq = the_thread_queue;                      
    ISR_Level             level;                                      
    ISR_Level             level_ignored;                              
                                                                      
    _ISR_Disable( level );                                            
   49606:	303c 0700      	movew #1792,%d0                             
   4960a:	40c2           	movew %sr,%d2                               
   4960c:	8082           	orl %d2,%d0                                 
   4960e:	46c0           	movew %d0,%sr                               
   49610:	202b 0010      	movel %a3@(16),%d0                          
   49614:	0280 0003 bee0 	andil #245472,%d0                           
    if ( _States_Is_waiting_on_thread_queue( the_thread->current_state ) ) {
   4961a:	660c           	bnes 49628 <_Thread_queue_Requeue+0x48>     <== ALWAYS TAKEN
      _Thread_queue_Enter_critical_section( tq );                     
      _Thread_queue_Extract_priority_helper( tq, the_thread, true );  
      (void) _Thread_queue_Enqueue_priority( tq, the_thread, &level_ignored );
    }                                                                 
    _ISR_Enable( level );                                             
   4961c:	46c2           	movew %d2,%sr                               <== NOT EXECUTED
  }                                                                   
}                                                                     
   4961e:	4cee 0c04 fff0 	moveml %fp@(-16),%d2/%a2-%a3                
   49624:	4e5e           	unlk %fp                                    
   49626:	4e75           	rts                                         
    ISR_Level             level_ignored;                              
                                                                      
    _ISR_Disable( level );                                            
    if ( _States_Is_waiting_on_thread_queue( the_thread->current_state ) ) {
      _Thread_queue_Enter_critical_section( tq );                     
      _Thread_queue_Extract_priority_helper( tq, the_thread, true );  
   49628:	4878 0001      	pea 1 <ADD>                                 
                                                                      
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;
   4962c:	7001           	moveq #1,%d0                                
   4962e:	2f0b           	movel %a3,%sp@-                             
   49630:	2540 0030      	movel %d0,%a2@(48)                          
   49634:	2f0a           	movel %a2,%sp@-                             
   49636:	4eb9 0004 cea8 	jsr 4cea8 <_Thread_queue_Extract_priority_helper>
      (void) _Thread_queue_Enqueue_priority( tq, the_thread, &level_ignored );
   4963c:	486e fffc      	pea %fp@(-4)                                
   49640:	2f0b           	movel %a3,%sp@-                             
   49642:	2f0a           	movel %a2,%sp@-                             
   49644:	4eb9 0004 9338 	jsr 49338 <_Thread_queue_Enqueue_priority>  
   4964a:	4fef 0018      	lea %sp@(24),%sp                            
    }                                                                 
    _ISR_Enable( level );                                             
   4964e:	46c2           	movew %d2,%sr                               
   49650:	60cc           	bras 4961e <_Thread_queue_Requeue+0x3e>     
	...                                                                  
                                                                      

00049654 <_Thread_queue_Timeout>: void _Thread_queue_Timeout( Objects_Id id, void *ignored __attribute__((unused)) ) {
   49654:	4e56 fffc      	linkw %fp,#-4                               
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
   49658:	486e fffc      	pea %fp@(-4)                                
   4965c:	2f2e 0008      	movel %fp@(8),%sp@-                         
   49660:	4eb9 0004 8db0 	jsr 48db0 <_Thread_Get>                     
  switch ( location ) {                                               
   49666:	508f           	addql #8,%sp                                
   49668:	4aae fffc      	tstl %fp@(-4)                               
   4966c:	6618           	bnes 49686 <_Thread_queue_Timeout+0x32>     <== NEVER TAKEN
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_queue_Process_timeout( the_thread );                    
   4966e:	2f00           	movel %d0,%sp@-                             
   49670:	4eb9 0004 cf98 	jsr 4cf98 <_Thread_queue_Process_timeout>   
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
   49676:	588f           	addql #4,%sp                                
   49678:	2039 0006 0c68 	movel 60c68 <_Thread_Dispatch_disable_level>,%d0
   4967e:	5380           	subql #1,%d0                                
   49680:	23c0 0006 0c68 	movel %d0,60c68 <_Thread_Dispatch_disable_level>
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
   49686:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00059448 <_Timer_server_Body>: * @a arg points to the corresponding timer server control block. */ static rtems_task _Timer_server_Body( rtems_task_argument arg ) {
   59448:	4e56 ffb0      	linkw %fp,#-80                              
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
  tail->previous = head;                                              
   5944c:	41ee fff4      	lea %fp@(-12),%a0                           
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
   59450:	200e           	movel %fp,%d0                               
   59452:	5180           	subql #8,%d0                                
  head->previous = NULL;                                              
  tail->previous = head;                                              
   59454:	2d48 fffc      	movel %a0,%fp@(-4)                          
   59458:	41ee ffec      	lea %fp@(-20),%a0                           
   5945c:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
   59460:	246e 0008      	moveal %fp@(8),%a2                          
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
   59464:	260e           	movel %fp,%d3                               
   59466:	0683 ffff ffe8 	addil #-24,%d3                              
   5946c:	240a           	movel %a2,%d2                               
   5946e:	2a0a           	movel %a2,%d5                               
   59470:	4bf9 0005 da60 	lea 5da60 <_Watchdog_Adjust_to_chain>,%a5   
   59476:	0682 0000 0030 	addil #48,%d2                               
   5947c:	0685 0000 0068 	addil #104,%d5                              
   59482:	47f9 0005 a078 	lea 5a078 <_Chain_Get>,%a3                  
   59488:	49f9 0005 dae8 	lea 5dae8 <_Watchdog_Insert>,%a4            
   5948e:	2c00           	movel %d0,%d6                               
     *  of zero it will be processed in the next iteration of the timer server
     *  body loop.                                                    
     */                                                               
    _Timer_server_Process_insertions( ts );                           
                                                                      
    _ISR_Disable( level );                                            
   59490:	283c 0000 0700 	movel #1792,%d4                             
   59496:	2d48 ffd8      	movel %a0,%fp@(-40)                         
   5949a:	41ea 0008      	lea %a2@(8),%a0                             
   5949e:	2d48 ffe4      	movel %a0,%fp@(-28)                         
   594a2:	41ea 0040      	lea %a2@(64),%a0                            
   594a6:	2d48 ffe0      	movel %a0,%fp@(-32)                         
   594aa:	41ee ffec      	lea %fp@(-20),%a0                           
   594ae:	2d40 fff4      	movel %d0,%fp@(-12)                         
  head->previous = NULL;                                              
   594b2:	42ae fff8      	clrl %fp@(-8)                               
   594b6:	42ae ffec      	clrl %fp@(-20)                              
  tail->previous = head;                                              
   594ba:	2d43 fff0      	movel %d3,%fp@(-16)                         
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
   594be:	2d48 ffe8      	movel %a0,%fp@(-24)                         
{                                                                     
  /*                                                                  
   *  Afterwards all timer inserts are directed to this chain and the interval
   *  and TOD chains will be no more modified by other parties.       
   */                                                                 
  ts->insert_chain = insert_chain;                                    
   594c2:	41ee fff4      	lea %fp@(-12),%a0                           
   594c6:	2548 0078      	movel %a0,%a2@(120)                         
static void _Timer_server_Process_interval_watchdogs(                 
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = _Watchdog_Ticks_since_boot;            
   594ca:	2039 0007 fcf6 	movel 7fcf6 <_Watchdog_Ticks_since_boot>,%d0
                                                                      
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
   594d0:	222a 003c      	movel %a2@(60),%d1                          
                                                                      
  watchdogs->last_snapshot = snapshot;                                
   594d4:	2540 003c      	movel %d0,%a2@(60)                          
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
   594d8:	9081           	subl %d1,%d0                                
   594da:	2f03           	movel %d3,%sp@-                             
   594dc:	2f00           	movel %d0,%sp@-                             
   594de:	2f02           	movel %d2,%sp@-                             
   594e0:	4e95           	jsr %a5@                                    
static void _Timer_server_Process_tod_watchdogs(                      
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();
   594e2:	2039 0007 fc76 	movel 7fc76 <_TOD_Now>,%d0                  
  /*                                                                  
   *  Process the seconds chain.  Start by checking that the Time     
   *  of Day (TOD) has not been set backwards.  If it has then        
   *  we want to adjust the watchdogs->Chain to indicate this.        
   */                                                                 
  if ( snapshot > last_snapshot ) {                                   
   594e8:	4fef 000c      	lea %sp@(12),%sp                            
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();
  Watchdog_Interval last_snapshot = watchdogs->last_snapshot;         
   594ec:	222a 0074      	movel %a2@(116),%d1                         
  /*                                                                  
   *  Process the seconds chain.  Start by checking that the Time     
   *  of Day (TOD) has not been set backwards.  If it has then        
   *  we want to adjust the watchdogs->Chain to indicate this.        
   */                                                                 
  if ( snapshot > last_snapshot ) {                                   
   594f0:	b280           	cmpl %d0,%d1                                
   594f2:	6500 0086      	bcsw 5957a <_Timer_server_Body+0x132>       
     *  TOD has been set forward.                                     
     */                                                               
    delta = snapshot - last_snapshot;                                 
    _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );
                                                                      
  } else if ( snapshot < last_snapshot ) {                            
   594f6:	b280           	cmpl %d0,%d1                                
   594f8:	6200 00a4      	bhiw 5959e <_Timer_server_Body+0x156>       
      */                                                              
     delta = last_snapshot - snapshot;                                
     _Watchdog_Adjust( &watchdogs->Chain, WATCHDOG_BACKWARD, delta ); 
  }                                                                   
                                                                      
  watchdogs->last_snapshot = snapshot;                                
   594fc:	2540 0074      	movel %d0,%a2@(116)                         
}                                                                     
                                                                      
static void _Timer_server_Process_insertions( Timer_server_Control *ts )
{                                                                     
  while ( true ) {                                                    
    Timer_Control *timer = (Timer_Control *) _Chain_Get( ts->insert_chain );
   59500:	202a 0078      	movel %a2@(120),%d0                         
   59504:	2f00           	movel %d0,%sp@-                             
   59506:	4e93           	jsr %a3@                                    
                                                                      
    if ( timer == NULL ) {                                            
   59508:	588f           	addql #4,%sp                                
   5950a:	4a80           	tstl %d0                                    
   5950c:	672e           	beqs 5953c <_Timer_server_Body+0xf4>        
static void _Timer_server_Insert_timer(                               
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
   5950e:	2040           	moveal %d0,%a0                              
   59510:	7e01           	moveq #1,%d7                                
   59512:	2228 0038      	movel %a0@(56),%d1                          
   59516:	be81           	cmpl %d1,%d7                                
   59518:	6700 00a8      	beqw 595c2 <_Timer_server_Body+0x17a>       
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
   5951c:	7e03           	moveq #3,%d7                                
   5951e:	be81           	cmpl %d1,%d7                                
   59520:	66de           	bnes 59500 <_Timer_server_Body+0xb8>        <== NEVER TAKEN
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
   59522:	2040           	moveal %d0,%a0                              
   59524:	4868 0010      	pea %a0@(16)                                
   59528:	2f05           	movel %d5,%sp@-                             
   5952a:	4e94           	jsr %a4@                                    
}                                                                     
                                                                      
static void _Timer_server_Process_insertions( Timer_server_Control *ts )
{                                                                     
  while ( true ) {                                                    
    Timer_Control *timer = (Timer_Control *) _Chain_Get( ts->insert_chain );
   5952c:	202a 0078      	movel %a2@(120),%d0                         
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
   59530:	508f           	addql #8,%sp                                
}                                                                     
                                                                      
static void _Timer_server_Process_insertions( Timer_server_Control *ts )
{                                                                     
  while ( true ) {                                                    
    Timer_Control *timer = (Timer_Control *) _Chain_Get( ts->insert_chain );
   59532:	2f00           	movel %d0,%sp@-                             
   59534:	4e93           	jsr %a3@                                    
                                                                      
    if ( timer == NULL ) {                                            
   59536:	588f           	addql #4,%sp                                
   59538:	4a80           	tstl %d0                                    
   5953a:	66d2           	bnes 5950e <_Timer_server_Body+0xc6>        <== NEVER TAKEN
     *  of zero it will be processed in the next iteration of the timer server
     *  body loop.                                                    
     */                                                               
    _Timer_server_Process_insertions( ts );                           
                                                                      
    _ISR_Disable( level );                                            
   5953c:	2004           	movel %d4,%d0                               
   5953e:	40c1           	movew %sr,%d1                               
   59540:	8081           	orl %d1,%d0                                 
   59542:	46c0           	movew %d0,%sr                               
    if ( _Chain_Is_empty( insert_chain ) ) {                          
   59544:	bcae fff4      	cmpl %fp@(-12),%d6                          
   59548:	6700 0086      	beqw 595d0 <_Timer_server_Body+0x188>       
      ts->insert_chain = NULL;                                        
      _ISR_Enable( level );                                           
                                                                      
      break;                                                          
    } else {                                                          
      _ISR_Enable( level );                                           
   5954c:	46c1           	movew %d1,%sr                               
static void _Timer_server_Process_interval_watchdogs(                 
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = _Watchdog_Ticks_since_boot;            
   5954e:	2039 0007 fcf6 	movel 7fcf6 <_Watchdog_Ticks_since_boot>,%d0
                                                                      
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
   59554:	222a 003c      	movel %a2@(60),%d1                          
                                                                      
  watchdogs->last_snapshot = snapshot;                                
   59558:	2540 003c      	movel %d0,%a2@(60)                          
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
   5955c:	9081           	subl %d1,%d0                                
   5955e:	2f03           	movel %d3,%sp@-                             
   59560:	2f00           	movel %d0,%sp@-                             
   59562:	2f02           	movel %d2,%sp@-                             
   59564:	4e95           	jsr %a5@                                    
static void _Timer_server_Process_tod_watchdogs(                      
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();
   59566:	2039 0007 fc76 	movel 7fc76 <_TOD_Now>,%d0                  
  /*                                                                  
   *  Process the seconds chain.  Start by checking that the Time     
   *  of Day (TOD) has not been set backwards.  If it has then        
   *  we want to adjust the watchdogs->Chain to indicate this.        
   */                                                                 
  if ( snapshot > last_snapshot ) {                                   
   5956c:	4fef 000c      	lea %sp@(12),%sp                            
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();
  Watchdog_Interval last_snapshot = watchdogs->last_snapshot;         
   59570:	222a 0074      	movel %a2@(116),%d1                         
  /*                                                                  
   *  Process the seconds chain.  Start by checking that the Time     
   *  of Day (TOD) has not been set backwards.  If it has then        
   *  we want to adjust the watchdogs->Chain to indicate this.        
   */                                                                 
  if ( snapshot > last_snapshot ) {                                   
   59574:	b280           	cmpl %d0,%d1                                
   59576:	6400 ff7e      	bccw 594f6 <_Timer_server_Body+0xae>        
    /*                                                                
     *  This path is for normal forward movement and cases where the  
     *  TOD has been set forward.                                     
     */                                                               
    delta = snapshot - last_snapshot;                                 
    _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );
   5957a:	2f03           	movel %d3,%sp@-                             
   5957c:	2e00           	movel %d0,%d7                               
   5957e:	9e81           	subl %d1,%d7                                
   59580:	2f07           	movel %d7,%sp@-                             
   59582:	2d40 ffdc      	movel %d0,%fp@(-36)                         
   59586:	2f05           	movel %d5,%sp@-                             
   59588:	4eb9 0005 da60 	jsr 5da60 <_Watchdog_Adjust_to_chain>       
   5958e:	202e ffdc      	movel %fp@(-36),%d0                         
   59592:	4fef 000c      	lea %sp@(12),%sp                            
      */                                                              
     delta = last_snapshot - snapshot;                                
     _Watchdog_Adjust( &watchdogs->Chain, WATCHDOG_BACKWARD, delta ); 
  }                                                                   
                                                                      
  watchdogs->last_snapshot = snapshot;                                
   59596:	2540 0074      	movel %d0,%a2@(116)                         
   5959a:	6000 ff64      	braw 59500 <_Timer_server_Body+0xb8>        
     /*                                                               
      *  The current TOD is before the last TOD which indicates that  
      *  TOD has been set backwards.                                  
      */                                                              
     delta = last_snapshot - snapshot;                                
     _Watchdog_Adjust( &watchdogs->Chain, WATCHDOG_BACKWARD, delta ); 
   5959e:	9280           	subl %d0,%d1                                
   595a0:	2f01           	movel %d1,%sp@-                             
   595a2:	4878 0001      	pea 1 <ADD>                                 
   595a6:	2d40 ffdc      	movel %d0,%fp@(-36)                         
   595aa:	2f05           	movel %d5,%sp@-                             
   595ac:	4eb9 0005 d9cc 	jsr 5d9cc <_Watchdog_Adjust>                
   595b2:	202e ffdc      	movel %fp@(-36),%d0                         
   595b6:	4fef 000c      	lea %sp@(12),%sp                            
  }                                                                   
                                                                      
  watchdogs->last_snapshot = snapshot;                                
   595ba:	2540 0074      	movel %d0,%a2@(116)                         
   595be:	6000 ff40      	braw 59500 <_Timer_server_Body+0xb8>        
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
   595c2:	4868 0010      	pea %a0@(16)                                
   595c6:	2f02           	movel %d2,%sp@-                             
   595c8:	4e94           	jsr %a4@                                    
   595ca:	508f           	addql #8,%sp                                
   595cc:	6000 ff32      	braw 59500 <_Timer_server_Body+0xb8>        
     */                                                               
    _Timer_server_Process_insertions( ts );                           
                                                                      
    _ISR_Disable( level );                                            
    if ( _Chain_Is_empty( insert_chain ) ) {                          
      ts->insert_chain = NULL;                                        
   595d0:	42aa 0078      	clrl %a2@(120)                              
      _ISR_Enable( level );                                           
   595d4:	46c1           	movew %d1,%sr                               
  _Chain_Initialize_empty( &fire_chain );                             
                                                                      
  while ( true ) {                                                    
    _Timer_server_Get_watchdogs_that_fire_now( ts, &insert_chain, &fire_chain );
                                                                      
    if ( !_Chain_Is_empty( &fire_chain ) ) {                          
   595d6:	202e ffd8      	movel %fp@(-40),%d0                         
   595da:	b0ae ffe8      	cmpl %fp@(-24),%d0                          
   595de:	6752           	beqs 59632 <_Timer_server_Body+0x1ea>       
                                                                      
        /*                                                            
         *  It is essential that interrupts are disable here since an interrupt
         *  service routine may remove a watchdog from the chain.     
         */                                                           
        _ISR_Disable( level );                                        
   595e0:	2204           	movel %d4,%d1                               
   595e2:	40c0           	movew %sr,%d0                               
   595e4:	8280           	orl %d0,%d1                                 
   595e6:	46c1           	movew %d1,%sr                               
      initialized = false;                                            
    }                                                                 
  #endif                                                              
                                                                      
  return status;                                                      
}                                                                     
   595e8:	206e ffe8      	moveal %fp@(-24),%a0                        
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
   595ec:	b1ee ffd8      	cmpal %fp@(-40),%a0                         
   595f0:	6732           	beqs 59624 <_Timer_server_Body+0x1dc>       <== NEVER TAKEN
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *old_first = head->next;                                 
  Chain_Node *new_first = old_first->next;                            
   595f2:	2250           	moveal %a0@,%a1                             
                                                                      
  head->next = new_first;                                             
  new_first->previous = head;                                         
   595f4:	2343 0004      	movel %d3,%a1@(4)                           
         *  service routine may remove a watchdog from the chain.     
         */                                                           
        _ISR_Disable( level );                                        
        watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &fire_chain );
        if ( watchdog != NULL ) {                                     
          watchdog->state = WATCHDOG_INACTIVE;                        
   595f8:	42a8 0008      	clrl %a0@(8)                                
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *old_first = head->next;                                 
  Chain_Node *new_first = old_first->next;                            
                                                                      
  head->next = new_first;                                             
   595fc:	2d49 ffe8      	movel %a1,%fp@(-24)                         
          _ISR_Enable( level );                                       
   59600:	46c0           	movew %d0,%sr                               
        /*                                                            
         *  The timer server may block here and wait for resources or time.
         *  The system watchdogs are inactive and will remain inactive since
         *  the active flag of the timer server is true.              
         */                                                           
        (*watchdog->routine)( watchdog->id, watchdog->user_data );    
   59602:	2f28 0024      	movel %a0@(36),%sp@-                        
   59606:	2f28 0020      	movel %a0@(32),%sp@-                        
   5960a:	2068 001c      	moveal %a0@(28),%a0                         
   5960e:	4e90           	jsr %a0@                                    
      }                                                               
   59610:	508f           	addql #8,%sp                                
                                                                      
        /*                                                            
         *  It is essential that interrupts are disable here since an interrupt
         *  service routine may remove a watchdog from the chain.     
         */                                                           
        _ISR_Disable( level );                                        
   59612:	2204           	movel %d4,%d1                               
   59614:	40c0           	movew %sr,%d0                               
   59616:	8280           	orl %d0,%d1                                 
   59618:	46c1           	movew %d1,%sr                               
      initialized = false;                                            
    }                                                                 
  #endif                                                              
                                                                      
  return status;                                                      
}                                                                     
   5961a:	206e ffe8      	moveal %fp@(-24),%a0                        
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
   5961e:	b1ee ffd8      	cmpal %fp@(-40),%a0                         
   59622:	66ce           	bnes 595f2 <_Timer_server_Body+0x1aa>       
        watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &fire_chain );
        if ( watchdog != NULL ) {                                     
          watchdog->state = WATCHDOG_INACTIVE;                        
          _ISR_Enable( level );                                       
        } else {                                                      
          _ISR_Enable( level );                                       
   59624:	46c0           	movew %d0,%sr                               
{                                                                     
  /*                                                                  
   *  Afterwards all timer inserts are directed to this chain and the interval
   *  and TOD chains will be no more modified by other parties.       
   */                                                                 
  ts->insert_chain = insert_chain;                                    
   59626:	41ee fff4      	lea %fp@(-12),%a0                           
   5962a:	2548 0078      	movel %a0,%a2@(120)                         
   5962e:	6000 fe9a      	braw 594ca <_Timer_server_Body+0x82>        
         *  the active flag of the timer server is true.              
         */                                                           
        (*watchdog->routine)( watchdog->id, watchdog->user_data );    
      }                                                               
    } else {                                                          
      ts->active = false;                                             
   59632:	4207           	clrb %d7                                    
   59634:	1547 007c      	moveb %d7,%a2@(124)                         
   59638:	2039 0007 fbec 	movel 7fbec <_Thread_Dispatch_disable_level>,%d0
   5963e:	5280           	addql #1,%d0                                
   59640:	23c0 0007 fbec 	movel %d0,7fbec <_Thread_Dispatch_disable_level>
                                                                      
      /*                                                              
       *  Block until there is something to do.                       
       */                                                             
      _Thread_Disable_dispatch();                                     
        _Thread_Set_state( ts->thread, STATES_DELAYING );             
   59646:	4878 0008      	pea 8 <DIVIDE_BY_ZERO>                      
   5964a:	2f12           	movel %a2@,%sp@-                            
   5964c:	4eb9 0005 d378 	jsr 5d378 <_Thread_Set_state>               
        _Timer_server_Reset_interval_system_watchdog( ts );           
   59652:	2f0a           	movel %a2,%sp@-                             
   59654:	4eba fd1a      	jsr %pc@(59370 <_Timer_server_Reset_interval_system_watchdog>)
        _Timer_server_Reset_tod_system_watchdog( ts );                
   59658:	2f0a           	movel %a2,%sp@-                             
   5965a:	4eba fd7e      	jsr %pc@(593da <_Timer_server_Reset_tod_system_watchdog>)
      _Thread_Enable_dispatch();                                      
   5965e:	4eb9 0005 c9ce 	jsr 5c9ce <_Thread_Enable_dispatch>         
                                                                      
      ts->active = true;                                              
   59664:	7001           	moveq #1,%d0                                
   59666:	1540 007c      	moveb %d0,%a2@(124)                         
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
   5966a:	2f2e ffe4      	movel %fp@(-28),%sp@-                       
   5966e:	4eb9 0005 dc3c 	jsr 5dc3c <_Watchdog_Remove>                
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
   59674:	2f2e ffe0      	movel %fp@(-32),%sp@-                       
   59678:	4eb9 0005 dc3c 	jsr 5dc3c <_Watchdog_Remove>                
   5967e:	4fef 0018      	lea %sp@(24),%sp                            
   59682:	6000 fe3e      	braw 594c2 <_Timer_server_Body+0x7a>        
                                                                      

00059686 <_Timer_server_Schedule_operation_method>: static void _Timer_server_Schedule_operation_method( Timer_server_Control *ts, Timer_Control *timer ) {
   59686:	4e56 fff0      	linkw %fp,#-16                              
   5968a:	206e 000c      	moveal %fp@(12),%a0                         
   5968e:	48d7 041c      	moveml %d2-%d4/%a2,%sp@                     
   59692:	246e 0008      	moveal %fp@(8),%a2                          
  if ( ts->insert_chain == NULL ) {                                   
   59696:	202a 0078      	movel %a2@(120),%d0                         
   5969a:	671a           	beqs 596b6 <_Timer_server_Schedule_operation_method+0x30>
     *  server is not preemptible, so we must be in interrupt context here.  No
     *  thread dispatch will happen until the timer server finishes its
     *  critical section.  We have to use the protected chain methods because
     *  we may be interrupted by a higher priority interrupt.         
     */                                                               
    _Chain_Append( ts->insert_chain, &timer->Object.Node );           
   5969c:	202a 0078      	movel %a2@(120),%d0                         
   596a0:	2d48 000c      	movel %a0,%fp@(12)                          
  }                                                                   
}                                                                     
   596a4:	4cee 041c fff0 	moveml %fp@(-16),%d2-%d4/%a2                
     *  server is not preemptible, so we must be in interrupt context here.  No
     *  thread dispatch will happen until the timer server finishes its
     *  critical section.  We have to use the protected chain methods because
     *  we may be interrupted by a higher priority interrupt.         
     */                                                               
    _Chain_Append( ts->insert_chain, &timer->Object.Node );           
   596aa:	2d40 0008      	movel %d0,%fp@(8)                           
  }                                                                   
}                                                                     
   596ae:	4e5e           	unlk %fp                                    
     *  server is not preemptible, so we must be in interrupt context here.  No
     *  thread dispatch will happen until the timer server finishes its
     *  critical section.  We have to use the protected chain methods because
     *  we may be interrupted by a higher priority interrupt.         
     */                                                               
    _Chain_Append( ts->insert_chain, &timer->Object.Node );           
   596b0:	4ef9 0005 a018 	jmp 5a018 <_Chain_Append>                   
   596b6:	2039 0007 fbec 	movel 7fbec <_Thread_Dispatch_disable_level>,%d0
   596bc:	5280           	addql #1,%d0                                
   596be:	23c0 0007 fbec 	movel %d0,7fbec <_Thread_Dispatch_disable_level>
   *  being inserted.  This could result in an integer overflow.      
   */                                                                 
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
   596c4:	2028 0038      	movel %a0@(56),%d0                          
   596c8:	7201           	moveq #1,%d1                                
   596ca:	b280           	cmpl %d0,%d1                                
   596cc:	6700 008a      	beqw 59758 <_Timer_server_Schedule_operation_method+0xd2>
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
                                                                      
    if ( !ts->active ) {                                              
      _Timer_server_Reset_interval_system_watchdog( ts );             
    }                                                                 
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
   596d0:	7803           	moveq #3,%d4                                
   596d2:	b880           	cmpl %d0,%d4                                
   596d4:	670e           	beqs 596e4 <_Timer_server_Schedule_operation_method+0x5e>
     *  critical section.  We have to use the protected chain methods because
     *  we may be interrupted by a higher priority interrupt.         
     */                                                               
    _Chain_Append( ts->insert_chain, &timer->Object.Node );           
  }                                                                   
}                                                                     
   596d6:	4cee 041c fff0 	moveml %fp@(-16),%d2-%d4/%a2                
   596dc:	4e5e           	unlk %fp                                    
    if ( !ts->active ) {                                              
      _Timer_server_Reset_tod_system_watchdog( ts );                  
    }                                                                 
  }                                                                   
                                                                      
  _Thread_Enable_dispatch();                                          
   596de:	4ef9 0005 c9ce 	jmp 5c9ce <_Thread_Enable_dispatch>         
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
    /*                                                                
     *  We have to advance the last known seconds value of the server and update
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
   596e4:	203c 0000 0700 	movel #1792,%d0                             
   596ea:	40c2           	movew %sr,%d2                               
   596ec:	8082           	orl %d2,%d0                                 
   596ee:	46c0           	movew %d0,%sr                               
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
   596f0:	260a           	movel %a2,%d3                               
   596f2:	0683 0000 006c 	addil #108,%d3                              
    snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();        
   596f8:	2039 0007 fc76 	movel 7fc76 <_TOD_Now>,%d0                  
    last_snapshot = ts->TOD_watchdogs.last_snapshot;                  
   596fe:	222a 0074      	movel %a2@(116),%d1                         
      initialized = false;                                            
    }                                                                 
  #endif                                                              
                                                                      
  return status;                                                      
}                                                                     
   59702:	226a 0068      	moveal %a2@(104),%a1                        
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
    snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();        
    last_snapshot = ts->TOD_watchdogs.last_snapshot;                  
    if ( !_Chain_Is_empty( &ts->TOD_watchdogs.Chain ) ) {             
   59706:	b689           	cmpl %a1,%d3                                
   59708:	671c           	beqs 59726 <_Timer_server_Schedule_operation_method+0xa0>
      first_watchdog = _Watchdog_First( &ts->TOD_watchdogs.Chain );   
      delta_interval = first_watchdog->delta_interval;                
   5970a:	2629 0010      	movel %a1@(16),%d3                          
      if ( snapshot > last_snapshot ) {                               
   5970e:	b280           	cmpl %d0,%d1                                
   59710:	6400 00ba      	bccw 597cc <_Timer_server_Schedule_operation_method+0x146>
        /*                                                            
         *  We advanced in time.                                      
         */                                                           
        delta = snapshot - last_snapshot;                             
   59714:	2800           	movel %d0,%d4                               
   59716:	9881           	subl %d1,%d4                                
        if (delta_interval > delta) {                                 
   59718:	b883           	cmpl %d3,%d4                                
   5971a:	6400 00bc      	bccw 597d8 <_Timer_server_Schedule_operation_method+0x152>
          delta_interval -= delta;                                    
   5971e:	9684           	subl %d4,%d3                                
   59720:	2203           	movel %d3,%d1                               
         *  Someone put us in the past.                               
         */                                                           
        delta = last_snapshot - snapshot;                             
        delta_interval += delta;                                      
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
   59722:	2341 0010      	movel %d1,%a1@(16)                          
    }                                                                 
    ts->TOD_watchdogs.last_snapshot = snapshot;                       
   59726:	2540 0074      	movel %d0,%a2@(116)                         
    _ISR_Enable( level );                                             
   5972a:	46c2           	movew %d2,%sr                               
                                                                      
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
   5972c:	4868 0010      	pea %a0@(16)                                
   59730:	486a 0068      	pea %a2@(104)                               
   59734:	4eb9 0005 dae8 	jsr 5dae8 <_Watchdog_Insert>                
                                                                      
    if ( !ts->active ) {                                              
   5973a:	508f           	addql #8,%sp                                
   5973c:	102a 007c      	moveb %a2@(124),%d0                         
   59740:	6694           	bnes 596d6 <_Timer_server_Schedule_operation_method+0x50>
      _Timer_server_Reset_tod_system_watchdog( ts );                  
   59742:	2f0a           	movel %a2,%sp@-                             
   59744:	4eba fc94      	jsr %pc@(593da <_Timer_server_Reset_tod_system_watchdog>)
   59748:	588f           	addql #4,%sp                                
     *  critical section.  We have to use the protected chain methods because
     *  we may be interrupted by a higher priority interrupt.         
     */                                                               
    _Chain_Append( ts->insert_chain, &timer->Object.Node );           
  }                                                                   
}                                                                     
   5974a:	4cee 041c fff0 	moveml %fp@(-16),%d2-%d4/%a2                
   59750:	4e5e           	unlk %fp                                    
    if ( !ts->active ) {                                              
      _Timer_server_Reset_tod_system_watchdog( ts );                  
    }                                                                 
  }                                                                   
                                                                      
  _Thread_Enable_dispatch();                                          
   59752:	4ef9 0005 c9ce 	jmp 5c9ce <_Thread_Enable_dispatch>         
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
    /*                                                                
     *  We have to advance the last known ticks value of the server and update
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
   59758:	203c 0000 0700 	movel #1792,%d0                             
   5975e:	40c3           	movew %sr,%d3                               
   59760:	8083           	orl %d3,%d0                                 
   59762:	46c0           	movew %d0,%sr                               
    snapshot = _Watchdog_Ticks_since_boot;                            
   59764:	2039 0007 fcf6 	movel 7fcf6 <_Watchdog_Ticks_since_boot>,%d0
   5976a:	220a           	movel %a2,%d1                               
   5976c:	0681 0000 0034 	addil #52,%d1                               
    last_snapshot = ts->Interval_watchdogs.last_snapshot;             
   59772:	282a 003c      	movel %a2@(60),%d4                          
      initialized = false;                                            
    }                                                                 
  #endif                                                              
                                                                      
  return status;                                                      
}                                                                     
   59776:	226a 0030      	moveal %a2@(48),%a1                         
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
    snapshot = _Watchdog_Ticks_since_boot;                            
    last_snapshot = ts->Interval_watchdogs.last_snapshot;             
    if ( !_Chain_Is_empty( &ts->Interval_watchdogs.Chain ) ) {        
   5977a:	b289           	cmpl %a1,%d1                                
   5977c:	6712           	beqs 59790 <_Timer_server_Schedule_operation_method+0x10a>
      first_watchdog = _Watchdog_First( &ts->Interval_watchdogs.Chain );
                                                                      
      /*                                                              
       *  We assume adequate unsigned arithmetic here.                
       */                                                             
      delta = snapshot - last_snapshot;                               
   5977e:	2200           	movel %d0,%d1                               
   59780:	9284           	subl %d4,%d1                                
                                                                      
      delta_interval = first_watchdog->delta_interval;                
   59782:	2429 0010      	movel %a1@(16),%d2                          
      if (delta_interval > delta) {                                   
   59786:	b481           	cmpl %d1,%d2                                
   59788:	633a           	blss 597c4 <_Timer_server_Schedule_operation_method+0x13e><== NEVER TAKEN
        delta_interval -= delta;                                      
   5978a:	9481           	subl %d1,%d2                                
      } else {                                                        
        delta_interval = 0;                                           
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
   5978c:	2342 0010      	movel %d2,%a1@(16)                          
    }                                                                 
    ts->Interval_watchdogs.last_snapshot = snapshot;                  
   59790:	2540 003c      	movel %d0,%a2@(60)                          
    _ISR_Enable( level );                                             
   59794:	46c3           	movew %d3,%sr                               
                                                                      
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
   59796:	4868 0010      	pea %a0@(16)                                
   5979a:	486a 0030      	pea %a2@(48)                                
   5979e:	4eb9 0005 dae8 	jsr 5dae8 <_Watchdog_Insert>                
                                                                      
    if ( !ts->active ) {                                              
   597a4:	508f           	addql #8,%sp                                
   597a6:	102a 007c      	moveb %a2@(124),%d0                         
   597aa:	6600 ff2a      	bnew 596d6 <_Timer_server_Schedule_operation_method+0x50>
      _Timer_server_Reset_interval_system_watchdog( ts );             
   597ae:	2f0a           	movel %a2,%sp@-                             
   597b0:	4eba fbbe      	jsr %pc@(59370 <_Timer_server_Reset_interval_system_watchdog>)
   597b4:	588f           	addql #4,%sp                                
     *  critical section.  We have to use the protected chain methods because
     *  we may be interrupted by a higher priority interrupt.         
     */                                                               
    _Chain_Append( ts->insert_chain, &timer->Object.Node );           
  }                                                                   
}                                                                     
   597b6:	4cee 041c fff0 	moveml %fp@(-16),%d2-%d4/%a2                
   597bc:	4e5e           	unlk %fp                                    
    if ( !ts->active ) {                                              
      _Timer_server_Reset_tod_system_watchdog( ts );                  
    }                                                                 
  }                                                                   
                                                                      
  _Thread_Enable_dispatch();                                          
   597be:	4ef9 0005 c9ce 	jmp 5c9ce <_Thread_Enable_dispatch>         
                                                                      
      delta_interval = first_watchdog->delta_interval;                
      if (delta_interval > delta) {                                   
        delta_interval -= delta;                                      
      } else {                                                        
        delta_interval = 0;                                           
   597c4:	4282           	clrl %d2                                    
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
   597c6:	2342 0010      	movel %d2,%a1@(16)                          
   597ca:	60c4           	bras 59790 <_Timer_server_Schedule_operation_method+0x10a>
        }                                                             
      } else {                                                        
        /*                                                            
         *  Someone put us in the past.                               
         */                                                           
        delta = last_snapshot - snapshot;                             
   597cc:	d283           	addl %d3,%d1                                
        delta_interval += delta;                                      
   597ce:	9280           	subl %d0,%d1                                
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
   597d0:	2341 0010      	movel %d1,%a1@(16)                          
   597d4:	6000 ff50      	braw 59726 <_Timer_server_Schedule_operation_method+0xa0>
         */                                                           
        delta = snapshot - last_snapshot;                             
        if (delta_interval > delta) {                                 
          delta_interval -= delta;                                    
        } else {                                                      
          delta_interval = 0;                                         
   597d8:	4281           	clrl %d1                                    <== NOT EXECUTED
         *  Someone put us in the past.                               
         */                                                           
        delta = last_snapshot - snapshot;                             
        delta_interval += delta;                                      
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
   597da:	2341 0010      	movel %d1,%a1@(16)                          <== NOT EXECUTED
   597de:	6000 ff46      	braw 59726 <_Timer_server_Schedule_operation_method+0xa0><== NOT EXECUTED
                                                                      

00049ad6 <_User_extensions_Fatal>: void _User_extensions_Fatal ( Internal_errors_Source the_source, bool is_internal, Internal_errors_t the_error ) {
   49ad6:	4e56 fff0      	linkw %fp,#-16                              
   49ada:	48d7 041c      	moveml %d2-%d4/%a2,%sp@                     
   49ade:	242e 0008      	movel %fp@(8),%d2                           
   49ae2:	262e 0010      	movel %fp@(16),%d3                          
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
  }                                                                   
}                                                                     
   49ae6:	2479 0006 0dc0 	moveal 60dc0 <_User_extensions_List+0x8>,%a2
void _User_extensions_Fatal (                                         
  Internal_errors_Source  the_source,                                 
  bool                    is_internal,                                
  Internal_errors_t       the_error                                   
)                                                                     
{                                                                     
   49aec:	182e 000f      	moveb %fp@(15),%d4                          
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
   49af0:	b5fc 0006 0db8 	cmpal #396728,%a2                           
   49af6:	6726           	beqs 49b1e <_User_extensions_Fatal+0x48>    <== NEVER TAKEN
        the_node = the_node->previous ) {                             
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
   49af8:	0284 0000 00ff 	andil #255,%d4                              
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
   49afe:	206a 0030      	moveal %a2@(48),%a0                         
   49b02:	4a88           	tstl %a0                                    
   49b04:	670c           	beqs 49b12 <_User_extensions_Fatal+0x3c>    
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
   49b06:	2f03           	movel %d3,%sp@-                             
   49b08:	2f04           	movel %d4,%sp@-                             
   49b0a:	2f02           	movel %d2,%sp@-                             
   49b0c:	4e90           	jsr %a0@                                    
   49b0e:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
   49b12:	246a 0004      	moveal %a2@(4),%a2                          
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
   49b16:	b5fc 0006 0db8 	cmpal #396728,%a2                           
   49b1c:	66e0           	bnes 49afe <_User_extensions_Fatal+0x28>    <== ALWAYS TAKEN
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
  }                                                                   
}                                                                     
   49b1e:	4cee 041c fff0 	moveml %fp@(-16),%d2-%d4/%a2                <== NOT EXECUTED
   49b24:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00049994 <_User_extensions_Handler_initialization>: #include <rtems/score/userext.h> #include <rtems/score/wkspace.h> #include <string.h> void _User_extensions_Handler_initialization(void) {
   49994:	4e56 ffec      	linkw %fp,#-20                              
                                                                      
  head->next = tail;                                                  
   49998:	203c 0006 0dbc 	movel #396732,%d0                           
   4999e:	23c0 0006 0db8 	movel %d0,60db8 <_User_extensions_List>     
  head->previous = NULL;                                              
  tail->previous = head;                                              
   499a4:	203c 0006 0db8 	movel #396728,%d0                           
   499aa:	23c0 0006 0dc0 	movel %d0,60dc0 <_User_extensions_List+0x8> 
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
   499b0:	203c 0006 0c70 	movel #396400,%d0                           
   499b6:	23c0 0006 0c6c 	movel %d0,60c6c <_User_extensions_Switches_list>
  head->previous = NULL;                                              
  tail->previous = head;                                              
   499bc:	203c 0006 0c6c 	movel #396396,%d0                           
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
   499c2:	42b9 0006 0dbc 	clrl 60dbc <_User_extensions_List+0x4>      
   499c8:	48d7 0c1c      	moveml %d2-%d4/%a2-%a3,%sp@                 
  User_extensions_Control *extension;                                 
  uint32_t                 i;                                         
  uint32_t                 number_of_extensions;                      
  User_extensions_Table   *initial_extensions;                        
                                                                      
  number_of_extensions = Configuration.number_of_initial_extensions;  
   499cc:	2439 0005 f3aa 	movel 5f3aa <Configuration+0x36>,%d2        
  initial_extensions   = Configuration.User_extension_table;          
   499d2:	2639 0005 f3ae 	movel 5f3ae <Configuration+0x3a>,%d3        
   499d8:	42b9 0006 0c70 	clrl 60c70 <_User_extensions_Switches_list+0x4>
  tail->previous = head;                                              
   499de:	23c0 0006 0c74 	movel %d0,60c74 <_User_extensions_Switches_list+0x8>
                                                                      
  _Chain_Initialize_empty( &_User_extensions_List );                  
  _Chain_Initialize_empty( &_User_extensions_Switches_list );         
                                                                      
  if ( initial_extensions ) {                                         
   499e4:	4a83           	tstl %d3                                    
   499e6:	6764           	beqs 49a4c <_User_extensions_Handler_initialization+0xb8><== NEVER TAKEN
    extension = (User_extensions_Control *)                           
      _Workspace_Allocate_or_fatal_error(                             
   499e8:	7834           	moveq #52,%d4                               
   499ea:	4c02 4800      	mulsl %d2,%d4                               
   499ee:	2f04           	movel %d4,%sp@-                             
   499f0:	4eb9 0004 9f58 	jsr 49f58 <_Workspace_Allocate_or_fatal_error>
   499f6:	2440           	moveal %d0,%a2                              
        number_of_extensions * sizeof( User_extensions_Control )      
      );                                                              
                                                                      
    memset (                                                          
   499f8:	2f04           	movel %d4,%sp@-                             
   499fa:	42a7           	clrl %sp@-                                  
   499fc:	2f00           	movel %d0,%sp@-                             
   499fe:	4eb9 0004 f4ec 	jsr 4f4ec <memset>                          
      extension,                                                      
      0,                                                              
      number_of_extensions * sizeof( User_extensions_Control )        
    );                                                                
                                                                      
    for ( i = 0 ; i < number_of_extensions ; i++ ) {                  
   49a04:	4fef 0010      	lea %sp@(16),%sp                            
   49a08:	4a82           	tstl %d2                                    
   49a0a:	6740           	beqs 49a4c <_User_extensions_Handler_initialization+0xb8><== NEVER TAKEN
   49a0c:	4284           	clrl %d4                                    
   49a0e:	47f9 0004 d070 	lea 4d070 <_User_extensions_Add_set>,%a3    
RTEMS_INLINE_ROUTINE void _User_extensions_Add_set_with_table(        
  User_extensions_Control     *extension,                             
  const User_extensions_Table *extension_table                        
)                                                                     
{                                                                     
  extension->Callouts = *extension_table;                             
   49a14:	2043           	moveal %d3,%a0                              
   49a16:	5284           	addql #1,%d4                                
   49a18:	0683 0000 0020 	addil #32,%d3                               
   49a1e:	2558 0014      	movel %a0@+,%a2@(20)                        
   49a22:	2558 0018      	movel %a0@+,%a2@(24)                        
   49a26:	2558 001c      	movel %a0@+,%a2@(28)                        
   49a2a:	2558 0020      	movel %a0@+,%a2@(32)                        
   49a2e:	2558 0024      	movel %a0@+,%a2@(36)                        
   49a32:	2558 0028      	movel %a0@+,%a2@(40)                        
   49a36:	2558 002c      	movel %a0@+,%a2@(44)                        
   49a3a:	2550 0030      	movel %a0@,%a2@(48)                         
                                                                      
  _User_extensions_Add_set( extension );                              
   49a3e:	2f0a           	movel %a2,%sp@-                             
      _User_extensions_Add_set_with_table (extension, &initial_extensions[i]);
      extension++;                                                    
   49a40:	45ea 0034      	lea %a2@(52),%a2                            
   49a44:	4e93           	jsr %a3@                                    
      extension,                                                      
      0,                                                              
      number_of_extensions * sizeof( User_extensions_Control )        
    );                                                                
                                                                      
    for ( i = 0 ; i < number_of_extensions ; i++ ) {                  
   49a46:	588f           	addql #4,%sp                                
   49a48:	b882           	cmpl %d2,%d4                                
   49a4a:	65c8           	bcss 49a14 <_User_extensions_Handler_initialization+0x80>
      _User_extensions_Add_set_with_table (extension, &initial_extensions[i]);
      extension++;                                                    
    }                                                                 
  }                                                                   
}                                                                     
   49a4c:	4cee 0c1c ffec 	moveml %fp@(-20),%d2-%d4/%a2-%a3            
   49a52:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00049a58 <_User_extensions_Thread_begin>: #include <rtems/score/userext.h> void _User_extensions_Thread_begin ( Thread_Control *executing ) {
   49a58:	4e56 0000      	linkw %fp,#0                                
   49a5c:	2f0a           	movel %a2,%sp@-                             
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
  }                                                                   
}                                                                     
   49a5e:	2479 0006 0db8 	moveal 60db8 <_User_extensions_List>,%a2    
#include <rtems/score/userext.h>                                      
                                                                      
void _User_extensions_Thread_begin (                                  
  Thread_Control *executing                                           
)                                                                     
{                                                                     
   49a64:	2f02           	movel %d2,%sp@-                             
   49a66:	242e 0008      	movel %fp@(8),%d2                           
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
   49a6a:	b5fc 0006 0dbc 	cmpal #396732,%a2                           
   49a70:	6718           	beqs 49a8a <_User_extensions_Thread_begin+0x32><== NEVER TAKEN
        !_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 )               
   49a72:	206a 0028      	moveal %a2@(40),%a0                         
   49a76:	4a88           	tstl %a0                                    
   49a78:	6706           	beqs 49a80 <_User_extensions_Thread_begin+0x28>
      (*the_extension->Callouts.thread_begin)( executing );           
   49a7a:	2f02           	movel %d2,%sp@-                             
   49a7c:	4e90           	jsr %a0@                                    
   49a7e:	588f           	addql #4,%sp                                
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
   49a80:	2452           	moveal %a2@,%a2                             
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
   49a82:	b5fc 0006 0dbc 	cmpal #396732,%a2                           
   49a88:	66e8           	bnes 49a72 <_User_extensions_Thread_begin+0x1a>
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_begin != NULL )               
      (*the_extension->Callouts.thread_begin)( executing );           
  }                                                                   
}                                                                     
   49a8a:	242e fff8      	movel %fp@(-8),%d2                          
   49a8e:	246e fffc      	moveal %fp@(-4),%a2                         
   49a92:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00049b28 <_User_extensions_Thread_create>: #include <rtems/score/userext.h> bool _User_extensions_Thread_create ( Thread_Control *the_thread ) {
   49b28:	4e56 0000      	linkw %fp,#0                                
   49b2c:	2f0a           	movel %a2,%sp@-                             
        return false;                                                 
    }                                                                 
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
   49b2e:	2479 0006 0db8 	moveal 60db8 <_User_extensions_List>,%a2    
#include <rtems/score/userext.h>                                      
                                                                      
bool _User_extensions_Thread_create (                                 
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
   49b34:	2f02           	movel %d2,%sp@-                             
   49b36:	242e 0008      	movel %fp@(8),%d2                           
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
  bool                     status;                                    
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
   49b3a:	b5fc 0006 0dbc 	cmpal #396732,%a2                           
   49b40:	6722           	beqs 49b64 <_User_extensions_Thread_create+0x3c><== NEVER TAKEN
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_create != NULL ) {            
   49b42:	206a 0014      	moveal %a2@(20),%a0                         
   49b46:	4a88           	tstl %a0                                    
   49b48:	6710           	beqs 49b5a <_User_extensions_Thread_create+0x32>
      status = (*the_extension->Callouts.thread_create)(              
   49b4a:	2f02           	movel %d2,%sp@-                             
   49b4c:	2f39 0006 10d2 	movel 610d2 <_Per_CPU_Information+0xc>,%sp@-
   49b52:	4e90           	jsr %a0@                                    
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
      if ( !status )                                                  
   49b54:	508f           	addql #8,%sp                                
   49b56:	4a00           	tstb %d0                                    
   49b58:	6718           	beqs 49b72 <_User_extensions_Thread_create+0x4a>
  User_extensions_Control *the_extension;                             
  bool                     status;                                    
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
   49b5a:	2452           	moveal %a2@,%a2                             
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
  bool                     status;                                    
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
   49b5c:	b5fc 0006 0dbc 	cmpal #396732,%a2                           
   49b62:	66de           	bnes 49b42 <_User_extensions_Thread_create+0x1a>
        return false;                                                 
    }                                                                 
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
   49b64:	242e fff8      	movel %fp@(-8),%d2                          
   49b68:	246e fffc      	moveal %fp@(-4),%a2                         
   49b6c:	4e5e           	unlk %fp                                    
      if ( !status )                                                  
        return false;                                                 
    }                                                                 
  }                                                                   
                                                                      
  return true;                                                        
   49b6e:	7001           	moveq #1,%d0                                
}                                                                     
   49b70:	4e75           	rts                                         
   49b72:	242e fff8      	movel %fp@(-8),%d2                          
   49b76:	246e fffc      	moveal %fp@(-4),%a2                         
   49b7a:	4e5e           	unlk %fp                                    
      status = (*the_extension->Callouts.thread_create)(              
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
      if ( !status )                                                  
        return false;                                                 
   49b7c:	4200           	clrb %d0                                    <== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
  return true;                                                        
}                                                                     
                                                                      

00049b80 <_User_extensions_Thread_delete>: #include <rtems/score/userext.h> void _User_extensions_Thread_delete ( Thread_Control *the_thread ) {
   49b80:	4e56 0000      	linkw %fp,#0                                
   49b84:	2f0a           	movel %a2,%sp@-                             
      (*the_extension->Callouts.thread_delete)(                       
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
  }                                                                   
}                                                                     
   49b86:	2479 0006 0dc0 	moveal 60dc0 <_User_extensions_List+0x8>,%a2
#include <rtems/score/userext.h>                                      
                                                                      
void _User_extensions_Thread_delete (                                 
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
   49b8c:	2f02           	movel %d2,%sp@-                             
   49b8e:	242e 0008      	movel %fp@(8),%d2                           
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
   49b92:	b5fc 0006 0db8 	cmpal #396728,%a2                           
   49b98:	6720           	beqs 49bba <_User_extensions_Thread_delete+0x3a><== NEVER TAKEN
        !_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 )              
   49b9a:	206a 0020      	moveal %a2@(32),%a0                         
   49b9e:	4a88           	tstl %a0                                    
   49ba0:	670c           	beqs 49bae <_User_extensions_Thread_delete+0x2e>
      (*the_extension->Callouts.thread_delete)(                       
   49ba2:	2f02           	movel %d2,%sp@-                             
   49ba4:	2f39 0006 10d2 	movel 610d2 <_Per_CPU_Information+0xc>,%sp@-
   49baa:	4e90           	jsr %a0@                                    
   49bac:	508f           	addql #8,%sp                                
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
   49bae:	246a 0004      	moveal %a2@(4),%a2                          
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
   49bb2:	b5fc 0006 0db8 	cmpal #396728,%a2                           
   49bb8:	66e0           	bnes 49b9a <_User_extensions_Thread_delete+0x1a>
      (*the_extension->Callouts.thread_delete)(                       
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
  }                                                                   
}                                                                     
   49bba:	242e fff8      	movel %fp@(-8),%d2                          
   49bbe:	246e fffc      	moveal %fp@(-4),%a2                         
   49bc2:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00049a96 <_User_extensions_Thread_exitted>: void _User_extensions_Thread_exitted ( Thread_Control *executing ) {
   49a96:	4e56 0000      	linkw %fp,#0                                
   49a9a:	2f0a           	movel %a2,%sp@-                             
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
  }                                                                   
}                                                                     
   49a9c:	2479 0006 0dc0 	moveal 60dc0 <_User_extensions_List+0x8>,%a2
}                                                                     
                                                                      
void _User_extensions_Thread_exitted (                                
  Thread_Control *executing                                           
)                                                                     
{                                                                     
   49aa2:	2f02           	movel %d2,%sp@-                             
   49aa4:	242e 0008      	movel %fp@(8),%d2                           
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
   49aa8:	b5fc 0006 0db8 	cmpal #396728,%a2                           
   49aae:	671a           	beqs 49aca <_User_extensions_Thread_exitted+0x34><== NEVER TAKEN
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_exitted != NULL )             
   49ab0:	206a 002c      	moveal %a2@(44),%a0                         
   49ab4:	4a88           	tstl %a0                                    
   49ab6:	6706           	beqs 49abe <_User_extensions_Thread_exitted+0x28>
      (*the_extension->Callouts.thread_exitted)( executing );         
   49ab8:	2f02           	movel %d2,%sp@-                             
   49aba:	4e90           	jsr %a0@                                    
   49abc:	588f           	addql #4,%sp                                
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
   49abe:	246a 0004      	moveal %a2@(4),%a2                          
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
   49ac2:	b5fc 0006 0db8 	cmpal #396728,%a2                           
   49ac8:	66e6           	bnes 49ab0 <_User_extensions_Thread_exitted+0x1a>
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_exitted != NULL )             
      (*the_extension->Callouts.thread_exitted)( executing );         
  }                                                                   
}                                                                     
   49aca:	242e fff8      	movel %fp@(-8),%d2                          
   49ace:	246e fffc      	moveal %fp@(-4),%a2                         
   49ad2:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004a86c <_User_extensions_Thread_restart>: #include <rtems/score/userext.h> void _User_extensions_Thread_restart ( Thread_Control *the_thread ) {
   4a86c:	4e56 0000      	linkw %fp,#0                                
   4a870:	2f0a           	movel %a2,%sp@-                             
      (*the_extension->Callouts.thread_restart)(                      
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
  }                                                                   
}                                                                     
   4a872:	2479 0006 1d50 	moveal 61d50 <_User_extensions_List>,%a2    
#include <rtems/score/userext.h>                                      
                                                                      
void _User_extensions_Thread_restart (                                
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
   4a878:	2f02           	movel %d2,%sp@-                             
   4a87a:	242e 0008      	movel %fp@(8),%d2                           
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
   4a87e:	b5fc 0006 1d54 	cmpal #400724,%a2                           
   4a884:	671e           	beqs 4a8a4 <_User_extensions_Thread_restart+0x38><== NEVER TAKEN
        !_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_restart != NULL )             
   4a886:	206a 001c      	moveal %a2@(28),%a0                         
   4a88a:	4a88           	tstl %a0                                    
   4a88c:	670c           	beqs 4a89a <_User_extensions_Thread_restart+0x2e>
      (*the_extension->Callouts.thread_restart)(                      
   4a88e:	2f02           	movel %d2,%sp@-                             
   4a890:	2f39 0006 206a 	movel 6206a <_Per_CPU_Information+0xc>,%sp@-
   4a896:	4e90           	jsr %a0@                                    
   4a898:	508f           	addql #8,%sp                                
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
   4a89a:	2452           	moveal %a2@,%a2                             
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
   4a89c:	b5fc 0006 1d54 	cmpal #400724,%a2                           
   4a8a2:	66e2           	bnes 4a886 <_User_extensions_Thread_restart+0x1a>
      (*the_extension->Callouts.thread_restart)(                      
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
  }                                                                   
}                                                                     
   4a8a4:	242e fff8      	movel %fp@(-8),%d2                          
   4a8a8:	246e fffc      	moveal %fp@(-4),%a2                         
   4a8ac:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00049bc8 <_User_extensions_Thread_start>: #include <rtems/score/userext.h> void _User_extensions_Thread_start ( Thread_Control *the_thread ) {
   49bc8:	4e56 0000      	linkw %fp,#0                                
   49bcc:	2f0a           	movel %a2,%sp@-                             
      (*the_extension->Callouts.thread_start)(                        
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
  }                                                                   
}                                                                     
   49bce:	2479 0006 0db8 	moveal 60db8 <_User_extensions_List>,%a2    
#include <rtems/score/userext.h>                                      
                                                                      
void _User_extensions_Thread_start (                                  
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
   49bd4:	2f02           	movel %d2,%sp@-                             
   49bd6:	242e 0008      	movel %fp@(8),%d2                           
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
   49bda:	b5fc 0006 0dbc 	cmpal #396732,%a2                           
   49be0:	671e           	beqs 49c00 <_User_extensions_Thread_start+0x38><== NEVER TAKEN
        !_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_start != NULL )               
   49be2:	206a 0018      	moveal %a2@(24),%a0                         
   49be6:	4a88           	tstl %a0                                    
   49be8:	670c           	beqs 49bf6 <_User_extensions_Thread_start+0x2e>
      (*the_extension->Callouts.thread_start)(                        
   49bea:	2f02           	movel %d2,%sp@-                             
   49bec:	2f39 0006 10d2 	movel 610d2 <_Per_CPU_Information+0xc>,%sp@-
   49bf2:	4e90           	jsr %a0@                                    
   49bf4:	508f           	addql #8,%sp                                
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
   49bf6:	2452           	moveal %a2@,%a2                             
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
   49bf8:	b5fc 0006 0dbc 	cmpal #396732,%a2                           
   49bfe:	66e2           	bnes 49be2 <_User_extensions_Thread_start+0x1a>
      (*the_extension->Callouts.thread_start)(                        
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
  }                                                                   
}                                                                     
   49c00:	242e fff8      	movel %fp@(-8),%d2                          
   49c04:	246e fffc      	moveal %fp@(-4),%a2                         
   49c08:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00049c0c <_User_extensions_Thread_switch>: void _User_extensions_Thread_switch ( Thread_Control *executing, Thread_Control *heir ) {
   49c0c:	4e56 fff4      	linkw %fp,#-12                              
   49c10:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
   49c14:	262e 0008      	movel %fp@(8),%d3                           
   49c18:	242e 000c      	movel %fp@(12),%d2                          
                                                                      
    the_extension_switch = (User_extensions_Switch_control *) the_node;
                                                                      
    (*the_extension_switch->thread_switch)( executing, heir );        
  }                                                                   
}                                                                     
   49c1c:	2479 0006 0c6c 	moveal 60c6c <_User_extensions_Switches_list>,%a2
)                                                                     
{                                                                     
  Chain_Node                     *the_node;                           
  User_extensions_Switch_control *the_extension_switch;               
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_Switches_list );   
   49c22:	b5fc 0006 0c70 	cmpal #396400,%a2                           
   49c28:	6716           	beqs 49c40 <_User_extensions_Thread_switch+0x34><== NEVER TAKEN
        !_Chain_Is_tail( &_User_extensions_Switches_list, the_node ) ;
        the_node = the_node->next ) {                                 
                                                                      
    the_extension_switch = (User_extensions_Switch_control *) the_node;
                                                                      
    (*the_extension_switch->thread_switch)( executing, heir );        
   49c2a:	2f02           	movel %d2,%sp@-                             
   49c2c:	2f03           	movel %d3,%sp@-                             
   49c2e:	206a 0008      	moveal %a2@(8),%a0                          
   49c32:	4e90           	jsr %a0@                                    
  Chain_Node                     *the_node;                           
  User_extensions_Switch_control *the_extension_switch;               
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_Switches_list );   
        !_Chain_Is_tail( &_User_extensions_Switches_list, the_node ) ;
        the_node = the_node->next ) {                                 
   49c34:	2452           	moveal %a2@,%a2                             
)                                                                     
{                                                                     
  Chain_Node                     *the_node;                           
  User_extensions_Switch_control *the_extension_switch;               
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_Switches_list );   
   49c36:	508f           	addql #8,%sp                                
   49c38:	b5fc 0006 0c70 	cmpal #396400,%a2                           
   49c3e:	66ea           	bnes 49c2a <_User_extensions_Thread_switch+0x1e>
                                                                      
    the_extension_switch = (User_extensions_Switch_control *) the_node;
                                                                      
    (*the_extension_switch->thread_switch)( executing, heir );        
  }                                                                   
}                                                                     
   49c40:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
   49c46:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004b828 <_Watchdog_Adjust>: void _Watchdog_Adjust( Chain_Control *header, Watchdog_Adjust_directions direction, Watchdog_Interval units ) {
   4b828:	4e56 ffe8      	linkw %fp,#-24                              
   4b82c:	226e 000c      	moveal %fp@(12),%a1                         
   4b830:	48d7 1c1c      	moveml %d2-%d4/%a2-%a4,%sp@                 
  ISR_Level level;                                                    
                                                                      
  _ISR_Disable( level );                                              
   4b834:	283c 0000 0700 	movel #1792,%d4                             
   4b83a:	2004           	movel %d4,%d0                               
void _Watchdog_Adjust(                                                
  Chain_Control               *header,                                
  Watchdog_Adjust_directions   direction,                             
  Watchdog_Interval            units                                  
)                                                                     
{                                                                     
   4b83c:	266e 0008      	moveal %fp@(8),%a3                          
   4b840:	242e 0010      	movel %fp@(16),%d2                          
  ISR_Level level;                                                    
                                                                      
  _ISR_Disable( level );                                              
   4b844:	40c1           	movew %sr,%d1                               
   4b846:	8081           	orl %d1,%d0                                 
   4b848:	46c0           	movew %d0,%sr                               
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
                                                                      
}                                                                     
   4b84a:	244b           	moveal %a3,%a2                              
   4b84c:	205a           	moveal %a2@+,%a0                            
   *       hence the compiler must not assume *header to remain       
   *       unmodified across that call.                               
   *                                                                  
   *       Till Straumann, 7/2003                                     
   */                                                                 
  if ( !_Chain_Is_empty( header ) ) {                                 
   4b84e:	b5c8           	cmpal %a0,%a2                               
   4b850:	6748           	beqs 4b89a <_Watchdog_Adjust+0x72>          
    switch ( direction ) {                                            
   4b852:	4a89           	tstl %a1                                    
   4b854:	6650           	bnes 4b8a6 <_Watchdog_Adjust+0x7e>          
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
   4b856:	4a82           	tstl %d2                                    
   4b858:	6740           	beqs 4b89a <_Watchdog_Adjust+0x72>          <== NEVER TAKEN
          if ( units < _Watchdog_First( header )->delta_interval ) {  
   4b85a:	2628 0010      	movel %a0@(16),%d3                          
   4b85e:	49f9 0004 bab0 	lea 4bab0 <_Watchdog_Tickle>,%a4            
   4b864:	b682           	cmpl %d2,%d3                                
   4b866:	622c           	bhis 4b894 <_Watchdog_Adjust+0x6c>          <== NEVER TAKEN
            _Watchdog_First( header )->delta_interval -= units;       
            break;                                                    
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
            _Watchdog_First( header )->delta_interval = 1;            
   4b868:	7001           	moveq #1,%d0                                
   4b86a:	2140 0010      	movel %d0,%a0@(16)                          
                                                                      
            _ISR_Enable( level );                                     
   4b86e:	46c1           	movew %d1,%sr                               
                                                                      
            _Watchdog_Tickle( header );                               
   4b870:	2f0b           	movel %a3,%sp@-                             
   4b872:	4e94           	jsr %a4@                                    
                                                                      
            _ISR_Disable( level );                                    
   4b874:	2004           	movel %d4,%d0                               
   4b876:	40c1           	movew %sr,%d1                               
   4b878:	8081           	orl %d1,%d0                                 
   4b87a:	46c0           	movew %d0,%sr                               
                                                                      
            if ( _Chain_Is_empty( header ) )                          
   4b87c:	588f           	addql #4,%sp                                
        while ( units ) {                                             
          if ( units < _Watchdog_First( header )->delta_interval ) {  
            _Watchdog_First( header )->delta_interval -= units;       
            break;                                                    
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
   4b87e:	9483           	subl %d3,%d2                                
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
                                                                      
}                                                                     
   4b880:	2013           	movel %a3@,%d0                              
RTEMS_INLINE_ROUTINE Watchdog_Control *_Watchdog_First(               
  Chain_Control *header                                               
)                                                                     
{                                                                     
                                                                      
  return ( (Watchdog_Control *) _Chain_First( header ) );             
   4b882:	2040           	moveal %d0,%a0                              
                                                                      
            _Watchdog_Tickle( header );                               
                                                                      
            _ISR_Disable( level );                                    
                                                                      
            if ( _Chain_Is_empty( header ) )                          
   4b884:	b08a           	cmpl %a2,%d0                                
   4b886:	6712           	beqs 4b89a <_Watchdog_Adjust+0x72>          
    switch ( direction ) {                                            
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
   4b888:	4a82           	tstl %d2                                    
   4b88a:	670e           	beqs 4b89a <_Watchdog_Adjust+0x72>          <== NEVER TAKEN
          if ( units < _Watchdog_First( header )->delta_interval ) {  
   4b88c:	2628 0010      	movel %a0@(16),%d3                          
   4b890:	b483           	cmpl %d3,%d2                                
   4b892:	64d4           	bccs 4b868 <_Watchdog_Adjust+0x40>          
            _Watchdog_First( header )->delta_interval -= units;       
   4b894:	9682           	subl %d2,%d3                                
   4b896:	2143 0010      	movel %d3,%a0@(16)                          
        }                                                             
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
   4b89a:	46c1           	movew %d1,%sr                               
                                                                      
}                                                                     
   4b89c:	4cee 1c1c ffe8 	moveml %fp@(-24),%d2-%d4/%a2-%a4            
   4b8a2:	4e5e           	unlk %fp                                    
   4b8a4:	4e75           	rts                                         
   *       unmodified across that call.                               
   *                                                                  
   *       Till Straumann, 7/2003                                     
   */                                                                 
  if ( !_Chain_Is_empty( header ) ) {                                 
    switch ( direction ) {                                            
   4b8a6:	7001           	moveq #1,%d0                                
   4b8a8:	b089           	cmpl %a1,%d0                                
   4b8aa:	66ee           	bnes 4b89a <_Watchdog_Adjust+0x72>          <== NEVER TAKEN
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
   4b8ac:	d5a8 0010      	addl %d2,%a0@(16)                           
        }                                                             
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
   4b8b0:	46c1           	movew %d1,%sr                               
                                                                      
}                                                                     
   4b8b2:	4cee 1c1c ffe8 	moveml %fp@(-24),%d2-%d4/%a2-%a4            
   4b8b8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00049c4c <_Watchdog_Insert>: void _Watchdog_Insert( Chain_Control *header, Watchdog_Control *the_watchdog ) {
   49c4c:	4e56 ffec      	linkw %fp,#-20                              
   49c50:	226e 000c      	moveal %fp@(12),%a1                         
   49c54:	48d7 043c      	moveml %d2-%d5/%a2,%sp@                     
   49c58:	246e 0008      	moveal %fp@(8),%a2                          
  Watchdog_Interval  delta_interval;                                  
                                                                      
                                                                      
  insert_isr_nest_level   = _ISR_Nest_level;                          
                                                                      
  _ISR_Disable( level );                                              
   49c5c:	2a3c 0000 0700 	movel #1792,%d5                             
   49c62:	2005           	movel %d5,%d0                               
  Watchdog_Control  *after;                                           
  uint32_t           insert_isr_nest_level;                           
  Watchdog_Interval  delta_interval;                                  
                                                                      
                                                                      
  insert_isr_nest_level   = _ISR_Nest_level;                          
   49c64:	2839 0006 10ce 	movel 610ce <_Per_CPU_Information+0x8>,%d4  
                                                                      
  _ISR_Disable( level );                                              
   49c6a:	40c3           	movew %sr,%d3                               
   49c6c:	8083           	orl %d3,%d0                                 
   49c6e:	46c0           	movew %d0,%sr                               
  /*                                                                  
   *  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 ) {                   
   49c70:	4aa9 0008      	tstl %a1@(8)                                
   49c74:	6600 00c6      	bnew 49d3c <_Watchdog_Insert+0xf0>          
    _ISR_Enable( level );                                             
    return;                                                           
  }                                                                   
                                                                      
  the_watchdog->state = WATCHDOG_BEING_INSERTED;                      
  _Watchdog_Sync_count++;                                             
   49c78:	2039 0006 0d6e 	movel 60d6e <_Watchdog_Sync_count>,%d0      
  if ( the_watchdog->state != WATCHDOG_INACTIVE ) {                   
    _ISR_Enable( level );                                             
    return;                                                           
  }                                                                   
                                                                      
  the_watchdog->state = WATCHDOG_BEING_INSERTED;                      
   49c7e:	7201           	moveq #1,%d1                                
  _Watchdog_Sync_count++;                                             
   49c80:	5280           	addql #1,%d0                                
  if ( the_watchdog->state != WATCHDOG_INACTIVE ) {                   
    _ISR_Enable( level );                                             
    return;                                                           
  }                                                                   
                                                                      
  the_watchdog->state = WATCHDOG_BEING_INSERTED;                      
   49c82:	2341 0008      	movel %d1,%a1@(8)                           
  _Watchdog_Sync_count++;                                             
   49c86:	23c0 0006 0d6e 	movel %d0,60d6e <_Watchdog_Sync_count>      
                                                                      
restart:                                                              
  delta_interval = the_watchdog->initial;                             
   49c8c:	2029 000c      	movel %a1@(12),%d0                          
RTEMS_INLINE_ROUTINE Watchdog_Control *_Watchdog_First(               
  Chain_Control *header                                               
)                                                                     
{                                                                     
                                                                      
  return ( (Watchdog_Control *) _Chain_First( header ) );             
   49c90:	2052           	moveal %a2@,%a0                             
                                                                      
  for ( after = _Watchdog_First( header ) ;                           
        ;                                                             
        after = _Watchdog_Next( after ) ) {                           
                                                                      
     if ( delta_interval == 0 || !_Watchdog_Next( after ) )           
   49c92:	6764           	beqs 49cf8 <_Watchdog_Insert+0xac>          
   49c94:	4a90           	tstl %a0@                                   
   49c96:	6760           	beqs 49cf8 <_Watchdog_Insert+0xac>          
       break;                                                         
                                                                      
     if ( delta_interval < after->delta_interval ) {                  
   49c98:	2228 0010      	movel %a0@(16),%d1                          
   49c9c:	b280           	cmpl %d0,%d1                                
   49c9e:	6252           	bhis 49cf2 <_Watchdog_Insert+0xa6>          
       break;                                                         
     }                                                                
                                                                      
     delta_interval -= after->delta_interval;                         
                                                                      
     _ISR_Flash( level );                                             
   49ca0:	2405           	movel %d5,%d2                               
   49ca2:	46c3           	movew %d3,%sr                               
   49ca4:	8483           	orl %d3,%d2                                 
   49ca6:	46c2           	movew %d2,%sr                               
                                                                      
     if ( the_watchdog->state != WATCHDOG_BEING_INSERTED ) {          
   49ca8:	7401           	moveq #1,%d2                                
   49caa:	b4a9 0008      	cmpl %a1@(8),%d2                            
   49cae:	666e           	bnes 49d1e <_Watchdog_Insert+0xd2>          
       goto exit_insert;                                              
     }                                                                
                                                                      
     if ( _Watchdog_Sync_level > insert_isr_nest_level ) {            
   49cb0:	2439 0006 0d0c 	movel 60d0c <_Watchdog_Sync_level>,%d2      
   49cb6:	b484           	cmpl %d4,%d2                                
   49cb8:	6230           	bhis 49cea <_Watchdog_Insert+0x9e>          
     if ( delta_interval < after->delta_interval ) {                  
       after->delta_interval -= delta_interval;                       
       break;                                                         
     }                                                                
                                                                      
     delta_interval -= after->delta_interval;                         
   49cba:	9081           	subl %d1,%d0                                
                                                                      
exit_insert:                                                          
  _Watchdog_Sync_level = insert_isr_nest_level;                       
  _Watchdog_Sync_count--;                                             
  _ISR_Enable( level );                                               
}                                                                     
   49cbc:	2050           	moveal %a0@,%a0                             
                                                                      
  for ( after = _Watchdog_First( header ) ;                           
        ;                                                             
        after = _Watchdog_Next( after ) ) {                           
                                                                      
     if ( delta_interval == 0 || !_Watchdog_Next( after ) )           
   49cbe:	4a80           	tstl %d0                                    
   49cc0:	6736           	beqs 49cf8 <_Watchdog_Insert+0xac>          
   49cc2:	4a90           	tstl %a0@                                   
   49cc4:	6732           	beqs 49cf8 <_Watchdog_Insert+0xac>          
       break;                                                         
                                                                      
     if ( delta_interval < after->delta_interval ) {                  
   49cc6:	2228 0010      	movel %a0@(16),%d1                          
   49cca:	b081           	cmpl %d1,%d0                                
   49ccc:	6524           	bcss 49cf2 <_Watchdog_Insert+0xa6>          
       break;                                                         
     }                                                                
                                                                      
     delta_interval -= after->delta_interval;                         
                                                                      
     _ISR_Flash( level );                                             
   49cce:	2405           	movel %d5,%d2                               
   49cd0:	46c3           	movew %d3,%sr                               
   49cd2:	8483           	orl %d3,%d2                                 
   49cd4:	46c2           	movew %d2,%sr                               
     if ( delta_interval < after->delta_interval ) {                  
       after->delta_interval -= delta_interval;                       
       break;                                                         
     }                                                                
                                                                      
     delta_interval -= after->delta_interval;                         
   49cd6:	9081           	subl %d1,%d0                                
                                                                      
     _ISR_Flash( level );                                             
                                                                      
     if ( the_watchdog->state != WATCHDOG_BEING_INSERTED ) {          
   49cd8:	7201           	moveq #1,%d1                                
   49cda:	b2a9 0008      	cmpl %a1@(8),%d1                            
   49cde:	663e           	bnes 49d1e <_Watchdog_Insert+0xd2>          <== NEVER TAKEN
       goto exit_insert;                                              
     }                                                                
                                                                      
     if ( _Watchdog_Sync_level > insert_isr_nest_level ) {            
   49ce0:	2239 0006 0d0c 	movel 60d0c <_Watchdog_Sync_level>,%d1      
   49ce6:	b284           	cmpl %d4,%d1                                
   49ce8:	63d2           	blss 49cbc <_Watchdog_Insert+0x70>          <== ALWAYS TAKEN
       _Watchdog_Sync_level = insert_isr_nest_level;                  
   49cea:	23c4 0006 0d0c 	movel %d4,60d0c <_Watchdog_Sync_level>      
       goto restart;                                                  
   49cf0:	609a           	bras 49c8c <_Watchdog_Insert+0x40>          
                                                                      
     if ( delta_interval == 0 || !_Watchdog_Next( after ) )           
       break;                                                         
                                                                      
     if ( delta_interval < after->delta_interval ) {                  
       after->delta_interval -= delta_interval;                       
   49cf2:	9280           	subl %d0,%d1                                
   49cf4:	2141 0010      	movel %d1,%a0@(16)                          
                                                                      
  _Watchdog_Activate( the_watchdog );                                 
                                                                      
  the_watchdog->delta_interval = delta_interval;                      
                                                                      
  _Chain_Insert_unprotected( after->Node.previous, &the_watchdog->Node );
   49cf8:	2068 0004      	moveal %a0@(4),%a0                          
RTEMS_INLINE_ROUTINE void _Watchdog_Activate(                         
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_ACTIVE;                              
   49cfc:	7402           	moveq #2,%d2                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
   49cfe:	2450           	moveal %a0@,%a2                             
     }                                                                
  }                                                                   
                                                                      
  _Watchdog_Activate( the_watchdog );                                 
                                                                      
  the_watchdog->delta_interval = delta_interval;                      
   49d00:	2340 0010      	movel %d0,%a1@(16)                          
                                                                      
  _Chain_Insert_unprotected( after->Node.previous, &the_watchdog->Node );
                                                                      
  the_watchdog->start_time = _Watchdog_Ticks_since_boot;              
   49d04:	2039 0006 0d72 	movel 60d72 <_Watchdog_Ticks_since_boot>,%d0
   49d0a:	2342 0008      	movel %d2,%a1@(8)                           
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
   49d0e:	2348 0004      	movel %a0,%a1@(4)                           
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
   49d12:	2089           	movel %a1,%a0@                              
  the_node->next        = before_node;                                
  before_node->previous = the_node;                                   
   49d14:	2549 0004      	movel %a1,%a2@(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;                                
   49d18:	228a           	movel %a2,%a1@                              
   49d1a:	2340 0014      	movel %d0,%a1@(20)                          
                                                                      
exit_insert:                                                          
  _Watchdog_Sync_level = insert_isr_nest_level;                       
   49d1e:	23c4 0006 0d0c 	movel %d4,60d0c <_Watchdog_Sync_level>      
  _Watchdog_Sync_count--;                                             
   49d24:	2039 0006 0d6e 	movel 60d6e <_Watchdog_Sync_count>,%d0      
   49d2a:	5380           	subql #1,%d0                                
   49d2c:	23c0 0006 0d6e 	movel %d0,60d6e <_Watchdog_Sync_count>      
  _ISR_Enable( level );                                               
   49d32:	46c3           	movew %d3,%sr                               
}                                                                     
   49d34:	4cd7 043c      	moveml %sp@,%d2-%d5/%a2                     
   49d38:	4e5e           	unlk %fp                                    
   49d3a:	4e75           	rts                                         
   *  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 ) {                   
    _ISR_Enable( level );                                             
   49d3c:	46c3           	movew %d3,%sr                               
                                                                      
exit_insert:                                                          
  _Watchdog_Sync_level = insert_isr_nest_level;                       
  _Watchdog_Sync_count--;                                             
  _ISR_Enable( level );                                               
}                                                                     
   49d3e:	4cd7 043c      	moveml %sp@,%d2-%d5/%a2                     
   49d42:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00049da0 <_Watchdog_Remove>: { ISR_Level level; Watchdog_States previous_state; Watchdog_Control *next_watchdog; _ISR_Disable( level );
   49da0:	203c 0000 0700 	movel #1792,%d0                             
 */                                                                   
                                                                      
Watchdog_States _Watchdog_Remove(                                     
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
   49da6:	4e56 0000      	linkw %fp,#0                                
   49daa:	206e 0008      	moveal %fp@(8),%a0                          
   49dae:	2f0a           	movel %a2,%sp@-                             
   49db0:	2f02           	movel %d2,%sp@-                             
  ISR_Level         level;                                            
  Watchdog_States   previous_state;                                   
  Watchdog_Control *next_watchdog;                                    
                                                                      
  _ISR_Disable( level );                                              
   49db2:	40c1           	movew %sr,%d1                               
   49db4:	8081           	orl %d1,%d0                                 
   49db6:	46c0           	movew %d0,%sr                               
  previous_state = the_watchdog->state;                               
   49db8:	2028 0008      	movel %a0@(8),%d0                           
  switch ( previous_state ) {                                         
   49dbc:	7401           	moveq #1,%d2                                
   49dbe:	b480           	cmpl %d0,%d2                                
   49dc0:	6764           	beqs 49e26 <_Watchdog_Remove+0x86>          
   49dc2:	6314           	blss 49dd8 <_Watchdog_Remove+0x38>          
        _Watchdog_Sync_level = _ISR_Nest_level;                       
                                                                      
      _Chain_Extract_unprotected( &the_watchdog->Node );              
      break;                                                          
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
   49dc4:	2279 0006 0d72 	moveal 60d72 <_Watchdog_Ticks_since_boot>,%a1
   49dca:	2149 0018      	movel %a1,%a0@(24)                          
                                                                      
  _ISR_Enable( level );                                               
   49dce:	46c1           	movew %d1,%sr                               
  return( previous_state );                                           
}                                                                     
   49dd0:	241f           	movel %sp@+,%d2                             
   49dd2:	245f           	moveal %sp@+,%a2                            
   49dd4:	4e5e           	unlk %fp                                    
   49dd6:	4e75           	rts                                         
  Watchdog_States   previous_state;                                   
  Watchdog_Control *next_watchdog;                                    
                                                                      
  _ISR_Disable( level );                                              
  previous_state = the_watchdog->state;                               
  switch ( previous_state ) {                                         
   49dd8:	143c 0003      	moveb #3,%d2                                
   49ddc:	b480           	cmpl %d0,%d2                                
   49dde:	65e4           	bcss 49dc4 <_Watchdog_Remove+0x24>          <== NEVER TAKEN
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
                                                                      
  _ISR_Enable( level );                                               
  return( previous_state );                                           
}                                                                     
   49de0:	2250           	moveal %a0@,%a1                             
      break;                                                          
                                                                      
    case WATCHDOG_ACTIVE:                                             
    case WATCHDOG_REMOVE_IT:                                          
                                                                      
      the_watchdog->state = WATCHDOG_INACTIVE;                        
   49de2:	42a8 0008      	clrl %a0@(8)                                
      next_watchdog = _Watchdog_Next( the_watchdog );                 
                                                                      
      if ( _Watchdog_Next(next_watchdog) )                            
   49de6:	4a91           	tstl %a1@                                   
   49de8:	6708           	beqs 49df2 <_Watchdog_Remove+0x52>          
        next_watchdog->delta_interval += the_watchdog->delta_interval;
   49dea:	2428 0010      	movel %a0@(16),%d2                          
   49dee:	d5a9 0010      	addl %d2,%a1@(16)                           
                                                                      
      if ( _Watchdog_Sync_count )                                     
   49df2:	2479 0006 0d6e 	moveal 60d6e <_Watchdog_Sync_count>,%a2     
   49df8:	4a8a           	tstl %a2                                    
   49dfa:	670c           	beqs 49e08 <_Watchdog_Remove+0x68>          
        _Watchdog_Sync_level = _ISR_Nest_level;                       
   49dfc:	45f9 0006 10ce 	lea 610ce <_Per_CPU_Information+0x8>,%a2    
   49e02:	23d2 0006 0d0c 	movel %a2@,60d0c <_Watchdog_Sync_level>     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
   49e08:	2468 0004      	moveal %a0@(4),%a2                          
  next->previous = previous;                                          
   49e0c:	234a 0004      	movel %a2,%a1@(4)                           
  previous->next = next;                                              
   49e10:	2489           	movel %a1,%a2@                              
                                                                      
      _Chain_Extract_unprotected( &the_watchdog->Node );              
      break;                                                          
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
   49e12:	2279 0006 0d72 	moveal 60d72 <_Watchdog_Ticks_since_boot>,%a1
   49e18:	2149 0018      	movel %a1,%a0@(24)                          
                                                                      
  _ISR_Enable( level );                                               
   49e1c:	46c1           	movew %d1,%sr                               
  return( previous_state );                                           
}                                                                     
   49e1e:	241f           	movel %sp@+,%d2                             
   49e20:	245f           	moveal %sp@+,%a2                            
   49e22:	4e5e           	unlk %fp                                    
   49e24:	4e75           	rts                                         
        _Watchdog_Sync_level = _ISR_Nest_level;                       
                                                                      
      _Chain_Extract_unprotected( &the_watchdog->Node );              
      break;                                                          
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
   49e26:	2279 0006 0d72 	moveal 60d72 <_Watchdog_Ticks_since_boot>,%a1
                                                                      
      /*                                                              
       *  It is not actually on the chain so just change the state and
       *  the Insert operation we interrupted will be aborted.        
       */                                                             
      the_watchdog->state = WATCHDOG_INACTIVE;                        
   49e2c:	42a8 0008      	clrl %a0@(8)                                
        _Watchdog_Sync_level = _ISR_Nest_level;                       
                                                                      
      _Chain_Extract_unprotected( &the_watchdog->Node );              
      break;                                                          
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
   49e30:	2149 0018      	movel %a1,%a0@(24)                          
                                                                      
  _ISR_Enable( level );                                               
   49e34:	46c1           	movew %d1,%sr                               
  return( previous_state );                                           
}                                                                     
   49e36:	241f           	movel %sp@+,%d2                             
   49e38:	245f           	moveal %sp@+,%a2                            
   49e3a:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004b1ec <_Watchdog_Report_chain>: ) { ISR_Level level; Chain_Node *node; _ISR_Disable( level );
   4b1ec:	203c 0000 0700 	movel #1792,%d0                             
                                                                      
void _Watchdog_Report_chain(                                          
  const char        *name,                                            
  Chain_Control     *header                                           
)                                                                     
{                                                                     
   4b1f2:	4e56 ffe8      	linkw %fp,#-24                              
   4b1f6:	48d7 3c0c      	moveml %d2-%d3/%a2-%a5,%sp@                 
   4b1fa:	242e 0008      	movel %fp@(8),%d2                           
   4b1fe:	266e 000c      	moveal %fp@(12),%a3                         
  ISR_Level          level;                                           
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
   4b202:	40c3           	movew %sr,%d3                               
   4b204:	8083           	orl %d3,%d0                                 
   4b206:	46c0           	movew %d0,%sr                               
    printk( "Watchdog Chain: %s %p\n", name, header );                
   4b208:	2f0b           	movel %a3,%sp@-                             
   4b20a:	4bf9 0004 4b88 	lea 44b88 <printk>,%a5                      
   4b210:	2f02           	movel %d2,%sp@-                             
   4b212:	4879 0006 046a 	pea 6046a <_Status_Object_name_errors_to_status+0x14>
   4b218:	4e95           	jsr %a5@                                    
      printk( "== end of %s \n", name );                              
    } else {                                                          
      printk( "Chain is empty\n" );                                   
    }                                                                 
  _ISR_Enable( level );                                               
}                                                                     
   4b21a:	245b           	moveal %a3@+,%a2                            
  ISR_Level          level;                                           
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
    printk( "Watchdog Chain: %s %p\n", name, header );                
    if ( !_Chain_Is_empty( header ) ) {                               
   4b21c:	4fef 000c      	lea %sp@(12),%sp                            
   4b220:	b7ca           	cmpal %a2,%a3                               
   4b222:	672c           	beqs 4b250 <_Watchdog_Report_chain+0x64>    
   4b224:	49f9 0004 b268 	lea 4b268 <_Watchdog_Report>,%a4            
            node != _Chain_Tail(header) ;                             
            node = node->next )                                       
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
   4b22a:	2f0a           	movel %a2,%sp@-                             
   4b22c:	42a7           	clrl %sp@-                                  
   4b22e:	4e94           	jsr %a4@                                    
  _ISR_Disable( level );                                              
    printk( "Watchdog Chain: %s %p\n", name, header );                
    if ( !_Chain_Is_empty( header ) ) {                               
      for ( node = _Chain_First( header ) ;                           
            node != _Chain_Tail(header) ;                             
            node = node->next )                                       
   4b230:	2452           	moveal %a2@,%a2                             
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
    printk( "Watchdog Chain: %s %p\n", name, header );                
    if ( !_Chain_Is_empty( header ) ) {                               
      for ( node = _Chain_First( header ) ;                           
   4b232:	508f           	addql #8,%sp                                
   4b234:	b7ca           	cmpal %a2,%a3                               
   4b236:	66f2           	bnes 4b22a <_Watchdog_Report_chain+0x3e>    <== NEVER TAKEN
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
      }                                                               
      printk( "== end of %s \n", name );                              
   4b238:	2f02           	movel %d2,%sp@-                             
   4b23a:	4879 0006 0481 	pea 60481 <_Status_Object_name_errors_to_status+0x2b>
   4b240:	4e95           	jsr %a5@                                    
   4b242:	508f           	addql #8,%sp                                
    } else {                                                          
      printk( "Chain is empty\n" );                                   
    }                                                                 
  _ISR_Enable( level );                                               
   4b244:	46c3           	movew %d3,%sr                               
}                                                                     
   4b246:	4cee 3c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a5            
   4b24c:	4e5e           	unlk %fp                                    
   4b24e:	4e75           	rts                                         
                                                                      
        _Watchdog_Report( NULL, watch );                              
      }                                                               
      printk( "== end of %s \n", name );                              
    } else {                                                          
      printk( "Chain is empty\n" );                                   
   4b250:	4879 0006 0490 	pea 60490 <_Status_Object_name_errors_to_status+0x3a>
   4b256:	4e95           	jsr %a5@                                    
   4b258:	588f           	addql #4,%sp                                
    }                                                                 
  _ISR_Enable( level );                                               
   4b25a:	46c3           	movew %d3,%sr                               
}                                                                     
   4b25c:	4cee 3c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a5            
   4b262:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00049e40 <_Watchdog_Tickle>: * See the comment in watchdoginsert.c and watchdogadjust.c * about why it's safe not to declare header a pointer to * volatile data - till, 2003/7 */ _ISR_Disable( level );
   49e40:	203c 0000 0700 	movel #1792,%d0                             
 */                                                                   
                                                                      
void _Watchdog_Tickle(                                                
  Chain_Control *header                                               
)                                                                     
{                                                                     
   49e46:	4e56 ffe8      	linkw %fp,#-24                              
   49e4a:	48d7 3c0c      	moveml %d2-%d3/%a2-%a5,%sp@                 
   49e4e:	286e 0008      	moveal %fp@(8),%a4                          
   * See the comment in watchdoginsert.c and watchdogadjust.c         
   * about why it's safe not to declare header a pointer to           
   * volatile data - till, 2003/7                                     
   */                                                                 
                                                                      
  _ISR_Disable( level );                                              
   49e52:	40c2           	movew %sr,%d2                               
   49e54:	8082           	orl %d2,%d0                                 
   49e56:	46c0           	movew %d0,%sr                               
   } while ( !_Chain_Is_empty( header ) &&                            
             (the_watchdog->delta_interval == 0) );                   
                                                                      
leave:                                                                
   _ISR_Enable(level);                                                
}                                                                     
   49e58:	264c           	moveal %a4,%a3                              
   49e5a:	245b           	moveal %a3@+,%a2                            
   * volatile data - till, 2003/7                                     
   */                                                                 
                                                                      
  _ISR_Disable( level );                                              
                                                                      
  if ( _Chain_Is_empty( header ) )                                    
   49e5c:	b7ca           	cmpal %a2,%a3                               
   49e5e:	673e           	beqs 49e9e <_Watchdog_Tickle+0x5e>          
   * to be inserted has already had its delta_interval adjusted to 0, and
   * so is added to the head of the chain with a delta_interval of 0. 
   *                                                                  
   * Steven Johnson - 12/2005 (gcc-3.2.3 -O3 on powerpc)              
   */                                                                 
  if (the_watchdog->delta_interval != 0) {                            
   49e60:	202a 0010      	movel %a2@(16),%d0                          
   49e64:	4bf9 0004 9da0 	lea 49da0 <_Watchdog_Remove>,%a5            
   49e6a:	6708           	beqs 49e74 <_Watchdog_Tickle+0x34>          
    the_watchdog->delta_interval--;                                   
   49e6c:	5380           	subql #1,%d0                                
   49e6e:	2540 0010      	movel %d0,%a2@(16)                          
    if ( the_watchdog->delta_interval != 0 )                          
   49e72:	662a           	bnes 49e9e <_Watchdog_Tickle+0x5e>          
                                                                      
       case WATCHDOG_REMOVE_IT:                                       
         break;                                                       
     }                                                                
                                                                      
     _ISR_Disable( level );                                           
   49e74:	263c 0000 0700 	movel #1792,%d3                             
    if ( the_watchdog->delta_interval != 0 )                          
      goto leave;                                                     
  }                                                                   
                                                                      
  do {                                                                
     watchdog_state = _Watchdog_Remove( the_watchdog );               
   49e7a:	2f0a           	movel %a2,%sp@-                             
   49e7c:	4e95           	jsr %a5@                                    
                                                                      
     _ISR_Enable( level );                                            
   49e7e:	46c2           	movew %d2,%sr                               
                                                                      
     switch( watchdog_state ) {                                       
   49e80:	7202           	moveq #2,%d1                                
   49e82:	588f           	addql #4,%sp                                
   49e84:	b280           	cmpl %d0,%d1                                
   49e86:	6722           	beqs 49eaa <_Watchdog_Tickle+0x6a>          <== ALWAYS TAKEN
                                                                      
       case WATCHDOG_REMOVE_IT:                                       
         break;                                                       
     }                                                                
                                                                      
     _ISR_Disable( level );                                           
   49e88:	2003           	movel %d3,%d0                               
   49e8a:	40c2           	movew %sr,%d2                               
   49e8c:	8082           	orl %d2,%d0                                 
   49e8e:	46c0           	movew %d0,%sr                               
   } while ( !_Chain_Is_empty( header ) &&                            
             (the_watchdog->delta_interval == 0) );                   
                                                                      
leave:                                                                
   _ISR_Enable(level);                                                
}                                                                     
   49e90:	2014           	movel %a4@,%d0                              
RTEMS_INLINE_ROUTINE Watchdog_Control *_Watchdog_First(               
  Chain_Control *header                                               
)                                                                     
{                                                                     
                                                                      
  return ( (Watchdog_Control *) _Chain_First( header ) );             
   49e92:	2440           	moveal %d0,%a2                              
                                                                      
     _ISR_Disable( level );                                           
                                                                      
     the_watchdog = _Watchdog_First( header );                        
   } while ( !_Chain_Is_empty( header ) &&                            
             (the_watchdog->delta_interval == 0) );                   
   49e94:	b7c0           	cmpal %d0,%a3                               
   49e96:	6706           	beqs 49e9e <_Watchdog_Tickle+0x5e>          
     }                                                                
                                                                      
     _ISR_Disable( level );                                           
                                                                      
     the_watchdog = _Watchdog_First( header );                        
   } while ( !_Chain_Is_empty( header ) &&                            
   49e98:	4aaa 0010      	tstl %a2@(16)                               
   49e9c:	67dc           	beqs 49e7a <_Watchdog_Tickle+0x3a>          
             (the_watchdog->delta_interval == 0) );                   
                                                                      
leave:                                                                
   _ISR_Enable(level);                                                
   49e9e:	46c2           	movew %d2,%sr                               
}                                                                     
   49ea0:	4cee 3c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a5            
   49ea6:	4e5e           	unlk %fp                                    
   49ea8:	4e75           	rts                                         
                                                                      
     _ISR_Enable( level );                                            
                                                                      
     switch( watchdog_state ) {                                       
       case WATCHDOG_ACTIVE:                                          
         (*the_watchdog->routine)(                                    
   49eaa:	2f2a 0024      	movel %a2@(36),%sp@-                        
   49eae:	2f2a 0020      	movel %a2@(32),%sp@-                        
   49eb2:	206a 001c      	moveal %a2@(28),%a0                         
   49eb6:	4e90           	jsr %a0@                                    
           the_watchdog->id,                                          
           the_watchdog->user_data                                    
         );                                                           
         break;                                                       
   49eb8:	508f           	addql #8,%sp                                
   49eba:	60cc           	bras 49e88 <_Watchdog_Tickle+0x48>          
                                                                      

0005c838 <_calloc_r>: void *_calloc_r( struct _reent *ignored __attribute__((unused)), size_t elements, size_t size ) {
   5c838:	4e56 0000      	linkw %fp,#0                                
   5c83c:	202e 000c      	movel %fp@(12),%d0                          
  return calloc( elements, size );                                    
   5c840:	2d6e 0010 000c 	movel %fp@(16),%fp@(12)                     
   5c846:	2d40 0008      	movel %d0,%fp@(8)                           
}                                                                     
   5c84a:	4e5e           	unlk %fp                                    
  struct _reent *ignored __attribute__((unused)),                     
  size_t         elements,                                            
  size_t         size                                                 
)                                                                     
{                                                                     
  return calloc( elements, size );                                    
   5c84c:	4ef9 0004 2bd8 	jmp 42bd8 <calloc>                          
	...                                                                  
                                                                      

0005c854 <_free_r>: void _free_r( struct _reent *ignored __attribute__((unused)), void *ptr ) {
   5c854:	4e56 0000      	linkw %fp,#0                                
  free( ptr );                                                        
   5c858:	2d6e 000c 0008 	movel %fp@(12),%fp@(8)                      
}                                                                     
   5c85e:	4e5e           	unlk %fp                                    
void _free_r(                                                         
  struct _reent *ignored __attribute__((unused)),                     
  void          *ptr                                                  
)                                                                     
{                                                                     
  free( ptr );                                                        
   5c860:	4ef9 0004 2fe4 	jmp 42fe4 <free>                            
	...                                                                  
                                                                      

0005c904 <_fstat_r>: int _fstat_r( struct _reent *ptr __attribute__((unused)), int fd, struct stat *buf ) {
   5c904:	4e56 0000      	linkw %fp,#0                                
   5c908:	202e 000c      	movel %fp@(12),%d0                          
  return fstat( fd, buf );                                            
   5c90c:	2d6e 0010 000c 	movel %fp@(16),%fp@(12)                     
   5c912:	2d40 0008      	movel %d0,%fp@(8)                           
}                                                                     
   5c916:	4e5e           	unlk %fp                                    
  struct _reent *ptr __attribute__((unused)),                         
  int            fd,                                                  
  struct stat   *buf                                                  
)                                                                     
{                                                                     
  return fstat( fd, buf );                                            
   5c918:	4ef9 0005 c868 	jmp 5c868 <fstat>                           
	...                                                                  
                                                                      

000430f2 <_gettimeofday>: int _gettimeofday( struct timeval *tp, struct timezone *tzp ) {
   430f2:	4e56 0000      	linkw %fp,#0                                
  return gettimeofday( tp, tzp );                                     
}                                                                     
   430f6:	4e5e           	unlk %fp                                    
int _gettimeofday(                                                    
  struct timeval  *tp,                                                
  struct timezone *tzp                                                
)                                                                     
{                                                                     
  return gettimeofday( tp, tzp );                                     
   430f8:	4ef9 0004 3074 	jmp 43074 <gettimeofday>                    
	...                                                                  
                                                                      

0005c934 <_isatty_r>: int _isatty_r( struct _reent *ptr __attribute__((unused)), int fd ) {
   5c934:	4e56 0000      	linkw %fp,#0                                
  return isatty( fd );                                                
   5c938:	2d6e 000c 0008 	movel %fp@(12),%fp@(8)                      
}                                                                     
   5c93e:	4e5e           	unlk %fp                                    
int _isatty_r(                                                        
  struct _reent *ptr __attribute__((unused)),                         
  int            fd                                                   
)                                                                     
{                                                                     
  return isatty( fd );                                                
   5c940:	4ef9 0005 d4a4 	jmp 5d4a4 <isatty>                          
	...                                                                  
                                                                      

0005cbfc <_kill_r>: int _kill_r( struct _reent *ptr, pid_t pid, int sig ) {
   5cbfc:	4e56 0000      	linkw %fp,#0                                
  return killinfo( pid, sig, NULL );                                  
   5cc00:	2d6e 000c 0008 	movel %fp@(12),%fp@(8)                      
int _kill_r(                                                          
  struct _reent *ptr,                                                 
  pid_t          pid,                                                 
  int            sig                                                  
)                                                                     
{                                                                     
   5cc06:	202e 0010      	movel %fp@(16),%d0                          
  return killinfo( pid, sig, NULL );                                  
   5cc0a:	42ae 0010      	clrl %fp@(16)                               
   5cc0e:	2d40 000c      	movel %d0,%fp@(12)                          
}                                                                     
   5cc12:	4e5e           	unlk %fp                                    
  struct _reent *ptr,                                                 
  pid_t          pid,                                                 
  int            sig                                                  
)                                                                     
{                                                                     
  return killinfo( pid, sig, NULL );                                  
   5cc14:	4ef9 0005 cdec 	jmp 5cdec <killinfo>                        
	...                                                                  
                                                                      

0005caa4 <_lseek_r>: struct _reent *ptr __attribute__((unused)), int fd, off_t offset, int whence ) {
   5caa4:	4e56 0000      	linkw %fp,#0                                
   5caa8:	206e 000c      	moveal %fp@(12),%a0                         
   5caac:	202e 0010      	movel %fp@(16),%d0                          
   5cab0:	222e 0014      	movel %fp@(20),%d1                          
  return lseek( fd, offset, whence );                                 
   5cab4:	2d6e 0018 0014 	movel %fp@(24),%fp@(20)                     
   5caba:	2d40 000c      	movel %d0,%fp@(12)                          
   5cabe:	2d41 0010      	movel %d1,%fp@(16)                          
   5cac2:	2d48 0008      	movel %a0,%fp@(8)                           
}                                                                     
   5cac6:	4e5e           	unlk %fp                                    
  int            fd,                                                  
  off_t          offset,                                              
  int            whence                                               
)                                                                     
{                                                                     
  return lseek( fd, offset, whence );                                 
   5cac8:	4ef9 0005 c948 	jmp 5c948 <lseek>                           
	...                                                                  
                                                                      

000453fc <_lstat_r>: int _STAT_R_NAME( struct _reent *ptr __attribute__((unused)), const char *path, struct stat *buf ) {
   453fc:	4e56 0000      	linkw %fp,#0                                
   45400:	202e 000c      	movel %fp@(12),%d0                          
  return _STAT_NAME( path, buf );                                     
   45404:	2d6e 0010 000c 	movel %fp@(16),%fp@(12)                     
   4540a:	2d40 0008      	movel %d0,%fp@(8)                           
}                                                                     
   4540e:	4e5e           	unlk %fp                                    
  struct _reent *ptr __attribute__((unused)),                         
  const char    *path,                                                
  struct stat   *buf                                                  
)                                                                     
{                                                                     
  return _STAT_NAME( path, buf );                                     
   45410:	4ef9 0004 5364 	jmp 45364 <lstat>                           
	...                                                                  
                                                                      

0005cad0 <_malloc_r>: void *_malloc_r( struct _reent *ignored __attribute__((unused)), size_t size ) {
   5cad0:	4e56 0000      	linkw %fp,#0                                
  return malloc( size );                                              
   5cad4:	2d6e 000c 0008 	movel %fp@(12),%fp@(8)                      
}                                                                     
   5cada:	4e5e           	unlk %fp                                    
void *_malloc_r(                                                      
  struct _reent *ignored __attribute__((unused)),                     
  size_t         size                                                 
)                                                                     
{                                                                     
  return malloc( size );                                              
   5cadc:	4ef9 0004 3314 	jmp 43314 <malloc>                          
	...                                                                  
                                                                      

0005cbbc <_realloc_r>: void *_realloc_r( struct _reent *ignored __attribute__((unused)), void *ptr, size_t size ) {
   5cbbc:	4e56 0000      	linkw %fp,#0                                
   5cbc0:	202e 000c      	movel %fp@(12),%d0                          
  return realloc( ptr, size );                                        
   5cbc4:	2d6e 0010 000c 	movel %fp@(16),%fp@(12)                     
   5cbca:	2d40 0008      	movel %d0,%fp@(8)                           
}                                                                     
   5cbce:	4e5e           	unlk %fp                                    
  struct _reent *ignored __attribute__((unused)),                     
  void          *ptr,                                                 
  size_t         size                                                 
)                                                                     
{                                                                     
  return realloc( ptr, size );                                        
   5cbd0:	4ef9 0005 cc1c 	jmp 5cc1c <realloc>                         
	...                                                                  
                                                                      

00047818 <_rename_r>: int _rename_r( struct _reent *ptr __attribute__((unused)), const char *old, const char *new ) {
   47818:	4e56 ffa4      	linkw %fp,#-92                              
   4781c:	48d7 0c3c      	moveml %d2-%d5/%a2-%a3,%sp@                 
   47820:	262e 000c      	movel %fp@(12),%d3                          
   47824:	282e 0010      	movel %fp@(16),%d4                          
                                                                      
  /*                                                                  
   *  Get the parent node of the old path to be renamed. Find the parent path.
   */                                                                 
                                                                      
  old_parent_pathlen = rtems_filesystem_dirname ( old );              
   47828:	2f03           	movel %d3,%sp@-                             
   4782a:	4eb9 0004 5fe8 	jsr 45fe8 <rtems_filesystem_dirname>        
                                                                      
  if ( old_parent_pathlen == 0 )                                      
   47830:	588f           	addql #4,%sp                                
   47832:	4a80           	tstl %d0                                    
   47834:	6600 017c      	bnew 479b2 <_rename_r+0x19a>                
    rtems_filesystem_get_start_loc( old, &i, &old_parent_loc );       
   47838:	45ee ffd0      	lea %fp@(-48),%a2                           
   4783c:	4282           	clrl %d2                                    
   4783e:	2f0a           	movel %a2,%sp@-                             
   47840:	486e fffc      	pea %fp@(-4)                                
  rtems_filesystem_location_info_t    old_parent_loc;                 
  rtems_filesystem_location_info_t    new_parent_loc;                 
  int                                 i;                              
  int                                 result;                         
  const char                         *name;                           
  bool                                free_old_parentloc = false;     
   47844:	4205           	clrb %d5                                    
   */                                                                 
                                                                      
  old_parent_pathlen = rtems_filesystem_dirname ( old );              
                                                                      
  if ( old_parent_pathlen == 0 )                                      
    rtems_filesystem_get_start_loc( old, &i, &old_parent_loc );       
   47846:	2f03           	movel %d3,%sp@-                             
   47848:	4eb9 0004 7c34 	jsr 47c34 <rtems_filesystem_get_start_loc>  
   4784e:	4fef 000c      	lea %sp@(12),%sp                            
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
   47852:	2d52 ffe4      	movel %a2@,%fp@(-28)                        
  name = old + old_parent_pathlen;                                    
   47856:	d483           	addl %d3,%d2                                
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
   47858:	47f9 0005 5bb0 	lea 55bb0 <strlen>,%a3                      
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
   4785e:	260e           	movel %fp,%d3                               
   47860:	0683 ffff ffe4 	addil #-28,%d3                              
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
   47866:	2d6e ffd4 ffe8 	movel %fp@(-44),%fp@(-24)                   
   4786c:	2d6e ffd8 ffec 	movel %fp@(-40),%fp@(-20)                   
   47872:	2d6e ffdc fff0 	movel %fp@(-36),%fp@(-16)                   
   47878:	2d6e ffe0 fff4 	movel %fp@(-32),%fp@(-12)                   
  name = old + old_parent_pathlen;                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
   4787e:	2f02           	movel %d2,%sp@-                             
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
  name = old + old_parent_pathlen;                                    
   47880:	2d42 fff8      	movel %d2,%fp@(-8)                          
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
   47884:	4e93           	jsr %a3@                                    
   47886:	2e80           	movel %d0,%sp@                              
   47888:	2f02           	movel %d2,%sp@-                             
   4788a:	4eb9 0004 602a 	jsr 4602a <rtems_filesystem_prefix_separators>
   47890:	d480           	addl %d0,%d2                                
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
   47892:	2f02           	movel %d2,%sp@-                             
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
  name = old + old_parent_pathlen;                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
   47894:	2d42 fff8      	movel %d2,%fp@(-8)                          
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
   47898:	4e93           	jsr %a3@                                    
   4789a:	4297           	clrl %sp@                                   
   4789c:	2f03           	movel %d3,%sp@-                             
   4789e:	42a7           	clrl %sp@-                                  
   478a0:	2f00           	movel %d0,%sp@-                             
   478a2:	2f02           	movel %d2,%sp@-                             
   478a4:	4eb9 0004 5f2c 	jsr 45f2c <rtems_filesystem_evaluate_relative_path>
                                                    0, &old_loc, false );
  if ( result != 0 ) {                                                
   478aa:	4fef 001c      	lea %sp@(28),%sp                            
   478ae:	4a80           	tstl %d0                                    
   478b0:	6600 00d6      	bnew 47988 <_rename_r+0x170>                
                                                                      
  /*                                                                  
   * Get the parent of the new node we are renaming to.               
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &new_parent_loc );         
   478b4:	240e           	movel %fp,%d2                               
   478b6:	0682 ffff ffbc 	addil #-68,%d2                              
   478bc:	2f02           	movel %d2,%sp@-                             
   478be:	486e fffc      	pea %fp@(-4)                                
   478c2:	2f04           	movel %d4,%sp@-                             
   478c4:	4eb9 0004 7c34 	jsr 47c34 <rtems_filesystem_get_start_loc>  
                                                                      
  result = (*new_parent_loc.ops->evalformake_h)( &new[i], &new_parent_loc, &name );
   478ca:	486e fff8      	pea %fp@(-8)                                
   478ce:	d8ae fffc      	addl %fp@(-4),%d4                           
   478d2:	2f02           	movel %d2,%sp@-                             
   478d4:	206e ffc8      	moveal %fp@(-56),%a0                        
   478d8:	2f04           	movel %d4,%sp@-                             
   478da:	2068 0004      	moveal %a0@(4),%a0                          
   478de:	4e90           	jsr %a0@                                    
  if ( result != 0 ) {                                                
   478e0:	4fef 0018      	lea %sp@(24),%sp                            
   478e4:	4a80           	tstl %d0                                    
   478e6:	6600 00f0      	bnew 479d8 <_rename_r+0x1c0>                
  /*                                                                  
   *  Check to see if the caller is trying to rename across file system
   *  boundaries.                                                     
   */                                                                 
                                                                      
  if ( old_parent_loc.mt_entry != new_parent_loc.mt_entry ) {         
   478ea:	202e ffcc      	movel %fp@(-52),%d0                         
   478ee:	b0ae ffe0      	cmpl %fp@(-32),%d0                          
   478f2:	6648           	bnes 4793c <_rename_r+0x124>                
      rtems_filesystem_freenode( &old_parent_loc );                   
    rtems_filesystem_freenode( &old_loc );                            
    rtems_set_errno_and_return_minus_one( EXDEV );                    
  }                                                                   
                                                                      
  result = (*new_parent_loc.ops->rename_h)( &old_parent_loc, &old_loc, &new_parent_loc, name );
   478f4:	2f2e fff8      	movel %fp@(-8),%sp@-                        
                                                                      
  rtems_filesystem_freenode( &new_parent_loc );                       
   478f8:	47f9 0004 62b0 	lea 462b0 <rtems_filesystem_freenode>,%a3   
      rtems_filesystem_freenode( &old_parent_loc );                   
    rtems_filesystem_freenode( &old_loc );                            
    rtems_set_errno_and_return_minus_one( EXDEV );                    
  }                                                                   
                                                                      
  result = (*new_parent_loc.ops->rename_h)( &old_parent_loc, &old_loc, &new_parent_loc, name );
   478fe:	206e ffc8      	moveal %fp@(-56),%a0                        
   47902:	2f02           	movel %d2,%sp@-                             
   47904:	2f03           	movel %d3,%sp@-                             
   47906:	2f0a           	movel %a2,%sp@-                             
   47908:	2068 0040      	moveal %a0@(64),%a0                         
   4790c:	4e90           	jsr %a0@                                    
   4790e:	2800           	movel %d0,%d4                               
                                                                      
  rtems_filesystem_freenode( &new_parent_loc );                       
   47910:	2f02           	movel %d2,%sp@-                             
   47912:	4e93           	jsr %a3@                                    
  if ( free_old_parentloc )                                           
   47914:	4fef 0014      	lea %sp@(20),%sp                            
   47918:	4a05           	tstb %d5                                    
   4791a:	6612           	bnes 4792e <_rename_r+0x116>                
    rtems_filesystem_freenode( &old_parent_loc );                     
  rtems_filesystem_freenode( &old_loc );                              
   4791c:	2f03           	movel %d3,%sp@-                             
   4791e:	4e93           	jsr %a3@                                    
                                                                      
  return result;                                                      
   47920:	588f           	addql #4,%sp                                
}                                                                     
   47922:	2004           	movel %d4,%d0                               
   47924:	4cee 0c3c ffa4 	moveml %fp@(-92),%d2-%d5/%a2-%a3            
   4792a:	4e5e           	unlk %fp                                    
   4792c:	4e75           	rts                                         
                                                                      
  result = (*new_parent_loc.ops->rename_h)( &old_parent_loc, &old_loc, &new_parent_loc, name );
                                                                      
  rtems_filesystem_freenode( &new_parent_loc );                       
  if ( free_old_parentloc )                                           
    rtems_filesystem_freenode( &old_parent_loc );                     
   4792e:	2f0a           	movel %a2,%sp@-                             
   47930:	4e93           	jsr %a3@                                    
   47932:	588f           	addql #4,%sp                                
  rtems_filesystem_freenode( &old_loc );                              
   47934:	2f03           	movel %d3,%sp@-                             
   47936:	4e93           	jsr %a3@                                    
                                                                      
  return result;                                                      
   47938:	588f           	addql #4,%sp                                
   4793a:	60e6           	bras 47922 <_rename_r+0x10a>                
   *  Check to see if the caller is trying to rename across file system
   *  boundaries.                                                     
   */                                                                 
                                                                      
  if ( old_parent_loc.mt_entry != new_parent_loc.mt_entry ) {         
    rtems_filesystem_freenode( &new_parent_loc );                     
   4793c:	2f02           	movel %d2,%sp@-                             
   4793e:	47f9 0004 62b0 	lea 462b0 <rtems_filesystem_freenode>,%a3   
   47944:	4e93           	jsr %a3@                                    
    if ( free_old_parentloc )                                         
   47946:	588f           	addql #4,%sp                                
   47948:	4a05           	tstb %d5                                    
   4794a:	6620           	bnes 4796c <_rename_r+0x154>                
      rtems_filesystem_freenode( &old_parent_loc );                   
    rtems_filesystem_freenode( &old_loc );                            
   4794c:	2f03           	movel %d3,%sp@-                             
    rtems_set_errno_and_return_minus_one( EXDEV );                    
   4794e:	78ff           	moveq #-1,%d4                               
                                                                      
  if ( old_parent_loc.mt_entry != new_parent_loc.mt_entry ) {         
    rtems_filesystem_freenode( &new_parent_loc );                     
    if ( free_old_parentloc )                                         
      rtems_filesystem_freenode( &old_parent_loc );                   
    rtems_filesystem_freenode( &old_loc );                            
   47950:	4e93           	jsr %a3@                                    
    rtems_set_errno_and_return_minus_one( EXDEV );                    
   47952:	4eb9 0005 2b84 	jsr 52b84 <__errno>                         
   47958:	588f           	addql #4,%sp                                
   4795a:	2040           	moveal %d0,%a0                              
   4795c:	7012           	moveq #18,%d0                               
   4795e:	2080           	movel %d0,%a0@                              
  if ( free_old_parentloc )                                           
    rtems_filesystem_freenode( &old_parent_loc );                     
  rtems_filesystem_freenode( &old_loc );                              
                                                                      
  return result;                                                      
}                                                                     
   47960:	2004           	movel %d4,%d0                               
   47962:	4cee 0c3c ffa4 	moveml %fp@(-92),%d2-%d5/%a2-%a3            
   47968:	4e5e           	unlk %fp                                    
   4796a:	4e75           	rts                                         
   */                                                                 
                                                                      
  if ( old_parent_loc.mt_entry != new_parent_loc.mt_entry ) {         
    rtems_filesystem_freenode( &new_parent_loc );                     
    if ( free_old_parentloc )                                         
      rtems_filesystem_freenode( &old_parent_loc );                   
   4796c:	2f0a           	movel %a2,%sp@-                             
    rtems_filesystem_freenode( &old_loc );                            
    rtems_set_errno_and_return_minus_one( EXDEV );                    
   4796e:	78ff           	moveq #-1,%d4                               
   */                                                                 
                                                                      
  if ( old_parent_loc.mt_entry != new_parent_loc.mt_entry ) {         
    rtems_filesystem_freenode( &new_parent_loc );                     
    if ( free_old_parentloc )                                         
      rtems_filesystem_freenode( &old_parent_loc );                   
   47970:	4e93           	jsr %a3@                                    
   47972:	588f           	addql #4,%sp                                
    rtems_filesystem_freenode( &old_loc );                            
   47974:	2f03           	movel %d3,%sp@-                             
   47976:	4e93           	jsr %a3@                                    
    rtems_set_errno_and_return_minus_one( EXDEV );                    
   47978:	4eb9 0005 2b84 	jsr 52b84 <__errno>                         
   4797e:	588f           	addql #4,%sp                                
   47980:	2040           	moveal %d0,%a0                              
   47982:	7012           	moveq #18,%d0                               
   47984:	2080           	movel %d0,%a0@                              
   47986:	60d8           	bras 47960 <_rename_r+0x148>                
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &old_loc, false );
  if ( result != 0 ) {                                                
    if ( free_old_parentloc )                                         
   47988:	4a05           	tstb %d5                                    
   4798a:	660e           	bnes 4799a <_rename_r+0x182>                <== ALWAYS TAKEN
      rtems_filesystem_freenode( &old_parent_loc );                   
    return -1;                                                        
   4798c:	78ff           	moveq #-1,%d4                               <== NOT EXECUTED
  if ( free_old_parentloc )                                           
    rtems_filesystem_freenode( &old_parent_loc );                     
  rtems_filesystem_freenode( &old_loc );                              
                                                                      
  return result;                                                      
}                                                                     
   4798e:	2004           	movel %d4,%d0                               <== NOT EXECUTED
   47990:	4cee 0c3c ffa4 	moveml %fp@(-92),%d2-%d5/%a2-%a3            <== NOT EXECUTED
   47996:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   47998:	4e75           	rts                                         <== NOT EXECUTED
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &old_loc, false );
  if ( result != 0 ) {                                                
    if ( free_old_parentloc )                                         
      rtems_filesystem_freenode( &old_parent_loc );                   
   4799a:	2f0a           	movel %a2,%sp@-                             
    return -1;                                                        
   4799c:	78ff           	moveq #-1,%d4                               
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &old_loc, false );
  if ( result != 0 ) {                                                
    if ( free_old_parentloc )                                         
      rtems_filesystem_freenode( &old_parent_loc );                   
   4799e:	4eb9 0004 62b0 	jsr 462b0 <rtems_filesystem_freenode>       
   479a4:	588f           	addql #4,%sp                                
  if ( free_old_parentloc )                                           
    rtems_filesystem_freenode( &old_parent_loc );                     
  rtems_filesystem_freenode( &old_loc );                              
                                                                      
  return result;                                                      
}                                                                     
   479a6:	2004           	movel %d4,%d0                               
   479a8:	4cee 0c3c ffa4 	moveml %fp@(-92),%d2-%d5/%a2-%a3            
   479ae:	4e5e           	unlk %fp                                    
   479b0:	4e75           	rts                                         
  old_parent_pathlen = rtems_filesystem_dirname ( old );              
                                                                      
  if ( old_parent_pathlen == 0 )                                      
    rtems_filesystem_get_start_loc( old, &i, &old_parent_loc );       
  else {                                                              
    result = rtems_filesystem_evaluate_path( old, old_parent_pathlen, 
   479b2:	42a7           	clrl %sp@-                                  
   479b4:	45ee ffd0      	lea %fp@(-48),%a2                           
   479b8:	2400           	movel %d0,%d2                               
   479ba:	2f0a           	movel %a2,%sp@-                             
   479bc:	4878 0002      	pea 2 <DOUBLE_FLOAT>                        
   479c0:	2f00           	movel %d0,%sp@-                             
   479c2:	2f03           	movel %d3,%sp@-                             
   479c4:	4eb9 0004 5f9c 	jsr 45f9c <rtems_filesystem_evaluate_path>  
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &old_parent_loc,         
                                             false );                 
    if ( result != 0 )                                                
   479ca:	4fef 0014      	lea %sp@(20),%sp                            
   479ce:	4a80           	tstl %d0                                    
   479d0:	66ba           	bnes 4798c <_rename_r+0x174>                <== NEVER TAKEN
      return -1;                                                      
                                                                      
    free_old_parentloc = true;                                        
   479d2:	7a01           	moveq #1,%d5                                
   479d4:	6000 fe7c      	braw 47852 <_rename_r+0x3a>                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &new_parent_loc );         
                                                                      
  result = (*new_parent_loc.ops->evalformake_h)( &new[i], &new_parent_loc, &name );
  if ( result != 0 ) {                                                
    rtems_filesystem_freenode( &new_parent_loc );                     
   479d8:	2f02           	movel %d2,%sp@-                             
   479da:	47f9 0004 62b0 	lea 462b0 <rtems_filesystem_freenode>,%a3   
   479e0:	4e93           	jsr %a3@                                    
    if ( free_old_parentloc )                                         
   479e2:	588f           	addql #4,%sp                                
   479e4:	4a05           	tstb %d5                                    
   479e6:	6614           	bnes 479fc <_rename_r+0x1e4>                <== ALWAYS TAKEN
      rtems_filesystem_freenode( &old_parent_loc );                   
    rtems_filesystem_freenode( &old_loc );                            
   479e8:	2f03           	movel %d3,%sp@-                             <== NOT EXECUTED
    return -1;                                                        
   479ea:	78ff           	moveq #-1,%d4                               <== NOT EXECUTED
  result = (*new_parent_loc.ops->evalformake_h)( &new[i], &new_parent_loc, &name );
  if ( result != 0 ) {                                                
    rtems_filesystem_freenode( &new_parent_loc );                     
    if ( free_old_parentloc )                                         
      rtems_filesystem_freenode( &old_parent_loc );                   
    rtems_filesystem_freenode( &old_loc );                            
   479ec:	4e93           	jsr %a3@                                    <== NOT EXECUTED
    return -1;                                                        
   479ee:	588f           	addql #4,%sp                                <== NOT EXECUTED
  if ( free_old_parentloc )                                           
    rtems_filesystem_freenode( &old_parent_loc );                     
  rtems_filesystem_freenode( &old_loc );                              
                                                                      
  return result;                                                      
}                                                                     
   479f0:	2004           	movel %d4,%d0                               
   479f2:	4cee 0c3c ffa4 	moveml %fp@(-92),%d2-%d5/%a2-%a3            
   479f8:	4e5e           	unlk %fp                                    
   479fa:	4e75           	rts                                         
                                                                      
  result = (*new_parent_loc.ops->evalformake_h)( &new[i], &new_parent_loc, &name );
  if ( result != 0 ) {                                                
    rtems_filesystem_freenode( &new_parent_loc );                     
    if ( free_old_parentloc )                                         
      rtems_filesystem_freenode( &old_parent_loc );                   
   479fc:	2f0a           	movel %a2,%sp@-                             
    rtems_filesystem_freenode( &old_loc );                            
    return -1;                                                        
   479fe:	78ff           	moveq #-1,%d4                               
                                                                      
  result = (*new_parent_loc.ops->evalformake_h)( &new[i], &new_parent_loc, &name );
  if ( result != 0 ) {                                                
    rtems_filesystem_freenode( &new_parent_loc );                     
    if ( free_old_parentloc )                                         
      rtems_filesystem_freenode( &old_parent_loc );                   
   47a00:	4e93           	jsr %a3@                                    
   47a02:	588f           	addql #4,%sp                                
    rtems_filesystem_freenode( &old_loc );                            
   47a04:	2f03           	movel %d3,%sp@-                             
   47a06:	4e93           	jsr %a3@                                    
    return -1;                                                        
   47a08:	588f           	addql #4,%sp                                
   47a0a:	60e4           	bras 479f0 <_rename_r+0x1d8>                
                                                                      

000470f4 <_unlink_r>: int _unlink_r( struct _reent *ptr __attribute__((unused)), const char *path ) {
   470f4:	4e56 0000      	linkw %fp,#0                                
  return unlink( path );                                              
   470f8:	2d6e 000c 0008 	movel %fp@(12),%fp@(8)                      
}                                                                     
   470fe:	4e5e           	unlk %fp                                    
int _unlink_r(                                                        
  struct _reent *ptr __attribute__((unused)),                         
  const char    *path                                                 
)                                                                     
{                                                                     
  return unlink( path );                                              
   47100:	4ef9 0004 6f80 	jmp 46f80 <unlink>                          
	...                                                                  
                                                                      

0005cbd8 <_write_r>: struct _reent *ptr __attribute__((unused)), int fd, const void *buf, size_t nbytes ) {
   5cbd8:	4e56 0000      	linkw %fp,#0                                
   5cbdc:	222e 0010      	movel %fp@(16),%d1                          
   5cbe0:	202e 000c      	movel %fp@(12),%d0                          
  return write( fd, buf, nbytes );                                    
   5cbe4:	2d6e 0014 0010 	movel %fp@(20),%fp@(16)                     
   5cbea:	2d41 000c      	movel %d1,%fp@(12)                          
   5cbee:	2d40 0008      	movel %d0,%fp@(8)                           
}                                                                     
   5cbf2:	4e5e           	unlk %fp                                    
  int            fd,                                                  
  const void    *buf,                                                 
  size_t         nbytes                                               
)                                                                     
{                                                                     
  return write( fd, buf, nbytes );                                    
   5cbf4:	4ef9 0005 cd38 	jmp 5cd38 <write>                           
	...                                                                  
                                                                      

00044f80 <access>: int access( const char *path, int amode ) {
   44f80:	4e56 ffb8      	linkw %fp,#-72                              
   44f84:	2f02           	movel %d2,%sp@-                             
  struct stat statbuf;                                                
                                                                      
  if ( stat(path, &statbuf) )                                         
   44f86:	486e ffba      	pea %fp@(-70)                               
   44f8a:	2f2e 0008      	movel %fp@(8),%sp@-                         
                                                                      
int access(                                                           
  const char *path,                                                   
  int         amode                                                   
)                                                                     
{                                                                     
   44f8e:	242e 000c      	movel %fp@(12),%d2                          
  struct stat statbuf;                                                
                                                                      
  if ( stat(path, &statbuf) )                                         
   44f92:	4eb9 0004 6ad8 	jsr 46ad8 <stat>                            
   44f98:	508f           	addql #8,%sp                                
   44f9a:	4a80           	tstl %d0                                    
   44f9c:	6626           	bnes 44fc4 <access+0x44>                    
    return -1;                                                        
                                                                      
  if ( amode & R_OK ) {                                               
   44f9e:	44c2           	movew %d2,%ccr                              
   44fa0:	672c           	beqs 44fce <access+0x4e>                    
    if (!( statbuf.st_mode & S_IREAD ))                               
      return -1;                                                      
  }                                                                   
                                                                      
  if ( amode & W_OK ) {                                               
   44fa2:	0802 0001      	btst #1,%d2                                 
   44fa6:	6610           	bnes 44fb8 <access+0x38>                    
    if ( !( statbuf.st_mode & S_IWRITE ) )                            
      return -1;                                                      
  }                                                                   
                                                                      
  if ( amode & X_OK ) {                                               
   44fa8:	0802 0000      	btst #0,%d2                                 
   44fac:	6634           	bnes 44fe2 <access+0x62>                    
    if ( !( statbuf.st_mode & S_IEXEC ) )                             
      return -1;                                                      
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
   44fae:	242e ffb4      	movel %fp@(-76),%d2                         
  if ( amode & X_OK ) {                                               
    if ( !( statbuf.st_mode & S_IEXEC ) )                             
      return -1;                                                      
  }                                                                   
                                                                      
  return 0;                                                           
   44fb2:	4280           	clrl %d0                                    
}                                                                     
   44fb4:	4e5e           	unlk %fp                                    
   44fb6:	4e75           	rts                                         
    if (!( statbuf.st_mode & S_IREAD ))                               
      return -1;                                                      
  }                                                                   
                                                                      
  if ( amode & W_OK ) {                                               
    if ( !( statbuf.st_mode & S_IWRITE ) )                            
   44fb8:	202e ffc6      	movel %fp@(-58),%d0                         
   44fbc:	0280 0000 0080 	andil #128,%d0                              
   44fc2:	66e4           	bnes 44fa8 <access+0x28>                    
    if ( !( statbuf.st_mode & S_IEXEC ) )                             
      return -1;                                                      
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
   44fc4:	242e ffb4      	movel %fp@(-76),%d2                         
      return -1;                                                      
  }                                                                   
                                                                      
  if ( amode & W_OK ) {                                               
    if ( !( statbuf.st_mode & S_IWRITE ) )                            
      return -1;                                                      
   44fc8:	70ff           	moveq #-1,%d0                               
    if ( !( statbuf.st_mode & S_IEXEC ) )                             
      return -1;                                                      
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
   44fca:	4e5e           	unlk %fp                                    
   44fcc:	4e75           	rts                                         
                                                                      
  if ( stat(path, &statbuf) )                                         
    return -1;                                                        
                                                                      
  if ( amode & R_OK ) {                                               
    if (!( statbuf.st_mode & S_IREAD ))                               
   44fce:	202e ffc6      	movel %fp@(-58),%d0                         
   44fd2:	0280 0000 0100 	andil #256,%d0                              
   44fd8:	67ea           	beqs 44fc4 <access+0x44>                    
      return -1;                                                      
  }                                                                   
                                                                      
  if ( amode & W_OK ) {                                               
   44fda:	0802 0001      	btst #1,%d2                                 
   44fde:	67c8           	beqs 44fa8 <access+0x28>                    <== NEVER TAKEN
   44fe0:	60d6           	bras 44fb8 <access+0x38>                    
    if ( !( statbuf.st_mode & S_IWRITE ) )                            
      return -1;                                                      
  }                                                                   
                                                                      
  if ( amode & X_OK ) {                                               
    if ( !( statbuf.st_mode & S_IEXEC ) )                             
   44fe2:	7040           	moveq #64,%d0                               
   44fe4:	c0ae ffc6      	andl %fp@(-58),%d0                          
      return -1;                                                      
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
   44fe8:	242e ffb4      	movel %fp@(-76),%d2                         
  if ( amode & X_OK ) {                                               
    if ( !( statbuf.st_mode & S_IEXEC ) )                             
      return -1;                                                      
  }                                                                   
                                                                      
  return 0;                                                           
   44fec:	4a80           	tstl %d0                                    
   44fee:	57c0           	seq %d0                                     
}                                                                     
   44ff0:	4e5e           	unlk %fp                                    
  if ( amode & X_OK ) {                                               
    if ( !( statbuf.st_mode & S_IEXEC ) )                             
      return -1;                                                      
  }                                                                   
                                                                      
  return 0;                                                           
   44ff2:	49c0           	extbl %d0                                   
}                                                                     
	...                                                                  
                                                                      

00046810 <adjtime>: int adjtime( struct timeval *delta, struct timeval *olddelta ) {
   46810:	4e56 ffec      	linkw %fp,#-20                              
   46814:	48d7 0c04      	moveml %d2/%a2-%a3,%sp@                     
   46818:	246e 0008      	moveal %fp@(8),%a2                          
   4681c:	266e 000c      	moveal %fp@(12),%a3                         
  long   adjustment;                                                  
                                                                      
  /*                                                                  
   * Simple validations                                               
   */                                                                 
  if ( !delta )                                                       
   46820:	4a8a           	tstl %a2                                    
   46822:	6700 00ec      	beqw 46910 <adjtime+0x100>                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( delta->tv_usec >= TOD_MICROSECONDS_PER_SECOND )                
   46826:	202a 0004      	movel %a2@(4),%d0                           
   4682a:	0c80 000f 423f 	cmpil #999999,%d0                           
   46830:	6200 00de      	bhiw 46910 <adjtime+0x100>                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( olddelta ) {                                                   
   46834:	4a8b           	tstl %a3                                    
   46836:	670a           	beqs 46842 <adjtime+0x32>                   
    olddelta->tv_sec  = 0;                                            
    olddelta->tv_usec = 0;                                            
   46838:	42ab 0004      	clrl %a3@(4)                                
   4683c:	202a 0004      	movel %a2@(4),%d0                           
                                                                      
  if ( delta->tv_usec >= TOD_MICROSECONDS_PER_SECOND )                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( olddelta ) {                                                   
    olddelta->tv_sec  = 0;                                            
   46840:	4293           	clrl %a3@                                   
    olddelta->tv_usec = 0;                                            
  }                                                                   
                                                                      
  /* convert delta to microseconds */                                 
  adjustment  = (delta->tv_sec * TOD_MICROSECONDS_PER_SECOND);        
   46842:	223c 000f 4240 	movel #1000000,%d1                          
   46848:	4c12 1800      	mulsl %a2@,%d1                              
  adjustment += delta->tv_usec;                                       
   4684c:	d081           	addl %d1,%d0                                
                                                                      
  /* too small to account for */                                      
  if ( adjustment < rtems_configuration_get_microseconds_per_tick() ) 
   4684e:	b0b9 0006 0ad0 	cmpl 60ad0 <Configuration+0xc>,%d0          
   46854:	640c           	bccs 46862 <adjtime+0x52>                   
                                                                      
  /* set the user's output */                                         
  if ( olddelta )                                                     
    *olddelta = *delta;                                               
                                                                      
  return 0;                                                           
   46856:	4280           	clrl %d0                                    
}                                                                     
   46858:	4cee 0c04 ffec 	moveml %fp@(-20),%d2/%a2-%a3                
   4685e:	4e5e           	unlk %fp                                    
   46860:	4e75           	rts                                         
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
   46862:	2039 0006 24e0 	movel 624e0 <_Thread_Dispatch_disable_level>,%d0
   46868:	5280           	addql #1,%d0                                
   4686a:	23c0 0006 24e0 	movel %d0,624e0 <_Thread_Dispatch_disable_level>
   * This prevents context switches while we are adjusting the TOD    
   */                                                                 
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
    _TOD_Get( &ts );                                                  
   46870:	240e           	movel %fp,%d2                               
   46872:	5182           	subql #8,%d2                                
   46874:	2f02           	movel %d2,%sp@-                             
   46876:	4eb9 0004 81ec 	jsr 481ec <_TOD_Get>                        
                                                                      
    ts.tv_sec  += delta->tv_sec;                                      
    ts.tv_nsec += delta->tv_usec * TOD_NANOSECONDS_PER_MICROSECOND;   
   4687c:	202a 0004      	movel %a2@(4),%d0                           
   46880:	223c 0000 03e8 	movel #1000,%d1                             
   46886:	4c01 0800      	mulsl %d1,%d0                               
                                                                      
    /* if adjustment is too much positive */                          
    while ( ts.tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {              
   4688a:	588f           	addql #4,%sp                                
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
    _TOD_Get( &ts );                                                  
                                                                      
    ts.tv_sec  += delta->tv_sec;                                      
   4688c:	2212           	movel %a2@,%d1                              
    ts.tv_nsec += delta->tv_usec * TOD_NANOSECONDS_PER_MICROSECOND;   
   4688e:	d0ae fffc      	addl %fp@(-4),%d0                           
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
    _TOD_Get( &ts );                                                  
                                                                      
    ts.tv_sec  += delta->tv_sec;                                      
   46892:	d3ae fff8      	addl %d1,%fp@(-8)                           
    ts.tv_nsec += delta->tv_usec * TOD_NANOSECONDS_PER_MICROSECOND;   
   46896:	2d40 fffc      	movel %d0,%fp@(-4)                          
                                                                      
    /* if adjustment is too much positive */                          
    while ( ts.tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {              
   4689a:	0c80 3b9a c9ff 	cmpil #999999999,%d0                        
   468a0:	631c           	blss 468be <adjtime+0xae>                   
   468a2:	222e fff8      	movel %fp@(-8),%d1                          
 *  At one point there was a static variable named adjustment         
 *  used by this implementation.  I don't see any reason for it       
 *  to be here based upon the GNU/Linux documentation.                
 */                                                                   
                                                                      
int  adjtime(                                                         
   468a6:	5281           	addql #1,%d1                                
    ts.tv_sec  += delta->tv_sec;                                      
    ts.tv_nsec += delta->tv_usec * TOD_NANOSECONDS_PER_MICROSECOND;   
                                                                      
    /* if adjustment is too much positive */                          
    while ( ts.tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {              
      ts.tv_nsec -= TOD_NANOSECONDS_PER_SECOND;                       
   468a8:	0680 c465 3600 	addil #-1000000000,%d0                      
                                                                      
    ts.tv_sec  += delta->tv_sec;                                      
    ts.tv_nsec += delta->tv_usec * TOD_NANOSECONDS_PER_MICROSECOND;   
                                                                      
    /* if adjustment is too much positive */                          
    while ( ts.tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {              
   468ae:	0c80 3b9a c9ff 	cmpil #999999999,%d0                        
   468b4:	62f0           	bhis 468a6 <adjtime+0x96>                   <== NEVER TAKEN
   468b6:	2d40 fffc      	movel %d0,%fp@(-4)                          
   468ba:	2d41 fff8      	movel %d1,%fp@(-8)                          
      ts.tv_nsec -= TOD_NANOSECONDS_PER_SECOND;                       
      ts.tv_sec++;                                                    
    }                                                                 
                                                                      
    /* if adjustment is too much negative */                          
    while ( ts.tv_nsec <= (-1 * TOD_NANOSECONDS_PER_SECOND) ) {       
   468be:	0c80 c465 3600 	cmpil #-1000000000,%d0                      
   468c4:	621c           	bhis 468e2 <adjtime+0xd2>                   <== NEVER TAKEN
   468c6:	222e fff8      	movel %fp@(-8),%d1                          
 *  At one point there was a static variable named adjustment         
 *  used by this implementation.  I don't see any reason for it       
 *  to be here based upon the GNU/Linux documentation.                
 */                                                                   
                                                                      
int  adjtime(                                                         
   468ca:	5381           	subql #1,%d1                                
      ts.tv_sec++;                                                    
    }                                                                 
                                                                      
    /* if adjustment is too much negative */                          
    while ( ts.tv_nsec <= (-1 * TOD_NANOSECONDS_PER_SECOND) ) {       
      ts.tv_nsec += TOD_NANOSECONDS_PER_SECOND;                       
   468cc:	0680 3b9a ca00 	addil #1000000000,%d0                       
      ts.tv_nsec -= TOD_NANOSECONDS_PER_SECOND;                       
      ts.tv_sec++;                                                    
    }                                                                 
                                                                      
    /* if adjustment is too much negative */                          
    while ( ts.tv_nsec <= (-1 * TOD_NANOSECONDS_PER_SECOND) ) {       
   468d2:	0c80 c465 3600 	cmpil #-1000000000,%d0                      
   468d8:	63f0           	blss 468ca <adjtime+0xba>                   
   468da:	2d40 fffc      	movel %d0,%fp@(-4)                          
   468de:	2d41 fff8      	movel %d1,%fp@(-8)                          
      ts.tv_nsec += TOD_NANOSECONDS_PER_SECOND;                       
      ts.tv_sec--;                                                    
    }                                                                 
                                                                      
    _TOD_Set( &ts );                                                  
   468e2:	2f02           	movel %d2,%sp@-                             
   468e4:	4eb9 0004 8280 	jsr 48280 <_TOD_Set>                        
                                                                      
  _Thread_Enable_dispatch();                                          
   468ea:	4eb9 0004 993a 	jsr 4993a <_Thread_Enable_dispatch>         
                                                                      
  /* set the user's output */                                         
  if ( olddelta )                                                     
   468f0:	588f           	addql #4,%sp                                
   468f2:	4a8b           	tstl %a3                                    
   468f4:	6700 ff60      	beqw 46856 <adjtime+0x46>                   
    *olddelta = *delta;                                               
                                                                      
  return 0;                                                           
   468f8:	4280           	clrl %d0                                    
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  /* set the user's output */                                         
  if ( olddelta )                                                     
    *olddelta = *delta;                                               
   468fa:	2212           	movel %a2@,%d1                              
   468fc:	242a 0004      	movel %a2@(4),%d2                           
   46900:	2681           	movel %d1,%a3@                              
   46902:	2742 0004      	movel %d2,%a3@(4)                           
                                                                      
  return 0;                                                           
}                                                                     
   46906:	4cee 0c04 ffec 	moveml %fp@(-20),%d2/%a2-%a3                
   4690c:	4e5e           	unlk %fp                                    
   4690e:	4e75           	rts                                         
   */                                                                 
  if ( !delta )                                                       
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( delta->tv_usec >= TOD_MICROSECONDS_PER_SECOND )                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   46910:	4eb9 0004 f8b8 	jsr 4f8b8 <__errno>                         
   46916:	7216           	moveq #22,%d1                               
   46918:	2040           	moveal %d0,%a0                              
   4691a:	70ff           	moveq #-1,%d0                               
  /* set the user's output */                                         
  if ( olddelta )                                                     
    *olddelta = *delta;                                               
                                                                      
  return 0;                                                           
}                                                                     
   4691c:	4cee 0c04 ffec 	moveml %fp@(-20),%d2/%a2-%a3                
   */                                                                 
  if ( !delta )                                                       
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( delta->tv_usec >= TOD_MICROSECONDS_PER_SECOND )                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   46922:	2081           	movel %d1,%a0@                              
  /* set the user's output */                                         
  if ( olddelta )                                                     
    *olddelta = *delta;                                               
                                                                      
  return 0;                                                           
}                                                                     
   46924:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004709c <aio_cancel>: * operation(s) cannot be canceled */ int aio_cancel(int fildes, struct aiocb *aiocbp) {
   4709c:	4e56 ffe8      	linkw %fp,#-24                              
   470a0:	48d7 3c0c      	moveml %d2-%d3/%a2-%a5,%sp@                 
  rtems_aio_request_chain *r_chain;                                   
  int result;                                                         
                                                                      
  pthread_mutex_lock (&aio_request_queue.mutex);                      
   470a4:	4879 0006 3e18 	pea 63e18 <aio_request_queue>               
   470aa:	49f9 0004 8478 	lea 48478 <pthread_mutex_lock>,%a4          
 *                          operation(s) cannot be canceled           
 */                                                                   
                                                                      
                                                                      
int aio_cancel(int fildes, struct aiocb  *aiocbp)                     
{                                                                     
   470b0:	242e 0008      	movel %fp@(8),%d2                           
   470b4:	246e 000c      	moveal %fp@(12),%a2                         
  rtems_aio_request_chain *r_chain;                                   
  int result;                                                         
                                                                      
  pthread_mutex_lock (&aio_request_queue.mutex);                      
   470b8:	4e94           	jsr %a4@                                    
                                                                      
  if (fcntl (fildes, F_GETFD) < 0) {                                  
   470ba:	4878 0001      	pea 1 <ADD>                                 
   470be:	2f02           	movel %d2,%sp@-                             
   470c0:	4eb9 0004 e42c 	jsr 4e42c <fcntl>                           
   470c6:	4fef 000c      	lea %sp@(12),%sp                            
   470ca:	4a80           	tstl %d0                                    
   470cc:	6d00 01c4      	bltw 47292 <aio_cancel+0x1f6>               
    pthread_mutex_unlock(&aio_request_queue.mutex);                   
    rtems_set_errno_and_return_minus_one (EBADF);                     
  }                                                                   
                                                                      
  /* if aiocbp is NULL remove all request for given file descriptor */
  if (aiocbp == NULL) {                                               
   470d0:	4a8a           	tstl %a2                                    
   470d2:	6700 00f4      	beqw 471c8 <aio_cancel+0x12c>               
    pthread_mutex_unlock (&aio_request_queue.mutex);                  
    return AIO_CANCELED;                                              
  } else {                                                            
    AIO_printf ("Cancel request\n");                                  
                                                                      
    if (aiocbp->aio_fildes != fildes) {                               
   470d6:	2612           	movel %a2@,%d3                              
   470d8:	b483           	cmpl %d3,%d2                                
   470da:	6600 00c4      	bnew 471a0 <aio_cancel+0x104>               
      pthread_mutex_unlock (&aio_request_queue.mutex);                
      rtems_set_errno_and_return_minus_one (EINVAL);                  
    }                                                                 
                                                                      
    r_chain = rtems_aio_search_fd (&aio_request_queue.work_req, fildes, 0);
   470de:	42a7           	clrl %sp@-                                  
   470e0:	4bf9 0004 7512 	lea 47512 <rtems_aio_search_fd>,%a5         
   470e6:	2f03           	movel %d3,%sp@-                             
   470e8:	4879 0006 3e60 	pea 63e60 <aio_request_queue+0x48>          
   470ee:	4e95           	jsr %a5@                                    
    if (r_chain == NULL) {                                            
   470f0:	4fef 000c      	lea %sp@(12),%sp                            
    if (aiocbp->aio_fildes != fildes) {                               
      pthread_mutex_unlock (&aio_request_queue.mutex);                
      rtems_set_errno_and_return_minus_one (EINVAL);                  
    }                                                                 
                                                                      
    r_chain = rtems_aio_search_fd (&aio_request_queue.work_req, fildes, 0);
   470f4:	2640           	moveal %d0,%a3                              
    if (r_chain == NULL) {                                            
   470f6:	4a80           	tstl %d0                                    
   470f8:	673c           	beqs 47136 <aio_cancel+0x9a>                
        return AIO_ALLDONE;                                           
      }                                                               
    }                                                                 
      AIO_printf ("Request on [WQ]\n");                               
                                                                      
      pthread_mutex_lock (&r_chain->mutex);                           
   470fa:	2600           	movel %d0,%d3                               
   470fc:	0683 0000 001c 	addil #28,%d3                               
      result = rtems_aio_remove_req (&r_chain->perfd, aiocbp);        
      pthread_mutex_unlock (&r_chain->mutex);                         
   47102:	4bf9 0004 8514 	lea 48514 <pthread_mutex_unlock>,%a5        
        return AIO_ALLDONE;                                           
      }                                                               
    }                                                                 
      AIO_printf ("Request on [WQ]\n");                               
                                                                      
      pthread_mutex_lock (&r_chain->mutex);                           
   47108:	2f03           	movel %d3,%sp@-                             
   4710a:	4e94           	jsr %a4@                                    
      result = rtems_aio_remove_req (&r_chain->perfd, aiocbp);        
   4710c:	2f0a           	movel %a2,%sp@-                             
   4710e:	486b 0008      	pea %a3@(8)                                 
   47112:	4eb9 0004 798e 	jsr 4798e <rtems_aio_remove_req>            
   47118:	2400           	movel %d0,%d2                               
      pthread_mutex_unlock (&r_chain->mutex);                         
   4711a:	2f03           	movel %d3,%sp@-                             
   4711c:	4e95           	jsr %a5@                                    
      pthread_mutex_unlock (&aio_request_queue.mutex);                
   4711e:	4879 0006 3e18 	pea 63e18 <aio_request_queue>               
   47124:	4e95           	jsr %a5@                                    
      return result;                                                  
   47126:	4fef 0014      	lea %sp@(20),%sp                            
  }                                                                   
  return AIO_ALLDONE;                                                 
}                                                                     
   4712a:	2002           	movel %d2,%d0                               
   4712c:	4cee 3c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a5            
   47132:	4e5e           	unlk %fp                                    
   47134:	4e75           	rts                                         
      rtems_set_errno_and_return_minus_one (EINVAL);                  
    }                                                                 
                                                                      
    r_chain = rtems_aio_search_fd (&aio_request_queue.work_req, fildes, 0);
    if (r_chain == NULL) {                                            
      if (!rtems_chain_is_empty (&aio_request_queue.idle_req)) {      
   47136:	203c 0006 3e70 	movel #409200,%d0                           
   4713c:	b0b9 0006 3e6c 	cmpl 63e6c <aio_request_queue+0x54>,%d0     
   47142:	6740           	beqs 47184 <aio_cancel+0xe8>                <== NEVER TAKEN
        r_chain = rtems_aio_search_fd (&aio_request_queue.idle_req, fildes, 0);
   47144:	42a7           	clrl %sp@-                                  
   47146:	2f03           	movel %d3,%sp@-                             
   47148:	4879 0006 3e6c 	pea 63e6c <aio_request_queue+0x54>          
   4714e:	4e95           	jsr %a5@                                    
        if (r_chain == NULL) {                                        
   47150:	4fef 000c      	lea %sp@(12),%sp                            
   47154:	4a80           	tstl %d0                                    
   47156:	6748           	beqs 471a0 <aio_cancel+0x104>               
          rtems_set_errno_and_return_minus_one (EINVAL);              
        }                                                             
                                                                      
        AIO_printf ("Request on [IQ]\n");                             
                                                                      
        result = rtems_aio_remove_req (&r_chain->perfd, aiocbp);      
   47158:	2f0a           	movel %a2,%sp@-                             
   4715a:	2040           	moveal %d0,%a0                              
   4715c:	4868 0008      	pea %a0@(8)                                 
   47160:	4eb9 0004 798e 	jsr 4798e <rtems_aio_remove_req>            
        pthread_mutex_unlock (&aio_request_queue.mutex);              
   47166:	4879 0006 3e18 	pea 63e18 <aio_request_queue>               
          rtems_set_errno_and_return_minus_one (EINVAL);              
        }                                                             
                                                                      
        AIO_printf ("Request on [IQ]\n");                             
                                                                      
        result = rtems_aio_remove_req (&r_chain->perfd, aiocbp);      
   4716c:	2400           	movel %d0,%d2                               
        pthread_mutex_unlock (&aio_request_queue.mutex);              
   4716e:	4eb9 0004 8514 	jsr 48514 <pthread_mutex_unlock>            
        return result;                                                
   47174:	4fef 000c      	lea %sp@(12),%sp                            
      pthread_mutex_unlock (&r_chain->mutex);                         
      pthread_mutex_unlock (&aio_request_queue.mutex);                
      return result;                                                  
  }                                                                   
  return AIO_ALLDONE;                                                 
}                                                                     
   47178:	2002           	movel %d2,%d0                               
   4717a:	4cee 3c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a5            
   47180:	4e5e           	unlk %fp                                    
   47182:	4e75           	rts                                         
                                                                      
        result = rtems_aio_remove_req (&r_chain->perfd, aiocbp);      
        pthread_mutex_unlock (&aio_request_queue.mutex);              
        return result;                                                
      } else {                                                        
        pthread_mutex_unlock (&aio_request_queue.mutex);              
   47184:	4879 0006 3e18 	pea 63e18 <aio_request_queue>               
        return AIO_ALLDONE;                                           
   4718a:	7402           	moveq #2,%d2                                
                                                                      
        result = rtems_aio_remove_req (&r_chain->perfd, aiocbp);      
        pthread_mutex_unlock (&aio_request_queue.mutex);              
        return result;                                                
      } else {                                                        
        pthread_mutex_unlock (&aio_request_queue.mutex);              
   4718c:	4eb9 0004 8514 	jsr 48514 <pthread_mutex_unlock>            
        return AIO_ALLDONE;                                           
   47192:	588f           	addql #4,%sp                                
      pthread_mutex_unlock (&r_chain->mutex);                         
      pthread_mutex_unlock (&aio_request_queue.mutex);                
      return result;                                                  
  }                                                                   
  return AIO_ALLDONE;                                                 
}                                                                     
   47194:	2002           	movel %d2,%d0                               
   47196:	4cee 3c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a5            
   4719c:	4e5e           	unlk %fp                                    
   4719e:	4e75           	rts                                         
    r_chain = rtems_aio_search_fd (&aio_request_queue.work_req, fildes, 0);
    if (r_chain == NULL) {                                            
      if (!rtems_chain_is_empty (&aio_request_queue.idle_req)) {      
        r_chain = rtems_aio_search_fd (&aio_request_queue.idle_req, fildes, 0);
        if (r_chain == NULL) {                                        
          pthread_mutex_unlock (&aio_request_queue.mutex);            
   471a0:	4879 0006 3e18 	pea 63e18 <aio_request_queue>               
          rtems_set_errno_and_return_minus_one (EINVAL);              
   471a6:	74ff           	moveq #-1,%d2                               
    r_chain = rtems_aio_search_fd (&aio_request_queue.work_req, fildes, 0);
    if (r_chain == NULL) {                                            
      if (!rtems_chain_is_empty (&aio_request_queue.idle_req)) {      
        r_chain = rtems_aio_search_fd (&aio_request_queue.idle_req, fildes, 0);
        if (r_chain == NULL) {                                        
          pthread_mutex_unlock (&aio_request_queue.mutex);            
   471a8:	4eb9 0004 8514 	jsr 48514 <pthread_mutex_unlock>            
          rtems_set_errno_and_return_minus_one (EINVAL);              
   471ae:	4eb9 0005 1a30 	jsr 51a30 <__errno>                         
   471b4:	588f           	addql #4,%sp                                
   471b6:	2040           	moveal %d0,%a0                              
   471b8:	7016           	moveq #22,%d0                               
   471ba:	2080           	movel %d0,%a0@                              
      pthread_mutex_unlock (&r_chain->mutex);                         
      pthread_mutex_unlock (&aio_request_queue.mutex);                
      return result;                                                  
  }                                                                   
  return AIO_ALLDONE;                                                 
}                                                                     
   471bc:	2002           	movel %d2,%d0                               
   471be:	4cee 3c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a5            
   471c4:	4e5e           	unlk %fp                                    
   471c6:	4e75           	rts                                         
                                                                      
  /* if aiocbp is NULL remove all request for given file descriptor */
  if (aiocbp == NULL) {                                               
    AIO_printf ("Cancel all requests\n");                             
                                                                      
    r_chain = rtems_aio_search_fd (&aio_request_queue.work_req, fildes, 0);
   471c8:	42a7           	clrl %sp@-                                  
   471ca:	45f9 0004 7512 	lea 47512 <rtems_aio_search_fd>,%a2         
   471d0:	2f02           	movel %d2,%sp@-                             
   471d2:	4879 0006 3e60 	pea 63e60 <aio_request_queue+0x48>          
   471d8:	4e92           	jsr %a2@                                    
    if (r_chain == NULL) {                                            
   471da:	4fef 000c      	lea %sp@(12),%sp                            
                                                                      
  /* if aiocbp is NULL remove all request for given file descriptor */
  if (aiocbp == NULL) {                                               
    AIO_printf ("Cancel all requests\n");                             
                                                                      
    r_chain = rtems_aio_search_fd (&aio_request_queue.work_req, fildes, 0);
   471de:	2600           	movel %d0,%d3                               
    if (r_chain == NULL) {                                            
   471e0:	673e           	beqs 47220 <aio_cancel+0x184>               
      return AIO_ALLDONE;                                             
    }                                                                 
                                                                      
    AIO_printf ("Request chain on [WQ]\n");                           
                                                                      
    pthread_mutex_lock (&r_chain->mutex);                             
   471e2:	2640           	moveal %d0,%a3                              
   471e4:	47eb 001c      	lea %a3@(28),%a3                            
    rtems_chain_extract (&r_chain->next_fd);                          
    rtems_aio_remove_fd (r_chain);                                    
    pthread_mutex_unlock (&r_chain->mutex);                           
   471e8:	45f9 0004 8514 	lea 48514 <pthread_mutex_unlock>,%a2        
    pthread_mutex_unlock (&aio_request_queue.mutex);                  
    return AIO_CANCELED;                                              
   471ee:	4282           	clrl %d2                                    
      return AIO_ALLDONE;                                             
    }                                                                 
                                                                      
    AIO_printf ("Request chain on [WQ]\n");                           
                                                                      
    pthread_mutex_lock (&r_chain->mutex);                             
   471f0:	2f0b           	movel %a3,%sp@-                             
   471f2:	4e94           	jsr %a4@                                    
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
   471f4:	2f03           	movel %d3,%sp@-                             
   471f6:	4eb9 0004 a0b4 	jsr 4a0b4 <_Chain_Extract>                  
    rtems_chain_extract (&r_chain->next_fd);                          
    rtems_aio_remove_fd (r_chain);                                    
   471fc:	2f03           	movel %d3,%sp@-                             
   471fe:	4eb9 0004 7936 	jsr 47936 <rtems_aio_remove_fd>             
    pthread_mutex_unlock (&r_chain->mutex);                           
   47204:	2f0b           	movel %a3,%sp@-                             
   47206:	4e92           	jsr %a2@                                    
    pthread_mutex_unlock (&aio_request_queue.mutex);                  
   47208:	4879 0006 3e18 	pea 63e18 <aio_request_queue>               
   4720e:	4e92           	jsr %a2@                                    
    return AIO_CANCELED;                                              
   47210:	4fef 0014      	lea %sp@(20),%sp                            
      pthread_mutex_unlock (&r_chain->mutex);                         
      pthread_mutex_unlock (&aio_request_queue.mutex);                
      return result;                                                  
  }                                                                   
  return AIO_ALLDONE;                                                 
}                                                                     
   47214:	2002           	movel %d2,%d0                               
   47216:	4cee 3c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a5            
   4721c:	4e5e           	unlk %fp                                    
   4721e:	4e75           	rts                                         
                                                                      
    r_chain = rtems_aio_search_fd (&aio_request_queue.work_req, fildes, 0);
    if (r_chain == NULL) {                                            
      AIO_printf ("Request chain not on [WQ]\n");                     
                                                                      
      if (!rtems_chain_is_empty (&aio_request_queue.idle_req)) {      
   47220:	203c 0006 3e70 	movel #409200,%d0                           
   47226:	b0b9 0006 3e6c 	cmpl 63e6c <aio_request_queue+0x54>,%d0     
   4722c:	6700 ff56      	beqw 47184 <aio_cancel+0xe8>                
        r_chain = rtems_aio_search_fd (&aio_request_queue.idle_req, fildes, 0);
   47230:	42a7           	clrl %sp@-                                  
   47232:	2f02           	movel %d2,%sp@-                             
   47234:	4879 0006 3e6c 	pea 63e6c <aio_request_queue+0x54>          
   4723a:	4e92           	jsr %a2@                                    
        if (r_chain == NULL) {                                        
   4723c:	4fef 000c      	lea %sp@(12),%sp                            
    r_chain = rtems_aio_search_fd (&aio_request_queue.work_req, fildes, 0);
    if (r_chain == NULL) {                                            
      AIO_printf ("Request chain not on [WQ]\n");                     
                                                                      
      if (!rtems_chain_is_empty (&aio_request_queue.idle_req)) {      
        r_chain = rtems_aio_search_fd (&aio_request_queue.idle_req, fildes, 0);
   47240:	2600           	movel %d0,%d3                               
        if (r_chain == NULL) {                                        
   47242:	6700 ff40      	beqw 47184 <aio_cancel+0xe8>                
   47246:	2f00           	movel %d0,%sp@-                             
                                                                      
        AIO_printf ("Request chain on [IQ]\n");                       
                                                                      
        rtems_chain_extract (&r_chain->next_fd);                      
        rtems_aio_remove_fd (r_chain);                                
        pthread_mutex_destroy (&r_chain->mutex);                      
   47248:	2440           	moveal %d0,%a2                              
   4724a:	45ea 001c      	lea %a2@(28),%a2                            
        pthread_cond_destroy (&r_chain->mutex);                       
        free (r_chain);                                               
                                                                      
        pthread_mutex_unlock (&aio_request_queue.mutex);              
        return AIO_CANCELED;                                          
   4724e:	4282           	clrl %d2                                    
   47250:	4eb9 0004 a0b4 	jsr 4a0b4 <_Chain_Extract>                  
        }                                                             
                                                                      
        AIO_printf ("Request chain on [IQ]\n");                       
                                                                      
        rtems_chain_extract (&r_chain->next_fd);                      
        rtems_aio_remove_fd (r_chain);                                
   47256:	2f03           	movel %d3,%sp@-                             
   47258:	4eb9 0004 7936 	jsr 47936 <rtems_aio_remove_fd>             
        pthread_mutex_destroy (&r_chain->mutex);                      
   4725e:	2f0a           	movel %a2,%sp@-                             
   47260:	4eb9 0004 81c4 	jsr 481c4 <pthread_mutex_destroy>           
        pthread_cond_destroy (&r_chain->mutex);                       
   47266:	2f0a           	movel %a2,%sp@-                             
   47268:	4eb9 0004 7e50 	jsr 47e50 <pthread_cond_destroy>            
        free (r_chain);                                               
   4726e:	2f03           	movel %d3,%sp@-                             
   47270:	4eb9 0004 3c60 	jsr 43c60 <free>                            
                                                                      
        pthread_mutex_unlock (&aio_request_queue.mutex);              
   47276:	4879 0006 3e18 	pea 63e18 <aio_request_queue>               
   4727c:	4eb9 0004 8514 	jsr 48514 <pthread_mutex_unlock>            
        return AIO_CANCELED;                                          
   47282:	4fef 0018      	lea %sp@(24),%sp                            
      pthread_mutex_unlock (&r_chain->mutex);                         
      pthread_mutex_unlock (&aio_request_queue.mutex);                
      return result;                                                  
  }                                                                   
  return AIO_ALLDONE;                                                 
}                                                                     
   47286:	2002           	movel %d2,%d0                               
   47288:	4cee 3c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a5            
   4728e:	4e5e           	unlk %fp                                    
   47290:	4e75           	rts                                         
  int result;                                                         
                                                                      
  pthread_mutex_lock (&aio_request_queue.mutex);                      
                                                                      
  if (fcntl (fildes, F_GETFD) < 0) {                                  
    pthread_mutex_unlock(&aio_request_queue.mutex);                   
   47292:	4879 0006 3e18 	pea 63e18 <aio_request_queue>               
    rtems_set_errno_and_return_minus_one (EBADF);                     
   47298:	74ff           	moveq #-1,%d2                               
  int result;                                                         
                                                                      
  pthread_mutex_lock (&aio_request_queue.mutex);                      
                                                                      
  if (fcntl (fildes, F_GETFD) < 0) {                                  
    pthread_mutex_unlock(&aio_request_queue.mutex);                   
   4729a:	4eb9 0004 8514 	jsr 48514 <pthread_mutex_unlock>            
    rtems_set_errno_and_return_minus_one (EBADF);                     
   472a0:	4eb9 0005 1a30 	jsr 51a30 <__errno>                         
   472a6:	588f           	addql #4,%sp                                
   472a8:	7209           	moveq #9,%d1                                
   472aa:	2040           	moveal %d0,%a0                              
      pthread_mutex_unlock (&r_chain->mutex);                         
      pthread_mutex_unlock (&aio_request_queue.mutex);                
      return result;                                                  
  }                                                                   
  return AIO_ALLDONE;                                                 
}                                                                     
   472ac:	2002           	movel %d2,%d0                               
   472ae:	4cee 3c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a5            
                                                                      
  pthread_mutex_lock (&aio_request_queue.mutex);                      
                                                                      
  if (fcntl (fildes, F_GETFD) < 0) {                                  
    pthread_mutex_unlock(&aio_request_queue.mutex);                   
    rtems_set_errno_and_return_minus_one (EBADF);                     
   472b4:	2081           	movel %d1,%a0@                              
      pthread_mutex_unlock (&r_chain->mutex);                         
      pthread_mutex_unlock (&aio_request_queue.mutex);                
      return result;                                                  
  }                                                                   
  return AIO_ALLDONE;                                                 
}                                                                     
   472b6:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000472cc <aio_fsync>: ) { rtems_aio_request *req; int mode; if (op != O_SYNC)
   472cc:	203c 0000 2000 	movel #8192,%d0                             
                                                                      
int aio_fsync(                                                        
  int            op,                                                  
  struct aiocb  *aiocbp                                               
)                                                                     
{                                                                     
   472d2:	4e56 0000      	linkw %fp,#0                                
   472d6:	2f0a           	movel %a2,%sp@-                             
   472d8:	246e 000c      	moveal %fp@(12),%a2                         
  rtems_aio_request *req;                                             
  int mode;                                                           
                                                                      
  if (op != O_SYNC)                                                   
   472dc:	b0ae 0008      	cmpl %fp@(8),%d0                            
   472e0:	6648           	bnes 4732a <aio_fsync+0x5e>                 
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  mode = fcntl (aiocbp->aio_fildes, F_GETFL);                         
   472e2:	4878 0003      	pea 3 <DIVIDE>                              
   472e6:	2f12           	movel %a2@,%sp@-                            
   472e8:	4eb9 0004 e42c 	jsr 4e42c <fcntl>                           
  if (!(((mode & O_ACCMODE) == O_WRONLY) || ((mode & O_ACCMODE) == O_RDWR)))
   472ee:	508f           	addql #8,%sp                                
   472f0:	7203           	moveq #3,%d1                                
   472f2:	c081           	andl %d1,%d0                                
   472f4:	123c 0001      	moveb #1,%d1                                
   472f8:	5380           	subql #1,%d0                                
   472fa:	b280           	cmpl %d0,%d1                                
   472fc:	654e           	bcss 4734c <aio_fsync+0x80>                 
    rtems_aio_set_errno_return_minus_one (EBADF, aiocbp);             
                                                                      
  req = malloc (sizeof (rtems_aio_request));                          
   472fe:	4878 0018      	pea 18 <OPER2+0x4>                          
   47302:	4eb9 0004 426c 	jsr 4426c <malloc>                          
  if (req == NULL)                                                    
   47308:	588f           	addql #4,%sp                                
   4730a:	4a80           	tstl %d0                                    
   4730c:	6760           	beqs 4736e <aio_fsync+0xa2>                 <== NEVER TAKEN
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
                                                                      
  req->aiocbp = aiocbp;                                               
   4730e:	2040           	moveal %d0,%a0                              
  req->aiocbp->aio_lio_opcode = LIO_SYNC;                             
   47310:	7203           	moveq #3,%d1                                
                                                                      
  req = malloc (sizeof (rtems_aio_request));                          
  if (req == NULL)                                                    
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
                                                                      
  req->aiocbp = aiocbp;                                               
   47312:	214a 0014      	movel %a2,%a0@(20)                          
  req->aiocbp->aio_lio_opcode = LIO_SYNC;                             
   47316:	2541 002c      	movel %d1,%a2@(44)                          
                                                                      
  return rtems_aio_enqueue (req);                                     
                                                                      
}                                                                     
   4731a:	246e fffc      	moveal %fp@(-4),%a2                         
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
                                                                      
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_SYNC;                             
                                                                      
  return rtems_aio_enqueue (req);                                     
   4731e:	2d40 0008      	movel %d0,%fp@(8)                           
                                                                      
}                                                                     
   47322:	4e5e           	unlk %fp                                    
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
                                                                      
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_SYNC;                             
                                                                      
  return rtems_aio_enqueue (req);                                     
   47324:	4ef9 0004 7a08 	jmp 47a08 <rtems_aio_enqueue>               
{                                                                     
  rtems_aio_request *req;                                             
  int mode;                                                           
                                                                      
  if (op != O_SYNC)                                                   
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
   4732a:	7216           	moveq #22,%d1                               
   4732c:	70ff           	moveq #-1,%d0                               
   4732e:	2541 0030      	movel %d1,%a2@(48)                          
   47332:	2540 0034      	movel %d0,%a2@(52)                          
   47336:	4eb9 0005 1a30 	jsr 51a30 <__errno>                         
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_SYNC;                             
                                                                      
  return rtems_aio_enqueue (req);                                     
                                                                      
}                                                                     
   4733c:	246e fffc      	moveal %fp@(-4),%a2                         
{                                                                     
  rtems_aio_request *req;                                             
  int mode;                                                           
                                                                      
  if (op != O_SYNC)                                                   
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
   47340:	2040           	moveal %d0,%a0                              
   47342:	7016           	moveq #22,%d0                               
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_SYNC;                             
                                                                      
  return rtems_aio_enqueue (req);                                     
                                                                      
}                                                                     
   47344:	4e5e           	unlk %fp                                    
{                                                                     
  rtems_aio_request *req;                                             
  int mode;                                                           
                                                                      
  if (op != O_SYNC)                                                   
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
   47346:	2080           	movel %d0,%a0@                              
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_SYNC;                             
                                                                      
  return rtems_aio_enqueue (req);                                     
                                                                      
}                                                                     
   47348:	70ff           	moveq #-1,%d0                               
   4734a:	4e75           	rts                                         
  if (op != O_SYNC)                                                   
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  mode = fcntl (aiocbp->aio_fildes, F_GETFL);                         
  if (!(((mode & O_ACCMODE) == O_WRONLY) || ((mode & O_ACCMODE) == O_RDWR)))
    rtems_aio_set_errno_return_minus_one (EBADF, aiocbp);             
   4734c:	72ff           	moveq #-1,%d1                               
   4734e:	7009           	moveq #9,%d0                                
   47350:	2541 0034      	movel %d1,%a2@(52)                          
   47354:	2540 0030      	movel %d0,%a2@(48)                          
   47358:	4eb9 0005 1a30 	jsr 51a30 <__errno>                         
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_SYNC;                             
                                                                      
  return rtems_aio_enqueue (req);                                     
                                                                      
}                                                                     
   4735e:	246e fffc      	moveal %fp@(-4),%a2                         
  if (op != O_SYNC)                                                   
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  mode = fcntl (aiocbp->aio_fildes, F_GETFL);                         
  if (!(((mode & O_ACCMODE) == O_WRONLY) || ((mode & O_ACCMODE) == O_RDWR)))
    rtems_aio_set_errno_return_minus_one (EBADF, aiocbp);             
   47362:	2040           	moveal %d0,%a0                              
   47364:	7209           	moveq #9,%d1                                
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_SYNC;                             
                                                                      
  return rtems_aio_enqueue (req);                                     
                                                                      
}                                                                     
   47366:	70ff           	moveq #-1,%d0                               
   47368:	4e5e           	unlk %fp                                    
  if (op != O_SYNC)                                                   
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  mode = fcntl (aiocbp->aio_fildes, F_GETFL);                         
  if (!(((mode & O_ACCMODE) == O_WRONLY) || ((mode & O_ACCMODE) == O_RDWR)))
    rtems_aio_set_errno_return_minus_one (EBADF, aiocbp);             
   4736a:	2081           	movel %d1,%a0@                              
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_SYNC;                             
                                                                      
  return rtems_aio_enqueue (req);                                     
                                                                      
}                                                                     
   4736c:	4e75           	rts                                         
  if (!(((mode & O_ACCMODE) == O_WRONLY) || ((mode & O_ACCMODE) == O_RDWR)))
    rtems_aio_set_errno_return_minus_one (EBADF, aiocbp);             
                                                                      
  req = malloc (sizeof (rtems_aio_request));                          
  if (req == NULL)                                                    
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
   4736e:	103c 000b      	moveb #11,%d0                               <== NOT EXECUTED
   47372:	72ff           	moveq #-1,%d1                               <== NOT EXECUTED
   47374:	2540 0030      	movel %d0,%a2@(48)                          <== NOT EXECUTED
   47378:	2541 0034      	movel %d1,%a2@(52)                          <== NOT EXECUTED
   4737c:	4eb9 0005 1a30 	jsr 51a30 <__errno>                         <== NOT EXECUTED
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_SYNC;                             
                                                                      
  return rtems_aio_enqueue (req);                                     
                                                                      
}                                                                     
   47382:	246e fffc      	moveal %fp@(-4),%a2                         <== NOT EXECUTED
  if (!(((mode & O_ACCMODE) == O_WRONLY) || ((mode & O_ACCMODE) == O_RDWR)))
    rtems_aio_set_errno_return_minus_one (EBADF, aiocbp);             
                                                                      
  req = malloc (sizeof (rtems_aio_request));                          
  if (req == NULL)                                                    
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
   47386:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   47388:	700b           	moveq #11,%d0                               <== NOT EXECUTED
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_SYNC;                             
                                                                      
  return rtems_aio_enqueue (req);                                     
                                                                      
}                                                                     
   4738a:	4e5e           	unlk %fp                                    <== NOT EXECUTED
  if (!(((mode & O_ACCMODE) == O_WRONLY) || ((mode & O_ACCMODE) == O_RDWR)))
    rtems_aio_set_errno_return_minus_one (EBADF, aiocbp);             
                                                                      
  req = malloc (sizeof (rtems_aio_request));                          
  if (req == NULL)                                                    
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
   4738c:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_SYNC;                             
                                                                      
  return rtems_aio_enqueue (req);                                     
                                                                      
}                                                                     
   4738e:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
	...                                                                  
                                                                      

00047c30 <aio_read>: * 0 - otherwise */ int aio_read (struct aiocb *aiocbp) {
   47c30:	4e56 0000      	linkw %fp,#0                                
   47c34:	2f0a           	movel %a2,%sp@-                             
  rtems_aio_request *req;                                             
  int mode;                                                           
                                                                      
  mode = fcntl (aiocbp->aio_fildes, F_GETFL);                         
   47c36:	4878 0003      	pea 3 <DIVIDE>                              
 *         0 - otherwise                                              
 */                                                                   
                                                                      
int                                                                   
aio_read (struct aiocb *aiocbp)                                       
{                                                                     
   47c3a:	246e 0008      	moveal %fp@(8),%a2                          
  rtems_aio_request *req;                                             
  int mode;                                                           
                                                                      
  mode = fcntl (aiocbp->aio_fildes, F_GETFL);                         
   47c3e:	2f12           	movel %a2@,%sp@-                            
   47c40:	4eb9 0004 e42c 	jsr 4e42c <fcntl>                           
  if (!(((mode & O_ACCMODE) == O_RDONLY) || ((mode & O_ACCMODE) == O_RDWR)))
   47c46:	508f           	addql #8,%sp                                
   47c48:	7203           	moveq #3,%d1                                
   47c4a:	c081           	andl %d1,%d0                                
   47c4c:	6708           	beqs 47c56 <aio_read+0x26>                  <== NEVER TAKEN
   47c4e:	123c 0002      	moveb #2,%d1                                
   47c52:	b280           	cmpl %d0,%d1                                
   47c54:	6638           	bnes 47c8e <aio_read+0x5e>                  
    rtems_aio_set_errno_return_minus_one (EBADF, aiocbp);             
                                                                      
  if (aiocbp->aio_reqprio < 0 || aiocbp->aio_reqprio > AIO_PRIO_DELTA_MAX)
   47c56:	4aaa 0014      	tstl %a2@(20)                               
   47c5a:	6654           	bnes 47cb0 <aio_read+0x80>                  
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  if (aiocbp->aio_offset < 0)                                         
   47c5c:	4aaa 0004      	tstl %a2@(4)                                
   47c60:	6b4e           	bmis 47cb0 <aio_read+0x80>                  
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  req = malloc (sizeof (rtems_aio_request));                          
   47c62:	4878 0018      	pea 18 <OPER2+0x4>                          
   47c66:	4eb9 0004 426c 	jsr 4426c <malloc>                          
  if (req == NULL)                                                    
   47c6c:	588f           	addql #4,%sp                                
   47c6e:	4a80           	tstl %d0                                    
   47c70:	6760           	beqs 47cd2 <aio_read+0xa2>                  <== NEVER TAKEN
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
                                                                      
  req->aiocbp = aiocbp;                                               
   47c72:	2040           	moveal %d0,%a0                              
  req->aiocbp->aio_lio_opcode = LIO_READ;                             
   47c74:	7201           	moveq #1,%d1                                
                                                                      
  req = malloc (sizeof (rtems_aio_request));                          
  if (req == NULL)                                                    
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
                                                                      
  req->aiocbp = aiocbp;                                               
   47c76:	214a 0014      	movel %a2,%a0@(20)                          
  req->aiocbp->aio_lio_opcode = LIO_READ;                             
   47c7a:	2541 002c      	movel %d1,%a2@(44)                          
                                                                      
  return rtems_aio_enqueue (req);                                     
}                                                                     
   47c7e:	246e fffc      	moveal %fp@(-4),%a2                         
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
                                                                      
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_READ;                             
                                                                      
  return rtems_aio_enqueue (req);                                     
   47c82:	2d40 0008      	movel %d0,%fp@(8)                           
}                                                                     
   47c86:	4e5e           	unlk %fp                                    
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
                                                                      
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_READ;                             
                                                                      
  return rtems_aio_enqueue (req);                                     
   47c88:	4ef9 0004 7a08 	jmp 47a08 <rtems_aio_enqueue>               
  rtems_aio_request *req;                                             
  int mode;                                                           
                                                                      
  mode = fcntl (aiocbp->aio_fildes, F_GETFL);                         
  if (!(((mode & O_ACCMODE) == O_RDONLY) || ((mode & O_ACCMODE) == O_RDWR)))
    rtems_aio_set_errno_return_minus_one (EBADF, aiocbp);             
   47c8e:	7009           	moveq #9,%d0                                
   47c90:	72ff           	moveq #-1,%d1                               
   47c92:	2540 0030      	movel %d0,%a2@(48)                          
   47c96:	2541 0034      	movel %d1,%a2@(52)                          
   47c9a:	4eb9 0005 1a30 	jsr 51a30 <__errno>                         
                                                                      
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_READ;                             
                                                                      
  return rtems_aio_enqueue (req);                                     
}                                                                     
   47ca0:	246e fffc      	moveal %fp@(-4),%a2                         
  rtems_aio_request *req;                                             
  int mode;                                                           
                                                                      
  mode = fcntl (aiocbp->aio_fildes, F_GETFL);                         
  if (!(((mode & O_ACCMODE) == O_RDONLY) || ((mode & O_ACCMODE) == O_RDWR)))
    rtems_aio_set_errno_return_minus_one (EBADF, aiocbp);             
   47ca4:	2040           	moveal %d0,%a0                              
   47ca6:	7009           	moveq #9,%d0                                
                                                                      
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_READ;                             
                                                                      
  return rtems_aio_enqueue (req);                                     
}                                                                     
   47ca8:	4e5e           	unlk %fp                                    
  rtems_aio_request *req;                                             
  int mode;                                                           
                                                                      
  mode = fcntl (aiocbp->aio_fildes, F_GETFL);                         
  if (!(((mode & O_ACCMODE) == O_RDONLY) || ((mode & O_ACCMODE) == O_RDWR)))
    rtems_aio_set_errno_return_minus_one (EBADF, aiocbp);             
   47caa:	2080           	movel %d0,%a0@                              
                                                                      
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_READ;                             
                                                                      
  return rtems_aio_enqueue (req);                                     
}                                                                     
   47cac:	70ff           	moveq #-1,%d0                               
   47cae:	4e75           	rts                                         
                                                                      
  if (aiocbp->aio_reqprio < 0 || aiocbp->aio_reqprio > AIO_PRIO_DELTA_MAX)
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  if (aiocbp->aio_offset < 0)                                         
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
   47cb0:	72ff           	moveq #-1,%d1                               
   47cb2:	7016           	moveq #22,%d0                               
   47cb4:	2541 0034      	movel %d1,%a2@(52)                          
   47cb8:	2540 0030      	movel %d0,%a2@(48)                          
   47cbc:	4eb9 0005 1a30 	jsr 51a30 <__errno>                         
                                                                      
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_READ;                             
                                                                      
  return rtems_aio_enqueue (req);                                     
}                                                                     
   47cc2:	246e fffc      	moveal %fp@(-4),%a2                         
                                                                      
  if (aiocbp->aio_reqprio < 0 || aiocbp->aio_reqprio > AIO_PRIO_DELTA_MAX)
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  if (aiocbp->aio_offset < 0)                                         
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
   47cc6:	2040           	moveal %d0,%a0                              
   47cc8:	7216           	moveq #22,%d1                               
                                                                      
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_READ;                             
                                                                      
  return rtems_aio_enqueue (req);                                     
}                                                                     
   47cca:	70ff           	moveq #-1,%d0                               
   47ccc:	4e5e           	unlk %fp                                    
                                                                      
  if (aiocbp->aio_reqprio < 0 || aiocbp->aio_reqprio > AIO_PRIO_DELTA_MAX)
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  if (aiocbp->aio_offset < 0)                                         
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
   47cce:	2081           	movel %d1,%a0@                              
                                                                      
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_READ;                             
                                                                      
  return rtems_aio_enqueue (req);                                     
}                                                                     
   47cd0:	4e75           	rts                                         
  if (aiocbp->aio_offset < 0)                                         
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  req = malloc (sizeof (rtems_aio_request));                          
  if (req == NULL)                                                    
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
   47cd2:	103c 000b      	moveb #11,%d0                               <== NOT EXECUTED
   47cd6:	72ff           	moveq #-1,%d1                               <== NOT EXECUTED
   47cd8:	2540 0030      	movel %d0,%a2@(48)                          <== NOT EXECUTED
   47cdc:	2541 0034      	movel %d1,%a2@(52)                          <== NOT EXECUTED
   47ce0:	4eb9 0005 1a30 	jsr 51a30 <__errno>                         <== NOT EXECUTED
                                                                      
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_READ;                             
                                                                      
  return rtems_aio_enqueue (req);                                     
}                                                                     
   47ce6:	246e fffc      	moveal %fp@(-4),%a2                         <== NOT EXECUTED
  if (aiocbp->aio_offset < 0)                                         
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  req = malloc (sizeof (rtems_aio_request));                          
  if (req == NULL)                                                    
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
   47cea:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   47cec:	700b           	moveq #11,%d0                               <== NOT EXECUTED
                                                                      
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_READ;                             
                                                                      
  return rtems_aio_enqueue (req);                                     
}                                                                     
   47cee:	4e5e           	unlk %fp                                    <== NOT EXECUTED
  if (aiocbp->aio_offset < 0)                                         
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  req = malloc (sizeof (rtems_aio_request));                          
  if (req == NULL)                                                    
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
   47cf0:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
                                                                      
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_READ;                             
                                                                      
  return rtems_aio_enqueue (req);                                     
}                                                                     
   47cf2:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
	...                                                                  
                                                                      

00047d08 <aio_write>: * 0 - otherwise */ int aio_write (struct aiocb *aiocbp) {
   47d08:	4e56 0000      	linkw %fp,#0                                
   47d0c:	2f0a           	movel %a2,%sp@-                             
  rtems_aio_request *req;                                             
  int mode;                                                           
                                                                      
  mode = fcntl (aiocbp->aio_fildes, F_GETFL);                         
   47d0e:	4878 0003      	pea 3 <DIVIDE>                              
 *         0 - otherwise                                              
 */                                                                   
                                                                      
int                                                                   
aio_write (struct aiocb *aiocbp)                                      
{                                                                     
   47d12:	246e 0008      	moveal %fp@(8),%a2                          
  rtems_aio_request *req;                                             
  int mode;                                                           
                                                                      
  mode = fcntl (aiocbp->aio_fildes, F_GETFL);                         
   47d16:	2f12           	movel %a2@,%sp@-                            
   47d18:	4eb9 0004 e42c 	jsr 4e42c <fcntl>                           
  if (!(((mode & O_ACCMODE) == O_WRONLY) || ((mode & O_ACCMODE) == O_RDWR)))
   47d1e:	508f           	addql #8,%sp                                
   47d20:	7203           	moveq #3,%d1                                
   47d22:	c081           	andl %d1,%d0                                
   47d24:	123c 0001      	moveb #1,%d1                                
   47d28:	5380           	subql #1,%d0                                
   47d2a:	b280           	cmpl %d0,%d1                                
   47d2c:	6538           	bcss 47d66 <aio_write+0x5e>                 
    rtems_aio_set_errno_return_minus_one (EBADF, aiocbp);             
                                                                      
  if (aiocbp->aio_reqprio < 0 || aiocbp->aio_reqprio > AIO_PRIO_DELTA_MAX)
   47d2e:	4aaa 0014      	tstl %a2@(20)                               
   47d32:	6654           	bnes 47d88 <aio_write+0x80>                 
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  if (aiocbp->aio_offset < 0)                                         
   47d34:	4aaa 0004      	tstl %a2@(4)                                
   47d38:	6b4e           	bmis 47d88 <aio_write+0x80>                 
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  req = malloc (sizeof (rtems_aio_request));                          
   47d3a:	4878 0018      	pea 18 <OPER2+0x4>                          
   47d3e:	4eb9 0004 426c 	jsr 4426c <malloc>                          
  if (req == NULL)                                                    
   47d44:	588f           	addql #4,%sp                                
   47d46:	4a80           	tstl %d0                                    
   47d48:	6760           	beqs 47daa <aio_write+0xa2>                 <== NEVER TAKEN
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
                                                                      
  req->aiocbp = aiocbp;                                               
   47d4a:	2040           	moveal %d0,%a0                              
  req->aiocbp->aio_lio_opcode = LIO_WRITE;                            
   47d4c:	7202           	moveq #2,%d1                                
                                                                      
  req = malloc (sizeof (rtems_aio_request));                          
  if (req == NULL)                                                    
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
                                                                      
  req->aiocbp = aiocbp;                                               
   47d4e:	214a 0014      	movel %a2,%a0@(20)                          
  req->aiocbp->aio_lio_opcode = LIO_WRITE;                            
   47d52:	2541 002c      	movel %d1,%a2@(44)                          
                                                                      
  return rtems_aio_enqueue (req);                                     
}                                                                     
   47d56:	246e fffc      	moveal %fp@(-4),%a2                         
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
                                                                      
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_WRITE;                            
                                                                      
  return rtems_aio_enqueue (req);                                     
   47d5a:	2d40 0008      	movel %d0,%fp@(8)                           
}                                                                     
   47d5e:	4e5e           	unlk %fp                                    
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
                                                                      
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_WRITE;                            
                                                                      
  return rtems_aio_enqueue (req);                                     
   47d60:	4ef9 0004 7a08 	jmp 47a08 <rtems_aio_enqueue>               
  rtems_aio_request *req;                                             
  int mode;                                                           
                                                                      
  mode = fcntl (aiocbp->aio_fildes, F_GETFL);                         
  if (!(((mode & O_ACCMODE) == O_WRONLY) || ((mode & O_ACCMODE) == O_RDWR)))
    rtems_aio_set_errno_return_minus_one (EBADF, aiocbp);             
   47d66:	7009           	moveq #9,%d0                                
   47d68:	72ff           	moveq #-1,%d1                               
   47d6a:	2540 0030      	movel %d0,%a2@(48)                          
   47d6e:	2541 0034      	movel %d1,%a2@(52)                          
   47d72:	4eb9 0005 1a30 	jsr 51a30 <__errno>                         
                                                                      
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_WRITE;                            
                                                                      
  return rtems_aio_enqueue (req);                                     
}                                                                     
   47d78:	246e fffc      	moveal %fp@(-4),%a2                         
  rtems_aio_request *req;                                             
  int mode;                                                           
                                                                      
  mode = fcntl (aiocbp->aio_fildes, F_GETFL);                         
  if (!(((mode & O_ACCMODE) == O_WRONLY) || ((mode & O_ACCMODE) == O_RDWR)))
    rtems_aio_set_errno_return_minus_one (EBADF, aiocbp);             
   47d7c:	2040           	moveal %d0,%a0                              
   47d7e:	7009           	moveq #9,%d0                                
                                                                      
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_WRITE;                            
                                                                      
  return rtems_aio_enqueue (req);                                     
}                                                                     
   47d80:	4e5e           	unlk %fp                                    
  rtems_aio_request *req;                                             
  int mode;                                                           
                                                                      
  mode = fcntl (aiocbp->aio_fildes, F_GETFL);                         
  if (!(((mode & O_ACCMODE) == O_WRONLY) || ((mode & O_ACCMODE) == O_RDWR)))
    rtems_aio_set_errno_return_minus_one (EBADF, aiocbp);             
   47d82:	2080           	movel %d0,%a0@                              
                                                                      
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_WRITE;                            
                                                                      
  return rtems_aio_enqueue (req);                                     
}                                                                     
   47d84:	70ff           	moveq #-1,%d0                               
   47d86:	4e75           	rts                                         
                                                                      
  if (aiocbp->aio_reqprio < 0 || aiocbp->aio_reqprio > AIO_PRIO_DELTA_MAX)
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  if (aiocbp->aio_offset < 0)                                         
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
   47d88:	72ff           	moveq #-1,%d1                               
   47d8a:	7016           	moveq #22,%d0                               
   47d8c:	2541 0034      	movel %d1,%a2@(52)                          
   47d90:	2540 0030      	movel %d0,%a2@(48)                          
   47d94:	4eb9 0005 1a30 	jsr 51a30 <__errno>                         
                                                                      
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_WRITE;                            
                                                                      
  return rtems_aio_enqueue (req);                                     
}                                                                     
   47d9a:	246e fffc      	moveal %fp@(-4),%a2                         
                                                                      
  if (aiocbp->aio_reqprio < 0 || aiocbp->aio_reqprio > AIO_PRIO_DELTA_MAX)
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  if (aiocbp->aio_offset < 0)                                         
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
   47d9e:	2040           	moveal %d0,%a0                              
   47da0:	7216           	moveq #22,%d1                               
                                                                      
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_WRITE;                            
                                                                      
  return rtems_aio_enqueue (req);                                     
}                                                                     
   47da2:	70ff           	moveq #-1,%d0                               
   47da4:	4e5e           	unlk %fp                                    
                                                                      
  if (aiocbp->aio_reqprio < 0 || aiocbp->aio_reqprio > AIO_PRIO_DELTA_MAX)
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  if (aiocbp->aio_offset < 0)                                         
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
   47da6:	2081           	movel %d1,%a0@                              
                                                                      
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_WRITE;                            
                                                                      
  return rtems_aio_enqueue (req);                                     
}                                                                     
   47da8:	4e75           	rts                                         
  if (aiocbp->aio_offset < 0)                                         
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  req = malloc (sizeof (rtems_aio_request));                          
  if (req == NULL)                                                    
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
   47daa:	103c 000b      	moveb #11,%d0                               <== NOT EXECUTED
   47dae:	72ff           	moveq #-1,%d1                               <== NOT EXECUTED
   47db0:	2540 0030      	movel %d0,%a2@(48)                          <== NOT EXECUTED
   47db4:	2541 0034      	movel %d1,%a2@(52)                          <== NOT EXECUTED
   47db8:	4eb9 0005 1a30 	jsr 51a30 <__errno>                         <== NOT EXECUTED
                                                                      
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_WRITE;                            
                                                                      
  return rtems_aio_enqueue (req);                                     
}                                                                     
   47dbe:	246e fffc      	moveal %fp@(-4),%a2                         <== NOT EXECUTED
  if (aiocbp->aio_offset < 0)                                         
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  req = malloc (sizeof (rtems_aio_request));                          
  if (req == NULL)                                                    
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
   47dc2:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   47dc4:	700b           	moveq #11,%d0                               <== NOT EXECUTED
                                                                      
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_WRITE;                            
                                                                      
  return rtems_aio_enqueue (req);                                     
}                                                                     
   47dc6:	4e5e           	unlk %fp                                    <== NOT EXECUTED
  if (aiocbp->aio_offset < 0)                                         
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  req = malloc (sizeof (rtems_aio_request));                          
  if (req == NULL)                                                    
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
   47dc8:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
                                                                      
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_WRITE;                            
                                                                      
  return rtems_aio_enqueue (req);                                     
}                                                                     
   47dca:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
	...                                                                  
                                                                      

000486a4 <alarm>: } unsigned int alarm( unsigned int seconds ) {
   486a4:	4e56 fff4      	linkw %fp,#-12                              
   486a8:	48d7 001c      	moveml %d2-%d4,%sp@                         
   486ac:	242e 0008      	movel %fp@(8),%d2                           
                                                                      
  /*                                                                  
   *  Initialize the timer used to implement alarm().                 
   */                                                                 
                                                                      
  if ( !the_timer->routine ) {                                        
   486b0:	4ab9 0006 5b2c 	tstl 65b2c <_POSIX_signals_Alarm_timer+0x1c>
   486b6:	674e           	beqs 48706 <alarm+0x62>                     
    _Watchdog_Initialize( the_timer, _POSIX_signals_Alarm_TSR, 0, NULL );
  } else {                                                            
    Watchdog_States state;                                            
                                                                      
    state = _Watchdog_Remove( the_timer );                            
   486b8:	4879 0006 5b10 	pea 65b10 <_POSIX_signals_Alarm_timer>      
   486be:	4eb9 0004 d8e8 	jsr 4d8e8 <_Watchdog_Remove>                
    if ( (state == WATCHDOG_ACTIVE) || (state == WATCHDOG_REMOVE_IT) ) {
   486c4:	588f           	addql #4,%sp                                
   486c6:	7201           	moveq #1,%d1                                
   486c8:	5580           	subql #2,%d0                                
   486ca:	b280           	cmpl %d0,%d1                                
   486cc:	645e           	bccs 4872c <alarm+0x88>                     
                                                                      
unsigned int alarm(                                                   
  unsigned int seconds                                                
)                                                                     
{                                                                     
  unsigned int      remaining = 0;                                    
   486ce:	4283           	clrl %d3                                    
      remaining = the_timer->initial -                                
        ((the_timer->stop_time - the_timer->start_time) / TOD_TICKS_PER_SECOND);
    }                                                                 
  }                                                                   
                                                                      
  if ( seconds )                                                      
   486d0:	4a82           	tstl %d2                                    
   486d2:	660c           	bnes 486e0 <alarm+0x3c>                     <== NEVER TAKEN
    _Watchdog_Insert_seconds( the_timer, seconds );                   
                                                                      
  return remaining;                                                   
}                                                                     
   486d4:	2003           	movel %d3,%d0                               
   486d6:	4cee 001c fff4 	moveml %fp@(-12),%d2-%d4                    
   486dc:	4e5e           	unlk %fp                                    
   486de:	4e75           	rts                                         
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Seconds_chain, the_watchdog );         
   486e0:	4879 0006 5b10 	pea 65b10 <_POSIX_signals_Alarm_timer>      
   486e6:	4879 0006 5e54 	pea 65e54 <_Watchdog_Seconds_chain>         
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
   486ec:	23c2 0006 5b1c 	movel %d2,65b1c <_POSIX_signals_Alarm_timer+0xc>
                                                                      
  _Watchdog_Insert( &_Watchdog_Seconds_chain, the_watchdog );         
   486f2:	4eb9 0004 d794 	jsr 4d794 <_Watchdog_Insert>                
   486f8:	508f           	addql #8,%sp                                
   486fa:	2003           	movel %d3,%d0                               
   486fc:	4cee 001c fff4 	moveml %fp@(-12),%d2-%d4                    
   48702:	4e5e           	unlk %fp                                    
   48704:	4e75           	rts                                         
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
   48706:	42b9 0006 5b18 	clrl 65b18 <_POSIX_signals_Alarm_timer+0x8> 
                                                                      
unsigned int alarm(                                                   
  unsigned int seconds                                                
)                                                                     
{                                                                     
  unsigned int      remaining = 0;                                    
   4870c:	4283           	clrl %d3                                    
  the_watchdog->routine   = routine;                                  
   4870e:	203c 0004 8688 	movel #296584,%d0                           
  the_watchdog->id        = id;                                       
   48714:	42b9 0006 5b30 	clrl 65b30 <_POSIX_signals_Alarm_timer+0x20>
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
   4871a:	23c0 0006 5b2c 	movel %d0,65b2c <_POSIX_signals_Alarm_timer+0x1c>
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
   48720:	42b9 0006 5b34 	clrl 65b34 <_POSIX_signals_Alarm_timer+0x24>
      remaining = the_timer->initial -                                
        ((the_timer->stop_time - the_timer->start_time) / TOD_TICKS_PER_SECOND);
    }                                                                 
  }                                                                   
                                                                      
  if ( seconds )                                                      
   48726:	4a82           	tstl %d2                                    
   48728:	67aa           	beqs 486d4 <alarm+0x30>                     <== NEVER TAKEN
   4872a:	60b4           	bras 486e0 <alarm+0x3c>                     
       *  boot.  Since alarm() is dealing in seconds, we must account for
       *  this.                                                       
       */                                                             
                                                                      
      remaining = the_timer->initial -                                
        ((the_timer->stop_time - the_timer->start_time) / TOD_TICKS_PER_SECOND);
   4872c:	2839 0006 5b28 	movel 65b28 <_POSIX_signals_Alarm_timer+0x18>,%d4
   48732:	98b9 0006 5b24 	subl 65b24 <_POSIX_signals_Alarm_timer+0x14>,%d4
       *  The stop_time and start_time fields are snapshots of ticks since
       *  boot.  Since alarm() is dealing in seconds, we must account for
       *  this.                                                       
       */                                                             
                                                                      
      remaining = the_timer->initial -                                
   48738:	2639 0006 5b1c 	movel 65b1c <_POSIX_signals_Alarm_timer+0xc>,%d3
        ((the_timer->stop_time - the_timer->start_time) / TOD_TICKS_PER_SECOND);
   4873e:	4eb9 0004 b1a8 	jsr 4b1a8 <TOD_TICKS_PER_SECOND_method>     
   48744:	4c40 4004      	remul %d0,%d4,%d4                           
       *  The stop_time and start_time fields are snapshots of ticks since
       *  boot.  Since alarm() is dealing in seconds, we must account for
       *  this.                                                       
       */                                                             
                                                                      
      remaining = the_timer->initial -                                
   48748:	9684           	subl %d4,%d3                                
        ((the_timer->stop_time - the_timer->start_time) / TOD_TICKS_PER_SECOND);
    }                                                                 
  }                                                                   
                                                                      
  if ( seconds )                                                      
   4874a:	4a82           	tstl %d2                                    
   4874c:	6786           	beqs 486d4 <alarm+0x30>                     <== NEVER TAKEN
   4874e:	6090           	bras 486e0 <alarm+0x3c>                     
                                                                      

00043008 <chroot>: #include <rtems/seterr.h> int chroot( const char *pathname ) {
   43008:	4e56 ffec      	linkw %fp,#-20                              
  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) {             
   4300c:	203c 0006 1534 	movel #398644,%d0                           
#include <rtems/seterr.h>                                             
                                                                      
int chroot(                                                           
  const char *pathname                                                
)                                                                     
{                                                                     
   43012:	2f0b           	movel %a3,%sp@-                             
   43014:	2f0a           	movel %a2,%sp@-                             
  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) {             
   43016:	b0b9 0005 febc 	cmpl 5febc <rtems_current_user_env>,%d0     
   4301c:	6778           	beqs 43096 <chroot+0x8e>                    
   rtems_libio_set_private_env(); /* try to set a new private env*/   
   if (rtems_current_user_env == &rtems_global_user_env) /* not ok */ 
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
  }                                                                   
                                                                      
  result = chdir(pathname);                                           
   4301e:	2f2e 0008      	movel %fp@(8),%sp@-                         
   43022:	4eb9 0004 be54 	jsr 4be54 <chdir>                           
  if (result) {                                                       
   43028:	588f           	addql #4,%sp                                
   4302a:	4a80           	tstl %d0                                    
   4302c:	6600 009a      	bnew 430c8 <chroot+0xc0>                    
    rtems_set_errno_and_return_minus_one( errno );                    
  }                                                                   
                                                                      
  /* clone the new root location */                                   
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
   43030:	42a7           	clrl %sp@-                                  
   43032:	45ee ffec      	lea %fp@(-20),%a2                           
   43036:	2f0a           	movel %a2,%sp@-                             
   43038:	42a7           	clrl %sp@-                                  
   4303a:	4878 0001      	pea 1 <ADD>                                 
   4303e:	4879 0005 f082 	pea 5f082 <dotdotname+0x4>                  
   43044:	4eb9 0004 3438 	jsr 43438 <rtems_filesystem_evaluate_path>  
   4304a:	4fef 0014      	lea %sp@(20),%sp                            
   4304e:	4a80           	tstl %d0                                    
   43050:	6676           	bnes 430c8 <chroot+0xc0>                    <== NEVER TAKEN
    /* 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);                  
   43052:	2079 0005 febc 	moveal 5febc <rtems_current_user_env>,%a0   
   43058:	41e8 0018      	lea %a0@(24),%a0                            
   4305c:	2f08           	movel %a0,%sp@-                             
   4305e:	4eb9 0004 351c 	jsr 4351c <rtems_filesystem_freenode>       
  rtems_filesystem_root = loc;                                        
   43064:	2079 0005 febc 	moveal 5febc <rtems_current_user_env>,%a0   
                                                                      
  return 0;                                                           
   4306a:	588f           	addql #4,%sp                                
   4306c:	4280           	clrl %d0                                    
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
    /* our cwd has changed, though - but there is no easy way of return :-( */
    rtems_set_errno_and_return_minus_one( errno );                    
  }                                                                   
  rtems_filesystem_freenode(&rtems_filesystem_root);                  
  rtems_filesystem_root = loc;                                        
   4306e:	2152 0018      	movel %a2@,%a0@(24)                         
   43072:	216e fff0 001c 	movel %fp@(-16),%a0@(28)                    
   43078:	216e fff4 0020 	movel %fp@(-12),%a0@(32)                    
   4307e:	216e fff8 0024 	movel %fp@(-8),%a0@(36)                     
   43084:	216e fffc 0028 	movel %fp@(-4),%a0@(40)                     
                                                                      
  return 0;                                                           
}                                                                     
   4308a:	246e ffe4      	moveal %fp@(-28),%a2                        
   4308e:	266e ffe8      	moveal %fp@(-24),%a3                        
   43092:	4e5e           	unlk %fp                                    
   43094:	4e75           	rts                                         
  int                               result;                           
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  /* an automatic call to new private env the first time */           
  if (rtems_current_user_env == &rtems_global_user_env) {             
   rtems_libio_set_private_env(); /* try to set a new private env*/   
   43096:	4eb9 0004 4754 	jsr 44754 <rtems_libio_set_private_env>     
   if (rtems_current_user_env == &rtems_global_user_env) /* not ok */ 
   4309c:	41f9 0006 1534 	lea 61534 <rtems_global_user_env>,%a0       
   430a2:	b1f9 0005 febc 	cmpal 5febc <rtems_current_user_env>,%a0    
   430a8:	6600 ff74      	bnew 4301e <chroot+0x16>                    
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   430ac:	4eb9 0004 f544 	jsr 4f544 <__errno>                         
  }                                                                   
  rtems_filesystem_freenode(&rtems_filesystem_root);                  
  rtems_filesystem_root = loc;                                        
                                                                      
  return 0;                                                           
}                                                                     
   430b2:	246e ffe4      	moveal %fp@(-28),%a2                        
                                                                      
  /* an automatic call to new private env the first time */           
  if (rtems_current_user_env == &rtems_global_user_env) {             
   rtems_libio_set_private_env(); /* try to set a new private env*/   
   if (rtems_current_user_env == &rtems_global_user_env) /* not ok */ 
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   430b6:	2040           	moveal %d0,%a0                              
   430b8:	70ff           	moveq #-1,%d0                               
  }                                                                   
  rtems_filesystem_freenode(&rtems_filesystem_root);                  
  rtems_filesystem_root = loc;                                        
                                                                      
  return 0;                                                           
}                                                                     
   430ba:	266e ffe8      	moveal %fp@(-24),%a3                        
   430be:	4e5e           	unlk %fp                                    
                                                                      
  /* an automatic call to new private env the first time */           
  if (rtems_current_user_env == &rtems_global_user_env) {             
   rtems_libio_set_private_env(); /* try to set a new private env*/   
   if (rtems_current_user_env == &rtems_global_user_env) /* not ok */ 
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   430c0:	20bc 0000 0086 	movel #134,%a0@                             
  }                                                                   
  rtems_filesystem_freenode(&rtems_filesystem_root);                  
  rtems_filesystem_root = loc;                                        
                                                                      
  return 0;                                                           
}                                                                     
   430c6:	4e75           	rts                                         
  }                                                                   
                                                                      
  /* clone the new root location */                                   
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
    /* our cwd has changed, though - but there is no easy way of return :-( */
    rtems_set_errno_and_return_minus_one( errno );                    
   430c8:	45f9 0004 f544 	lea 4f544 <__errno>,%a2                     
   430ce:	4e92           	jsr %a2@                                    
   430d0:	2640           	moveal %d0,%a3                              
   430d2:	4e92           	jsr %a2@                                    
  }                                                                   
  rtems_filesystem_freenode(&rtems_filesystem_root);                  
  rtems_filesystem_root = loc;                                        
                                                                      
  return 0;                                                           
}                                                                     
   430d4:	246e ffe4      	moveal %fp@(-28),%a2                        
  }                                                                   
                                                                      
  /* clone the new root location */                                   
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
    /* our cwd has changed, though - but there is no easy way of return :-( */
    rtems_set_errno_and_return_minus_one( errno );                    
   430d8:	2040           	moveal %d0,%a0                              
   430da:	70ff           	moveq #-1,%d0                               
   430dc:	2690           	movel %a0@,%a3@                             
  }                                                                   
  rtems_filesystem_freenode(&rtems_filesystem_root);                  
  rtems_filesystem_root = loc;                                        
                                                                      
  return 0;                                                           
}                                                                     
   430de:	266e ffe8      	moveal %fp@(-24),%a3                        
   430e2:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004667c <clock_gettime>: int clock_gettime( clockid_t clock_id, struct timespec *tp ) {
   4667c:	4e56 0000      	linkw %fp,#0                                
   46680:	202e 0008      	movel %fp@(8),%d0                           
   46684:	222e 000c      	movel %fp@(12),%d1                          
   46688:	2f02           	movel %d2,%sp@-                             
  if ( !tp )                                                          
   4668a:	4a81           	tstl %d1                                    
   4668c:	6718           	beqs 466a6 <clock_gettime+0x2a>             
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( clock_id == CLOCK_REALTIME ) {                                 
   4668e:	7401           	moveq #1,%d2                                
   46690:	b480           	cmpl %d0,%d2                                
   46692:	6752           	beqs 466e6 <clock_gettime+0x6a>             
    _TOD_Get(tp);                                                     
    return 0;                                                         
  }                                                                   
#ifdef CLOCK_MONOTONIC                                                
  if ( clock_id == CLOCK_MONOTONIC ) {                                
   46694:	7404           	moveq #4,%d2                                
   46696:	b480           	cmpl %d0,%d2                                
   46698:	6738           	beqs 466d2 <clock_gettime+0x56>             <== NEVER TAKEN
    return 0;                                                         
  }                                                                   
#endif                                                                
                                                                      
#ifdef _POSIX_CPUTIME                                                 
  if ( clock_id == CLOCK_PROCESS_CPUTIME ) {                          
   4669a:	7402           	moveq #2,%d2                                
   4669c:	b480           	cmpl %d0,%d2                                
   4669e:	6732           	beqs 466d2 <clock_gettime+0x56>             
    return 0;                                                         
  }                                                                   
#endif                                                                
                                                                      
#ifdef _POSIX_THREAD_CPUTIME                                          
  if ( clock_id == CLOCK_THREAD_CPUTIME )                             
   466a0:	7203           	moveq #3,%d1                                
   466a2:	b280           	cmpl %d0,%d1                                
   466a4:	6716           	beqs 466bc <clock_gettime+0x40>             
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
#endif                                                                
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
   466a6:	4eb9 0004 fe3c 	jsr 4fe3c <__errno>                         
                                                                      
  return 0;                                                           
}                                                                     
   466ac:	242e fffc      	movel %fp@(-4),%d2                          
#ifdef _POSIX_THREAD_CPUTIME                                          
  if ( clock_id == CLOCK_THREAD_CPUTIME )                             
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
#endif                                                                
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
   466b0:	2040           	moveal %d0,%a0                              
   466b2:	7216           	moveq #22,%d1                               
   466b4:	70ff           	moveq #-1,%d0                               
                                                                      
  return 0;                                                           
}                                                                     
   466b6:	4e5e           	unlk %fp                                    
#ifdef _POSIX_THREAD_CPUTIME                                          
  if ( clock_id == CLOCK_THREAD_CPUTIME )                             
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
#endif                                                                
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
   466b8:	2081           	movel %d1,%a0@                              
                                                                      
  return 0;                                                           
}                                                                     
   466ba:	4e75           	rts                                         
  }                                                                   
#endif                                                                
                                                                      
#ifdef _POSIX_THREAD_CPUTIME                                          
  if ( clock_id == CLOCK_THREAD_CPUTIME )                             
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
   466bc:	4eb9 0004 fe3c 	jsr 4fe3c <__errno>                         
   466c2:	7458           	moveq #88,%d2                               
   466c4:	2040           	moveal %d0,%a0                              
   466c6:	70ff           	moveq #-1,%d0                               
   466c8:	2082           	movel %d2,%a0@                              
#endif                                                                
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
                                                                      
  return 0;                                                           
}                                                                     
   466ca:	242e fffc      	movel %fp@(-4),%d2                          
   466ce:	4e5e           	unlk %fp                                    
   466d0:	4e75           	rts                                         
  }                                                                   
#endif                                                                
                                                                      
#ifdef _POSIX_CPUTIME                                                 
  if ( clock_id == CLOCK_PROCESS_CPUTIME ) {                          
    _TOD_Get_uptime_as_timespec( tp );                                
   466d2:	2f01           	movel %d1,%sp@-                             
   466d4:	4eb9 0004 87d0 	jsr 487d0 <_TOD_Get_uptime_as_timespec>     
#endif                                                                
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
                                                                      
  return 0;                                                           
}                                                                     
   466da:	242e fffc      	movel %fp@(-4),%d2                          
#endif                                                                
                                                                      
#ifdef _POSIX_CPUTIME                                                 
  if ( clock_id == CLOCK_PROCESS_CPUTIME ) {                          
    _TOD_Get_uptime_as_timespec( tp );                                
    return 0;                                                         
   466de:	588f           	addql #4,%sp                                
   466e0:	4280           	clrl %d0                                    
#endif                                                                
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
                                                                      
  return 0;                                                           
}                                                                     
   466e2:	4e5e           	unlk %fp                                    
   466e4:	4e75           	rts                                         
{                                                                     
  if ( !tp )                                                          
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( clock_id == CLOCK_REALTIME ) {                                 
    _TOD_Get(tp);                                                     
   466e6:	2f01           	movel %d1,%sp@-                             
   466e8:	4eb9 0004 876c 	jsr 4876c <_TOD_Get>                        
#endif                                                                
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
                                                                      
  return 0;                                                           
}                                                                     
   466ee:	242e fffc      	movel %fp@(-4),%d2                          
  if ( !tp )                                                          
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( clock_id == CLOCK_REALTIME ) {                                 
    _TOD_Get(tp);                                                     
    return 0;                                                         
   466f2:	588f           	addql #4,%sp                                
   466f4:	4280           	clrl %d0                                    
#endif                                                                
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
                                                                      
  return 0;                                                           
}                                                                     
   466f6:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000466fc <clock_settime>: int clock_settime( clockid_t clock_id, const struct timespec *tp ) {
   466fc:	4e56 0000      	linkw %fp,#0                                
   46700:	202e 0008      	movel %fp@(8),%d0                           
   46704:	206e 000c      	moveal %fp@(12),%a0                         
  if ( !tp )                                                          
   46708:	4a88           	tstl %a0                                    
   4670a:	6712           	beqs 4671e <clock_settime+0x22>             <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( clock_id == CLOCK_REALTIME ) {                                 
   4670c:	7201           	moveq #1,%d1                                
   4670e:	b280           	cmpl %d0,%d1                                
   46710:	6730           	beqs 46742 <clock_settime+0x46>             
    _Thread_Disable_dispatch();                                       
      _TOD_Set( tp );                                                 
    _Thread_Enable_dispatch();                                        
  }                                                                   
#ifdef _POSIX_CPUTIME                                                 
  else if ( clock_id == CLOCK_PROCESS_CPUTIME )                       
   46712:	7202           	moveq #2,%d1                                
   46714:	b280           	cmpl %d0,%d1                                
   46716:	6718           	beqs 46730 <clock_settime+0x34>             
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
#endif                                                                
#ifdef _POSIX_THREAD_CPUTIME                                          
  else if ( clock_id == CLOCK_THREAD_CPUTIME )                        
   46718:	7203           	moveq #3,%d1                                
   4671a:	b280           	cmpl %d0,%d1                                
   4671c:	6712           	beqs 46730 <clock_settime+0x34>             
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
#endif                                                                
  else                                                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   4671e:	4eb9 0004 fe3c 	jsr 4fe3c <__errno>                         
   46724:	7216           	moveq #22,%d1                               
   46726:	2040           	moveal %d0,%a0                              
   46728:	70ff           	moveq #-1,%d0                               
                                                                      
  return 0;                                                           
}                                                                     
   4672a:	4e5e           	unlk %fp                                    
#ifdef _POSIX_THREAD_CPUTIME                                          
  else if ( clock_id == CLOCK_THREAD_CPUTIME )                        
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
#endif                                                                
  else                                                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   4672c:	2081           	movel %d1,%a0@                              
                                                                      
  return 0;                                                           
}                                                                     
   4672e:	4e75           	rts                                         
  else if ( clock_id == CLOCK_PROCESS_CPUTIME )                       
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
#endif                                                                
#ifdef _POSIX_THREAD_CPUTIME                                          
  else if ( clock_id == CLOCK_THREAD_CPUTIME )                        
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
   46730:	4eb9 0004 fe3c 	jsr 4fe3c <__errno>                         
   46736:	7258           	moveq #88,%d1                               
   46738:	2040           	moveal %d0,%a0                              
   4673a:	70ff           	moveq #-1,%d0                               
#endif                                                                
  else                                                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  return 0;                                                           
}                                                                     
   4673c:	4e5e           	unlk %fp                                    
  else if ( clock_id == CLOCK_PROCESS_CPUTIME )                       
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
#endif                                                                
#ifdef _POSIX_THREAD_CPUTIME                                          
  else if ( clock_id == CLOCK_THREAD_CPUTIME )                        
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
   4673e:	2081           	movel %d1,%a0@                              
#endif                                                                
  else                                                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  return 0;                                                           
}                                                                     
   46740:	4e75           	rts                                         
{                                                                     
  if ( !tp )                                                          
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( clock_id == CLOCK_REALTIME ) {                                 
    if ( tp->tv_sec < TOD_SECONDS_1970_THROUGH_1988 )                 
   46742:	203c 21da e4ff 	movel #567993599,%d0                        
   46748:	b090           	cmpl %a0@,%d0                               
   4674a:	64d2           	bccs 4671e <clock_settime+0x22>             
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
   4674c:	2039 0006 2c98 	movel 62c98 <_Thread_Dispatch_disable_level>,%d0
   46752:	5280           	addql #1,%d0                                
   46754:	23c0 0006 2c98 	movel %d0,62c98 <_Thread_Dispatch_disable_level>
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    _Thread_Disable_dispatch();                                       
      _TOD_Set( tp );                                                 
   4675a:	2f08           	movel %a0,%sp@-                             
   4675c:	4eb9 0004 8828 	jsr 48828 <_TOD_Set>                        
    _Thread_Enable_dispatch();                                        
   46762:	4eb9 0004 9ee2 	jsr 49ee2 <_Thread_Enable_dispatch>         
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
#endif                                                                
  else                                                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  return 0;                                                           
   46768:	588f           	addql #4,%sp                                
   4676a:	4280           	clrl %d0                                    
}                                                                     
   4676c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004c6a8 <devFS_evaluate_path>: { int i; rtems_device_name_t *device_name_table; /* see if 'flags' is valid */ if ( !rtems_libio_is_valid_perms( flags ) )
   4c6a8:	70f8           	moveq #-8,%d0                               
  const char                        *pathname,                        
  size_t                             pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
   4c6aa:	4e56 ffdc      	linkw %fp,#-36                              
  int                   i;                                            
  rtems_device_name_t  *device_name_table;                            
                                                                      
  /* see if 'flags' is valid */                                       
  if ( !rtems_libio_is_valid_perms( flags ) )                         
   4c6ae:	c0ae 0010      	andl %fp@(16),%d0                           
  const char                        *pathname,                        
  size_t                             pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
   4c6b2:	48d7 3c7c      	moveml %d2-%d6/%a2-%a5,%sp@                 
   4c6b6:	2c2e 0008      	movel %fp@(8),%d6                           
   4c6ba:	262e 000c      	movel %fp@(12),%d3                          
   4c6be:	286e 0014      	moveal %fp@(20),%a4                         
  int                   i;                                            
  rtems_device_name_t  *device_name_table;                            
                                                                      
  /* see if 'flags' is valid */                                       
  if ( !rtems_libio_is_valid_perms( flags ) )                         
   4c6c2:	4a80           	tstl %d0                                    
   4c6c4:	6600 0090      	bnew 4c756 <devFS_evaluate_path+0xae>       
    rtems_set_errno_and_return_minus_one( EPERM );                    
                                                                      
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
   4c6c8:	2814           	movel %a4@,%d4                              
  if (!device_name_table)                                             
   4c6ca:	6700 00a2      	beqw 4c76e <devFS_evaluate_path+0xc6>       
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
   4c6ce:	2a39 0005 e028 	movel 5e028 <rtems_device_table_size>,%d5   
   4c6d4:	673c           	beqs 4c712 <devFS_evaluate_path+0x6a>       <== NEVER TAKEN
   4c6d6:	4280           	clrl %d0                                    
   4c6d8:	4282           	clrl %d2                                    
    if (!device_name_table[i].device_name)                            
      continue;                                                       
                                                                      
    if (strncmp(pathname, device_name_table[i].device_name, pathnamelen) != 0)
   4c6da:	4bf9 0005 0658 	lea 50658 <strncmp>,%a5                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
    if (!device_name_table[i].device_name)                            
   4c6e0:	2200           	movel %d0,%d1                               
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
   4c6e2:	5282           	addql #1,%d2                                
    if (!device_name_table[i].device_name)                            
   4c6e4:	e989           	lsll #4,%d1                                 
   4c6e6:	2041           	moveal %d1,%a0                              
   4c6e8:	47f0 0c00      	lea %a0@(00000000,%d0:l:4),%a3              
   4c6ec:	47f3 4800      	lea %a3@(00000000,%d4:l),%a3                
   4c6f0:	2453           	moveal %a3@,%a2                             
   4c6f2:	4a8a           	tstl %a2                                    
   4c6f4:	6716           	beqs 4c70c <devFS_evaluate_path+0x64>       
      continue;                                                       
                                                                      
    if (strncmp(pathname, device_name_table[i].device_name, pathnamelen) != 0)
   4c6f6:	2f03           	movel %d3,%sp@-                             
   4c6f8:	2f0a           	movel %a2,%sp@-                             
   4c6fa:	2f06           	movel %d6,%sp@-                             
   4c6fc:	4e95           	jsr %a5@                                    
   4c6fe:	4fef 000c      	lea %sp@(12),%sp                            
   4c702:	4a80           	tstl %d0                                    
   4c704:	6606           	bnes 4c70c <devFS_evaluate_path+0x64>       
      continue;                                                       
                                                                      
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
   4c706:	4a32 3800      	tstb %a2@(00000000,%d3:l)                   
   4c70a:	671e           	beqs 4c72a <devFS_evaluate_path+0x82>       <== ALWAYS TAKEN
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
   4c70c:	2002           	movel %d2,%d0                               
   4c70e:	b485           	cmpl %d5,%d2                                
   4c710:	65ce           	bcss 4c6e0 <devFS_evaluate_path+0x38>       
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
    return 0;                                                         
  }                                                                   
                                                                      
  /* no such file or directory */                                     
  rtems_set_errno_and_return_minus_one( ENOENT );                     
   4c712:	4eb9 0004 f29c 	jsr 4f29c <__errno>                         
   4c718:	7202           	moveq #2,%d1                                
   4c71a:	2040           	moveal %d0,%a0                              
   4c71c:	70ff           	moveq #-1,%d0                               
}                                                                     
   4c71e:	4cee 3c7c ffdc 	moveml %fp@(-36),%d2-%d6/%a2-%a5            
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
    return 0;                                                         
  }                                                                   
                                                                      
  /* no such file or directory */                                     
  rtems_set_errno_and_return_minus_one( ENOENT );                     
   4c724:	2081           	movel %d1,%a0@                              
}                                                                     
   4c726:	4e5e           	unlk %fp                                    
   4c728:	4e75           	rts                                         
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
    pathloc->handlers = &devFS_file_handlers;                         
    pathloc->ops = &devFS_ops;                                        
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
   4c72a:	2079 0005 e2f8 	moveal 5e2f8 <rtems_current_user_env>,%a0   
   4c730:	2968 0028 0010 	movel %a0@(40),%a4@(16)                     
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
      continue;                                                       
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
    pathloc->handlers = &devFS_file_handlers;                         
   4c736:	223c 0005 e1a4 	movel #385444,%d1                           
    pathloc->ops = &devFS_ops;                                        
   4c73c:	41f9 0005 e15c 	lea 5e15c <devFS_ops>,%a0                   
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
      continue;                                                       
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
    pathloc->handlers = &devFS_file_handlers;                         
   4c742:	2941 0008      	movel %d1,%a4@(8)                           
    pathloc->ops = &devFS_ops;                                        
   4c746:	2948 000c      	movel %a0,%a4@(12)                          
                                                                      
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
      continue;                                                       
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
   4c74a:	288b           	movel %a3,%a4@                              
    return 0;                                                         
  }                                                                   
                                                                      
  /* no such file or directory */                                     
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
   4c74c:	4cee 3c7c ffdc 	moveml %fp@(-36),%d2-%d6/%a2-%a5            
   4c752:	4e5e           	unlk %fp                                    
   4c754:	4e75           	rts                                         
  int                   i;                                            
  rtems_device_name_t  *device_name_table;                            
                                                                      
  /* see if 'flags' is valid */                                       
  if ( !rtems_libio_is_valid_perms( flags ) )                         
    rtems_set_errno_and_return_minus_one( EPERM );                    
   4c756:	4eb9 0004 f29c 	jsr 4f29c <__errno>                         <== NOT EXECUTED
   4c75c:	7601           	moveq #1,%d3                                <== NOT EXECUTED
   4c75e:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4c760:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   4c762:	2083           	movel %d3,%a0@                              <== NOT EXECUTED
    return 0;                                                         
  }                                                                   
                                                                      
  /* no such file or directory */                                     
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
   4c764:	4cee 3c7c ffdc 	moveml %fp@(-36),%d2-%d6/%a2-%a5            <== NOT EXECUTED
   4c76a:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   4c76c:	4e75           	rts                                         <== NOT EXECUTED
    rtems_set_errno_and_return_minus_one( EPERM );                    
                                                                      
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
   4c76e:	4eb9 0004 f29c 	jsr 4f29c <__errno>                         
   4c774:	740e           	moveq #14,%d2                               
   4c776:	2040           	moveal %d0,%a0                              
   4c778:	70ff           	moveq #-1,%d0                               
   4c77a:	2082           	movel %d2,%a0@                              
    return 0;                                                         
  }                                                                   
                                                                      
  /* no such file or directory */                                     
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
   4c77c:	4cee 3c7c ffdc 	moveml %fp@(-36),%d2-%d6/%a2-%a5            
   4c782:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00043fe0 <drainOutput>: /* * Drain output queue */ static void drainOutput (struct rtems_termios_tty *tty) {
   43fe0:	4e56 fff4      	linkw %fp,#-12                              
   43fe4:	48d7 0c04      	moveml %d2/%a2-%a3,%sp@                     
   43fe8:	246e 0008      	moveal %fp@(8),%a2                          
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {           
   43fec:	4aaa 00b4      	tstl %a2@(180)                              
   43ff0:	6750           	beqs 44042 <drainOutput+0x62>               
    rtems_interrupt_disable (level);                                  
   43ff2:	243c 0000 0700 	movel #1792,%d2                             
   43ff8:	2002           	movel %d2,%d0                               
   43ffa:	40c1           	movew %sr,%d1                               
   43ffc:	8081           	orl %d1,%d0                                 
   43ffe:	46c0           	movew %d0,%sr                               
    while (tty->rawOutBuf.Tail != tty->rawOutBuf.Head) {              
   44000:	206a 0084      	moveal %a2@(132),%a0                        
   44004:	202a 0080      	movel %a2@(128),%d0                         
   44008:	b088           	cmpl %a0,%d0                                
   4400a:	6734           	beqs 44040 <drainOutput+0x60>               
   4400c:	47f9 0004 6768 	lea 46768 <rtems_semaphore_obtain>,%a3      
      tty->rawOutBufState = rob_wait;                                 
   44012:	7002           	moveq #2,%d0                                
   44014:	2540 0094      	movel %d0,%a2@(148)                         
      rtems_interrupt_enable (level);                                 
   44018:	46c1           	movew %d1,%sr                               
      sc = rtems_semaphore_obtain(                                    
   4401a:	42a7           	clrl %sp@-                                  
   4401c:	42a7           	clrl %sp@-                                  
   4401e:	2f2a 008c      	movel %a2@(140),%sp@-                       
   44022:	4e93           	jsr %a3@                                    
        tty->rawOutBuf.Semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);      
      if (sc != RTEMS_SUCCESSFUL)                                     
   44024:	4fef 000c      	lea %sp@(12),%sp                            
   44028:	4a80           	tstl %d0                                    
   4402a:	6620           	bnes 4404c <drainOutput+0x6c>               <== NEVER TAKEN
        rtems_fatal_error_occurred (sc);                              
      rtems_interrupt_disable (level);                                
   4402c:	2002           	movel %d2,%d0                               
   4402e:	40c1           	movew %sr,%d1                               
   44030:	8081           	orl %d1,%d0                                 
   44032:	46c0           	movew %d0,%sr                               
  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) {              
   44034:	206a 0084      	moveal %a2@(132),%a0                        
   44038:	202a 0080      	movel %a2@(128),%d0                         
   4403c:	b088           	cmpl %a0,%d0                                
   4403e:	66d2           	bnes 44012 <drainOutput+0x32>               
        tty->rawOutBuf.Semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);      
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
      rtems_interrupt_disable (level);                                
    }                                                                 
    rtems_interrupt_enable (level);                                   
   44040:	46c1           	movew %d1,%sr                               
  }                                                                   
}                                                                     
   44042:	4cee 0c04 fff4 	moveml %fp@(-12),%d2/%a2-%a3                
   44048:	4e5e           	unlk %fp                                    
   4404a:	4e75           	rts                                         
      tty->rawOutBufState = rob_wait;                                 
      rtems_interrupt_enable (level);                                 
      sc = rtems_semaphore_obtain(                                    
        tty->rawOutBuf.Semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);      
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
   4404c:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   4404e:	4eb9 0004 6eb8 	jsr 46eb8 <rtems_fatal_error_occurred>      <== NOT EXECUTED
                                                                      

00044d2c <echo>: /* * Echo a typed character */ static void echo (unsigned char c, struct rtems_termios_tty *tty) {
   44d2c:	4e56 fffc      	linkw %fp,#-4                               
   44d30:	222e 0008      	movel %fp@(8),%d1                           
   44d34:	2f0a           	movel %a2,%sp@-                             
   44d36:	246e 000c      	moveal %fp@(12),%a2                         
   44d3a:	2f02           	movel %d2,%sp@-                             
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
   44d3c:	242a 003c      	movel %a2@(60),%d2                          
   44d40:	0282 0000 0200 	andil #512,%d2                              
/*                                                                    
 * Echo a typed character                                             
 */                                                                   
static void                                                           
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
   44d46:	1001           	moveb %d1,%d0                               
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
   44d48:	4a82           	tstl %d2                                    
   44d4a:	673e           	beqs 44d8a <echo+0x5e>                      <== NEVER TAKEN
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
   44d4c:	1001           	moveb %d1,%d0                               
   44d4e:	2079 0005 f5a8 	moveal 5f5a8 <__ctype_ptr__>,%a0            
   44d54:	0280 0000 00ff 	andil #255,%d0                              
   44d5a:	1430 0801      	moveb %a0@(00000001,%d0:l),%d2              
   44d5e:	49c2           	extbl %d2                                   
 * Echo a typed character                                             
 */                                                                   
static void                                                           
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
   44d60:	0802 0005      	btst #5,%d2                                 
   44d64:	670e           	beqs 44d74 <echo+0x48>                      
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
   44d66:	7409           	moveq #9,%d2                                
   44d68:	b480           	cmpl %d0,%d2                                
   44d6a:	6708           	beqs 44d74 <echo+0x48>                      
   44d6c:	143c 000a      	moveb #10,%d2                               
   44d70:	b480           	cmpl %d0,%d2                                
   44d72:	662a           	bnes 44d9e <echo+0x72>                      
    echobuf[0] = '^';                                                 
    echobuf[1] = c ^ 0x40;                                            
    rtems_termios_puts (echobuf, 2, tty);                             
    tty->column += 2;                                                 
  } else {                                                            
    oproc (c, tty);                                                   
   44d74:	2f0a           	movel %a2,%sp@-                             
   44d76:	2f00           	movel %d0,%sp@-                             
   44d78:	4eba fdd4      	jsr %pc@(44b4e <oproc>)                     
   44d7c:	508f           	addql #8,%sp                                
  }                                                                   
}                                                                     
   44d7e:	242e fff4      	movel %fp@(-12),%d2                         
   44d82:	246e fff8      	moveal %fp@(-8),%a2                         
   44d86:	4e5e           	unlk %fp                                    
   44d88:	4e75           	rts                                         
   44d8a:	1001           	moveb %d1,%d0                               <== NOT EXECUTED
    echobuf[0] = '^';                                                 
    echobuf[1] = c ^ 0x40;                                            
    rtems_termios_puts (echobuf, 2, tty);                             
    tty->column += 2;                                                 
  } else {                                                            
    oproc (c, tty);                                                   
   44d8c:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   44d8e:	0280 0000 00ff 	andil #255,%d0                              <== NOT EXECUTED
   44d94:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   44d96:	4eba fdb6      	jsr %pc@(44b4e <oproc>)                     <== NOT EXECUTED
   44d9a:	508f           	addql #8,%sp                                <== NOT EXECUTED
   44d9c:	60e0           	bras 44d7e <echo+0x52>                      <== NOT EXECUTED
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
    char echobuf[2];                                                  
                                                                      
    echobuf[0] = '^';                                                 
    echobuf[1] = c ^ 0x40;                                            
    rtems_termios_puts (echobuf, 2, tty);                             
   44d9e:	2f0a           	movel %a2,%sp@-                             
   44da0:	4878 0002      	pea 2 <DOUBLE_FLOAT>                        
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
    char echobuf[2];                                                  
                                                                      
    echobuf[0] = '^';                                                 
    echobuf[1] = c ^ 0x40;                                            
   44da4:	7040           	moveq #64,%d0                               
    rtems_termios_puts (echobuf, 2, tty);                             
   44da6:	486e fffe      	pea %fp@(-2)                                
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
    char echobuf[2];                                                  
                                                                      
    echobuf[0] = '^';                                                 
    echobuf[1] = c ^ 0x40;                                            
   44daa:	b181           	eorl %d0,%d1                                
{                                                                     
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
    char echobuf[2];                                                  
                                                                      
    echobuf[0] = '^';                                                 
   44dac:	745e           	moveq #94,%d2                               
    echobuf[1] = c ^ 0x40;                                            
   44dae:	1d41 ffff      	moveb %d1,%fp@(-1)                          
{                                                                     
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
    char echobuf[2];                                                  
                                                                      
    echobuf[0] = '^';                                                 
   44db2:	1d42 fffe      	moveb %d2,%fp@(-2)                          
    echobuf[1] = c ^ 0x40;                                            
    rtems_termios_puts (echobuf, 2, tty);                             
   44db6:	4eb9 0004 4a4a 	jsr 44a4a <rtems_termios_puts>              
    tty->column += 2;                                                 
  } else {                                                            
    oproc (c, tty);                                                   
  }                                                                   
}                                                                     
   44dbc:	242e fff4      	movel %fp@(-12),%d2                         
    char echobuf[2];                                                  
                                                                      
    echobuf[0] = '^';                                                 
    echobuf[1] = c ^ 0x40;                                            
    rtems_termios_puts (echobuf, 2, tty);                             
    tty->column += 2;                                                 
   44dc0:	54aa 0028      	addql #2,%a2@(40)                           
 */                                                                   
static void                                                           
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
   44dc4:	4fef 000c      	lea %sp@(12),%sp                            
    rtems_termios_puts (echobuf, 2, tty);                             
    tty->column += 2;                                                 
  } else {                                                            
    oproc (c, tty);                                                   
  }                                                                   
}                                                                     
   44dc8:	246e fff8      	moveal %fp@(-8),%a2                         
   44dcc:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00043fc2 <endgrent>: void endgrent(void) {
   43fc2:	4e56 0000      	linkw %fp,#0                                
  if (group_fp != NULL)                                               
   43fc6:	2039 0006 1de0 	movel 61de0 <group_fp>,%d0                  
   43fcc:	670a           	beqs 43fd8 <endgrent+0x16>                  <== NEVER TAKEN
    fclose(group_fp);                                                 
   43fce:	2f00           	movel %d0,%sp@-                             
   43fd0:	4eb9 0004 fc0e 	jsr 4fc0e <fclose>                          
   43fd6:	588f           	addql #4,%sp                                
}                                                                     
   43fd8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00043e76 <endpwent>: void endpwent(void) {
   43e76:	4e56 0000      	linkw %fp,#0                                
  if (passwd_fp != NULL)                                              
   43e7a:	2039 0006 1eba 	movel 61eba <passwd_fp>,%d0                 
   43e80:	670a           	beqs 43e8c <endpwent+0x16>                  <== NEVER TAKEN
    fclose(passwd_fp);                                                
   43e82:	2f00           	movel %d0,%sp@-                             
   43e84:	4eb9 0004 fc0e 	jsr 4fc0e <fclose>                          
   43e8a:	588f           	addql #4,%sp                                
}                                                                     
   43e8c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00044dd0 <erase>: * 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) {
   44dd0:	4e56 ffe4      	linkw %fp,#-28                              
   44dd4:	48d7 0c7c      	moveml %d2-%d6/%a2-%a3,%sp@                 
   44dd8:	246e 0008      	moveal %fp@(8),%a2                          
   44ddc:	282e 000c      	movel %fp@(12),%d4                          
  if (tty->ccount == 0)                                               
   44de0:	202a 0020      	movel %a2@(32),%d0                          
   44de4:	6734           	beqs 44e1a <erase+0x4a>                     
    return;                                                           
  if (lineFlag) {                                                     
   44de6:	4a84           	tstl %d4                                    
   44de8:	673a           	beqs 44e24 <erase+0x54>                     
    if (!(tty->termios.c_lflag & ECHO)) {                             
   44dea:	262a 003c      	movel %a2@(60),%d3                          
   44dee:	7208           	moveq #8,%d1                                
   44df0:	c283           	andl %d3,%d1                                
   44df2:	6700 01b0      	beqw 44fa4 <erase+0x1d4>                    
      tty->ccount = 0;                                                
      return;                                                         
    }                                                                 
    if (!(tty->termios.c_lflag & ECHOE)) {                            
   44df6:	0803 0004      	btst #4,%d3                                 
   44dfa:	6630           	bnes 44e2c <erase+0x5c>                     <== ALWAYS TAKEN
      tty->ccount = 0;                                                
      echo (tty->termios.c_cc[VKILL], tty);                           
   44dfc:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   44dfe:	4280           	clrl %d0                                    <== NOT EXECUTED
   44e00:	102a 0044      	moveb %a2@(68),%d0                          <== NOT EXECUTED
    if (!(tty->termios.c_lflag & ECHO)) {                             
      tty->ccount = 0;                                                
      return;                                                         
    }                                                                 
    if (!(tty->termios.c_lflag & ECHOE)) {                            
      tty->ccount = 0;                                                
   44e04:	42aa 0020      	clrl %a2@(32)                               <== NOT EXECUTED
      echo (tty->termios.c_cc[VKILL], tty);                           
   44e08:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   44e0a:	4eba ff20      	jsr %pc@(44d2c <echo>)                      <== NOT EXECUTED
      if (tty->termios.c_lflag & ECHOK)                               
   44e0e:	508f           	addql #8,%sp                                <== NOT EXECUTED
   44e10:	7020           	moveq #32,%d0                               <== NOT EXECUTED
   44e12:	c0aa 003c      	andl %a2@(60),%d0                           <== NOT EXECUTED
   44e16:	6600 019a      	bnew 44fb2 <erase+0x1e2>                    <== NOT EXECUTED
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
      break;                                                          
  }                                                                   
}                                                                     
   44e1a:	4cee 0c7c ffe4 	moveml %fp@(-28),%d2-%d6/%a2-%a3            
   44e20:	4e5e           	unlk %fp                                    
   44e22:	4e75           	rts                                         
        echo ('\n', tty);                                             
      return;                                                         
    }                                                                 
  }                                                                   
                                                                      
  while (tty->ccount) {                                               
   44e24:	262a 003c      	movel %a2@(60),%d3                          
   44e28:	7208           	moveq #8,%d1                                
   44e2a:	c283           	andl %d3,%d1                                
   44e2c:	47f9 0004 4a4a 	lea 44a4a <rtems_termios_puts>,%a3          
    unsigned char c = tty->cbuf[--tty->ccount];                       
   44e32:	5380           	subql #1,%d0                                
   44e34:	206a 001c      	moveal %a2@(28),%a0                         
   44e38:	2540 0020      	movel %d0,%a2@(32)                          
   44e3c:	1430 0800      	moveb %a0@(00000000,%d0:l),%d2              
                                                                      
    if (tty->termios.c_lflag & ECHO) {                                
   44e40:	4a81           	tstl %d1                                    
   44e42:	6734           	beqs 44e78 <erase+0xa8>                     <== NEVER TAKEN
      if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {             
   44e44:	4a84           	tstl %d4                                    
   44e46:	6608           	bnes 44e50 <erase+0x80>                     
   44e48:	0803 0004      	btst #4,%d3                                 
   44e4c:	6700 013c      	beqw 44f8a <erase+0x1ba>                    
        echo (tty->termios.c_cc[VERASE], tty);                        
      } else if (c == '\t') {                                         
   44e50:	7209           	moveq #9,%d1                                
   44e52:	0282 0000 00ff 	andil #255,%d2                              
   44e58:	b282           	cmpl %d2,%d1                                
   44e5a:	6700 0090      	beqw 44eec <erase+0x11c>                    
          rtems_termios_puts ("\b", 1, tty);                          
          tty->column--;                                              
        }                                                             
      }                                                               
      else {                                                          
        if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {        
   44e5e:	2079 0005 f5a8 	moveal 5f5a8 <__ctype_ptr__>,%a0            
   44e64:	5282           	addql #1,%d2                                
   44e66:	1030 2800      	moveb %a0@(00000000,%d2:l),%d0              
   44e6a:	49c0           	extbl %d0                                   
   44e6c:	0800 0005      	btst #5,%d0                                 
   44e70:	6756           	beqs 44ec8 <erase+0xf8>                     <== ALWAYS TAKEN
   44e72:	0803 0009      	btst #9,%d3                                 <== NOT EXECUTED
   44e76:	6614           	bnes 44e8c <erase+0xbc>                     <== NOT EXECUTED
          if (tty->column)                                            
            tty->column--;                                            
        }                                                             
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
   44e78:	4a84           	tstl %d4                                    
   44e7a:	679e           	beqs 44e1a <erase+0x4a>                     
        echo ('\n', tty);                                             
      return;                                                         
    }                                                                 
  }                                                                   
                                                                      
  while (tty->ccount) {                                               
   44e7c:	202a 0020      	movel %a2@(32),%d0                          
   44e80:	6798           	beqs 44e1a <erase+0x4a>                     
    }                                                                 
    if (!(tty->termios.c_lflag & ECHOE)) {                            
      tty->ccount = 0;                                                
      echo (tty->termios.c_cc[VKILL], tty);                           
      if (tty->termios.c_lflag & ECHOK)                               
        echo ('\n', tty);                                             
   44e82:	262a 003c      	movel %a2@(60),%d3                          
   44e86:	7208           	moveq #8,%d1                                
   44e88:	c283           	andl %d3,%d1                                
   44e8a:	60a6           	bras 44e32 <erase+0x62>                     
          tty->column--;                                              
        }                                                             
      }                                                               
      else {                                                          
        if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {        
          rtems_termios_puts ("\b \b", 3, tty);                       
   44e8c:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   44e8e:	4878 0003      	pea 3 <DIVIDE>                              <== NOT EXECUTED
   44e92:	4879 0005 e403 	pea 5e403 <rtems_filesystem_default_pathconf+0xb1><== NOT EXECUTED
   44e98:	4e93           	jsr %a3@                                    <== NOT EXECUTED
          if (tty->column)                                            
   44e9a:	202a 0028      	movel %a2@(40),%d0                          <== NOT EXECUTED
   44e9e:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   44ea2:	6706           	beqs 44eaa <erase+0xda>                     <== NOT EXECUTED
            tty->column--;                                            
   44ea4:	5380           	subql #1,%d0                                <== NOT EXECUTED
   44ea6:	2540 0028      	movel %d0,%a2@(40)                          <== NOT EXECUTED
        }                                                             
        if (!iscntrl (c) || (tty->termios.c_lflag & ECHOCTL)) {       
   44eaa:	2079 0005 f5a8 	moveal 5f5a8 <__ctype_ptr__>,%a0            <== NOT EXECUTED
   44eb0:	1030 2800      	moveb %a0@(00000000,%d2:l),%d0              <== NOT EXECUTED
   44eb4:	49c0           	extbl %d0                                   <== NOT EXECUTED
   44eb6:	0800 0005      	btst #5,%d0                                 <== NOT EXECUTED
   44eba:	670c           	beqs 44ec8 <erase+0xf8>                     <== NOT EXECUTED
   44ebc:	202a 003c      	movel %a2@(60),%d0                          <== NOT EXECUTED
   44ec0:	0280 0000 0200 	andil #512,%d0                              <== NOT EXECUTED
   44ec6:	67b0           	beqs 44e78 <erase+0xa8>                     <== NOT EXECUTED
          rtems_termios_puts ("\b \b", 3, tty);                       
   44ec8:	2f0a           	movel %a2,%sp@-                             
   44eca:	4878 0003      	pea 3 <DIVIDE>                              
   44ece:	4879 0005 e403 	pea 5e403 <rtems_filesystem_default_pathconf+0xb1>
   44ed4:	4eb9 0004 4a4a 	jsr 44a4a <rtems_termios_puts>              
          if (tty->column)                                            
   44eda:	202a 0028      	movel %a2@(40),%d0                          
   44ede:	4fef 000c      	lea %sp@(12),%sp                            
   44ee2:	6794           	beqs 44e78 <erase+0xa8>                     <== NEVER TAKEN
            tty->column--;                                            
   44ee4:	5380           	subql #1,%d0                                
   44ee6:	2540 0028      	movel %d0,%a2@(40)                          
   44eea:	608c           	bras 44e78 <erase+0xa8>                     
                                                                      
    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;                             
   44eec:	242a 002c      	movel %a2@(44),%d2                          
        int i = 0;                                                    
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
   44ef0:	4a80           	tstl %d0                                    
   44ef2:	6732           	beqs 44f26 <erase+0x156>                    
          c = tty->cbuf[i++];                                         
          if (c == '\t') {                                            
            col = (col | 7) + 1;                                      
          } else if (iscntrl (c)) {                                   
            if (tty->termios.c_lflag & ECHOCTL)                       
   44ef4:	2c03           	movel %d3,%d6                               
    if (tty->termios.c_lflag & ECHO) {                                
      if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {             
        echo (tty->termios.c_cc[VERASE], tty);                        
      } else if (c == '\t') {                                         
        int col = tty->read_start_column;                             
        int i = 0;                                                    
   44ef6:	4201           	clrb %d1                                    
        while (i != tty->ccount) {                                    
          c = tty->cbuf[i++];                                         
          if (c == '\t') {                                            
            col = (col | 7) + 1;                                      
          } else if (iscntrl (c)) {                                   
            if (tty->termios.c_lflag & ECHOCTL)                       
   44ef8:	0286 0000 0200 	andil #512,%d6                              
         */                                                           
        while (i != tty->ccount) {                                    
          c = tty->cbuf[i++];                                         
          if (c == '\t') {                                            
            col = (col | 7) + 1;                                      
          } else if (iscntrl (c)) {                                   
   44efe:	2279 0005 f5a8 	moveal 5f5a8 <__ctype_ptr__>,%a1            
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
          c = tty->cbuf[i++];                                         
          if (c == '\t') {                                            
   44f04:	4283           	clrl %d3                                    
   44f06:	1618           	moveb %a0@+,%d3                             
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
          c = tty->cbuf[i++];                                         
   44f08:	5281           	addql #1,%d1                                
          if (c == '\t') {                                            
   44f0a:	7a09           	moveq #9,%d5                                
   44f0c:	ba83           	cmpl %d3,%d5                                
   44f0e:	676c           	beqs 44f7c <erase+0x1ac>                    
            col = (col | 7) + 1;                                      
          } else if (iscntrl (c)) {                                   
   44f10:	1a31 3801      	moveb %a1@(00000001,%d3:l),%d5              
   44f14:	49c5           	extbl %d5                                   
   44f16:	0805 0005      	btst #5,%d5                                 
   44f1a:	6758           	beqs 44f74 <erase+0x1a4>                    <== ALWAYS TAKEN
            if (tty->termios.c_lflag & ECHOCTL)                       
   44f1c:	4a86           	tstl %d6                                    <== NOT EXECUTED
   44f1e:	6702           	beqs 44f22 <erase+0x152>                    <== NOT EXECUTED
              col += 2;                                               
   44f20:	5482           	addql #2,%d2                                <== NOT EXECUTED
        int i = 0;                                                    
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
   44f22:	b280           	cmpl %d0,%d1                                <== NOT EXECUTED
   44f24:	66de           	bnes 44f04 <erase+0x134>                    <== NOT EXECUTED
        }                                                             
                                                                      
        /*                                                            
         * Back up over the tab                                       
         */                                                           
        while (tty->column > col) {                                   
   44f26:	b4aa 0028      	cmpl %a2@(40),%d2                           
   44f2a:	6c00 ff4c      	bgew 44e78 <erase+0xa8>                     
          rtems_termios_puts ("\b", 1, tty);                          
   44f2e:	2f0a           	movel %a2,%sp@-                             
   44f30:	4878 0001      	pea 1 <ADD>                                 
   44f34:	4879 0005 e405 	pea 5e405 <rtems_filesystem_default_pathconf+0xb3>
   44f3a:	4e93           	jsr %a3@                                    
          tty->column--;                                              
   44f3c:	202a 0028      	movel %a2@(40),%d0                          
   44f40:	5380           	subql #1,%d0                                
        }                                                             
                                                                      
        /*                                                            
         * Back up over the tab                                       
         */                                                           
        while (tty->column > col) {                                   
   44f42:	4fef 000c      	lea %sp@(12),%sp                            
          rtems_termios_puts ("\b", 1, tty);                          
          tty->column--;                                              
   44f46:	2540 0028      	movel %d0,%a2@(40)                          
        }                                                             
                                                                      
        /*                                                            
         * Back up over the tab                                       
         */                                                           
        while (tty->column > col) {                                   
   44f4a:	b480           	cmpl %d0,%d2                                
   44f4c:	6c00 ff2a      	bgew 44e78 <erase+0xa8>                     
          rtems_termios_puts ("\b", 1, tty);                          
   44f50:	2f0a           	movel %a2,%sp@-                             
   44f52:	4878 0001      	pea 1 <ADD>                                 
   44f56:	4879 0005 e405 	pea 5e405 <rtems_filesystem_default_pathconf+0xb3>
   44f5c:	4e93           	jsr %a3@                                    
          tty->column--;                                              
   44f5e:	202a 0028      	movel %a2@(40),%d0                          
   44f62:	5380           	subql #1,%d0                                
        }                                                             
                                                                      
        /*                                                            
         * Back up over the tab                                       
         */                                                           
        while (tty->column > col) {                                   
   44f64:	4fef 000c      	lea %sp@(12),%sp                            
          rtems_termios_puts ("\b", 1, tty);                          
          tty->column--;                                              
   44f68:	2540 0028      	movel %d0,%a2@(40)                          
        }                                                             
                                                                      
        /*                                                            
         * Back up over the tab                                       
         */                                                           
        while (tty->column > col) {                                   
   44f6c:	b480           	cmpl %d0,%d2                                
   44f6e:	6dbe           	blts 44f2e <erase+0x15e>                    
   44f70:	6000 ff06      	braw 44e78 <erase+0xa8>                     
            col = (col | 7) + 1;                                      
          } else if (iscntrl (c)) {                                   
            if (tty->termios.c_lflag & ECHOCTL)                       
              col += 2;                                               
          } else {                                                    
            col++;                                                    
   44f74:	5282           	addql #1,%d2                                
        int i = 0;                                                    
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
   44f76:	b280           	cmpl %d0,%d1                                
   44f78:	668a           	bnes 44f04 <erase+0x134>                    
   44f7a:	60aa           	bras 44f26 <erase+0x156>                    
          c = tty->cbuf[i++];                                         
          if (c == '\t') {                                            
            col = (col | 7) + 1;                                      
   44f7c:	7607           	moveq #7,%d3                                
   44f7e:	8483           	orl %d3,%d2                                 
   44f80:	5282           	addql #1,%d2                                
        int i = 0;                                                    
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
   44f82:	b280           	cmpl %d0,%d1                                
   44f84:	6600 ff7e      	bnew 44f04 <erase+0x134>                    
   44f88:	609c           	bras 44f26 <erase+0x156>                    <== 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);                        
   44f8a:	2d4a 000c      	movel %a2,%fp@(12)                          <== NOT EXECUTED
   44f8e:	4280           	clrl %d0                                    <== NOT EXECUTED
   44f90:	102a 0043      	moveb %a2@(67),%d0                          <== NOT EXECUTED
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
      break;                                                          
  }                                                                   
}                                                                     
   44f94:	4cee 0c7c ffe4 	moveml %fp@(-28),%d2-%d6/%a2-%a3            <== 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);                        
   44f9a:	2d40 0008      	movel %d0,%fp@(8)                           <== NOT EXECUTED
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
      break;                                                          
  }                                                                   
}                                                                     
   44f9e:	4e5e           	unlk %fp                                    <== 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);                        
   44fa0:	6000 fd8a      	braw 44d2c <echo>                           <== NOT EXECUTED
{                                                                     
  if (tty->ccount == 0)                                               
    return;                                                           
  if (lineFlag) {                                                     
    if (!(tty->termios.c_lflag & ECHO)) {                             
      tty->ccount = 0;                                                
   44fa4:	42aa 0020      	clrl %a2@(32)                               <== NOT EXECUTED
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
      break;                                                          
  }                                                                   
}                                                                     
   44fa8:	4cee 0c7c ffe4 	moveml %fp@(-28),%d2-%d6/%a2-%a3            <== NOT EXECUTED
   44fae:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   44fb0:	4e75           	rts                                         <== NOT EXECUTED
    }                                                                 
    if (!(tty->termios.c_lflag & ECHOE)) {                            
      tty->ccount = 0;                                                
      echo (tty->termios.c_cc[VKILL], tty);                           
      if (tty->termios.c_lflag & ECHOK)                               
        echo ('\n', tty);                                             
   44fb2:	700a           	moveq #10,%d0                               <== NOT EXECUTED
   44fb4:	2d4a 000c      	movel %a2,%fp@(12)                          <== NOT EXECUTED
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
      break;                                                          
  }                                                                   
}                                                                     
   44fb8:	4cee 0c7c ffe4 	moveml %fp@(-28),%d2-%d6/%a2-%a3            <== NOT EXECUTED
    }                                                                 
    if (!(tty->termios.c_lflag & ECHOE)) {                            
      tty->ccount = 0;                                                
      echo (tty->termios.c_cc[VKILL], tty);                           
      if (tty->termios.c_lflag & ECHOK)                               
        echo ('\n', tty);                                             
   44fbe:	2d40 0008      	movel %d0,%fp@(8)                           <== NOT EXECUTED
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
      break;                                                          
  }                                                                   
}                                                                     
   44fc2:	4e5e           	unlk %fp                                    <== NOT EXECUTED
    }                                                                 
    if (!(tty->termios.c_lflag & ECHOE)) {                            
      tty->ccount = 0;                                                
      echo (tty->termios.c_cc[VKILL], tty);                           
      if (tty->termios.c_lflag & ECHOK)                               
        echo ('\n', tty);                                             
   44fc4:	6000 fd66      	braw 44d2c <echo>                           <== NOT EXECUTED
                                                                      

00043ab4 <fcntl>: int fcntl( int fd, int cmd, ... ) {
   43ab4:	4e56 fff0      	linkw %fp,#-16                              
   43ab8:	202e 0008      	movel %fp@(8),%d0                           
  int            ret;                                                 
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
   43abc:	41ee 0010      	lea %fp@(16),%a0                            
int fcntl(                                                            
  int fd,                                                             
  int cmd,                                                            
  ...                                                                 
)                                                                     
{                                                                     
   43ac0:	48d7 041c      	moveml %d2-%d4/%a2,%sp@                     
   43ac4:	242e 000c      	movel %fp@(12),%d2                          
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
   43ac8:	2239 0006 0fd4 	movel 60fd4 <rtems_libio_number_iops>,%d1   
   43ace:	b280           	cmpl %d0,%d1                                
   43ad0:	6300 0188      	blsw 43c5a <fcntl+0x1a6>                    
  iop = rtems_libio_iop( fd );                                        
   43ad4:	2600           	movel %d0,%d3                               
   43ad6:	ed88           	lsll #6,%d0                                 
   43ad8:	e78b           	lsll #3,%d3                                 
   43ada:	2279 0006 2854 	moveal 62854 <rtems_libio_iops>,%a1         
   43ae0:	9083           	subl %d3,%d0                                
   43ae2:	45f1 0800      	lea %a1@(00000000,%d0:l),%a2                
  rtems_libio_check_is_open(iop);                                     
   43ae6:	282a 0014      	movel %a2@(20),%d4                          
   43aea:	0804 0008      	btst #8,%d4                                 
   43aee:	6700 016a      	beqw 43c5a <fcntl+0x1a6>                    
                                                                      
  /*                                                                  
   *  This switch should contain all the cases from POSIX.            
   */                                                                 
                                                                      
  switch ( cmd ) {                                                    
   43af2:	7009           	moveq #9,%d0                                
   43af4:	b082           	cmpl %d2,%d0                                
   43af6:	641a           	bccs 43b12 <fcntl+0x5e>                     
      errno = ENOTSUP;                                                
      ret = -1;                                                       
      break;                                                          
                                                                      
    default:                                                          
      errno = EINVAL;                                                 
   43af8:	4eb9 0004 feb0 	jsr 4feb0 <__errno>                         
   43afe:	2040           	moveal %d0,%a0                              
   43b00:	7016           	moveq #22,%d0                               
   43b02:	2080           	movel %d0,%a0@                              
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
   43b04:	76ff           	moveq #-1,%d3                               
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
  ret = vfcntl(fd,cmd,ap);                                            
  va_end(ap);                                                         
  return ret;                                                         
}                                                                     
   43b06:	2003           	movel %d3,%d0                               
   43b08:	4cee 041c fff0 	moveml %fp@(-16),%d2-%d4/%a2                
   43b0e:	4e5e           	unlk %fp                                    
   43b10:	4e75           	rts                                         
                                                                      
  /*                                                                  
   *  This switch should contain all the cases from POSIX.            
   */                                                                 
                                                                      
  switch ( cmd ) {                                                    
   43b12:	303b 2a08      	movew %pc@(43b1c <fcntl+0x68>,%d2:l:2),%d0  
   43b16:	48c0           	extl %d0                                    
   43b18:	4efb 0802      	jmp %pc@(43b1c <fcntl+0x68>,%d0:l)          
   43b1c:	00aa 009e 008e 	oril #10354830,%d2                          <== NOT EXECUTED
   43b22:	0074           	.short 0x0074                               <== NOT EXECUTED
   43b24:	0026           	.short 0x0026                               <== NOT EXECUTED
   43b26:	0014           	.short 0x0014                               <== NOT EXECUTED
   43b28:	0014           	.short 0x0014                               <== NOT EXECUTED
   43b2a:	0014           	.short 0x0014                               <== NOT EXECUTED
   43b2c:	0014           	.short 0x0014                               <== NOT EXECUTED
   43b2e:	0014           	.short 0x0014                               <== NOT EXECUTED
      errno = ENOTSUP;                                                
      ret = -1;                                                       
      break;                                                          
                                                                      
    case F_GETOWN:       /*  for sockets. */                          
      errno = ENOTSUP;                                                
   43b30:	4eb9 0004 feb0 	jsr 4feb0 <__errno>                         
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
   43b36:	76ff           	moveq #-1,%d3                               
      errno = ENOTSUP;                                                
      ret = -1;                                                       
      break;                                                          
                                                                      
    case F_GETOWN:       /*  for sockets. */                          
      errno = ENOTSUP;                                                
   43b38:	2040           	moveal %d0,%a0                              
   43b3a:	20bc 0000 0086 	movel #134,%a0@                             
   43b40:	60c4           	bras 43b06 <fcntl+0x52>                     
    case F_GETFL:        /* more flags (cloexec) */                   
      ret = rtems_libio_to_fcntl_flags( iop->flags );                 
      break;                                                          
                                                                      
    case F_SETFL:                                                     
      flags = rtems_libio_fcntl_flags( va_arg( ap, int ) );           
   43b42:	2f10           	movel %a0@,%sp@-                            
  rtems_libio_t *iop;                                                 
  rtems_libio_t *diop;                                                
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
   43b44:	4283           	clrl %d3                                    
    case F_GETFL:        /* more flags (cloexec) */                   
      ret = rtems_libio_to_fcntl_flags( iop->flags );                 
      break;                                                          
                                                                      
    case F_SETFL:                                                     
      flags = rtems_libio_fcntl_flags( va_arg( ap, int ) );           
   43b46:	4eb9 0004 4160 	jsr 44160 <rtems_libio_fcntl_flags>         
                                                                      
      /*                                                              
       *  XXX If we are turning on append, should we seek to the end? 
       */                                                             
                                                                      
      iop->flags = (iop->flags & ~mask) | (flags & mask);             
   43b4c:	222a 0014      	movel %a2@(20),%d1                          
   43b50:	588f           	addql #4,%sp                                
   43b52:	0280 0000 0201 	andil #513,%d0                              
   43b58:	0281 ffff fdfe 	andil #-514,%d1                             
   43b5e:	8081           	orl %d1,%d0                                 
   43b60:	2540 0014      	movel %d0,%a2@(20)                          
   *  If we got this far successfully, then we give the optional      
   *  filesystem specific handler a chance to process this.           
   */                                                                 
                                                                      
  if (ret >= 0) {                                                     
    int err = (*iop->pathinfo.handlers->fcntl_h)( cmd, iop );         
   43b64:	206a 0020      	moveal %a2@(32),%a0                         
   43b68:	2f0a           	movel %a2,%sp@-                             
   43b6a:	2f02           	movel %d2,%sp@-                             
   43b6c:	2068 0030      	moveal %a0@(48),%a0                         
   43b70:	4e90           	jsr %a0@                                    
    if (err) {                                                        
   43b72:	508f           	addql #8,%sp                                
   *  If we got this far successfully, then we give the optional      
   *  filesystem specific handler a chance to process this.           
   */                                                                 
                                                                      
  if (ret >= 0) {                                                     
    int err = (*iop->pathinfo.handlers->fcntl_h)( cmd, iop );         
   43b74:	2400           	movel %d0,%d2                               
    if (err) {                                                        
   43b76:	678e           	beqs 43b06 <fcntl+0x52>                     <== ALWAYS TAKEN
      errno = err;                                                    
   43b78:	4eb9 0004 feb0 	jsr 4feb0 <__errno>                         <== NOT EXECUTED
      ret = -1;                                                       
   43b7e:	76ff           	moveq #-1,%d3                               <== NOT EXECUTED
   */                                                                 
                                                                      
  if (ret >= 0) {                                                     
    int err = (*iop->pathinfo.handlers->fcntl_h)( cmd, iop );         
    if (err) {                                                        
      errno = err;                                                    
   43b80:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
  ret = vfcntl(fd,cmd,ap);                                            
  va_end(ap);                                                         
  return ret;                                                         
}                                                                     
   43b82:	2003           	movel %d3,%d0                               <== NOT EXECUTED
   */                                                                 
                                                                      
  if (ret >= 0) {                                                     
    int err = (*iop->pathinfo.handlers->fcntl_h)( cmd, iop );         
    if (err) {                                                        
      errno = err;                                                    
   43b84:	2082           	movel %d2,%a0@                              <== NOT EXECUTED
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
  ret = vfcntl(fd,cmd,ap);                                            
  va_end(ap);                                                         
  return ret;                                                         
}                                                                     
   43b86:	4cee 041c fff0 	moveml %fp@(-16),%d2-%d4/%a2                <== NOT EXECUTED
   43b8c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   43b8e:	4e75           	rts                                         <== NOT EXECUTED
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_CLOSE_ON_EXEC;                     
      break;                                                          
                                                                      
    case F_GETFL:        /* more flags (cloexec) */                   
      ret = rtems_libio_to_fcntl_flags( iop->flags );                 
   43b90:	2f04           	movel %d4,%sp@-                             
   43b92:	4eb9 0004 41a0 	jsr 441a0 <rtems_libio_to_fcntl_flags>      
   43b98:	588f           	addql #4,%sp                                
   43b9a:	2600           	movel %d0,%d3                               
  /*                                                                  
   *  If we got this far successfully, then we give the optional      
   *  filesystem specific handler a chance to process this.           
   */                                                                 
                                                                      
  if (ret >= 0) {                                                     
   43b9c:	6cc6           	bges 43b64 <fcntl+0xb0>                     <== ALWAYS TAKEN
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
  ret = vfcntl(fd,cmd,ap);                                            
  va_end(ap);                                                         
  return ret;                                                         
}                                                                     
   43b9e:	2003           	movel %d3,%d0                               <== NOT EXECUTED
   43ba0:	4cee 041c fff0 	moveml %fp@(-16),%d2-%d4/%a2                <== NOT EXECUTED
   43ba6:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   43ba8:	4e75           	rts                                         <== NOT EXECUTED
       *  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 ) )                                        
   43baa:	4a90           	tstl %a0@                                   
   43bac:	6768           	beqs 43c16 <fcntl+0x162>                    
  rtems_libio_t *iop;                                                 
  rtems_libio_t *diop;                                                
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
   43bae:	4283           	clrl %d3                                    
       *  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;                      
   43bb0:	08c4 000b      	bset #11,%d4                                
   43bb4:	2544 0014      	movel %d4,%a2@(20)                          
   43bb8:	60aa           	bras 43b64 <fcntl+0xb0>                     
      diop->pathinfo   = iop->pathinfo;                               
      ret = (int) (diop - rtems_libio_iops);                          
      break;                                                          
                                                                      
    case F_GETFD:        /* get f_flags */                            
      ret = ((iop->flags & LIBIO_FLAGS_CLOSE_ON_EXEC) != 0);          
   43bba:	0804 000b      	btst #11,%d4                                
   43bbe:	56c3           	sne %d3                                     
   43bc0:	49c3           	extbl %d3                                   
   43bc2:	4483           	negl %d3                                    
   43bc4:	609e           	bras 43b64 <fcntl+0xb0>                     
   *  This switch should contain all the cases from POSIX.            
   */                                                                 
                                                                      
  switch ( cmd ) {                                                    
    case F_DUPFD:        /* dup */                                    
      fd2 = va_arg( ap, int );                                        
   43bc6:	2010           	movel %a0@,%d0                              
      if ( fd2 )                                                      
   43bc8:	6700 00aa      	beqw 43c74 <fcntl+0x1c0>                    
        diop = rtems_libio_iop( fd2 );                                
   43bcc:	b081           	cmpl %d1,%d0                                
   43bce:	6454           	bccs 43c24 <fcntl+0x170>                    <== NEVER TAKEN
   43bd0:	2200           	movel %d0,%d1                               
   43bd2:	ed88           	lsll #6,%d0                                 
   43bd4:	e789           	lsll #3,%d1                                 
   43bd6:	9081           	subl %d1,%d0                                
   43bd8:	41f1 0800      	lea %a1@(00000000,%d0:l),%a0                
   43bdc:	2608           	movel %a0,%d3                               
        }                                                             
      }                                                               
                                                                      
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
      ret = (int) (diop - rtems_libio_iops);                          
   43bde:	9689           	subl %a1,%d3                                
   43be0:	e683           	asrl #3,%d3                                 
   43be2:	203c b6db 6db7 	movel #-1227133513,%d0                      
   43be8:	4c00 3800      	mulsl %d0,%d3                               
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
   43bec:	216a 0018 0018 	movel %a2@(24),%a0@(24)                     
   43bf2:	216a 001c 001c 	movel %a2@(28),%a0@(28)                     
   43bf8:	216a 0020 0020 	movel %a2@(32),%a0@(32)                     
   43bfe:	216a 0024 0024 	movel %a2@(36),%a0@(36)                     
   43c04:	216a 0028 0028 	movel %a2@(40),%a0@(40)                     
          ret = -1;                                                   
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->flags      = iop->flags;                                  
   43c0a:	2144 0014      	movel %d4,%a0@(20)                          
  /*                                                                  
   *  If we got this far successfully, then we give the optional      
   *  filesystem specific handler a chance to process this.           
   */                                                                 
                                                                      
  if (ret >= 0) {                                                     
   43c0e:	4a83           	tstl %d3                                    
   43c10:	6c00 ff52      	bgew 43b64 <fcntl+0xb0>                     
   43c14:	6088           	bras 43b9e <fcntl+0xea>                     <== NOT EXECUTED
  rtems_libio_t *iop;                                                 
  rtems_libio_t *diop;                                                
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
   43c16:	4283           	clrl %d3                                    
       */                                                             
                                                                      
      if ( va_arg( ap, int ) )                                        
        iop->flags |= LIBIO_FLAGS_CLOSE_ON_EXEC;                      
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_CLOSE_ON_EXEC;                     
   43c18:	0884 000b      	bclr #11,%d4                                
   43c1c:	2544 0014      	movel %d4,%a2@(20)                          
   43c20:	6000 ff42      	braw 43b64 <fcntl+0xb0>                     
                                                                      
  switch ( cmd ) {                                                    
    case F_DUPFD:        /* dup */                                    
      fd2 = va_arg( ap, int );                                        
      if ( fd2 )                                                      
        diop = rtems_libio_iop( fd2 );                                
   43c24:	91c8           	subal %a0,%a0                               <== NOT EXECUTED
   43c26:	4283           	clrl %d3                                    <== NOT EXECUTED
        }                                                             
      }                                                               
                                                                      
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
      ret = (int) (diop - rtems_libio_iops);                          
   43c28:	9689           	subl %a1,%d3                                <== NOT EXECUTED
   43c2a:	e683           	asrl #3,%d3                                 <== NOT EXECUTED
   43c2c:	203c b6db 6db7 	movel #-1227133513,%d0                      <== NOT EXECUTED
   43c32:	4c00 3800      	mulsl %d0,%d3                               <== NOT EXECUTED
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
   43c36:	216a 0018 0018 	movel %a2@(24),%a0@(24)                     <== NOT EXECUTED
   43c3c:	216a 001c 001c 	movel %a2@(28),%a0@(28)                     <== NOT EXECUTED
   43c42:	216a 0020 0020 	movel %a2@(32),%a0@(32)                     <== NOT EXECUTED
   43c48:	216a 0024 0024 	movel %a2@(36),%a0@(36)                     <== NOT EXECUTED
   43c4e:	216a 0028 0028 	movel %a2@(40),%a0@(40)                     <== NOT EXECUTED
          ret = -1;                                                   
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->flags      = iop->flags;                                  
   43c54:	2144 0014      	movel %d4,%a0@(20)                          <== NOT EXECUTED
   43c58:	60b4           	bras 43c0e <fcntl+0x15a>                    <== NOT EXECUTED
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
   43c5a:	4eb9 0004 feb0 	jsr 4feb0 <__errno>                         
   43c60:	76ff           	moveq #-1,%d3                               
   43c62:	7209           	moveq #9,%d1                                
   43c64:	2040           	moveal %d0,%a0                              
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
  ret = vfcntl(fd,cmd,ap);                                            
  va_end(ap);                                                         
  return ret;                                                         
}                                                                     
   43c66:	2003           	movel %d3,%d0                               
   43c68:	4cee 041c fff0 	moveml %fp@(-16),%d2-%d4/%a2                
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
   43c6e:	2081           	movel %d1,%a0@                              
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
  ret = vfcntl(fd,cmd,ap);                                            
  va_end(ap);                                                         
  return ret;                                                         
}                                                                     
   43c70:	4e5e           	unlk %fp                                    
   43c72:	4e75           	rts                                         
      fd2 = va_arg( ap, int );                                        
      if ( fd2 )                                                      
        diop = rtems_libio_iop( fd2 );                                
      else {                                                          
        /* allocate a file control block */                           
        diop = rtems_libio_allocate();                                
   43c74:	4eb9 0004 41ee 	jsr 441ee <rtems_libio_allocate>            
   43c7a:	2040           	moveal %d0,%a0                              
        if ( diop == 0 ) {                                            
   43c7c:	4a80           	tstl %d0                                    
   43c7e:	6700 fe84      	beqw 43b04 <fcntl+0x50>                     
   43c82:	282a 0014      	movel %a2@(20),%d4                          
   43c86:	2600           	movel %d0,%d3                               
        }                                                             
      }                                                               
                                                                      
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
      ret = (int) (diop - rtems_libio_iops);                          
   43c88:	203c b6db 6db7 	movel #-1227133513,%d0                      
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
   43c8e:	216a 0018 0018 	movel %a2@(24),%a0@(24)                     
   43c94:	216a 001c 001c 	movel %a2@(28),%a0@(28)                     
   43c9a:	216a 0020 0020 	movel %a2@(32),%a0@(32)                     
   43ca0:	216a 0024 0024 	movel %a2@(36),%a0@(36)                     
      if ( fd2 )                                                      
        diop = rtems_libio_iop( fd2 );                                
      else {                                                          
        /* allocate a file control block */                           
        diop = rtems_libio_allocate();                                
        if ( diop == 0 ) {                                            
   43ca6:	2279 0006 2854 	moveal 62854 <rtems_libio_iops>,%a1         
        }                                                             
      }                                                               
                                                                      
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
      ret = (int) (diop - rtems_libio_iops);                          
   43cac:	9689           	subl %a1,%d3                                
   43cae:	e683           	asrl #3,%d3                                 
   43cb0:	4c00 3800      	mulsl %d0,%d3                               
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
   43cb4:	216a 0028 0028 	movel %a2@(40),%a0@(40)                     
          ret = -1;                                                   
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->flags      = iop->flags;                                  
   43cba:	2144 0014      	movel %d4,%a0@(20)                          
   43cbe:	6000 ff4e      	braw 43c0e <fcntl+0x15a>                    
                                                                      

0004d34c <fifo_open>: */ int fifo_open( pipe_control_t **pipep, rtems_libio_t *iop ) {
   4d34c:	4e56 ffdc      	linkw %fp,#-36                              
                                                                      
static rtems_status_code pipe_lock(void)                              
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
   4d350:	2039 0006 2e08 	movel 62e08 <pipe_semaphore>,%d0            
 */                                                                   
int fifo_open(                                                        
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
   4d356:	48d7 3c1c      	moveml %d2-%d4/%a2-%a5,%sp@                 
   4d35a:	286e 0008      	moveal %fp@(8),%a4                          
   4d35e:	47f9 0004 8b04 	lea 48b04 <rtems_semaphore_obtain>,%a3      
   4d364:	242e 000c      	movel %fp@(12),%d2                          
                                                                      
static rtems_status_code pipe_lock(void)                              
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
   4d368:	4a80           	tstl %d0                                    
   4d36a:	677e           	beqs 4d3ea <fifo_open+0x9e>                 
                                                                      
    rtems_libio_unlock();                                             
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
    sc = rtems_semaphore_obtain(pipe_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
   4d36c:	42a7           	clrl %sp@-                                  
   4d36e:	42a7           	clrl %sp@-                                  
   4d370:	2f00           	movel %d0,%sp@-                             
   4d372:	4e93           	jsr %a3@                                    
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
   4d374:	4fef 000c      	lea %sp@(12),%sp                            
   4d378:	4a80           	tstl %d0                                    
   4d37a:	6600 0378      	bnew 4d6f4 <fifo_open+0x3a8>                
                                                                      
  err = pipe_lock();                                                  
  if (err)                                                            
    return err;                                                       
                                                                      
  pipe = *pipep;                                                      
   4d37e:	2a54           	moveal %a4@,%a5                             
  if (pipe == NULL) {                                                 
   4d380:	4a8d           	tstl %a5                                    
   4d382:	6700 0118      	beqw 4d49c <fifo_open+0x150>                
    err = pipe_alloc(&pipe);                                          
    if (err)                                                          
      goto out;                                                       
  }                                                                   
                                                                      
  if (! PIPE_LOCK(pipe))                                              
   4d386:	42a7           	clrl %sp@-                                  
   4d388:	42a7           	clrl %sp@-                                  
   4d38a:	2f2d 0028      	movel %a5@(40),%sp@-                        
   4d38e:	4e93           	jsr %a3@                                    
   4d390:	4fef 000c      	lea %sp@(12),%sp                            
   4d394:	4a80           	tstl %d0                                    
   4d396:	6600 0084      	bnew 4d41c <fifo_open+0xd0>                 
   4d39a:	95ca           	subal %a2,%a2                               
    err = -EINTR;                                                     
                                                                      
  if (*pipep == NULL) {                                               
   4d39c:	4a94           	tstl %a4@                                   
   4d39e:	6700 0310      	beqw 4d6b0 <fifo_open+0x364>                
    else                                                              
      *pipep = pipe;                                                  
  }                                                                   
                                                                      
out:                                                                  
  pipe_unlock();                                                      
   4d3a2:	4eba fec4      	jsr %pc@(4d268 <pipe_unlock>)               
  pipe_control_t *pipe;                                               
  unsigned int prevCounter;                                           
  int err;                                                            
                                                                      
  err = pipe_new(pipep);                                              
  if (err)                                                            
   4d3a6:	4a8a           	tstl %a2                                    
   4d3a8:	6634           	bnes 4d3de <fifo_open+0x92>                 <== NEVER TAKEN
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
   4d3aa:	7006           	moveq #6,%d0                                
   4d3ac:	2042           	moveal %d2,%a0                              
   4d3ae:	7204           	moveq #4,%d1                                
   4d3b0:	c0a8 0014      	andl %a0@(20),%d0                           
  int err;                                                            
                                                                      
  err = pipe_new(pipep);                                              
  if (err)                                                            
    return err;                                                       
  pipe = *pipep;                                                      
   4d3b4:	2454           	moveal %a4@,%a2                             
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
   4d3b6:	b280           	cmpl %d0,%d1                                
   4d3b8:	6700 027a      	beqw 4d634 <fifo_open+0x2e8>                
   4d3bc:	123c 0006      	moveb #6,%d1                                
   4d3c0:	b280           	cmpl %d0,%d1                                
   4d3c2:	6700 0220      	beqw 4d5e4 <fifo_open+0x298>                
   4d3c6:	123c 0002      	moveb #2,%d1                                
   4d3ca:	b280           	cmpl %d0,%d1                                
   4d3cc:	6756           	beqs 4d424 <fifo_open+0xd8>                 <== ALWAYS TAKEN
   4d3ce:	4bf9 0004 8c44 	lea 48c44 <rtems_semaphore_release>,%a5     
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
      break;                                                          
  }                                                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
   4d3d4:	2f2a 0028      	movel %a2@(40),%sp@-                        
  return 0;                                                           
   4d3d8:	95ca           	subal %a2,%a2                               
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
      break;                                                          
  }                                                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
   4d3da:	4e95           	jsr %a5@                                    
  return 0;                                                           
   4d3dc:	588f           	addql #4,%sp                                
                                                                      
out_error:                                                            
  pipe_release(pipep, iop);                                           
  return err;                                                         
}                                                                     
   4d3de:	200a           	movel %a2,%d0                               
   4d3e0:	4cee 3c1c ffdc 	moveml %fp@(-36),%d2-%d4/%a2-%a5            
   4d3e6:	4e5e           	unlk %fp                                    
   4d3e8:	4e75           	rts                                         
rtems_status_code rtems_libio_set_private_env(void);                  
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;   
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
   4d3ea:	42a7           	clrl %sp@-                                  
   4d3ec:	42a7           	clrl %sp@-                                  
   4d3ee:	2f39 0006 3500 	movel 63500 <rtems_libio_semaphore>,%sp@-   
   4d3f4:	4e93           	jsr %a3@                                    
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
    rtems_libio_lock();                                               
                                                                      
    if (pipe_semaphore == RTEMS_ID_NONE) {                            
   4d3f6:	4fef 000c      	lea %sp@(12),%sp                            
   4d3fa:	4ab9 0006 2e08 	tstl 62e08 <pipe_semaphore>                 
   4d400:	6700 02be      	beqw 4d6c0 <fifo_open+0x374>                
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
   4d404:	2f39 0006 3500 	movel 63500 <rtems_libio_semaphore>,%sp@-   <== NOT EXECUTED
   4d40a:	4eb9 0004 8c44 	jsr 48c44 <rtems_semaphore_release>         <== NOT EXECUTED
   4d410:	2039 0006 2e08 	movel 62e08 <pipe_semaphore>,%d0            <== NOT EXECUTED
   4d416:	588f           	addql #4,%sp                                <== NOT EXECUTED
   4d418:	6000 ff52      	braw 4d36c <fifo_open+0x20>                 <== NOT EXECUTED
    if (err)                                                          
      goto out;                                                       
  }                                                                   
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    err = -EINTR;                                                     
   4d41c:	347c fffc      	moveaw #-4,%a2                              <== NOT EXECUTED
   4d420:	6000 ff7a      	braw 4d39c <fifo_open+0x50>                 <== NOT EXECUTED
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
   4d424:	202a 0010      	movel %a2@(16),%d0                          
   4d428:	2040           	moveal %d0,%a0                              
   4d42a:	5288           	addql #1,%a0                                
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
   4d42c:	52aa 0020      	addql #1,%a2@(32)                           
      if (pipe->Readers ++ == 0)                                      
   4d430:	2548 0010      	movel %a0,%a2@(16)                          
   4d434:	4a80           	tstl %d0                                    
   4d436:	6700 02f4      	beqw 4d72c <fifo_open+0x3e0>                
        PIPE_WAKEUPWRITERS(pipe);                                     
                                                                      
      if (pipe->Writers == 0) {                                       
   4d43a:	4aaa 0014      	tstl %a2@(20)                               
   4d43e:	668e           	bnes 4d3ce <fifo_open+0x82>                 
        /* Not an error */                                            
        if (LIBIO_NODELAY(iop))                                       
   4d440:	7001           	moveq #1,%d0                                
   4d442:	2042           	moveal %d2,%a0                              
   4d444:	c0a8 0014      	andl %a0@(20),%d0                           
   4d448:	6684           	bnes 4d3ce <fifo_open+0x82>                 
          break;                                                      
                                                                      
        prevCounter = pipe->writerCounter;                            
   4d44a:	282a 0024      	movel %a2@(36),%d4                          
   4d44e:	4bf9 0004 8c44 	lea 48c44 <rtems_semaphore_release>,%a5     
   4d454:	263c 0004 f394 	movel #324500,%d3                           
        err = -EINTR;                                                 
        /* Wait until a writer opens the pipe */                      
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
   4d45a:	2f2a 0028      	movel %a2@(40),%sp@-                        
   4d45e:	4e95           	jsr %a5@                                    
          if (! PIPE_READWAIT(pipe))                                  
   4d460:	2043           	moveal %d3,%a0                              
   4d462:	42a7           	clrl %sp@-                                  
   4d464:	2f2a 002c      	movel %a2@(44),%sp@-                        
   4d468:	4e90           	jsr %a0@                                    
   4d46a:	4fef 000c      	lea %sp@(12),%sp                            
   4d46e:	4a80           	tstl %d0                                    
   4d470:	6600 02ce      	bnew 4d740 <fifo_open+0x3f4>                
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
   4d474:	42a7           	clrl %sp@-                                  
   4d476:	42a7           	clrl %sp@-                                  
   4d478:	2f2a 0028      	movel %a2@(40),%sp@-                        
   4d47c:	4e93           	jsr %a3@                                    
   4d47e:	4fef 000c      	lea %sp@(12),%sp                            
   4d482:	4a80           	tstl %d0                                    
   4d484:	6600 02ba      	bnew 4d740 <fifo_open+0x3f4>                
            goto out_error;                                           
        } while (prevCounter == pipe->writerCounter);                 
   4d488:	b8aa 0024      	cmpl %a2@(36),%d4                           
   4d48c:	67cc           	beqs 4d45a <fifo_open+0x10e>                <== NEVER TAKEN
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
      break;                                                          
  }                                                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
   4d48e:	2f2a 0028      	movel %a2@(40),%sp@-                        
  return 0;                                                           
   4d492:	95ca           	subal %a2,%a2                               
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
      break;                                                          
  }                                                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
   4d494:	4e95           	jsr %a5@                                    
  return 0;                                                           
   4d496:	588f           	addql #4,%sp                                
   4d498:	6000 ff44      	braw 4d3de <fifo_open+0x92>                 
{                                                                     
  static char c = 'a';                                                
  pipe_control_t *pipe;                                               
  int err = -ENOMEM;                                                  
                                                                      
  pipe = malloc(sizeof(pipe_control_t));                              
   4d49c:	4878 0034      	pea 34 <OPER2+0x20>                         
   4d4a0:	45f9 0004 55a0 	lea 455a0 <malloc>,%a2                      
   4d4a6:	4e92           	jsr %a2@                                    
  if (pipe == NULL)                                                   
   4d4a8:	588f           	addql #4,%sp                                
{                                                                     
  static char c = 'a';                                                
  pipe_control_t *pipe;                                               
  int err = -ENOMEM;                                                  
                                                                      
  pipe = malloc(sizeof(pipe_control_t));                              
   4d4aa:	2a40           	moveal %d0,%a5                              
   4d4ac:	2600           	movel %d0,%d3                               
  if (pipe == NULL)                                                   
   4d4ae:	6700 0330      	beqw 4d7e0 <fifo_open+0x494>                
    return err;                                                       
  memset(pipe, 0, sizeof(pipe_control_t));                            
   4d4b2:	2040           	moveal %d0,%a0                              
                                                                      
  pipe->Size = PIPE_BUF;                                              
   4d4b4:	203c 0000 0200 	movel #512,%d0                              
  int err = -ENOMEM;                                                  
                                                                      
  pipe = malloc(sizeof(pipe_control_t));                              
  if (pipe == NULL)                                                   
    return err;                                                       
  memset(pipe, 0, sizeof(pipe_control_t));                            
   4d4ba:	4298           	clrl %a0@+                                  
   4d4bc:	5888           	addql #4,%a0                                
   4d4be:	4298           	clrl %a0@+                                  
   4d4c0:	4298           	clrl %a0@+                                  
   4d4c2:	4298           	clrl %a0@+                                  
   4d4c4:	4298           	clrl %a0@+                                  
   4d4c6:	4298           	clrl %a0@+                                  
   4d4c8:	4298           	clrl %a0@+                                  
   4d4ca:	4298           	clrl %a0@+                                  
   4d4cc:	4298           	clrl %a0@+                                  
   4d4ce:	4298           	clrl %a0@+                                  
   4d4d0:	4298           	clrl %a0@+                                  
   4d4d2:	4290           	clrl %a0@                                   
                                                                      
  pipe->Size = PIPE_BUF;                                              
   4d4d4:	2b40 0004      	movel %d0,%a5@(4)                           
  pipe->Buffer = malloc(pipe->Size);                                  
   4d4d8:	4878 0200      	pea 200 <DBL_MANT_DIG+0x1cb>                
   4d4dc:	4e92           	jsr %a2@                                    
  if (! pipe->Buffer)                                                 
   4d4de:	588f           	addql #4,%sp                                
   4d4e0:	45f9 0004 4d88 	lea 44d88 <free>,%a2                        
  if (pipe == NULL)                                                   
    return err;                                                       
  memset(pipe, 0, sizeof(pipe_control_t));                            
                                                                      
  pipe->Size = PIPE_BUF;                                              
  pipe->Buffer = malloc(pipe->Size);                                  
   4d4e6:	2a80           	movel %d0,%a5@                              
  if (! pipe->Buffer)                                                 
   4d4e8:	6700 02f0      	beqw 4d7da <fifo_open+0x48e>                
    goto err_buf;                                                     
                                                                      
  err = -ENOMEM;                                                      
                                                                      
  if (rtems_barrier_create(                                           
   4d4ec:	486d 002c      	pea %a5@(44)                                
   4d4f0:	45f9 0004 f184 	lea 4f184 <rtems_barrier_create>,%a2        
        rtems_build_name ('P', 'I', 'r', c),                          
   4d4f6:	1039 0006 1ebc 	moveb 61ebc <c.6482>,%d0                    
  if (! pipe->Buffer)                                                 
    goto err_buf;                                                     
                                                                      
  err = -ENOMEM;                                                      
                                                                      
  if (rtems_barrier_create(                                           
   4d4fc:	42a7           	clrl %sp@-                                  
        rtems_build_name ('P', 'I', 'r', c),                          
   4d4fe:	49c0           	extbl %d0                                   
  if (! pipe->Buffer)                                                 
    goto err_buf;                                                     
                                                                      
  err = -ENOMEM;                                                      
                                                                      
  if (rtems_barrier_create(                                           
   4d500:	42a7           	clrl %sp@-                                  
   4d502:	0080 5049 7200 	oril #1346990592,%d0                        
   4d508:	2f00           	movel %d0,%sp@-                             
   4d50a:	4e92           	jsr %a2@                                    
   4d50c:	4fef 0010      	lea %sp@(16),%sp                            
   4d510:	4a80           	tstl %d0                                    
   4d512:	6600 02b8      	bnew 4d7cc <fifo_open+0x480>                
        rtems_build_name ('P', 'I', 'r', c),                          
        RTEMS_BARRIER_MANUAL_RELEASE, 0,                              
        &pipe->readBarrier) != RTEMS_SUCCESSFUL)                      
    goto err_rbar;                                                    
  if (rtems_barrier_create(                                           
   4d516:	486d 0030      	pea %a5@(48)                                
        rtems_build_name ('P', 'I', 'w', c),                          
   4d51a:	1039 0006 1ebc 	moveb 61ebc <c.6482>,%d0                    
  if (rtems_barrier_create(                                           
        rtems_build_name ('P', 'I', 'r', c),                          
        RTEMS_BARRIER_MANUAL_RELEASE, 0,                              
        &pipe->readBarrier) != RTEMS_SUCCESSFUL)                      
    goto err_rbar;                                                    
  if (rtems_barrier_create(                                           
   4d520:	42a7           	clrl %sp@-                                  
        rtems_build_name ('P', 'I', 'w', c),                          
   4d522:	49c0           	extbl %d0                                   
  if (rtems_barrier_create(                                           
        rtems_build_name ('P', 'I', 'r', c),                          
        RTEMS_BARRIER_MANUAL_RELEASE, 0,                              
        &pipe->readBarrier) != RTEMS_SUCCESSFUL)                      
    goto err_rbar;                                                    
  if (rtems_barrier_create(                                           
   4d524:	42a7           	clrl %sp@-                                  
   4d526:	0080 5049 7700 	oril #1346991872,%d0                        
   4d52c:	2f00           	movel %d0,%sp@-                             
   4d52e:	4e92           	jsr %a2@                                    
   4d530:	4fef 0010      	lea %sp@(16),%sp                            
   4d534:	45f9 0004 f27c 	lea 4f27c <rtems_barrier_delete>,%a2        
   4d53a:	4a80           	tstl %d0                                    
   4d53c:	6600 0284      	bnew 4d7c2 <fifo_open+0x476>                
        rtems_build_name ('P', 'I', 'w', c),                          
        RTEMS_BARRIER_MANUAL_RELEASE, 0,                              
        &pipe->writeBarrier) != RTEMS_SUCCESSFUL)                     
    goto err_wbar;                                                    
  if (rtems_semaphore_create(                                         
   4d540:	486d 0028      	pea %a5@(40)                                
        rtems_build_name ('P', 'I', 's', c), 1,                       
   4d544:	1039 0006 1ebc 	moveb 61ebc <c.6482>,%d0                    
  if (rtems_barrier_create(                                           
        rtems_build_name ('P', 'I', 'w', c),                          
        RTEMS_BARRIER_MANUAL_RELEASE, 0,                              
        &pipe->writeBarrier) != RTEMS_SUCCESSFUL)                     
    goto err_wbar;                                                    
  if (rtems_semaphore_create(                                         
   4d54a:	42a7           	clrl %sp@-                                  
   4d54c:	4878 0010      	pea 10 <INVALID_OPERATION>                  
        rtems_build_name ('P', 'I', 's', c), 1,                       
   4d550:	49c0           	extbl %d0                                   
  if (rtems_barrier_create(                                           
        rtems_build_name ('P', 'I', 'w', c),                          
        RTEMS_BARRIER_MANUAL_RELEASE, 0,                              
        &pipe->writeBarrier) != RTEMS_SUCCESSFUL)                     
    goto err_wbar;                                                    
  if (rtems_semaphore_create(                                         
   4d552:	4878 0001      	pea 1 <ADD>                                 
   4d556:	0080 5049 7300 	oril #1346990848,%d0                        
   4d55c:	2f00           	movel %d0,%sp@-                             
   4d55e:	4eb9 0004 8868 	jsr 48868 <rtems_semaphore_create>          
   4d564:	4fef 0014      	lea %sp@(20),%sp                            
   4d568:	4a80           	tstl %d0                                    
   4d56a:	6600 0248      	bnew 4d7b4 <fifo_open+0x468>                
/* Set barriers to be interruptible by signals. */                    
static void pipe_interruptible(pipe_control_t *pipe)                  
{                                                                     
  Objects_Locations location;                                         
                                                                      
  _Barrier_Get(pipe->readBarrier, &location)->Barrier.Wait_queue.state
   4d56e:	280e           	movel %fp,%d4                               
   4d570:	5184           	subql #8,%d4                                
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Barrier_Control *)                                          
    _Objects_Get( &_Barrier_Information, id, location );              
   4d572:	263c 0004 a3e4 	movel #304100,%d3                           
   4d578:	2043           	moveal %d3,%a0                              
    |= STATES_INTERRUPTIBLE_BY_SIGNAL;                                
  _Thread_Enable_dispatch();                                          
   4d57a:	45f9 0004 b086 	lea 4b086 <_Thread_Enable_dispatch>,%a2     
   4d580:	2f04           	movel %d4,%sp@-                             
   4d582:	2f2d 002c      	movel %a5@(44),%sp@-                        
   4d586:	4879 0006 3e88 	pea 63e88 <_Barrier_Information>            
   4d58c:	4e90           	jsr %a0@                                    
static void pipe_interruptible(pipe_control_t *pipe)                  
{                                                                     
  Objects_Locations location;                                         
                                                                      
  _Barrier_Get(pipe->readBarrier, &location)->Barrier.Wait_queue.state
    |= STATES_INTERRUPTIBLE_BY_SIGNAL;                                
   4d58e:	223c 1000 0000 	movel #268435456,%d1                        
   4d594:	2040           	moveal %d0,%a0                              
   4d596:	83a8 004c      	orl %d1,%a0@(76)                            
  _Thread_Enable_dispatch();                                          
   4d59a:	4e92           	jsr %a2@                                    
   4d59c:	2043           	moveal %d3,%a0                              
   4d59e:	2f04           	movel %d4,%sp@-                             
   4d5a0:	2f2d 0030      	movel %a5@(48),%sp@-                        
   4d5a4:	4879 0006 3e88 	pea 63e88 <_Barrier_Information>            
   4d5aa:	4e90           	jsr %a0@                                    
  _Barrier_Get(pipe->writeBarrier, &location)->Barrier.Wait_queue.state
    |= STATES_INTERRUPTIBLE_BY_SIGNAL;                                
   4d5ac:	223c 1000 0000 	movel #268435456,%d1                        
   4d5b2:	2040           	moveal %d0,%a0                              
   4d5b4:	83a8 004c      	orl %d1,%a0@(76)                            
  _Thread_Enable_dispatch();                                          
   4d5b8:	4e92           	jsr %a2@                                    
#ifdef RTEMS_POSIX_API                                                
  pipe_interruptible(pipe);                                           
#endif                                                                
                                                                      
  *pipep = pipe;                                                      
  if (c ++ == 'z')                                                    
   4d5ba:	4fef 0018      	lea %sp@(24),%sp                            
   4d5be:	1039 0006 1ebc 	moveb 61ebc <c.6482>,%d0                    
   4d5c4:	49c0           	extbl %d0                                   
   4d5c6:	2200           	movel %d0,%d1                               
   4d5c8:	5281           	addql #1,%d1                                
   4d5ca:	13c1 0006 1ebc 	moveb %d1,61ebc <c.6482>                    
   4d5d0:	727a           	moveq #122,%d1                              
   4d5d2:	b280           	cmpl %d0,%d1                                
   4d5d4:	6600 fdb0      	bnew 4d386 <fifo_open+0x3a>                 
    c = 'a';                                                          
   4d5d8:	7061           	moveq #97,%d0                               
   4d5da:	13c0 0006 1ebc 	moveb %d0,61ebc <c.6482>                    
   4d5e0:	6000 fda4      	braw 4d386 <fifo_open+0x3a>                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
   4d5e4:	202a 0010      	movel %a2@(16),%d0                          
   4d5e8:	2200           	movel %d0,%d1                               
   4d5ea:	5281           	addql #1,%d1                                
        } while (prevCounter == pipe->readerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
   4d5ec:	52aa 0020      	addql #1,%a2@(32)                           
      if (pipe->Readers ++ == 0)                                      
   4d5f0:	2541 0010      	movel %d1,%a2@(16)                          
   4d5f4:	4a80           	tstl %d0                                    
   4d5f6:	6700 0120      	beqw 4d718 <fifo_open+0x3cc>                
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
      if (pipe->Writers ++ == 0)                                      
   4d5fa:	202a 0014      	movel %a2@(20),%d0                          
   4d5fe:	2040           	moveal %d0,%a0                              
   4d600:	5288           	addql #1,%a0                                
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
   4d602:	52aa 0024      	addql #1,%a2@(36)                           
   4d606:	4bf9 0004 8c44 	lea 48c44 <rtems_semaphore_release>,%a5     
      if (pipe->Writers ++ == 0)                                      
   4d60c:	2548 0014      	movel %a0,%a2@(20)                          
   4d610:	4a80           	tstl %d0                                    
   4d612:	6600 fdc0      	bnew 4d3d4 <fifo_open+0x88>                 
        PIPE_WAKEUPREADERS(pipe);                                     
   4d616:	486e fffc      	pea %fp@(-4)                                
   4d61a:	2f2a 002c      	movel %a2@(44),%sp@-                        
   4d61e:	4eb9 0004 f31c 	jsr 4f31c <rtems_barrier_release>           
   4d624:	508f           	addql #8,%sp                                
      break;                                                          
  }                                                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
   4d626:	2f2a 0028      	movel %a2@(40),%sp@-                        
  return 0;                                                           
   4d62a:	95ca           	subal %a2,%a2                               
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
      break;                                                          
  }                                                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
   4d62c:	4e95           	jsr %a5@                                    
  return 0;                                                           
   4d62e:	588f           	addql #4,%sp                                
   4d630:	6000 fdac      	braw 4d3de <fifo_open+0x92>                 
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
                                                                      
      if (pipe->Writers ++ == 0)                                      
   4d634:	202a 0014      	movel %a2@(20),%d0                          
   4d638:	2200           	movel %d0,%d1                               
   4d63a:	5281           	addql #1,%d1                                
        } while (prevCounter == pipe->writerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
   4d63c:	52aa 0024      	addql #1,%a2@(36)                           
                                                                      
      if (pipe->Writers ++ == 0)                                      
   4d640:	2541 0014      	movel %d1,%a2@(20)                          
   4d644:	4a80           	tstl %d0                                    
   4d646:	6700 00bc      	beqw 4d704 <fifo_open+0x3b8>                
   4d64a:	4bf9 0004 8c44 	lea 48c44 <rtems_semaphore_release>,%a5     
        PIPE_WAKEUPREADERS(pipe);                                     
                                                                      
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
   4d650:	4aaa 0010      	tstl %a2@(16)                               
   4d654:	6600 fd7e      	bnew 4d3d4 <fifo_open+0x88>                 
   4d658:	7001           	moveq #1,%d0                                
   4d65a:	2042           	moveal %d2,%a0                              
   4d65c:	c0a8 0014      	andl %a0@(20),%d0                           
   4d660:	6600 0138      	bnew 4d79a <fifo_open+0x44e>                
        err = -ENXIO;                                                 
        goto out_error;                                               
      }                                                               
                                                                      
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
   4d664:	282a 0020      	movel %a2@(32),%d4                          
   4d668:	263c 0004 f394 	movel #324500,%d3                           
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
   4d66e:	2f2a 0028      	movel %a2@(40),%sp@-                        
   4d672:	4e95           	jsr %a5@                                    
          if (! PIPE_WRITEWAIT(pipe))                                 
   4d674:	2043           	moveal %d3,%a0                              
   4d676:	42a7           	clrl %sp@-                                  
   4d678:	2f2a 0030      	movel %a2@(48),%sp@-                        
   4d67c:	4e90           	jsr %a0@                                    
   4d67e:	4fef 000c      	lea %sp@(12),%sp                            
   4d682:	4a80           	tstl %d0                                    
   4d684:	6600 00ba      	bnew 4d740 <fifo_open+0x3f4>                
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
   4d688:	42a7           	clrl %sp@-                                  
   4d68a:	42a7           	clrl %sp@-                                  
   4d68c:	2f2a 0028      	movel %a2@(40),%sp@-                        
   4d690:	4e93           	jsr %a3@                                    
   4d692:	4fef 000c      	lea %sp@(12),%sp                            
   4d696:	4a80           	tstl %d0                                    
   4d698:	6600 00a6      	bnew 4d740 <fifo_open+0x3f4>                
            goto out_error;                                           
        } while (prevCounter == pipe->readerCounter);                 
   4d69c:	b8aa 0020      	cmpl %a2@(32),%d4                           
   4d6a0:	67cc           	beqs 4d66e <fifo_open+0x322>                <== NEVER TAKEN
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
      break;                                                          
  }                                                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
   4d6a2:	2f2a 0028      	movel %a2@(40),%sp@-                        
  return 0;                                                           
   4d6a6:	95ca           	subal %a2,%a2                               
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
      break;                                                          
  }                                                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
   4d6a8:	4e95           	jsr %a5@                                    
  return 0;                                                           
   4d6aa:	588f           	addql #4,%sp                                
   4d6ac:	6000 fd30      	braw 4d3de <fifo_open+0x92>                 
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    err = -EINTR;                                                     
                                                                      
  if (*pipep == NULL) {                                               
    if (err)                                                          
   4d6b0:	4a8a           	tstl %a2                                    
   4d6b2:	6600 00a8      	bnew 4d75c <fifo_open+0x410>                
      pipe_free(pipe);                                                
    else                                                              
      *pipep = pipe;                                                  
   4d6b6:	288d           	movel %a5,%a4@                              
  }                                                                   
                                                                      
out:                                                                  
  pipe_unlock();                                                      
   4d6b8:	4eba fbae      	jsr %pc@(4d268 <pipe_unlock>)               
   4d6bc:	6000 fcec      	braw 4d3aa <fifo_open+0x5e>                 
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
    rtems_libio_lock();                                               
                                                                      
    if (pipe_semaphore == RTEMS_ID_NONE) {                            
      sc = rtems_semaphore_create(                                    
   4d6c0:	4879 0006 2e08 	pea 62e08 <pipe_semaphore>                  
   4d6c6:	42a7           	clrl %sp@-                                  
   4d6c8:	4878 0054      	pea 54 <DBL_MANT_DIG+0x1f>                  
   4d6cc:	4878 0001      	pea 1 <ADD>                                 
   4d6d0:	2f3c 5049 5045 	movel #1346981957,%sp@-                     
   4d6d6:	4eb9 0004 8868 	jsr 48868 <rtems_semaphore_create>          
   4d6dc:	2f39 0006 3500 	movel 63500 <rtems_libio_semaphore>,%sp@-   
   4d6e2:	2600           	movel %d0,%d3                               
   4d6e4:	4eb9 0004 8c44 	jsr 48c44 <rtems_semaphore_release>         
    }                                                                 
                                                                      
    rtems_libio_unlock();                                             
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
   4d6ea:	4fef 0018      	lea %sp@(24),%sp                            
   4d6ee:	4a83           	tstl %d3                                    
   4d6f0:	6700 00f8      	beqw 4d7ea <fifo_open+0x49e>                
)                                                                     
{                                                                     
  pipe_control_t *pipe;                                               
  int err = 0;                                                        
                                                                      
  err = pipe_lock();                                                  
   4d6f4:	347c fff4      	moveaw #-12,%a2                             
  return 0;                                                           
                                                                      
out_error:                                                            
  pipe_release(pipep, iop);                                           
  return err;                                                         
}                                                                     
   4d6f8:	200a           	movel %a2,%d0                               
   4d6fa:	4cee 3c1c ffdc 	moveml %fp@(-36),%d2-%d4/%a2-%a5            
   4d700:	4e5e           	unlk %fp                                    
   4d702:	4e75           	rts                                         
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
                                                                      
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
   4d704:	486e fffc      	pea %fp@(-4)                                
   4d708:	2f2a 002c      	movel %a2@(44),%sp@-                        
   4d70c:	4eb9 0004 f31c 	jsr 4f31c <rtems_barrier_release>           
   4d712:	508f           	addql #8,%sp                                
   4d714:	6000 ff34      	braw 4d64a <fifo_open+0x2fe>                
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
   4d718:	486e fffc      	pea %fp@(-4)                                
   4d71c:	2f2a 0030      	movel %a2@(48),%sp@-                        
   4d720:	4eb9 0004 f31c 	jsr 4f31c <rtems_barrier_release>           
   4d726:	508f           	addql #8,%sp                                
   4d728:	6000 fed0      	braw 4d5fa <fifo_open+0x2ae>                
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
   4d72c:	486e fffc      	pea %fp@(-4)                                
   4d730:	2f2a 0030      	movel %a2@(48),%sp@-                        
   4d734:	4eb9 0004 f31c 	jsr 4f31c <rtems_barrier_release>           
   4d73a:	508f           	addql #8,%sp                                
   4d73c:	6000 fcfc      	braw 4d43a <fifo_open+0xee>                 
                                                                      
  PIPE_UNLOCK(pipe);                                                  
  return 0;                                                           
                                                                      
out_error:                                                            
  pipe_release(pipep, iop);                                           
   4d740:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
        goto out_error;                                               
      }                                                               
                                                                      
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
        err = -EINTR;                                                 
   4d742:	347c fffc      	moveaw #-4,%a2                              <== NOT EXECUTED
                                                                      
  PIPE_UNLOCK(pipe);                                                  
  return 0;                                                           
                                                                      
out_error:                                                            
  pipe_release(pipep, iop);                                           
   4d746:	2f0c           	movel %a4,%sp@-                             <== NOT EXECUTED
   4d748:	4eb9 0004 d27e 	jsr 4d27e <pipe_release>                    <== NOT EXECUTED
  return err;                                                         
   4d74e:	508f           	addql #8,%sp                                <== NOT EXECUTED
}                                                                     
   4d750:	200a           	movel %a2,%d0                               
   4d752:	4cee 3c1c ffdc 	moveml %fp@(-36),%d2-%d4/%a2-%a5            
   4d758:	4e5e           	unlk %fp                                    
   4d75a:	4e75           	rts                                         
/* Called with pipe_semaphore held. */                                
static inline void pipe_free(                                         
  pipe_control_t *pipe                                                
)                                                                     
{                                                                     
  rtems_barrier_delete(pipe->readBarrier);                            
   4d75c:	2f2d 002c      	movel %a5@(44),%sp@-                        <== NOT EXECUTED
   4d760:	49f9 0004 f27c 	lea 4f27c <rtems_barrier_delete>,%a4        <== NOT EXECUTED
  rtems_barrier_delete(pipe->writeBarrier);                           
  rtems_semaphore_delete(pipe->Semaphore);                            
  free(pipe->Buffer);                                                 
   4d766:	47f9 0004 4d88 	lea 44d88 <free>,%a3                        <== NOT EXECUTED
/* Called with pipe_semaphore held. */                                
static inline void pipe_free(                                         
  pipe_control_t *pipe                                                
)                                                                     
{                                                                     
  rtems_barrier_delete(pipe->readBarrier);                            
   4d76c:	4e94           	jsr %a4@                                    <== NOT EXECUTED
  rtems_barrier_delete(pipe->writeBarrier);                           
   4d76e:	2f2d 0030      	movel %a5@(48),%sp@-                        <== NOT EXECUTED
   4d772:	4e94           	jsr %a4@                                    <== NOT EXECUTED
  rtems_semaphore_delete(pipe->Semaphore);                            
   4d774:	2f2d 0028      	movel %a5@(40),%sp@-                        <== NOT EXECUTED
   4d778:	4eb9 0004 8a2c 	jsr 48a2c <rtems_semaphore_delete>          <== NOT EXECUTED
  free(pipe->Buffer);                                                 
   4d77e:	2f15           	movel %a5@,%sp@-                            <== NOT EXECUTED
   4d780:	4e93           	jsr %a3@                                    <== NOT EXECUTED
  free(pipe);                                                         
   4d782:	2f0d           	movel %a5,%sp@-                             <== NOT EXECUTED
   4d784:	4e93           	jsr %a3@                                    <== NOT EXECUTED
   4d786:	4fef 0014      	lea %sp@(20),%sp                            <== NOT EXECUTED
    else                                                              
      *pipep = pipe;                                                  
  }                                                                   
                                                                      
out:                                                                  
  pipe_unlock();                                                      
   4d78a:	4eba fadc      	jsr %pc@(4d268 <pipe_unlock>)               <== NOT EXECUTED
  return 0;                                                           
                                                                      
out_error:                                                            
  pipe_release(pipep, iop);                                           
  return err;                                                         
}                                                                     
   4d78e:	200a           	movel %a2,%d0                               
   4d790:	4cee 3c1c ffdc 	moveml %fp@(-36),%d2-%d4/%a2-%a5            
   4d796:	4e5e           	unlk %fp                                    
   4d798:	4e75           	rts                                         
                                                                      
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
                                                                      
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
	PIPE_UNLOCK(pipe);                                                   
   4d79a:	2f2a 0028      	movel %a2@(40),%sp@-                        
        err = -ENXIO;                                                 
   4d79e:	347c fffa      	moveaw #-6,%a2                              
                                                                      
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
                                                                      
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
	PIPE_UNLOCK(pipe);                                                   
   4d7a2:	4e95           	jsr %a5@                                    
        err = -ENXIO;                                                 
        goto out_error;                                               
   4d7a4:	588f           	addql #4,%sp                                
                                                                      
  PIPE_UNLOCK(pipe);                                                  
  return 0;                                                           
                                                                      
out_error:                                                            
  pipe_release(pipep, iop);                                           
   4d7a6:	2f02           	movel %d2,%sp@-                             
   4d7a8:	2f0c           	movel %a4,%sp@-                             
   4d7aa:	4eb9 0004 d27e 	jsr 4d27e <pipe_release>                    
  return err;                                                         
   4d7b0:	508f           	addql #8,%sp                                
   4d7b2:	609c           	bras 4d750 <fifo_open+0x404>                
  if (c ++ == 'z')                                                    
    c = 'a';                                                          
  return 0;                                                           
                                                                      
err_sem:                                                              
  rtems_barrier_delete(pipe->writeBarrier);                           
   4d7b4:	2f2d 0030      	movel %a5@(48),%sp@-                        
   4d7b8:	45f9 0004 f27c 	lea 4f27c <rtems_barrier_delete>,%a2        
   4d7be:	4e92           	jsr %a2@                                    
   4d7c0:	588f           	addql #4,%sp                                
err_wbar:                                                             
  rtems_barrier_delete(pipe->readBarrier);                            
   4d7c2:	2043           	moveal %d3,%a0                              
   4d7c4:	2f28 002c      	movel %a0@(44),%sp@-                        
   4d7c8:	4e92           	jsr %a2@                                    
   4d7ca:	588f           	addql #4,%sp                                
err_rbar:                                                             
  free(pipe->Buffer);                                                 
   4d7cc:	2043           	moveal %d3,%a0                              
   4d7ce:	45f9 0004 4d88 	lea 44d88 <free>,%a2                        
   4d7d4:	2f10           	movel %a0@,%sp@-                            
   4d7d6:	4e92           	jsr %a2@                                    
   4d7d8:	588f           	addql #4,%sp                                
err_buf:                                                              
  free(pipe);                                                         
   4d7da:	2f03           	movel %d3,%sp@-                             
   4d7dc:	4e92           	jsr %a2@                                    
   4d7de:	588f           	addql #4,%sp                                
)                                                                     
{                                                                     
  pipe_control_t *pipe;                                               
  int err = 0;                                                        
                                                                      
  err = pipe_lock();                                                  
   4d7e0:	347c fff4      	moveaw #-12,%a2                             
    else                                                              
      *pipep = pipe;                                                  
  }                                                                   
                                                                      
out:                                                                  
  pipe_unlock();                                                      
   4d7e4:	4eba fa82      	jsr %pc@(4d268 <pipe_unlock>)               
   4d7e8:	60a4           	bras 4d78e <fifo_open+0x442>                
    }                                                                 
                                                                      
    rtems_libio_unlock();                                             
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
   4d7ea:	2039 0006 2e08 	movel 62e08 <pipe_semaphore>,%d0            
   4d7f0:	6000 fb7a      	braw 4d36c <fifo_open+0x20>                 
                                                                      

00043d48 <fpathconf>: long fpathconf( int fd, int name ) {
   43d48:	4e56 0000      	linkw %fp,#0                                
   43d4c:	202e 0008      	movel %fp@(8),%d0                           
   43d50:	222e 000c      	movel %fp@(12),%d1                          
   43d54:	2f02           	movel %d2,%sp@-                             
  long                                    return_value;               
  rtems_libio_t                          *iop;                        
  rtems_filesystem_limits_and_options_t  *the_limits;                 
                                                                      
  rtems_libio_check_fd(fd);                                           
   43d56:	b0b9 0006 0fd4 	cmpl 60fd4 <rtems_libio_number_iops>,%d0    
   43d5c:	6400 00f6      	bccw 43e54 <fpathconf+0x10c>                
  iop = rtems_libio_iop(fd);                                          
   43d60:	2400           	movel %d0,%d2                               
   43d62:	ed88           	lsll #6,%d0                                 
   43d64:	e78a           	lsll #3,%d2                                 
   43d66:	2079 0006 2854 	moveal 62854 <rtems_libio_iops>,%a0         
   43d6c:	9082           	subl %d2,%d0                                
   43d6e:	d1c0           	addal %d0,%a0                               
  rtems_libio_check_is_open(iop);                                     
   43d70:	2428 0014      	movel %a0@(20),%d2                          
   43d74:	0802 0008      	btst #8,%d2                                 
   43d78:	6700 00da      	beqw 43e54 <fpathconf+0x10c>                
  rtems_libio_check_permissions(iop, LIBIO_FLAGS_READ);               
   43d7c:	0802 0001      	btst #1,%d2                                 
   43d80:	670a           	beqs 43d8c <fpathconf+0x44>                 
                                                                      
  /*                                                                  
   *  Now process the information request.                            
   */                                                                 
                                                                      
  the_limits = &iop->pathinfo.mt_entry->pathconf_limits_and_options;  
   43d82:	2068 0028      	moveal %a0@(40),%a0                         
                                                                      
  switch ( name ) {                                                   
   43d86:	700b           	moveq #11,%d0                               
   43d88:	b081           	cmpl %d1,%d0                                
   43d8a:	6416           	bccs 43da2 <fpathconf+0x5a>                 
      break;                                                          
    case _PC_SYNC_IO:                                                 
      return_value = the_limits->posix_sync_io;                       
      break;                                                          
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
   43d8c:	4eb9 0004 feb0 	jsr 4feb0 <__errno>                         
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
   43d92:	242e fffc      	movel %fp@(-4),%d2                          
      break;                                                          
    case _PC_SYNC_IO:                                                 
      return_value = the_limits->posix_sync_io;                       
      break;                                                          
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
   43d96:	2040           	moveal %d0,%a0                              
   43d98:	7216           	moveq #22,%d1                               
   43d9a:	70ff           	moveq #-1,%d0                               
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
   43d9c:	4e5e           	unlk %fp                                    
      break;                                                          
    case _PC_SYNC_IO:                                                 
      return_value = the_limits->posix_sync_io;                       
      break;                                                          
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
   43d9e:	2081           	movel %d1,%a0@                              
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
   43da0:	4e75           	rts                                         
   *  Now process the information request.                            
   */                                                                 
                                                                      
  the_limits = &iop->pathinfo.mt_entry->pathconf_limits_and_options;  
                                                                      
  switch ( name ) {                                                   
   43da2:	303b 1a08      	movew %pc@(43dac <fpathconf+0x64>,%d1:l:2),%d0
   43da6:	48c0           	extl %d0                                    
   43da8:	4efb 0802      	jmp %pc@(43dac <fpathconf+0x64>,%d0:l)      
   43dac:	0090 0084 0078 	oril #8650872,%d0                           <== NOT EXECUTED
   43db2:	006c           	.short 0x006c                               <== NOT EXECUTED
   43db4:	0060           	.short 0x0060                               <== NOT EXECUTED
   43db6:	0054           	.short 0x0054                               <== NOT EXECUTED
   43db8:	0048           	.short 0x0048                               <== NOT EXECUTED
   43dba:	003c           	.short 0x003c                               <== NOT EXECUTED
   43dbc:	0030           	.short 0x0030                               <== NOT EXECUTED
   43dbe:	0024           	.short 0x0024                               <== NOT EXECUTED
   43dc0:	0018           	.short 0x0018                               <== NOT EXECUTED
   43dc2:	009c 242e fffc 	oril #607059964,%d4                         <== NOT EXECUTED
      rtems_set_errno_and_return_minus_one( EINVAL );                 
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
   43dc8:	4e5e           	unlk %fp                                    
      break;                                                          
    case _PC_ASYNC_IO:                                                
      return_value = the_limits->posix_async_io;                      
      break;                                                          
    case _PC_PRIO_IO:                                                 
      return_value = the_limits->posix_prio_io;                       
   43dca:	2028 005c      	movel %a0@(92),%d0                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
   43dce:	4e75           	rts                                         
   43dd0:	242e fffc      	movel %fp@(-4),%d2                          
   43dd4:	4e5e           	unlk %fp                                    
      break;                                                          
    case _PC_VDISABLE:                                                
      return_value = the_limits->posix_vdisable;                      
      break;                                                          
    case _PC_ASYNC_IO:                                                
      return_value = the_limits->posix_async_io;                      
   43dd6:	2028 0050      	movel %a0@(80),%d0                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
   43dda:	4e75           	rts                                         
   43ddc:	242e fffc      	movel %fp@(-4),%d2                          
   43de0:	4e5e           	unlk %fp                                    
      break;                                                          
    case _PC_NO_TRUNC:                                                
      return_value = the_limits->posix_no_trunc;                      
      break;                                                          
    case _PC_VDISABLE:                                                
      return_value = the_limits->posix_vdisable;                      
   43de2:	2028 0064      	movel %a0@(100),%d0                         
      rtems_set_errno_and_return_minus_one( EINVAL );                 
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
   43de6:	4e75           	rts                                         
   43de8:	242e fffc      	movel %fp@(-4),%d2                          
   43dec:	4e5e           	unlk %fp                                    
      break;                                                          
    case _PC_CHOWN_RESTRICTED:                                        
      return_value = the_limits->posix_chown_restrictions;            
      break;                                                          
    case _PC_NO_TRUNC:                                                
      return_value = the_limits->posix_no_trunc;                      
   43dee:	2028 0058      	movel %a0@(88),%d0                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
   43df2:	4e75           	rts                                         
   43df4:	242e fffc      	movel %fp@(-4),%d2                          
   43df8:	4e5e           	unlk %fp                                    
      break;                                                          
    case _PC_PIPE_BUF:                                                
      return_value = the_limits->pipe_buf;                            
      break;                                                          
    case _PC_CHOWN_RESTRICTED:                                        
      return_value = the_limits->posix_chown_restrictions;            
   43dfa:	2028 0054      	movel %a0@(84),%d0                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
   43dfe:	4e75           	rts                                         
   43e00:	242e fffc      	movel %fp@(-4),%d2                          
   43e04:	4e5e           	unlk %fp                                    
      break;                                                          
    case _PC_PATH_MAX:                                                
      return_value = the_limits->path_max;                            
      break;                                                          
    case _PC_PIPE_BUF:                                                
      return_value = the_limits->pipe_buf;                            
   43e06:	2028 004c      	movel %a0@(76),%d0                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
   43e0a:	4e75           	rts                                         
   43e0c:	242e fffc      	movel %fp@(-4),%d2                          
   43e10:	4e5e           	unlk %fp                                    
      break;                                                          
    case _PC_NAME_MAX:                                                
      return_value = the_limits->name_max;                            
      break;                                                          
    case _PC_PATH_MAX:                                                
      return_value = the_limits->path_max;                            
   43e12:	2028 0048      	movel %a0@(72),%d0                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
   43e16:	4e75           	rts                                         
   43e18:	242e fffc      	movel %fp@(-4),%d2                          
   43e1c:	4e5e           	unlk %fp                                    
      break;                                                          
    case _PC_MAX_INPUT:                                               
      return_value = the_limits->max_input;                           
      break;                                                          
    case _PC_NAME_MAX:                                                
      return_value = the_limits->name_max;                            
   43e1e:	2028 0044      	movel %a0@(68),%d0                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
   43e22:	4e75           	rts                                         
   43e24:	242e fffc      	movel %fp@(-4),%d2                          
   43e28:	4e5e           	unlk %fp                                    
      break;                                                          
    case _PC_MAX_CANON:                                               
      return_value = the_limits->max_canon;                           
      break;                                                          
    case _PC_MAX_INPUT:                                               
      return_value = the_limits->max_input;                           
   43e2a:	2028 0040      	movel %a0@(64),%d0                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
   43e2e:	4e75           	rts                                         
   43e30:	242e fffc      	movel %fp@(-4),%d2                          
   43e34:	4e5e           	unlk %fp                                    
  switch ( name ) {                                                   
    case _PC_LINK_MAX:                                                
      return_value = the_limits->link_max;                            
      break;                                                          
    case _PC_MAX_CANON:                                               
      return_value = the_limits->max_canon;                           
   43e36:	2028 003c      	movel %a0@(60),%d0                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
   43e3a:	4e75           	rts                                         
   43e3c:	242e fffc      	movel %fp@(-4),%d2                          
   43e40:	4e5e           	unlk %fp                                    
                                                                      
  the_limits = &iop->pathinfo.mt_entry->pathconf_limits_and_options;  
                                                                      
  switch ( name ) {                                                   
    case _PC_LINK_MAX:                                                
      return_value = the_limits->link_max;                            
   43e42:	2028 0038      	movel %a0@(56),%d0                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
   43e46:	4e75           	rts                                         
   43e48:	242e fffc      	movel %fp@(-4),%d2                          
   43e4c:	4e5e           	unlk %fp                                    
      break;                                                          
    case _PC_PRIO_IO:                                                 
      return_value = the_limits->posix_prio_io;                       
      break;                                                          
    case _PC_SYNC_IO:                                                 
      return_value = the_limits->posix_sync_io;                       
   43e4e:	2028 0060      	movel %a0@(96),%d0                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
   43e52:	4e75           	rts                                         
  rtems_libio_t                          *iop;                        
  rtems_filesystem_limits_and_options_t  *the_limits;                 
                                                                      
  rtems_libio_check_fd(fd);                                           
  iop = rtems_libio_iop(fd);                                          
  rtems_libio_check_is_open(iop);                                     
   43e54:	4eb9 0004 feb0 	jsr 4feb0 <__errno>                         
   43e5a:	7409           	moveq #9,%d2                                
   43e5c:	2040           	moveal %d0,%a0                              
   43e5e:	70ff           	moveq #-1,%d0                               
   43e60:	2082           	movel %d2,%a0@                              
      rtems_set_errno_and_return_minus_one( EINVAL );                 
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
   43e62:	242e fffc      	movel %fp@(-4),%d2                          
   43e66:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00042fe4 <free>: #include <stdlib.h> void free( void *ptr ) {
   42fe4:	4e56 0000      	linkw %fp,#0                                
  MSBUMP(free_calls, 1);                                              
   42fe8:	52b9 0006 0b38 	addql #1,60b38 <rtems_malloc_statistics+0xc>
#include <stdlib.h>                                                   
                                                                      
void free(                                                            
  void *ptr                                                           
)                                                                     
{                                                                     
   42fee:	2f02           	movel %d2,%sp@-                             
   42ff0:	242e 0008      	movel %fp@(8),%d2                           
  MSBUMP(free_calls, 1);                                              
                                                                      
  if ( !ptr )                                                         
   42ff4:	6732           	beqs 43028 <free+0x44>                      
    return;                                                           
                                                                      
  /*                                                                  
   *  Do not attempt to free memory if in a critical section or ISR.  
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
   42ff6:	7003           	moveq #3,%d0                                
   42ff8:	b0b9 0006 0db4 	cmpl 60db4 <_System_state_Current>,%d0      
   42ffe:	6758           	beqs 43058 <free+0x74>                      <== ALWAYS TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
   43000:	2079 0005 faa6 	moveal 5faa6 <rtems_malloc_statistics_helpers>,%a0
   43006:	4a88           	tstl %a0                                    
   43008:	670a           	beqs 43014 <free+0x30>                      
    (*rtems_malloc_statistics_helpers->at_free)(ptr);                 
   4300a:	2f02           	movel %d2,%sp@-                             
   4300c:	2068 0008      	moveal %a0@(8),%a0                          
   43010:	4e90           	jsr %a0@                                    
   43012:	588f           	addql #4,%sp                                
                                                                      
  if ( !_Protected_heap_Free( RTEMS_Malloc_Heap, ptr ) ) {            
   43014:	2f02           	movel %d2,%sp@-                             
   43016:	2f39 0005 f2d0 	movel 5f2d0 <RTEMS_Malloc_Heap>,%sp@-       
   4301c:	4eb9 0004 83cc 	jsr 483cc <_Protected_heap_Free>            
   43022:	508f           	addql #8,%sp                                
   43024:	4a00           	tstb %d0                                    
   43026:	6708           	beqs 43030 <free+0x4c>                      
      RTEMS_Malloc_Heap->area_begin,                                  
      RTEMS_Malloc_Heap->area_end                                     
    );                                                                
  }                                                                   
                                                                      
}                                                                     
   43028:	242e fffc      	movel %fp@(-4),%d2                          
   4302c:	4e5e           	unlk %fp                                    
   4302e:	4e75           	rts                                         
                                                                      
  if ( !_Protected_heap_Free( RTEMS_Malloc_Heap, ptr ) ) {            
    printk( "Program heap: free of bad pointer %p -- range %p - %p \n",
      ptr,                                                            
      RTEMS_Malloc_Heap->area_begin,                                  
      RTEMS_Malloc_Heap->area_end                                     
   43030:	2079 0005 f2d0 	moveal 5f2d0 <RTEMS_Malloc_Heap>,%a0        
   */                                                                 
  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",
   43036:	2f28 001c      	movel %a0@(28),%sp@-                        
   4303a:	2f28 0018      	movel %a0@(24),%sp@-                        
   4303e:	2f02           	movel %d2,%sp@-                             
   43040:	4879 0005 e31a 	pea 5e31a <rtems_status_assoc+0x168>        
   43046:	4eb9 0004 3eb0 	jsr 43eb0 <printk>                          
      RTEMS_Malloc_Heap->area_begin,                                  
      RTEMS_Malloc_Heap->area_end                                     
    );                                                                
  }                                                                   
                                                                      
}                                                                     
   4304c:	242e fffc      	movel %fp@(-4),%d2                          
   */                                                                 
  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",
   43050:	4fef 0010      	lea %sp@(16),%sp                            
      RTEMS_Malloc_Heap->area_begin,                                  
      RTEMS_Malloc_Heap->area_end                                     
    );                                                                
  }                                                                   
                                                                      
}                                                                     
   43054:	4e5e           	unlk %fp                                    
   43056:	4e75           	rts                                         
                                                                      
  /*                                                                  
   *  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() ) {                               
   43058:	4eb9 0004 31a8 	jsr 431a8 <malloc_is_system_state_OK>       
    return;                                                           
                                                                      
  /*                                                                  
   *  Do not attempt to free memory if in a critical section or ISR.  
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
   4305e:	4a00           	tstb %d0                                    
   43060:	669e           	bnes 43000 <free+0x1c>                      
       !malloc_is_system_state_OK() ) {                               
      malloc_deferred_free(ptr);                                      
   43062:	2d42 0008      	movel %d2,%fp@(8)                           
      RTEMS_Malloc_Heap->area_begin,                                  
      RTEMS_Malloc_Heap->area_end                                     
    );                                                                
  }                                                                   
                                                                      
}                                                                     
   43066:	242e fffc      	movel %fp@(-4),%d2                          
   4306a:	4e5e           	unlk %fp                                    
  /*                                                                  
   *  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);                                      
   4306c:	4ef9 0004 322a 	jmp 4322a <malloc_deferred_free>            
	...                                                                  
                                                                      

0004470c <free_user_env>: * NOTE: this must be called with * thread dispatching disabled! */ static void free_user_env(void *venv) {
   4470c:	4e56 0000      	linkw %fp,#0                                
   44710:	2f0b           	movel %a3,%sp@-                             
   44712:	2f0a           	movel %a2,%sp@-                             
   44714:	246e 0008      	moveal %fp@(8),%a2                          
  rtems_user_env_t *env = (rtems_user_env_t*) venv ;                  
                                                                      
  if (env != &rtems_global_user_env                                   
   44718:	b5fc 0006 1534 	cmpal #398644,%a2                           
   4471e:	6728           	beqs 44748 <free_user_env+0x3c>             <== NEVER TAKEN
  #ifdef HAVE_USERENV_REFCNT                                          
      && --env->refcnt <= 0                                           
  #endif                                                              
  ) {                                                                 
    rtems_filesystem_freenode( &env->current_directory);              
   44720:	486a 0004      	pea %a2@(4)                                 
   44724:	47f9 0004 351c 	lea 4351c <rtems_filesystem_freenode>,%a3   
   4472a:	4e93           	jsr %a3@                                    
    rtems_filesystem_freenode( &env->root_directory);                 
   4472c:	486a 0018      	pea %a2@(24)                                
   44730:	4e93           	jsr %a3@                                    
    free(env);                                                        
  }                                                                   
}                                                                     
   44732:	266e fffc      	moveal %fp@(-4),%a3                         
      && --env->refcnt <= 0                                           
  #endif                                                              
  ) {                                                                 
    rtems_filesystem_freenode( &env->current_directory);              
    rtems_filesystem_freenode( &env->root_directory);                 
    free(env);                                                        
   44736:	508f           	addql #8,%sp                                
   44738:	2d4a 0008      	movel %a2,%fp@(8)                           
  }                                                                   
}                                                                     
   4473c:	246e fff8      	moveal %fp@(-8),%a2                         
   44740:	4e5e           	unlk %fp                                    
      && --env->refcnt <= 0                                           
  #endif                                                              
  ) {                                                                 
    rtems_filesystem_freenode( &env->current_directory);              
    rtems_filesystem_freenode( &env->root_directory);                 
    free(env);                                                        
   44742:	4ef9 0004 3530 	jmp 43530 <free>                            
  }                                                                   
}                                                                     
   44748:	246e fff8      	moveal %fp@(-8),%a2                         <== NOT EXECUTED
   4474c:	266e fffc      	moveal %fp@(-4),%a3                         <== NOT EXECUTED
   44750:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0005c868 <fstat>: int fstat( int fd, struct stat *sbuf ) {
   5c868:	4e56 0000      	linkw %fp,#0                                
   5c86c:	202e 0008      	movel %fp@(8),%d0                           
   5c870:	2f0a           	movel %a2,%sp@-                             
   5c872:	2f02           	movel %d2,%sp@-                             
   5c874:	242e 000c      	movel %fp@(12),%d2                          
  rtems_libio_t *iop;                                                 
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
  if ( !sbuf )                                                        
   5c878:	6770           	beqs 5c8ea <fstat+0x82>                     <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  /*                                                                  
   *  Now process the stat() request.                                 
   */                                                                 
  iop = rtems_libio_iop( fd );                                        
   5c87a:	b0b9 0005 f294 	cmpl 5f294 <rtems_libio_number_iops>,%d0    
   5c880:	644e           	bccs 5c8d0 <fstat+0x68>                     
   5c882:	2200           	movel %d0,%d1                               
   5c884:	ed88           	lsll #6,%d0                                 
   5c886:	e789           	lsll #3,%d1                                 
   5c888:	2479 0006 0b14 	moveal 60b14 <rtems_libio_iops>,%a2         
   5c88e:	9081           	subl %d1,%d0                                
   5c890:	d5c0           	addal %d0,%a2                               
  rtems_libio_check_fd( fd );                                         
  rtems_libio_check_is_open(iop);                                     
   5c892:	202a 0014      	movel %a2@(20),%d0                          
   5c896:	0280 0000 0100 	andil #256,%d0                              
   5c89c:	6732           	beqs 5c8d0 <fstat+0x68>                     
                                                                      
  /*                                                                  
   *  Zero out the stat structure so the various support              
   *  versions of stat don't have to.                                 
   */                                                                 
  memset( sbuf, 0, sizeof(struct stat) );                             
   5c89e:	4878 0046      	pea 46 <DBL_MANT_DIG+0x11>                  
   5c8a2:	42a7           	clrl %sp@-                                  
   5c8a4:	2f02           	movel %d2,%sp@-                             
   5c8a6:	4eb9 0004 f4ec 	jsr 4f4ec <memset>                          
                                                                      
  return (*iop->pathinfo.handlers->fstat_h)( &iop->pathinfo, sbuf );  
   5c8ac:	206a 0020      	moveal %a2@(32),%a0                         
   5c8b0:	45ea 0018      	lea %a2@(24),%a2                            
   5c8b4:	4fef 000c      	lea %sp@(12),%sp                            
   5c8b8:	2d42 000c      	movel %d2,%fp@(12)                          
}                                                                     
   5c8bc:	242e fff8      	movel %fp@(-8),%d2                          
   *  Zero out the stat structure so the various support              
   *  versions of stat don't have to.                                 
   */                                                                 
  memset( sbuf, 0, sizeof(struct stat) );                             
                                                                      
  return (*iop->pathinfo.handlers->fstat_h)( &iop->pathinfo, sbuf );  
   5c8c0:	2d4a 0008      	movel %a2,%fp@(8)                           
}                                                                     
   5c8c4:	246e fffc      	moveal %fp@(-4),%a2                         
   5c8c8:	4e5e           	unlk %fp                                    
   *  Zero out the stat structure so the various support              
   *  versions of stat don't have to.                                 
   */                                                                 
  memset( sbuf, 0, sizeof(struct stat) );                             
                                                                      
  return (*iop->pathinfo.handlers->fstat_h)( &iop->pathinfo, sbuf );  
   5c8ca:	2268 0018      	moveal %a0@(24),%a1                         
   5c8ce:	4ed1           	jmp %a1@                                    
  /*                                                                  
   *  Now process the stat() request.                                 
   */                                                                 
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_fd( fd );                                         
  rtems_libio_check_is_open(iop);                                     
   5c8d0:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         
   *  versions of stat don't have to.                                 
   */                                                                 
  memset( sbuf, 0, sizeof(struct stat) );                             
                                                                      
  return (*iop->pathinfo.handlers->fstat_h)( &iop->pathinfo, sbuf );  
}                                                                     
   5c8d6:	242e fff8      	movel %fp@(-8),%d2                          
  /*                                                                  
   *  Now process the stat() request.                                 
   */                                                                 
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_fd( fd );                                         
  rtems_libio_check_is_open(iop);                                     
   5c8da:	2040           	moveal %d0,%a0                              
   5c8dc:	7009           	moveq #9,%d0                                
   *  versions of stat don't have to.                                 
   */                                                                 
  memset( sbuf, 0, sizeof(struct stat) );                             
                                                                      
  return (*iop->pathinfo.handlers->fstat_h)( &iop->pathinfo, sbuf );  
}                                                                     
   5c8de:	246e fffc      	moveal %fp@(-4),%a2                         
   5c8e2:	4e5e           	unlk %fp                                    
  /*                                                                  
   *  Now process the stat() request.                                 
   */                                                                 
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_fd( fd );                                         
  rtems_libio_check_is_open(iop);                                     
   5c8e4:	2080           	movel %d0,%a0@                              
   *  versions of stat don't have to.                                 
   */                                                                 
  memset( sbuf, 0, sizeof(struct stat) );                             
                                                                      
  return (*iop->pathinfo.handlers->fstat_h)( &iop->pathinfo, sbuf );  
}                                                                     
   5c8e6:	70ff           	moveq #-1,%d0                               
   5c8e8:	4e75           	rts                                         
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
  if ( !sbuf )                                                        
    rtems_set_errno_and_return_minus_one( EFAULT );                   
   5c8ea:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         
   *  versions of stat don't have to.                                 
   */                                                                 
  memset( sbuf, 0, sizeof(struct stat) );                             
                                                                      
  return (*iop->pathinfo.handlers->fstat_h)( &iop->pathinfo, sbuf );  
}                                                                     
   5c8f0:	242e fff8      	movel %fp@(-8),%d2                          
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
  if ( !sbuf )                                                        
    rtems_set_errno_and_return_minus_one( EFAULT );                   
   5c8f4:	2040           	moveal %d0,%a0                              
   5c8f6:	720e           	moveq #14,%d1                               
   *  versions of stat don't have to.                                 
   */                                                                 
  memset( sbuf, 0, sizeof(struct stat) );                             
                                                                      
  return (*iop->pathinfo.handlers->fstat_h)( &iop->pathinfo, sbuf );  
}                                                                     
   5c8f8:	70ff           	moveq #-1,%d0                               
   5c8fa:	246e fffc      	moveal %fp@(-4),%a2                         
   5c8fe:	4e5e           	unlk %fp                                    
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
  if ( !sbuf )                                                        
    rtems_set_errno_and_return_minus_one( EFAULT );                   
   5c900:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
   *  versions of stat don't have to.                                 
   */                                                                 
  memset( sbuf, 0, sizeof(struct stat) );                             
                                                                      
  return (*iop->pathinfo.handlers->fstat_h)( &iop->pathinfo, sbuf );  
}                                                                     
                                                                      

00043fc8 <fsync>: #include <rtems/seterr.h> int fsync( int fd ) {
   43fc8:	4e56 0000      	linkw %fp,#0                                
   43fcc:	202e 0008      	movel %fp@(8),%d0                           
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
   43fd0:	b0b9 0006 0fd4 	cmpl 60fd4 <rtems_libio_number_iops>,%d0    
   43fd6:	642e           	bccs 44006 <fsync+0x3e>                     
  iop = rtems_libio_iop( fd );                                        
   43fd8:	2200           	movel %d0,%d1                               
   43fda:	ed88           	lsll #6,%d0                                 
   43fdc:	e789           	lsll #3,%d1                                 
   43fde:	2079 0006 2854 	moveal 62854 <rtems_libio_iops>,%a0         
   43fe4:	9081           	subl %d1,%d0                                
   43fe6:	d1c0           	addal %d0,%a0                               
  rtems_libio_check_is_open(iop);                                     
   43fe8:	2028 0014      	movel %a0@(20),%d0                          
   43fec:	0800 0008      	btst #8,%d0                                 
   43ff0:	6714           	beqs 44006 <fsync+0x3e>                     
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
   43ff2:	44c0           	movew %d0,%ccr                              
   43ff4:	6622           	bnes 44018 <fsync+0x50>                     <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Now process the fsync().                                        
   */                                                                 
                                                                      
  return (*iop->pathinfo.handlers->fsync_h)( iop );                   
   43ff6:	2268 0020      	moveal %a0@(32),%a1                         
   43ffa:	2d48 0008      	movel %a0,%fp@(8)                           
}                                                                     
   43ffe:	4e5e           	unlk %fp                                    
                                                                      
  /*                                                                  
   *  Now process the fsync().                                        
   */                                                                 
                                                                      
  return (*iop->pathinfo.handlers->fsync_h)( iop );                   
   44000:	2269 0028      	moveal %a1@(40),%a1                         
   44004:	4ed1           	jmp %a1@                                    
{                                                                     
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
   44006:	4eb9 0004 feb0 	jsr 4feb0 <__errno>                         
   4400c:	7209           	moveq #9,%d1                                
   4400e:	2040           	moveal %d0,%a0                              
  /*                                                                  
   *  Now process the fsync().                                        
   */                                                                 
                                                                      
  return (*iop->pathinfo.handlers->fsync_h)( iop );                   
}                                                                     
   44010:	70ff           	moveq #-1,%d0                               
   44012:	4e5e           	unlk %fp                                    
{                                                                     
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
   44014:	2081           	movel %d1,%a0@                              
  /*                                                                  
   *  Now process the fsync().                                        
   */                                                                 
                                                                      
  return (*iop->pathinfo.handlers->fsync_h)( iop );                   
}                                                                     
   44016:	4e75           	rts                                         
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
   44018:	4eb9 0004 feb0 	jsr 4feb0 <__errno>                         
  /*                                                                  
   *  Now process the fsync().                                        
   */                                                                 
                                                                      
  return (*iop->pathinfo.handlers->fsync_h)( iop );                   
}                                                                     
   4401e:	4e5e           	unlk %fp                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
   44020:	2040           	moveal %d0,%a0                              
   44022:	7016           	moveq #22,%d0                               
   44024:	2080           	movel %d0,%a0@                              
  /*                                                                  
   *  Now process the fsync().                                        
   */                                                                 
                                                                      
  return (*iop->pathinfo.handlers->fsync_h)( iop );                   
}                                                                     
   44026:	70ff           	moveq #-1,%d0                               
	...                                                                  
                                                                      

0005e4c0 <getdents>: int getdents( int dd_fd, char *dd_buf, int dd_len ) {
   5e4c0:	4e56 ffec      	linkw %fp,#-20                              
   5e4c4:	202e 0008      	movel %fp@(8),%d0                           
   5e4c8:	2f0a           	movel %a2,%sp@-                             
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  /*                                                                  
   *  Get the file control block structure associated with the file descriptor
   */                                                                 
  iop = rtems_libio_iop( dd_fd );                                     
   5e4ca:	b0b9 0006 1774 	cmpl 61774 <rtems_libio_number_iops>,%d0    
   5e4d0:	6464           	bccs 5e536 <getdents+0x76>                  <== NEVER TAKEN
   5e4d2:	2200           	movel %d0,%d1                               
   5e4d4:	ed88           	lsll #6,%d0                                 
   5e4d6:	e789           	lsll #3,%d1                                 
   5e4d8:	2479 0006 3104 	moveal 63104 <rtems_libio_iops>,%a2         
   5e4de:	9081           	subl %d1,%d0                                
   5e4e0:	d5c0           	addal %d0,%a2                               
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
   5e4e2:	2d6a 0018 ffec 	movel %a2@(24),%fp@(-20)                    
   5e4e8:	2d6a 001c fff0 	movel %a2@(28),%fp@(-16)                    
   5e4ee:	2d6a 0020 fff4 	movel %a2@(32),%fp@(-12)                    
   5e4f4:	2d6a 0024 fff8 	movel %a2@(36),%fp@(-8)                     
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY )
   5e4fa:	206e fff8      	moveal %fp@(-8),%a0                         
  iop = rtems_libio_iop( dd_fd );                                     
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
   5e4fe:	2d6a 0028 fffc 	movel %a2@(40),%fp@(-4)                     
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY )
   5e504:	486e ffec      	pea %fp@(-20)                               
   5e508:	2068 0010      	moveal %a0@(16),%a0                         
   5e50c:	4e90           	jsr %a0@                                    
   5e50e:	588f           	addql #4,%sp                                
   5e510:	7201           	moveq #1,%d1                                
   5e512:	b280           	cmpl %d0,%d1                                
   5e514:	6624           	bnes 5e53a <getdents+0x7a>                  
                                                                      
  /*                                                                  
   *  Return the number of bytes that were actually transfered as a result
   *  of the read attempt.                                            
   */                                                                 
  return (*iop->pathinfo.handlers->read_h)( iop, dd_buf, dd_len  );   
   5e516:	206a 0020      	moveal %a2@(32),%a0                         
   5e51a:	2f2e 0010      	movel %fp@(16),%sp@-                        
   5e51e:	2f2e 000c      	movel %fp@(12),%sp@-                        
   5e522:	2f0a           	movel %a2,%sp@-                             
   5e524:	2068 0008      	moveal %a0@(8),%a0                          
   5e528:	4e90           	jsr %a0@                                    
}                                                                     
   5e52a:	246e ffe8      	moveal %fp@(-24),%a2                        
                                                                      
  /*                                                                  
   *  Return the number of bytes that were actually transfered as a result
   *  of the read attempt.                                            
   */                                                                 
  return (*iop->pathinfo.handlers->read_h)( iop, dd_buf, dd_len  );   
   5e52e:	4fef 000c      	lea %sp@(12),%sp                            
}                                                                     
   5e532:	4e5e           	unlk %fp                                    
   5e534:	4e75           	rts                                         
  rtems_filesystem_location_info_t  loc;                              
                                                                      
  /*                                                                  
   *  Get the file control block structure associated with the file descriptor
   */                                                                 
  iop = rtems_libio_iop( dd_fd );                                     
   5e536:	95ca           	subal %a2,%a2                               <== NOT EXECUTED
   5e538:	60a8           	bras 5e4e2 <getdents+0x22>                  <== NOT EXECUTED
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY )
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
   5e53a:	4eb9 0004 ff7c 	jsr 4ff7c <__errno>                         
  /*                                                                  
   *  Return the number of bytes that were actually transfered as a result
   *  of the read attempt.                                            
   */                                                                 
  return (*iop->pathinfo.handlers->read_h)( iop, dd_buf, dd_len  );   
}                                                                     
   5e540:	246e ffe8      	moveal %fp@(-24),%a2                        
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY )
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
   5e544:	2040           	moveal %d0,%a0                              
   5e546:	7214           	moveq #20,%d1                               
   5e548:	70ff           	moveq #-1,%d0                               
  /*                                                                  
   *  Return the number of bytes that were actually transfered as a result
   *  of the read attempt.                                            
   */                                                                 
  return (*iop->pathinfo.handlers->read_h)( iop, dd_buf, dd_len  );   
}                                                                     
   5e54a:	4e5e           	unlk %fp                                    
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY )
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
   5e54c:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
  /*                                                                  
   *  Return the number of bytes that were actually transfered as a result
   *  of the read attempt.                                            
   */                                                                 
  return (*iop->pathinfo.handlers->read_h)( iop, dd_buf, dd_len  );   
}                                                                     
                                                                      

00043b9c <getgr_r>: struct group *grp, char *buffer, size_t bufsize, struct group **result ) {
   43b9c:	4e56 ffe0      	linkw %fp,#-32                              
   43ba0:	48d7 1c7c      	moveml %d2-%d6/%a2-%a4,%sp@                 
   43ba4:	242e 0008      	movel %fp@(8),%d2                           
   43ba8:	47fa fce0      	lea %pc@(4388a <scangr>),%a3                
  for(;;) {                                                           
    if (!scangr(fp, grp, buffer, bufsize))                            
      goto error_einval;                                              
                                                                      
    if (name) {                                                       
      match = (strcmp(grp->gr_name, name) == 0);                      
   43bac:	49f9 0005 148c 	lea 5148c <strcmp>,%a4                      
  struct group   *grp,                                                
  char           *buffer,                                             
  size_t          bufsize,                                            
  struct group  **result                                              
)                                                                     
{                                                                     
   43bb2:	2c2e 000c      	movel %fp@(12),%d6                          
   43bb6:	246e 0010      	moveal %fp@(16),%a2                         
   43bba:	2a2e 0014      	movel %fp@(20),%d5                          
   43bbe:	282e 0018      	movel %fp@(24),%d4                          
  FILE *fp;                                                           
  int match;                                                          
                                                                      
  init_etc_passwd_group();                                            
   43bc2:	4eb9 0004 3a92 	jsr 43a92 <init_etc_passwd_group>           
                                                                      
  if ((fp = fopen("/etc/group", "r")) == NULL)                        
   43bc8:	4879 0006 063d 	pea 6063d <_global_impure_ptr+0xbf>         
   43bce:	4879 0005 fdce 	pea 5fdce <rtems_status_assoc+0x21a>        
   43bd4:	4eb9 0005 030c 	jsr 5030c <fopen>                           
   43bda:	508f           	addql #8,%sp                                
   43bdc:	2600           	movel %d0,%d3                               
   43bde:	6778           	beqs 43c58 <getgr_r+0xbc>                   <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  for(;;) {                                                           
    if (!scangr(fp, grp, buffer, bufsize))                            
   43be0:	2f04           	movel %d4,%sp@-                             
   43be2:	2f05           	movel %d5,%sp@-                             
   43be4:	2f0a           	movel %a2,%sp@-                             
   43be6:	2f03           	movel %d3,%sp@-                             
   43be8:	4e93           	jsr %a3@                                    
   43bea:	4fef 0010      	lea %sp@(16),%sp                            
   43bee:	4a80           	tstl %d0                                    
   43bf0:	6744           	beqs 43c36 <getgr_r+0x9a>                   
      goto error_einval;                                              
                                                                      
    if (name) {                                                       
   43bf2:	4a82           	tstl %d2                                    
   43bf4:	672e           	beqs 43c24 <getgr_r+0x88>                   
      match = (strcmp(grp->gr_name, name) == 0);                      
   43bf6:	2f02           	movel %d2,%sp@-                             
   43bf8:	2f12           	movel %a2@,%sp@-                            
   43bfa:	4e94           	jsr %a4@                                    
   43bfc:	508f           	addql #8,%sp                                
   43bfe:	4a80           	tstl %d0                                    
   43c00:	57c0           	seq %d0                                     
   43c02:	49c0           	extbl %d0                                   
   43c04:	4480           	negl %d0                                    
    } else {                                                          
      match = (grp->gr_gid == gid);                                   
    }                                                                 
                                                                      
    if (match) {                                                      
   43c06:	67d8           	beqs 43be0 <getgr_r+0x44>                   
      fclose(fp);                                                     
   43c08:	2f03           	movel %d3,%sp@-                             
   43c0a:	4eb9 0004 fc0e 	jsr 4fc0e <fclose>                          
      *result = grp;                                                  
   43c10:	206e 001c      	moveal %fp@(28),%a0                         
      return 0;                                                       
   43c14:	588f           	addql #4,%sp                                
   43c16:	4280           	clrl %d0                                    
      match = (grp->gr_gid == gid);                                   
    }                                                                 
                                                                      
    if (match) {                                                      
      fclose(fp);                                                     
      *result = grp;                                                  
   43c18:	208a           	movel %a2,%a0@                              
    }                                                                 
  }                                                                   
error_einval:                                                         
  fclose(fp);                                                         
  rtems_set_errno_and_return_minus_one( EINVAL );                     
}                                                                     
   43c1a:	4cee 1c7c ffe0 	moveml %fp@(-32),%d2-%d6/%a2-%a4            
   43c20:	4e5e           	unlk %fp                                    
   43c22:	4e75           	rts                                         
      goto error_einval;                                              
                                                                      
    if (name) {                                                       
      match = (strcmp(grp->gr_name, name) == 0);                      
    } else {                                                          
      match = (grp->gr_gid == gid);                                   
   43c24:	4280           	clrl %d0                                    
   43c26:	302a 0008      	movew %a2@(8),%d0                           
   43c2a:	bc80           	cmpl %d0,%d6                                
   43c2c:	57c0           	seq %d0                                     
   43c2e:	49c0           	extbl %d0                                   
   43c30:	4480           	negl %d0                                    
    }                                                                 
                                                                      
    if (match) {                                                      
   43c32:	67ac           	beqs 43be0 <getgr_r+0x44>                   
   43c34:	60d2           	bras 43c08 <getgr_r+0x6c>                   
      *result = grp;                                                  
      return 0;                                                       
    }                                                                 
  }                                                                   
error_einval:                                                         
  fclose(fp);                                                         
   43c36:	2f03           	movel %d3,%sp@-                             
   43c38:	4eb9 0004 fc0e 	jsr 4fc0e <fclose>                          
  rtems_set_errno_and_return_minus_one( EINVAL );                     
   43c3e:	4eb9 0004 fac0 	jsr 4fac0 <__errno>                         
   43c44:	588f           	addql #4,%sp                                
   43c46:	7216           	moveq #22,%d1                               
   43c48:	2040           	moveal %d0,%a0                              
   43c4a:	70ff           	moveq #-1,%d0                               
}                                                                     
   43c4c:	4cee 1c7c ffe0 	moveml %fp@(-32),%d2-%d6/%a2-%a4            
      return 0;                                                       
    }                                                                 
  }                                                                   
error_einval:                                                         
  fclose(fp);                                                         
  rtems_set_errno_and_return_minus_one( EINVAL );                     
   43c52:	2081           	movel %d1,%a0@                              
}                                                                     
   43c54:	4e5e           	unlk %fp                                    
   43c56:	4e75           	rts                                         
  int match;                                                          
                                                                      
  init_etc_passwd_group();                                            
                                                                      
  if ((fp = fopen("/etc/group", "r")) == NULL)                        
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   43c58:	4eb9 0004 fac0 	jsr 4fac0 <__errno>                         
   43c5e:	7416           	moveq #22,%d2                               
   43c60:	2040           	moveal %d0,%a0                              
   43c62:	70ff           	moveq #-1,%d0                               
   43c64:	2082           	movel %d2,%a0@                              
    }                                                                 
  }                                                                   
error_einval:                                                         
  fclose(fp);                                                         
  rtems_set_errno_and_return_minus_one( EINVAL );                     
}                                                                     
   43c66:	4cee 1c7c ffe0 	moveml %fp@(-32),%d2-%d6/%a2-%a4            
   43c6c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004de74 <imfs_dir_open>: IMFS_jnode_t *the_jnode; /* Is the node a directory ? */ the_jnode = (IMFS_jnode_t *) iop->pathinfo.node_access; if ( the_jnode->type != IMFS_DIRECTORY )
   4de74:	7001           	moveq #1,%d0                                
  rtems_libio_t  *iop,                                                
  const char *pathname,                                               
  uint32_t   flag,                                                    
  uint32_t   mode                                                     
)                                                                     
{                                                                     
   4de76:	4e56 0000      	linkw %fp,#0                                
   4de7a:	206e 0008      	moveal %fp@(8),%a0                          
  IMFS_jnode_t      *the_jnode;                                       
                                                                      
  /* Is the node a directory ? */                                     
  the_jnode = (IMFS_jnode_t *) iop->pathinfo.node_access;             
                                                                      
  if ( the_jnode->type != IMFS_DIRECTORY )                            
   4de7e:	2268 0018      	moveal %a0@(24),%a1                         
  rtems_libio_t  *iop,                                                
  const char *pathname,                                               
  uint32_t   flag,                                                    
  uint32_t   mode                                                     
)                                                                     
{                                                                     
   4de82:	2f02           	movel %d2,%sp@-                             
  IMFS_jnode_t      *the_jnode;                                       
                                                                      
  /* Is the node a directory ? */                                     
  the_jnode = (IMFS_jnode_t *) iop->pathinfo.node_access;             
                                                                      
  if ( the_jnode->type != IMFS_DIRECTORY )                            
   4de84:	b0a9 0048      	cmpl %a1@(72),%d0                           
   4de88:	6708           	beqs 4de92 <imfs_dir_open+0x1e>             <== ALWAYS TAKEN
     return -1;      /* It wasn't a directory --> return error */     
                                                                      
  iop->offset = 0;                                                    
  return 0;                                                           
}                                                                     
   4de8a:	241f           	movel %sp@+,%d2                             <== NOT EXECUTED
                                                                      
  /* Is the node a directory ? */                                     
  the_jnode = (IMFS_jnode_t *) iop->pathinfo.node_access;             
                                                                      
  if ( the_jnode->type != IMFS_DIRECTORY )                            
     return -1;      /* It wasn't a directory --> return error */     
   4de8c:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
                                                                      
  iop->offset = 0;                                                    
  return 0;                                                           
}                                                                     
   4de8e:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   4de90:	4e75           	rts                                         <== NOT EXECUTED
                                                                      
  if ( the_jnode->type != IMFS_DIRECTORY )                            
     return -1;      /* It wasn't a directory --> return error */     
                                                                      
  iop->offset = 0;                                                    
  return 0;                                                           
   4de92:	4200           	clrb %d0                                    
  the_jnode = (IMFS_jnode_t *) iop->pathinfo.node_access;             
                                                                      
  if ( the_jnode->type != IMFS_DIRECTORY )                            
     return -1;      /* It wasn't a directory --> return error */     
                                                                      
  iop->offset = 0;                                                    
   4de94:	4281           	clrl %d1                                    
   4de96:	4282           	clrl %d2                                    
   4de98:	2141 000c      	movel %d1,%a0@(12)                          
   4de9c:	2142 0010      	movel %d2,%a0@(16)                          
  return 0;                                                           
}                                                                     
   4dea0:	241f           	movel %sp@+,%d2                             
   4dea2:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004e0d6 <imfs_dir_rmnod>: int imfs_dir_rmnod( rtems_filesystem_location_info_t *parent_pathloc, /* IN */ rtems_filesystem_location_info_t *pathloc /* IN */ ) {
   4e0d6:	4e56 0000      	linkw %fp,#0                                
   4e0da:	206e 000c      	moveal %fp@(12),%a0                         
   4e0de:	2f0a           	movel %a2,%sp@-                             
  IMFS_jnode_t *the_jnode;                                            
                                                                      
  the_jnode = (IMFS_jnode_t *) pathloc->node_access;                  
   4e0e0:	2450           	moveal %a0@,%a2                             
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
   4e0e2:	200a           	movel %a2,%d0                               
   4e0e4:	0680 0000 0050 	addil #80,%d0                               
                                                                      
  /*                                                                  
   * You cannot remove a node that still has children                 
   */                                                                 
                                                                      
  if ( ! rtems_chain_is_empty( &the_jnode->info.directory.Entries ) ) 
   4e0ea:	b0aa 004c      	cmpl %a2@(76),%d0                           
   4e0ee:	6642           	bnes 4e132 <imfs_dir_rmnod+0x5c>            
                                                                      
  /*                                                                  
   * You cannot remove the file system root node.                     
   */                                                                 
                                                                      
  if ( pathloc->mt_entry->mt_fs_root.node_access == pathloc->node_access )
   4e0f0:	2068 0010      	moveal %a0@(16),%a0                         
   4e0f4:	b5e8 001c      	cmpal %a0@(28),%a2                          
   4e0f8:	6722           	beqs 4e11c <imfs_dir_rmnod+0x46>            
                                                                      
  /*                                                                  
   * You cannot remove a mountpoint.                                  
   */                                                                 
                                                                      
   if ( the_jnode->info.directory.mt_fs != NULL )                     
   4e0fa:	4aaa 0058      	tstl %a2@(88)                               
   4e0fe:	661c           	bnes 4e11c <imfs_dir_rmnod+0x46>            <== NEVER TAKEN
     rtems_set_errno_and_return_minus_one( EBUSY );                   
                                                                      
  IMFS_create_orphan( the_jnode );                                    
   4e100:	2f0a           	movel %a2,%sp@-                             
   4e102:	4eb9 0004 aed8 	jsr 4aed8 <IMFS_create_orphan>              
  IMFS_check_node_remove( the_jnode );                                
   4e108:	2f0a           	movel %a2,%sp@-                             
   4e10a:	4eb9 0004 af1c 	jsr 4af1c <IMFS_check_node_remove>          
                                                                      
  return 0;                                                           
}                                                                     
   4e110:	246e fffc      	moveal %fp@(-4),%a2                         
     rtems_set_errno_and_return_minus_one( EBUSY );                   
                                                                      
  IMFS_create_orphan( the_jnode );                                    
  IMFS_check_node_remove( the_jnode );                                
                                                                      
  return 0;                                                           
   4e114:	508f           	addql #8,%sp                                
   4e116:	4280           	clrl %d0                                    
}                                                                     
   4e118:	4e5e           	unlk %fp                                    
   4e11a:	4e75           	rts                                         
  /*                                                                  
   * You cannot remove a mountpoint.                                  
   */                                                                 
                                                                      
   if ( the_jnode->info.directory.mt_fs != NULL )                     
     rtems_set_errno_and_return_minus_one( EBUSY );                   
   4e11c:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         
                                                                      
  IMFS_create_orphan( the_jnode );                                    
  IMFS_check_node_remove( the_jnode );                                
                                                                      
  return 0;                                                           
}                                                                     
   4e122:	246e fffc      	moveal %fp@(-4),%a2                         
  /*                                                                  
   * You cannot remove a mountpoint.                                  
   */                                                                 
                                                                      
   if ( the_jnode->info.directory.mt_fs != NULL )                     
     rtems_set_errno_and_return_minus_one( EBUSY );                   
   4e126:	2040           	moveal %d0,%a0                              
   4e128:	7210           	moveq #16,%d1                               
   4e12a:	70ff           	moveq #-1,%d0                               
                                                                      
  IMFS_create_orphan( the_jnode );                                    
  IMFS_check_node_remove( the_jnode );                                
                                                                      
  return 0;                                                           
}                                                                     
   4e12c:	4e5e           	unlk %fp                                    
  /*                                                                  
   * You cannot remove a mountpoint.                                  
   */                                                                 
                                                                      
   if ( the_jnode->info.directory.mt_fs != NULL )                     
     rtems_set_errno_and_return_minus_one( EBUSY );                   
   4e12e:	2081           	movel %d1,%a0@                              
                                                                      
  IMFS_create_orphan( the_jnode );                                    
  IMFS_check_node_remove( the_jnode );                                
                                                                      
  return 0;                                                           
}                                                                     
   4e130:	4e75           	rts                                         
  /*                                                                  
   * You cannot remove a node that still has children                 
   */                                                                 
                                                                      
  if ( ! rtems_chain_is_empty( &the_jnode->info.directory.Entries ) ) 
     rtems_set_errno_and_return_minus_one( ENOTEMPTY );               
   4e132:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         
                                                                      
  IMFS_create_orphan( the_jnode );                                    
  IMFS_check_node_remove( the_jnode );                                
                                                                      
  return 0;                                                           
}                                                                     
   4e138:	246e fffc      	moveal %fp@(-4),%a2                         
  /*                                                                  
   * You cannot remove a node that still has children                 
   */                                                                 
                                                                      
  if ( ! rtems_chain_is_empty( &the_jnode->info.directory.Entries ) ) 
     rtems_set_errno_and_return_minus_one( ENOTEMPTY );               
   4e13c:	2040           	moveal %d0,%a0                              
   4e13e:	725a           	moveq #90,%d1                               
   4e140:	70ff           	moveq #-1,%d0                               
                                                                      
  IMFS_create_orphan( the_jnode );                                    
  IMFS_check_node_remove( the_jnode );                                
                                                                      
  return 0;                                                           
}                                                                     
   4e142:	4e5e           	unlk %fp                                    
  /*                                                                  
   * You cannot remove a node that still has children                 
   */                                                                 
                                                                      
  if ( ! rtems_chain_is_empty( &the_jnode->info.directory.Entries ) ) 
     rtems_set_errno_and_return_minus_one( ENOTEMPTY );               
   4e144:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
                                                                      
  IMFS_create_orphan( the_jnode );                                    
  IMFS_check_node_remove( the_jnode );                                
                                                                      
  return 0;                                                           
}                                                                     
                                                                      

00044fc8 <iproc>: /* * Process a single input character */ static int iproc (unsigned char c, struct rtems_termios_tty *tty) {
   44fc8:	4e56 fff4      	linkw %fp,#-12                              
   44fcc:	222e 0008      	movel %fp@(8),%d1                           
   44fd0:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
   44fd4:	246e 000c      	moveal %fp@(12),%a2                         
  if (tty->termios.c_iflag & ISTRIP)                                  
   44fd8:	202a 0030      	movel %a2@(48),%d0                          
/*                                                                    
 * Process a single input character                                   
 */                                                                   
static int                                                            
iproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
   44fdc:	1401           	moveb %d1,%d2                               
  if (tty->termios.c_iflag & ISTRIP)                                  
   44fde:	0800 0005      	btst #5,%d0                                 
   44fe2:	6704           	beqs 44fe8 <iproc+0x20>                     <== ALWAYS TAKEN
    c &= 0x7f;                                                        
   44fe4:	747f           	moveq #127,%d2                              <== NOT EXECUTED
   44fe6:	c481           	andl %d1,%d2                                <== NOT EXECUTED
                                                                      
  if (tty->termios.c_iflag & IUCLC)                                   
   44fe8:	0800 0009      	btst #9,%d0                                 
   44fec:	6720           	beqs 4500e <iproc+0x46>                     
    c = tolower (c);                                                  
   44fee:	2079 0005 f5a8 	moveal 5f5a8 <__ctype_ptr__>,%a0            
   44ff4:	7603           	moveq #3,%d3                                
   44ff6:	0282 0000 00ff 	andil #255,%d2                              
   44ffc:	1230 2801      	moveb %a0@(00000001,%d2:l),%d1              
   45000:	49c1           	extbl %d1                                   
   45002:	c283           	andl %d3,%d1                                
   45004:	163c 0001      	moveb #1,%d3                                
   45008:	b681           	cmpl %d1,%d3                                
   4500a:	6700 00e0      	beqw 450ec <iproc+0x124>                    
                                                                      
  if (c == '\r') {                                                    
   4500e:	4281           	clrl %d1                                    
   45010:	1202           	moveb %d2,%d1                               
   45012:	760d           	moveq #13,%d3                               
   45014:	b681           	cmpl %d1,%d3                                
   45016:	6740           	beqs 45058 <iproc+0x90>                     
    if (tty->termios.c_iflag & IGNCR)                                 
      return 0;                                                       
    if (tty->termios.c_iflag & ICRNL)                                 
      c = '\n';                                                       
  } else if ((c == '\n') && (tty->termios.c_iflag & INLCR)) {         
   45018:	760a           	moveq #10,%d3                               
   4501a:	b681           	cmpl %d1,%d3                                
   4501c:	6700 00c4      	beqw 450e2 <iproc+0x11a>                    
    c = '\r';                                                         
  }                                                                   
                                                                      
  if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {               
   45020:	4a02           	tstb %d2                                    
   45022:	664c           	bnes 45070 <iproc+0xa8>                     <== ALWAYS TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   * FIXME: Should do IMAXBEL handling somehow                        
   */                                                                 
  if (tty->ccount < (CBUFSIZE-1)) {                                   
   45024:	2039 0005 f4d4 	movel 5f4d4 <rtems_termios_cbufsize>,%d0    
   4502a:	5380           	subql #1,%d0                                
   4502c:	222a 0020      	movel %a2@(32),%d1                          
   45030:	b081           	cmpl %d1,%d0                                
   45032:	6f28           	bles 4505c <iproc+0x94>                     <== NEVER TAKEN
    if (tty->termios.c_lflag & ECHO)                                  
   45034:	7008           	moveq #8,%d0                                
   45036:	c0aa 003c      	andl %a2@(60),%d0                           
   4503a:	6600 00ba      	bnew 450f6 <iproc+0x12e>                    
      echo (c, tty);                                                  
    tty->cbuf[tty->ccount++] = c;                                     
   4503e:	206a 001c      	moveal %a2@(28),%a0                         <== NOT EXECUTED
  }                                                                   
  return 0;                                                           
   45042:	4280           	clrl %d0                                    <== 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;                                     
   45044:	1182 1800      	moveb %d2,%a0@(00000000,%d1:l)              <== NOT EXECUTED
   45048:	5281           	addql #1,%d1                                <== NOT EXECUTED
   4504a:	2541 0020      	movel %d1,%a2@(32)                          <== NOT EXECUTED
  }                                                                   
  return 0;                                                           
}                                                                     
   4504e:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
   45054:	4e5e           	unlk %fp                                    
   45056:	4e75           	rts                                         
                                                                      
  if (tty->termios.c_iflag & IUCLC)                                   
    c = tolower (c);                                                  
                                                                      
  if (c == '\r') {                                                    
    if (tty->termios.c_iflag & IGNCR)                                 
   45058:	4a00           	tstb %d0                                    
   4505a:	6c0c           	bges 45068 <iproc+0xa0>                     <== ALWAYS TAKEN
  if (tty->ccount < (CBUFSIZE-1)) {                                   
    if (tty->termios.c_lflag & ECHO)                                  
      echo (c, tty);                                                  
    tty->cbuf[tty->ccount++] = c;                                     
  }                                                                   
  return 0;                                                           
   4505c:	4280           	clrl %d0                                    <== NOT EXECUTED
}                                                                     
   4505e:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                <== NOT EXECUTED
   45064:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   45066:	4e75           	rts                                         <== NOT EXECUTED
    c = tolower (c);                                                  
                                                                      
  if (c == '\r') {                                                    
    if (tty->termios.c_iflag & IGNCR)                                 
      return 0;                                                       
    if (tty->termios.c_iflag & ICRNL)                                 
   45068:	0800 0008      	btst #8,%d0                                 
   4506c:	6702           	beqs 45070 <iproc+0xa8>                     <== NEVER TAKEN
      c = '\n';                                                       
   4506e:	740a           	moveq #10,%d2                               
  } else if ((c == '\n') && (tty->termios.c_iflag & INLCR)) {         
    c = '\r';                                                         
  }                                                                   
                                                                      
  if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {               
   45070:	222a 003c      	movel %a2@(60),%d1                          
   45074:	0801 0001      	btst #1,%d1                                 
   45078:	67aa           	beqs 45024 <iproc+0x5c>                     
    if (c == tty->termios.c_cc[VERASE]) {                             
   4507a:	4283           	clrl %d3                                    
   4507c:	162a 0043      	moveb %a2@(67),%d3                          
   45080:	4280           	clrl %d0                                    
   45082:	1002           	moveb %d2,%d0                               
   45084:	b083           	cmpl %d3,%d0                                
   45086:	6700 0122      	beqw 451aa <iproc+0x1e2>                    
      erase (tty, 0);                                                 
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VKILL]) {                         
   4508a:	4283           	clrl %d3                                    
   4508c:	162a 0044      	moveb %a2@(68),%d3                          
   45090:	b083           	cmpl %d3,%d0                                
   45092:	6700 00a8      	beqw 4513c <iproc+0x174>                    
      erase (tty, 1);                                                 
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VEOF]) {                          
   45096:	4283           	clrl %d3                                    
   45098:	162a 0045      	moveb %a2@(69),%d3                          
   4509c:	b083           	cmpl %d3,%d0                                
   4509e:	6700 00fe      	beqw 4519e <iproc+0x1d6>                    
      return 1;                                                       
    } else if (c == '\n') {                                           
   450a2:	760a           	moveq #10,%d3                               
   450a4:	b680           	cmpl %d0,%d3                                
   450a6:	6700 00ac      	beqw 45154 <iproc+0x18c>                    
      if (tty->termios.c_lflag & (ECHO | ECHONL))                     
        echo (c, tty);                                                
      tty->cbuf[tty->ccount++] = c;                                   
      return 1;                                                       
    } else if ((c == tty->termios.c_cc[VEOL]) ||                      
   450aa:	4283           	clrl %d3                                    
   450ac:	162a 004c      	moveb %a2@(76),%d3                          
   450b0:	b083           	cmpl %d3,%d0                                
   450b2:	670c           	beqs 450c0 <iproc+0xf8>                     <== NEVER TAKEN
   450b4:	4283           	clrl %d3                                    
   450b6:	162a 0051      	moveb %a2@(81),%d3                          
   450ba:	b083           	cmpl %d3,%d0                                
   450bc:	6600 ff66      	bnew 45024 <iproc+0x5c>                     
               (c == tty->termios.c_cc[VEOL2])) {                     
      if (tty->termios.c_lflag & ECHO)                                
   450c0:	44c1           	movew %d1,%ccr                              <== NOT EXECUTED
   450c2:	6b58           	bmis 4511c <iproc+0x154>                    <== NOT EXECUTED
        echo (c, tty);                                                
      tty->cbuf[tty->ccount++] = c;                                   
   450c4:	222a 0020      	movel %a2@(32),%d1                          <== NOT EXECUTED
      return 1;                                                       
   450c8:	7001           	moveq #1,%d0                                <== NOT EXECUTED
      return 1;                                                       
    } else if ((c == tty->termios.c_cc[VEOL]) ||                      
               (c == tty->termios.c_cc[VEOL2])) {                     
      if (tty->termios.c_lflag & ECHO)                                
        echo (c, tty);                                                
      tty->cbuf[tty->ccount++] = c;                                   
   450ca:	206a 001c      	moveal %a2@(28),%a0                         <== NOT EXECUTED
   450ce:	1182 1800      	moveb %d2,%a0@(00000000,%d1:l)              <== NOT EXECUTED
   450d2:	5281           	addql #1,%d1                                <== NOT EXECUTED
   450d4:	2541 0020      	movel %d1,%a2@(32)                          <== NOT EXECUTED
    if (tty->termios.c_lflag & ECHO)                                  
      echo (c, tty);                                                  
    tty->cbuf[tty->ccount++] = c;                                     
  }                                                                   
  return 0;                                                           
}                                                                     
   450d8:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                <== NOT EXECUTED
   450de:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   450e0:	4e75           	rts                                         <== NOT EXECUTED
  if (c == '\r') {                                                    
    if (tty->termios.c_iflag & IGNCR)                                 
      return 0;                                                       
    if (tty->termios.c_iflag & ICRNL)                                 
      c = '\n';                                                       
  } else if ((c == '\n') && (tty->termios.c_iflag & INLCR)) {         
   450e2:	0800 0006      	btst #6,%d0                                 
   450e6:	6788           	beqs 45070 <iproc+0xa8>                     <== ALWAYS TAKEN
    c = '\r';                                                         
   450e8:	740d           	moveq #13,%d2                               <== NOT EXECUTED
   450ea:	6084           	bras 45070 <iproc+0xa8>                     <== NOT EXECUTED
{                                                                     
  if (tty->termios.c_iflag & ISTRIP)                                  
    c &= 0x7f;                                                        
                                                                      
  if (tty->termios.c_iflag & IUCLC)                                   
    c = tolower (c);                                                  
   450ec:	0682 0000 0020 	addil #32,%d2                               
   450f2:	6000 ff1a      	braw 4500e <iproc+0x46>                     
  /*                                                                  
   * FIXME: Should do IMAXBEL handling somehow                        
   */                                                                 
  if (tty->ccount < (CBUFSIZE-1)) {                                   
    if (tty->termios.c_lflag & ECHO)                                  
      echo (c, tty);                                                  
   450f6:	2f0a           	movel %a2,%sp@-                             
   450f8:	4280           	clrl %d0                                    
   450fa:	1002           	moveb %d2,%d0                               
   450fc:	2f00           	movel %d0,%sp@-                             
   450fe:	4eba fc2c      	jsr %pc@(44d2c <echo>)                      
   45102:	222a 0020      	movel %a2@(32),%d1                          
   45106:	508f           	addql #8,%sp                                
    tty->cbuf[tty->ccount++] = c;                                     
  }                                                                   
  return 0;                                                           
   45108:	4280           	clrl %d0                                    
   * 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;                                     
   4510a:	206a 001c      	moveal %a2@(28),%a0                         
   4510e:	1182 1800      	moveb %d2,%a0@(00000000,%d1:l)              
   45112:	5281           	addql #1,%d1                                
   45114:	2541 0020      	movel %d1,%a2@(32)                          
   45118:	6000 ff34      	braw 4504e <iproc+0x86>                     
      tty->cbuf[tty->ccount++] = c;                                   
      return 1;                                                       
    } else if ((c == tty->termios.c_cc[VEOL]) ||                      
               (c == tty->termios.c_cc[VEOL2])) {                     
      if (tty->termios.c_lflag & ECHO)                                
        echo (c, tty);                                                
   4511c:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   4511e:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   45120:	4eba fc0a      	jsr %pc@(44d2c <echo>)                      <== NOT EXECUTED
      tty->cbuf[tty->ccount++] = c;                                   
   45124:	222a 0020      	movel %a2@(32),%d1                          <== NOT EXECUTED
      tty->cbuf[tty->ccount++] = c;                                   
      return 1;                                                       
    } else if ((c == tty->termios.c_cc[VEOL]) ||                      
               (c == tty->termios.c_cc[VEOL2])) {                     
      if (tty->termios.c_lflag & ECHO)                                
        echo (c, tty);                                                
   45128:	508f           	addql #8,%sp                                <== NOT EXECUTED
      tty->cbuf[tty->ccount++] = c;                                   
      return 1;                                                       
   4512a:	7001           	moveq #1,%d0                                <== NOT EXECUTED
      return 1;                                                       
    } else if ((c == tty->termios.c_cc[VEOL]) ||                      
               (c == tty->termios.c_cc[VEOL2])) {                     
      if (tty->termios.c_lflag & ECHO)                                
        echo (c, tty);                                                
      tty->cbuf[tty->ccount++] = c;                                   
   4512c:	206a 001c      	moveal %a2@(28),%a0                         <== NOT EXECUTED
   45130:	1182 1800      	moveb %d2,%a0@(00000000,%d1:l)              <== NOT EXECUTED
   45134:	5281           	addql #1,%d1                                <== NOT EXECUTED
   45136:	2541 0020      	movel %d1,%a2@(32)                          <== NOT EXECUTED
   4513a:	609c           	bras 450d8 <iproc+0x110>                    <== NOT EXECUTED
    if (c == tty->termios.c_cc[VERASE]) {                             
      erase (tty, 0);                                                 
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VKILL]) {                         
      erase (tty, 1);                                                 
   4513c:	4878 0001      	pea 1 <ADD>                                 
   45140:	2f0a           	movel %a2,%sp@-                             
   45142:	4eba fc8c      	jsr %pc@(44dd0 <erase>)                     
      return 0;                                                       
   45146:	508f           	addql #8,%sp                                
   45148:	4280           	clrl %d0                                    
    if (tty->termios.c_lflag & ECHO)                                  
      echo (c, tty);                                                  
    tty->cbuf[tty->ccount++] = c;                                     
  }                                                                   
  return 0;                                                           
}                                                                     
   4514a:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
   45150:	4e5e           	unlk %fp                                    
   45152:	4e75           	rts                                         
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VEOF]) {                          
      return 1;                                                       
    } else if (c == '\n') {                                           
      if (tty->termios.c_lflag & (ECHO | ECHONL))                     
   45154:	7048           	moveq #72,%d0                               
   45156:	c280           	andl %d0,%d1                                
   45158:	6620           	bnes 4517a <iproc+0x1b2>                    <== ALWAYS TAKEN
        echo (c, tty);                                                
      tty->cbuf[tty->ccount++] = c;                                   
   4515a:	222a 0020      	movel %a2@(32),%d1                          <== NOT EXECUTED
      return 1;                                                       
   4515e:	7001           	moveq #1,%d0                                <== NOT EXECUTED
    else if (c == tty->termios.c_cc[VEOF]) {                          
      return 1;                                                       
    } else if (c == '\n') {                                           
      if (tty->termios.c_lflag & (ECHO | ECHONL))                     
        echo (c, tty);                                                
      tty->cbuf[tty->ccount++] = c;                                   
   45160:	206a 001c      	moveal %a2@(28),%a0                         <== NOT EXECUTED
   45164:	740a           	moveq #10,%d2                               <== NOT EXECUTED
   45166:	1182 1800      	moveb %d2,%a0@(00000000,%d1:l)              <== NOT EXECUTED
   4516a:	5281           	addql #1,%d1                                <== NOT EXECUTED
   4516c:	2541 0020      	movel %d1,%a2@(32)                          <== NOT EXECUTED
    if (tty->termios.c_lflag & ECHO)                                  
      echo (c, tty);                                                  
    tty->cbuf[tty->ccount++] = c;                                     
  }                                                                   
  return 0;                                                           
}                                                                     
   45170:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
   45176:	4e5e           	unlk %fp                                    
   45178:	4e75           	rts                                         
    }                                                                 
    else if (c == tty->termios.c_cc[VEOF]) {                          
      return 1;                                                       
    } else if (c == '\n') {                                           
      if (tty->termios.c_lflag & (ECHO | ECHONL))                     
        echo (c, tty);                                                
   4517a:	2f0a           	movel %a2,%sp@-                             
   4517c:	4878 000a      	pea a <LASTO>                               
      tty->cbuf[tty->ccount++] = c;                                   
   45180:	740a           	moveq #10,%d2                               
    }                                                                 
    else if (c == tty->termios.c_cc[VEOF]) {                          
      return 1;                                                       
    } else if (c == '\n') {                                           
      if (tty->termios.c_lflag & (ECHO | ECHONL))                     
        echo (c, tty);                                                
   45182:	4eba fba8      	jsr %pc@(44d2c <echo>)                      
      tty->cbuf[tty->ccount++] = c;                                   
   45186:	222a 0020      	movel %a2@(32),%d1                          
    }                                                                 
    else if (c == tty->termios.c_cc[VEOF]) {                          
      return 1;                                                       
    } else if (c == '\n') {                                           
      if (tty->termios.c_lflag & (ECHO | ECHONL))                     
        echo (c, tty);                                                
   4518a:	508f           	addql #8,%sp                                
      tty->cbuf[tty->ccount++] = c;                                   
      return 1;                                                       
   4518c:	7001           	moveq #1,%d0                                
    else if (c == tty->termios.c_cc[VEOF]) {                          
      return 1;                                                       
    } else if (c == '\n') {                                           
      if (tty->termios.c_lflag & (ECHO | ECHONL))                     
        echo (c, tty);                                                
      tty->cbuf[tty->ccount++] = c;                                   
   4518e:	206a 001c      	moveal %a2@(28),%a0                         
   45192:	1182 1800      	moveb %d2,%a0@(00000000,%d1:l)              
   45196:	5281           	addql #1,%d1                                
   45198:	2541 0020      	movel %d1,%a2@(32)                          
   4519c:	60d2           	bras 45170 <iproc+0x1a8>                    
    else if (c == tty->termios.c_cc[VKILL]) {                         
      erase (tty, 1);                                                 
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VEOF]) {                          
      return 1;                                                       
   4519e:	7001           	moveq #1,%d0                                <== NOT EXECUTED
    if (tty->termios.c_lflag & ECHO)                                  
      echo (c, tty);                                                  
    tty->cbuf[tty->ccount++] = c;                                     
  }                                                                   
  return 0;                                                           
}                                                                     
   451a0:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                <== NOT EXECUTED
   451a6:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   451a8:	4e75           	rts                                         <== NOT EXECUTED
    c = '\r';                                                         
  }                                                                   
                                                                      
  if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {               
    if (c == tty->termios.c_cc[VERASE]) {                             
      erase (tty, 0);                                                 
   451aa:	42a7           	clrl %sp@-                                  
   451ac:	2f0a           	movel %a2,%sp@-                             
   451ae:	4eba fc20      	jsr %pc@(44dd0 <erase>)                     
      return 0;                                                       
   451b2:	508f           	addql #8,%sp                                
   451b4:	4280           	clrl %d0                                    
    if (tty->termios.c_lflag & ECHO)                                  
      echo (c, tty);                                                  
    tty->cbuf[tty->ccount++] = c;                                     
  }                                                                   
  return 0;                                                           
}                                                                     
   451b6:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
   451bc:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0005cdec <killinfo>: int killinfo( pid_t pid, int sig, const union sigval *value ) {
   5cdec:	4e56 ffc4      	linkw %fp,#-60                              
   5cdf0:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
   5cdf4:	262e 000c      	movel %fp@(12),%d3                          
   5cdf8:	246e 0010      	moveal %fp@(16),%a2                         
  POSIX_signals_Siginfo_node  *psiginfo;                              
                                                                      
  /*                                                                  
   *  Only supported for the "calling process" (i.e. this node).      
   */                                                                 
  if ( pid != getpid() )                                              
   5cdfc:	4eb9 0005 c920 	jsr 5c920 <getpid>                          
   5ce02:	b0ae 0008      	cmpl %fp@(8),%d0                            
   5ce06:	6600 0234      	bnew 5d03c <killinfo+0x250>                 
    rtems_set_errno_and_return_minus_one( ESRCH );                    
                                                                      
  /*                                                                  
   *  Validate the signal passed.                                     
   */                                                                 
  if ( !sig )                                                         
   5ce0a:	4a83           	tstl %d3                                    
   5ce0c:	6700 0246      	beqw 5d054 <killinfo+0x268>                 
                                                                      
static inline bool is_valid_signo(                                    
  int signo                                                           
)                                                                     
{                                                                     
  return ((signo) >= 1 && (signo) <= 32 );                            
   5ce10:	2003           	movel %d3,%d0                               
   5ce12:	5380           	subql #1,%d0                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
   5ce14:	721f           	moveq #31,%d1                               
   5ce16:	b280           	cmpl %d0,%d1                                
   5ce18:	6500 023a      	bcsw 5d054 <killinfo+0x268>                 
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  /*                                                                  
   *  If the signal is being ignored, then we are out of here.        
   */                                                                 
  if ( _POSIX_signals_Vectors[ sig ].sa_handler == SIG_IGN )          
   5ce1c:	2c03           	movel %d3,%d6                               
   5ce1e:	2a03           	movel %d3,%d5                               
   5ce20:	7201           	moveq #1,%d1                                
   5ce22:	e98e           	lsll #4,%d6                                 
   5ce24:	e58d           	lsll #2,%d5                                 
   5ce26:	2806           	movel %d6,%d4                               
   5ce28:	9885           	subl %d5,%d4                                
   5ce2a:	2044           	moveal %d4,%a0                              
   5ce2c:	d1fc 0006 110c 	addal #397580,%a0                           
   5ce32:	b290           	cmpl %a0@,%d1                               
   5ce34:	6700 01f2      	beqw 5d028 <killinfo+0x23c>                 
  /*                                                                  
   *  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 ) )      
   5ce38:	123c 0008      	moveb #8,%d1                                
   5ce3c:	b283           	cmpl %d3,%d1                                
   5ce3e:	6700 00d2      	beqw 5cf12 <killinfo+0x126>                 
   5ce42:	123c 0004      	moveb #4,%d1                                
   5ce46:	b283           	cmpl %d3,%d1                                
   5ce48:	6700 00c8      	beqw 5cf12 <killinfo+0x126>                 
   5ce4c:	123c 000b      	moveb #11,%d1                               
   5ce50:	b283           	cmpl %d3,%d1                                
   5ce52:	6700 00be      	beqw 5cf12 <killinfo+0x126>                 
                                                                      
static inline sigset_t signo_to_mask(                                 
  uint32_t sig                                                        
)                                                                     
{                                                                     
  return 1u << (sig - 1);                                             
   5ce56:	7401           	moveq #1,%d2                                
   5ce58:	e1aa           	lsll %d0,%d2                                
  /*                                                                  
   *  Build up a siginfo structure                                    
   */                                                                 
  siginfo = &siginfo_struct;                                          
  siginfo->si_signo = sig;                                            
  siginfo->si_code = SI_USER;                                         
   5ce5a:	7001           	moveq #1,%d0                                
                                                                      
  /*                                                                  
   *  Build up a siginfo structure                                    
   */                                                                 
  siginfo = &siginfo_struct;                                          
  siginfo->si_signo = sig;                                            
   5ce5c:	2d43 fff4      	movel %d3,%fp@(-12)                         
  siginfo->si_code = SI_USER;                                         
   5ce60:	2d40 fff8      	movel %d0,%fp@(-8)                          
  if ( !value ) {                                                     
   5ce64:	4a8a           	tstl %a2                                    
   5ce66:	6700 01cc      	beqw 5d034 <killinfo+0x248>                 
    siginfo->si_value.sival_int = 0;                                  
  } else {                                                            
    siginfo->si_value = *value;                                       
   5ce6a:	2d52 fffc      	movel %a2@,%fp@(-4)                         
   5ce6e:	2039 0006 0c68 	movel 60c68 <_Thread_Dispatch_disable_level>,%d0
   5ce74:	5280           	addql #1,%d0                                
   5ce76:	23c0 0006 0c68 	movel %d0,60c68 <_Thread_Dispatch_disable_level>
                                                                      
  /*                                                                  
   *  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;                                     
   5ce7c:	2679 0006 10d2 	moveal 610d2 <_Per_CPU_Information+0xc>,%a3 
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
  if ( _POSIX_signals_Is_interested( api, mask ) ) {                  
   5ce82:	206b 0102      	moveal %a3@(258),%a0                        
   5ce86:	2028 00d0      	movel %a0@(208),%d0                         
   5ce8a:	4680           	notl %d0                                    
   5ce8c:	c082           	andl %d2,%d0                                
   5ce8e:	6642           	bnes 5ced2 <killinfo+0xe6>                  
  }                                                                   
                                                                      
  DEBUG_STEP("\n");                                                   
  _Thread_Enable_dispatch();                                          
  return 0;                                                           
}                                                                     
   5ce90:	2079 0006 1290 	moveal 61290 <_POSIX_signals_Wait_queue>,%a0
                                                                      
  /* XXX violation of visibility -- need to define thread queue support */
                                                                      
  the_chain = &_POSIX_signals_Wait_queue.Queues.Fifo;                 
                                                                      
  for ( the_node = _Chain_First( the_chain );                         
   5ce96:	b1fc 0006 1294 	cmpal #397972,%a0                           
   5ce9c:	6700 00d6      	beqw 5cf74 <killinfo+0x188>                 
    #endif                                                            
                                                                      
    /*                                                                
     * Is this thread is actually blocked waiting for the signal?     
     */                                                               
    if (the_thread->Wait.option & mask)                               
   5cea0:	2002           	movel %d2,%d0                               
                                                                      
  for ( the_node = _Chain_First( the_chain );                         
        !_Chain_Is_tail( the_chain, the_node ) ;                      
        the_node = the_node->next ) {                                 
                                                                      
    the_thread = (Thread_Control *)the_node;                          
   5cea2:	2648           	moveal %a0,%a3                              
    #endif                                                            
                                                                      
    /*                                                                
     * Is this thread is actually blocked waiting for the signal?     
     */                                                               
    if (the_thread->Wait.option & mask)                               
   5cea4:	c0a8 0030      	andl %a0@(48),%d0                           
  for ( the_node = _Chain_First( the_chain );                         
        !_Chain_Is_tail( the_chain, the_node ) ;                      
        the_node = the_node->next ) {                                 
                                                                      
    the_thread = (Thread_Control *)the_node;                          
    api = the_thread->API_Extensions[ THREAD_API_POSIX ];             
   5cea8:	2268 0102      	moveal %a0@(258),%a1                        
    #endif                                                            
                                                                      
    /*                                                                
     * Is this thread is actually blocked waiting for the signal?     
     */                                                               
    if (the_thread->Wait.option & mask)                               
   5ceac:	6624           	bnes 5ced2 <killinfo+0xe6>                  
                                                                      
    /*                                                                
     * Is this thread is blocked waiting for another signal but has   
     * not blocked this one?                                          
     */                                                               
    if (~api->signals_blocked & mask)                                 
   5ceae:	2029 00d0      	movel %a1@(208),%d0                         
   5ceb2:	4680           	notl %d0                                    
   5ceb4:	c082           	andl %d2,%d0                                
   5ceb6:	661a           	bnes 5ced2 <killinfo+0xe6>                  
                                                                      
  the_chain = &_POSIX_signals_Wait_queue.Queues.Fifo;                 
                                                                      
  for ( the_node = _Chain_First( the_chain );                         
        !_Chain_Is_tail( the_chain, the_node ) ;                      
        the_node = the_node->next ) {                                 
   5ceb8:	2050           	moveal %a0@,%a0                             
                                                                      
    the_thread = (Thread_Control *)the_node;                          
   5ceba:	2648           	moveal %a0,%a3                              
                                                                      
  /* XXX violation of visibility -- need to define thread queue support */
                                                                      
  the_chain = &_POSIX_signals_Wait_queue.Queues.Fifo;                 
                                                                      
  for ( the_node = _Chain_First( the_chain );                         
   5cebc:	b1fc 0006 1294 	cmpal #397972,%a0                           
   5cec2:	6700 00b0      	beqw 5cf74 <killinfo+0x188>                 
    #endif                                                            
                                                                      
    /*                                                                
     * Is this thread is actually blocked waiting for the signal?     
     */                                                               
    if (the_thread->Wait.option & mask)                               
   5cec6:	2002           	movel %d2,%d0                               <== NOT EXECUTED
   5cec8:	c0a8 0030      	andl %a0@(48),%d0                           <== NOT EXECUTED
  for ( the_node = _Chain_First( the_chain );                         
        !_Chain_Is_tail( the_chain, the_node ) ;                      
        the_node = the_node->next ) {                                 
                                                                      
    the_thread = (Thread_Control *)the_node;                          
    api = the_thread->API_Extensions[ THREAD_API_POSIX ];             
   5cecc:	2268 0102      	moveal %a0@(258),%a1                        <== NOT EXECUTED
    #endif                                                            
                                                                      
    /*                                                                
     * Is this thread is actually blocked waiting for the signal?     
     */                                                               
    if (the_thread->Wait.option & mask)                               
   5ced0:	67dc           	beqs 5ceae <killinfo+0xc2>                  <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  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 ) ) {  
   5ced2:	486e fff4      	pea %fp@(-12)                               
   5ced6:	2f03           	movel %d3,%sp@-                             
   5ced8:	2f0b           	movel %a3,%sp@-                             
   5ceda:	4eb9 0005 d0ac 	jsr 5d0ac <_POSIX_signals_Unblock_thread>   
   5cee0:	4fef 000c      	lea %sp@(12),%sp                            
   5cee4:	4a00           	tstb %d0                                    
   5cee6:	6618           	bnes 5cf00 <killinfo+0x114>                 
                                                                      
  /*                                                                  
   *  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 );                         
   5cee8:	2f02           	movel %d2,%sp@-                             
   5ceea:	4eb9 0005 d08c 	jsr 5d08c <_POSIX_signals_Set_process_signals>
                                                                      
  if ( _POSIX_signals_Vectors[ sig ].sa_flags == SA_SIGINFO ) {       
   5cef0:	588f           	addql #4,%sp                                
   5cef2:	41f9 0006 1104 	lea 61104 <_POSIX_signals_Vectors>,%a0      
   5cef8:	7002           	moveq #2,%d0                                
   5cefa:	b0b0 4800      	cmpl %a0@(00000000,%d4:l),%d0               
   5cefe:	672e           	beqs 5cf2e <killinfo+0x142>                 
                                                                      
    _Chain_Append( &_POSIX_signals_Siginfo[ sig ], &psiginfo->Node ); 
  }                                                                   
                                                                      
  DEBUG_STEP("\n");                                                   
  _Thread_Enable_dispatch();                                          
   5cf00:	4eb9 0004 8d8a 	jsr 48d8a <_Thread_Enable_dispatch>         
  return 0;                                                           
   5cf06:	4280           	clrl %d0                                    
}                                                                     
   5cf08:	4cee 3cfc ffc4 	moveml %fp@(-60),%d2-%d7/%a2-%a5            
   5cf0e:	4e5e           	unlk %fp                                    
   5cf10:	4e75           	rts                                         
   *  P1003.1c/Draft 10, p. 33 says that certain signals should always
   *  be directed to the executing thread such as those caused by hardware
   *  faults.                                                         
   */                                                                 
  if ( (sig == SIGFPE) || (sig == SIGILL) || (sig == SIGSEGV ) )      
      return pthread_kill( pthread_self(), sig );                     
   5cf12:	4eb9 0005 d2b8 	jsr 5d2b8 <pthread_self>                    
   5cf18:	2f03           	movel %d3,%sp@-                             
   5cf1a:	2f00           	movel %d0,%sp@-                             
   5cf1c:	4eb9 0005 d1e8 	jsr 5d1e8 <pthread_kill>                    
   5cf22:	508f           	addql #8,%sp                                
  }                                                                   
                                                                      
  DEBUG_STEP("\n");                                                   
  _Thread_Enable_dispatch();                                          
  return 0;                                                           
}                                                                     
   5cf24:	4cee 3cfc ffc4 	moveml %fp@(-60),%d2-%d7/%a2-%a5            
   5cf2a:	4e5e           	unlk %fp                                    
   5cf2c:	4e75           	rts                                         
  _POSIX_signals_Set_process_signals( mask );                         
                                                                      
  if ( _POSIX_signals_Vectors[ sig ].sa_flags == SA_SIGINFO ) {       
                                                                      
    psiginfo = (POSIX_signals_Siginfo_node *)                         
               _Chain_Get( &_POSIX_signals_Inactive_siginfo );        
   5cf2e:	4879 0006 1284 	pea 61284 <_POSIX_signals_Inactive_siginfo> 
   5cf34:	4eb9 0004 723c 	jsr 4723c <_Chain_Get>                      
    if ( !psiginfo ) {                                                
   5cf3a:	588f           	addql #4,%sp                                
  _POSIX_signals_Set_process_signals( mask );                         
                                                                      
  if ( _POSIX_signals_Vectors[ sig ].sa_flags == SA_SIGINFO ) {       
                                                                      
    psiginfo = (POSIX_signals_Siginfo_node *)                         
               _Chain_Get( &_POSIX_signals_Inactive_siginfo );        
   5cf3c:	2040           	moveal %d0,%a0                              
    if ( !psiginfo ) {                                                
   5cf3e:	4a80           	tstl %d0                                    
   5cf40:	6700 012a      	beqw 5d06c <killinfo+0x280>                 
      rtems_set_errno_and_return_minus_one( EAGAIN );                 
    }                                                                 
                                                                      
    psiginfo->Info = *siginfo;                                        
                                                                      
    _Chain_Append( &_POSIX_signals_Siginfo[ sig ], &psiginfo->Node ); 
   5cf44:	9c85           	subl %d5,%d6                                
   5cf46:	0686 0006 12fc 	addil #398076,%d6                           
    if ( !psiginfo ) {                                                
      _Thread_Enable_dispatch();                                      
      rtems_set_errno_and_return_minus_one( EAGAIN );                 
    }                                                                 
                                                                      
    psiginfo->Info = *siginfo;                                        
   5cf4c:	216e fff4 0008 	movel %fp@(-12),%a0@(8)                     
   5cf52:	216e fff8 000c 	movel %fp@(-8),%a0@(12)                     
   5cf58:	216e fffc 0010 	movel %fp@(-4),%a0@(16)                     
                                                                      
    _Chain_Append( &_POSIX_signals_Siginfo[ sig ], &psiginfo->Node ); 
   5cf5e:	2f00           	movel %d0,%sp@-                             
   5cf60:	2f06           	movel %d6,%sp@-                             
   5cf62:	4eb9 0004 71dc 	jsr 471dc <_Chain_Append>                   
   5cf68:	508f           	addql #8,%sp                                
  }                                                                   
                                                                      
  DEBUG_STEP("\n");                                                   
  _Thread_Enable_dispatch();                                          
   5cf6a:	4eb9 0004 8d8a 	jsr 48d8a <_Thread_Enable_dispatch>         
  return 0;                                                           
   5cf70:	4280           	clrl %d0                                    
   5cf72:	6094           	bras 5cf08 <killinfo+0x11c>                 
   *  NOTES:                                                          
   *                                                                  
   *    + rtems internal threads do not receive signals.              
   */                                                                 
  interested = NULL;                                                  
  interested_priority = PRIORITY_MAXIMUM + 1;                         
   5cf74:	4287           	clrl %d7                                    
   5cf76:	1e39 0005 f372 	moveb 5f372 <rtems_maximum_priority>,%d7    
   5cf7c:	49f9 0006 0c2c 	lea 60c2c <_Objects_Information_table+0x8>,%a4
   5cf82:	5287           	addql #1,%d7                                
   *                                                                  
   *  NOTES:                                                          
   *                                                                  
   *    + rtems internal threads do not receive signals.              
   */                                                                 
  interested = NULL;                                                  
   5cf84:	97cb           	subal %a3,%a3                               
  interested_priority = PRIORITY_MAXIMUM + 1;                         
   5cf86:	2447           	moveal %d7,%a2                              
  for (the_api = OBJECTS_CLASSIC_API; the_api <= OBJECTS_APIS_LAST; the_api++) {
                                                                      
    /*                                                                
     *  This can occur when no one is interested and an API is not configured.
     */                                                               
    if ( !_Objects_Information_table[ the_api ] )                     
   5cf88:	205c           	moveal %a4@+,%a0                            
   5cf8a:	4a88           	tstl %a0                                    
   5cf8c:	6770           	beqs 5cffe <killinfo+0x212>                 <== NEVER TAKEN
      continue;                                                       
                                                                      
    the_info = _Objects_Information_table[ the_api ][ 1 ];            
   5cf8e:	2068 0004      	moveal %a0@(4),%a0                          
       */                                                             
      if ( !the_info )                                                
        continue;                                                     
    #endif                                                            
                                                                      
    maximum = the_info->maximum;                                      
   5cf92:	4287           	clrl %d7                                    
   5cf94:	3e28 000e      	movew %a0@(14),%d7                          
    object_table = the_info->local_table;                             
   5cf98:	2268 0018      	moveal %a0@(24),%a1                         
                                                                      
    for ( index = 1 ; index <= maximum ; index++ ) {                  
   5cf9c:	4a87           	tstl %d7                                    
   5cf9e:	675e           	beqs 5cffe <killinfo+0x212>                 
 */                                                                   
                                                                      
#define _POSIX_signals_Is_interested( _api, _mask ) \                 
  ( ~(_api)->signals_blocked & (_mask) )                              
                                                                      
int killinfo(                                                         
   5cfa0:	5889           	addql #4,%a1                                
    #endif                                                            
                                                                      
    maximum = the_info->maximum;                                      
    object_table = the_info->local_table;                             
                                                                      
    for ( index = 1 ; index <= maximum ; index++ ) {                  
   5cfa2:	7001           	moveq #1,%d0                                
   5cfa4:	2d43 ffec      	movel %d3,%fp@(-20)                         
      the_thread = (Thread_Control *) object_table[ index ];          
   5cfa8:	2059           	moveal %a1@+,%a0                            
                                                                      
      if ( !the_thread )                                              
   5cfaa:	4a88           	tstl %a0                                    
   5cfac:	6746           	beqs 5cff4 <killinfo+0x208>                 
                                                                      
      /*                                                              
       *  If this thread is of lower priority than the interested thread,
       *  go on to the next thread.                                   
       */                                                             
      if ( the_thread->current_priority > interested_priority )       
   5cfae:	2228 0014      	movel %a0@(20),%d1                          
   5cfb2:	b5c1           	cmpal %d1,%a2                               
   5cfb4:	653e           	bcss 5cff4 <killinfo+0x208>                 
      #if defined(RTEMS_DEBUG)                                        
        if ( !api )                                                   
          continue;                                                   
      #endif                                                          
                                                                      
      if ( !_POSIX_signals_Is_interested( api, mask ) )               
   5cfb6:	2a68 0102      	moveal %a0@(258),%a5                        
   5cfba:	262d 00d0      	movel %a5@(208),%d3                         
   5cfbe:	4683           	notl %d3                                    
   5cfc0:	c682           	andl %d2,%d3                                
   5cfc2:	6730           	beqs 5cff4 <killinfo+0x208>                 
       *                                                              
       *  NOTE: We initialized interested_priority to PRIORITY_MAXIMUM + 1
       *        so we never have to worry about deferencing a NULL    
       *        interested thread.                                    
       */                                                             
      if ( the_thread->current_priority < interested_priority ) {     
   5cfc4:	b5c1           	cmpal %d1,%a2                               
   5cfc6:	6228           	bhis 5cff0 <killinfo+0x204>                 
       *  and blocking interruptibutable by signal.                   
       *                                                              
       *  If the interested thread is ready, don't think about changing.
       */                                                             
                                                                      
      if ( interested && !_States_Is_ready( interested->current_state ) ) {
   5cfc8:	4a8b           	tstl %a3                                    
   5cfca:	6728           	beqs 5cff4 <killinfo+0x208>                 <== NEVER TAKEN
   5cfcc:	2a6b 0010      	moveal %a3@(16),%a5                         
   5cfd0:	4a8d           	tstl %a5                                    
   5cfd2:	6720           	beqs 5cff4 <killinfo+0x208>                 <== NEVER TAKEN
        /* preferred ready over blocked */                            
        DEBUG_STEP("5");                                              
        if ( _States_Is_ready( the_thread->current_state ) ) {        
   5cfd4:	2628 0010      	movel %a0@(16),%d3                          
   5cfd8:	2d43 fff0      	movel %d3,%fp@(-16)                         
   5cfdc:	6712           	beqs 5cff0 <killinfo+0x204>                 
          continue;                                                   
        }                                                             
                                                                      
        DEBUG_STEP("6");                                              
        /* prefer blocked/interruptible over blocked/not interruptible */
        if ( !_States_Is_interruptible_by_signal(interested->current_state) ) {
   5cfde:	260d           	movel %a5,%d3                               
   5cfe0:	0803 001c      	btst #28,%d3                                
   5cfe4:	660e           	bnes 5cff4 <killinfo+0x208>                 
          DEBUG_STEP("7");                                            
          if ( _States_Is_interruptible_by_signal(the_thread->current_state) ) {
   5cfe6:	262e fff0      	movel %fp@(-16),%d3                         
   5cfea:	0803 001c      	btst #28,%d3                                
   5cfee:	6704           	beqs 5cff4 <killinfo+0x208>                 
       */                                                             
                                                                      
      if ( interested && !_States_Is_ready( interested->current_state ) ) {
        /* preferred ready over blocked */                            
        DEBUG_STEP("5");                                              
        if ( _States_Is_ready( the_thread->current_state ) ) {        
   5cff0:	2441           	moveal %d1,%a2                              
   5cff2:	2648           	moveal %a0,%a3                              
    #endif                                                            
                                                                      
    maximum = the_info->maximum;                                      
    object_table = the_info->local_table;                             
                                                                      
    for ( index = 1 ; index <= maximum ; index++ ) {                  
   5cff4:	5280           	addql #1,%d0                                
   5cff6:	b087           	cmpl %d7,%d0                                
   5cff8:	63ae           	blss 5cfa8 <killinfo+0x1bc>                 
   5cffa:	262e ffec      	movel %fp@(-20),%d3                         
   *    + rtems internal threads do not receive signals.              
   */                                                                 
  interested = NULL;                                                  
  interested_priority = PRIORITY_MAXIMUM + 1;                         
                                                                      
  for (the_api = OBJECTS_CLASSIC_API; the_api <= OBJECTS_APIS_LAST; the_api++) {
   5cffe:	b9fc 0006 0c34 	cmpal #396340,%a4                           
   5d004:	6682           	bnes 5cf88 <killinfo+0x19c>                 
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( interested ) {                                                 
   5d006:	4a8b           	tstl %a3                                    
   5d008:	6700 fede      	beqw 5cee8 <killinfo+0xfc>                  
                                                                      
  /*                                                                  
   *  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 ) ) {  
   5d00c:	486e fff4      	pea %fp@(-12)                               
   5d010:	2f03           	movel %d3,%sp@-                             
   5d012:	2f0b           	movel %a3,%sp@-                             
   5d014:	4eb9 0005 d0ac 	jsr 5d0ac <_POSIX_signals_Unblock_thread>   
   5d01a:	4fef 000c      	lea %sp@(12),%sp                            
   5d01e:	4a00           	tstb %d0                                    
   5d020:	6700 fec6      	beqw 5cee8 <killinfo+0xfc>                  
   5d024:	6000 feda      	braw 5cf00 <killinfo+0x114>                 <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  If the signal is being ignored, then we are out of here.        
   */                                                                 
  if ( _POSIX_signals_Vectors[ sig ].sa_handler == SIG_IGN )          
    return 0;                                                         
   5d028:	4280           	clrl %d0                                    
  }                                                                   
                                                                      
  DEBUG_STEP("\n");                                                   
  _Thread_Enable_dispatch();                                          
  return 0;                                                           
}                                                                     
   5d02a:	4cee 3cfc ffc4 	moveml %fp@(-60),%d2-%d7/%a2-%a5            
   5d030:	4e5e           	unlk %fp                                    
   5d032:	4e75           	rts                                         
   */                                                                 
  siginfo = &siginfo_struct;                                          
  siginfo->si_signo = sig;                                            
  siginfo->si_code = SI_USER;                                         
  if ( !value ) {                                                     
    siginfo->si_value.sival_int = 0;                                  
   5d034:	42ae fffc      	clrl %fp@(-4)                               
   5d038:	6000 fe34      	braw 5ce6e <killinfo+0x82>                  
                                                                      
  /*                                                                  
   *  Only supported for the "calling process" (i.e. this node).      
   */                                                                 
  if ( pid != getpid() )                                              
    rtems_set_errno_and_return_minus_one( ESRCH );                    
   5d03c:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         
   5d042:	7603           	moveq #3,%d3                                
   5d044:	2040           	moveal %d0,%a0                              
   5d046:	70ff           	moveq #-1,%d0                               
   5d048:	2083           	movel %d3,%a0@                              
  }                                                                   
                                                                      
  DEBUG_STEP("\n");                                                   
  _Thread_Enable_dispatch();                                          
  return 0;                                                           
}                                                                     
   5d04a:	4cee 3cfc ffc4 	moveml %fp@(-60),%d2-%d7/%a2-%a5            
   5d050:	4e5e           	unlk %fp                                    
   5d052:	4e75           	rts                                         
   */                                                                 
  if ( !sig )                                                         
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   5d054:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         
   5d05a:	7416           	moveq #22,%d2                               
   5d05c:	2040           	moveal %d0,%a0                              
   5d05e:	70ff           	moveq #-1,%d0                               
   5d060:	2082           	movel %d2,%a0@                              
  }                                                                   
                                                                      
  DEBUG_STEP("\n");                                                   
  _Thread_Enable_dispatch();                                          
  return 0;                                                           
}                                                                     
   5d062:	4cee 3cfc ffc4 	moveml %fp@(-60),%d2-%d7/%a2-%a5            
   5d068:	4e5e           	unlk %fp                                    
   5d06a:	4e75           	rts                                         
  if ( _POSIX_signals_Vectors[ sig ].sa_flags == SA_SIGINFO ) {       
                                                                      
    psiginfo = (POSIX_signals_Siginfo_node *)                         
               _Chain_Get( &_POSIX_signals_Inactive_siginfo );        
    if ( !psiginfo ) {                                                
      _Thread_Enable_dispatch();                                      
   5d06c:	4eb9 0004 8d8a 	jsr 48d8a <_Thread_Enable_dispatch>         
      rtems_set_errno_and_return_minus_one( EAGAIN );                 
   5d072:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         
   5d078:	720b           	moveq #11,%d1                               
   5d07a:	2040           	moveal %d0,%a0                              
   5d07c:	70ff           	moveq #-1,%d0                               
  }                                                                   
                                                                      
  DEBUG_STEP("\n");                                                   
  _Thread_Enable_dispatch();                                          
  return 0;                                                           
}                                                                     
   5d07e:	4cee 3cfc ffc4 	moveml %fp@(-60),%d2-%d7/%a2-%a5            
                                                                      
    psiginfo = (POSIX_signals_Siginfo_node *)                         
               _Chain_Get( &_POSIX_signals_Inactive_siginfo );        
    if ( !psiginfo ) {                                                
      _Thread_Enable_dispatch();                                      
      rtems_set_errno_and_return_minus_one( EAGAIN );                 
   5d084:	2081           	movel %d1,%a0@                              
  }                                                                   
                                                                      
  DEBUG_STEP("\n");                                                   
  _Thread_Enable_dispatch();                                          
  return 0;                                                           
}                                                                     
   5d086:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000438a8 <libc_wrapup>: /* * In case RTEMS is already down, don't do this. It could be * dangerous. */ if (!_System_state_Is_up(_System_state_Get()))
   438a8:	7003           	moveq #3,%d0                                
                                                                      
extern void _wrapup_reent(struct _reent *);                           
extern void _reclaim_reent(struct _reent *);                          
                                                                      
void libc_wrapup(void)                                                
{                                                                     
   438aa:	4e56 0000      	linkw %fp,#0                                
   438ae:	2f0a           	movel %a2,%sp@-                             
  /*                                                                  
   *  In case RTEMS is already down, don't do this.  It could be      
   *  dangerous.                                                      
   */                                                                 
                                                                      
  if (!_System_state_Is_up(_System_state_Get()))                      
   438b0:	b0b9 0006 0db4 	cmpl 60db4 <_System_state_Current>,%d0      
   438b6:	6708           	beqs 438c0 <libc_wrapup+0x18>               <== ALWAYS TAKEN
   */                                                                 
                                                                      
  fclose (stdin);                                                     
  fclose (stdout);                                                    
  fclose (stderr);                                                    
}                                                                     
   438b8:	246e fffc      	moveal %fp@(-4),%a2                         <== NOT EXECUTED
   438bc:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   438be:	4e75           	rts                                         <== NOT EXECUTED
  /*                                                                  
   *  This was already done if the user called exit() directly .      
  _wrapup_reent(0);                                                   
   */                                                                 
                                                                      
  if (_REENT != _global_impure_ptr) {                                 
   438c0:	2079 0005 f5ac 	moveal 5f5ac <_impure_ptr>,%a0              
   438c6:	2479 0005 eacc 	moveal 5eacc <_global_impure_ptr>,%a2       
   438cc:	b5c8           	cmpal %a0,%a2                               
   438ce:	6712           	beqs 438e2 <libc_wrapup+0x3a>               
      _wrapup_reent(_global_impure_ptr);                              
   438d0:	2f0a           	movel %a2,%sp@-                             
   438d2:	4eb9 0004 f77a 	jsr 4f77a <_wrapup_reent>                   
      /*  Don't reclaim this one, just in case we do printfs          
       *  on the way out to ROM.                                      
       */                                                             
      _reclaim_reent(&libc_global_reent);                             
#endif                                                                
      _REENT = _global_impure_ptr;                                    
   438d8:	588f           	addql #4,%sp                                
   438da:	204a           	moveal %a2,%a0                              
   438dc:	23ca 0005 f5ac 	movel %a2,5f5ac <_impure_ptr>               
   *                                                                  
   * Should this be changed to do *all* file streams?                 
   *    _fwalk (_REENT, fclose);                                      
   */                                                                 
                                                                      
  fclose (stdin);                                                     
   438e2:	2f28 0004      	movel %a0@(4),%sp@-                         
   438e6:	45f9 0004 ed1e 	lea 4ed1e <fclose>,%a2                      
   438ec:	4e92           	jsr %a2@                                    
  fclose (stdout);                                                    
   438ee:	2079 0005 f5ac 	moveal 5f5ac <_impure_ptr>,%a0              
   438f4:	2f28 0008      	movel %a0@(8),%sp@-                         
   438f8:	4e92           	jsr %a2@                                    
  fclose (stderr);                                                    
   438fa:	2079 0005 f5ac 	moveal 5f5ac <_impure_ptr>,%a0              
   43900:	2f28 000c      	movel %a0@(12),%sp@-                        
   43904:	4e92           	jsr %a2@                                    
}                                                                     
   43906:	246e fffc      	moveal %fp@(-4),%a2                         
   *    _fwalk (_REENT, fclose);                                      
   */                                                                 
                                                                      
  fclose (stdin);                                                     
  fclose (stdout);                                                    
  fclose (stderr);                                                    
   4390a:	4fef 000c      	lea %sp@(12),%sp                            
}                                                                     
   4390e:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00043314 <malloc>: #include "malloc_p.h" void *malloc( size_t size ) {
   43314:	4e56 0000      	linkw %fp,#0                                
  void        *return_this;                                           
                                                                      
  MSBUMP(malloc_calls, 1);                                            
   43318:	52b9 0006 0b30 	addql #1,60b30 <rtems_malloc_statistics+0x4>
#include "malloc_p.h"                                                 
                                                                      
void *malloc(                                                         
  size_t  size                                                        
)                                                                     
{                                                                     
   4331e:	2f03           	movel %d3,%sp@-                             
   43320:	262e 0008      	movel %fp@(8),%d3                           
   43324:	2f02           	movel %d2,%sp@-                             
  MSBUMP(malloc_calls, 1);                                            
                                                                      
  /*                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  malloc_deferred_frees_process();                                    
   43326:	4eb9 0004 31e8 	jsr 431e8 <malloc_deferred_frees_process>   
                                                                      
  /*                                                                  
   * Validate the parameters                                          
   */                                                                 
  if ( !size )                                                        
   4332c:	4a83           	tstl %d3                                    
   4332e:	6762           	beqs 43392 <malloc+0x7e>                    
    return (void *) 0;                                                
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
   43330:	7003           	moveq #3,%d0                                
   43332:	b0b9 0006 0db4 	cmpl 60db4 <_System_state_Current>,%d0      
   43338:	674e           	beqs 43388 <malloc+0x74>                    
RTEMS_INLINE_ROUTINE void *_Protected_heap_Allocate(                  
  Heap_Control *heap,                                                 
  uintptr_t size                                                      
)                                                                     
{                                                                     
  return _Protected_heap_Allocate_aligned_with_boundary( heap, size, 0, 0 );
   4333a:	42a7           	clrl %sp@-                                  
   4333c:	42a7           	clrl %sp@-                                  
   4333e:	2f03           	movel %d3,%sp@-                             
   43340:	2f39 0005 f2d0 	movel 5f2d0 <RTEMS_Malloc_Heap>,%sp@-       
   43346:	4eb9 0004 838c 	jsr 4838c <_Protected_heap_Allocate_aligned_with_boundary>
   * If this fails then return a NULL pointer.                        
   */                                                                 
                                                                      
  return_this = _Protected_heap_Allocate( RTEMS_Malloc_Heap, size );  
                                                                      
  if ( !return_this ) {                                               
   4334c:	4fef 0010      	lea %sp@(16),%sp                            
   43350:	2400           	movel %d0,%d2                               
   43352:	674e           	beqs 433a2 <malloc+0x8e>                    
  }                                                                   
                                                                      
  /*                                                                  
   *  If the user wants us to dirty the allocated memory, then do it. 
   */                                                                 
  if ( rtems_malloc_dirty_helper )                                    
   43354:	2079 0005 faae 	moveal 5faae <rtems_malloc_dirty_helper>,%a0
   4335a:	4a88           	tstl %a0                                    
   4335c:	6708           	beqs 43366 <malloc+0x52>                    
    (*rtems_malloc_dirty_helper)( return_this, size );                
   4335e:	2f03           	movel %d3,%sp@-                             
   43360:	2f02           	movel %d2,%sp@-                             
   43362:	4e90           	jsr %a0@                                    
   43364:	508f           	addql #8,%sp                                
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
   43366:	2079 0005 faa6 	moveal 5faa6 <rtems_malloc_statistics_helpers>,%a0
   4336c:	4a88           	tstl %a0                                    
   4336e:	670a           	beqs 4337a <malloc+0x66>                    
    (*rtems_malloc_statistics_helpers->at_malloc)(return_this);       
   43370:	2f02           	movel %d2,%sp@-                             
   43372:	2068 0004      	moveal %a0@(4),%a0                          
   43376:	4e90           	jsr %a0@                                    
   43378:	588f           	addql #4,%sp                                
                                                                      
  return return_this;                                                 
}                                                                     
   4337a:	2002           	movel %d2,%d0                               
   4337c:	242e fff8      	movel %fp@(-8),%d2                          
   43380:	262e fffc      	movel %fp@(-4),%d3                          
   43384:	4e5e           	unlk %fp                                    
   43386:	4e75           	rts                                         
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
       !malloc_is_system_state_OK() )                                 
   43388:	4eb9 0004 31a8 	jsr 431a8 <malloc_is_system_state_OK>       
    return (void *) 0;                                                
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
   4338e:	4a00           	tstb %d0                                    
   43390:	66a8           	bnes 4333a <malloc+0x26>                    <== ALWAYS TAKEN
       !malloc_is_system_state_OK() )                                 
    return NULL;                                                      
   43392:	4282           	clrl %d2                                    
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
    (*rtems_malloc_statistics_helpers->at_malloc)(return_this);       
                                                                      
  return return_this;                                                 
}                                                                     
   43394:	2002           	movel %d2,%d0                               
   43396:	242e fff8      	movel %fp@(-8),%d2                          
   4339a:	262e fffc      	movel %fp@(-4),%d3                          
   4339e:	4e5e           	unlk %fp                                    
   433a0:	4e75           	rts                                         
   */                                                                 
                                                                      
  return_this = _Protected_heap_Allocate( RTEMS_Malloc_Heap, size );  
                                                                      
  if ( !return_this ) {                                               
    if (rtems_malloc_sbrk_helpers)                                    
   433a2:	2079 0005 faaa 	moveal 5faaa <rtems_malloc_sbrk_helpers>,%a0
   433a8:	4a88           	tstl %a0                                    
   433aa:	671c           	beqs 433c8 <malloc+0xb4>                    
      return_this = (*rtems_malloc_sbrk_helpers->extend)( size );     
   433ac:	2f03           	movel %d3,%sp@-                             
   433ae:	2068 0004      	moveal %a0@(4),%a0                          
   433b2:	4e90           	jsr %a0@                                    
    if ( !return_this ) {                                             
   433b4:	588f           	addql #4,%sp                                
   433b6:	4a80           	tstl %d0                                    
   433b8:	670e           	beqs 433c8 <malloc+0xb4>                    
  }                                                                   
                                                                      
  /*                                                                  
   *  If the user wants us to dirty the allocated memory, then do it. 
   */                                                                 
  if ( rtems_malloc_dirty_helper )                                    
   433ba:	2079 0005 faae 	moveal 5faae <rtems_malloc_dirty_helper>,%a0
  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 ) {                                             
   433c0:	2400           	movel %d0,%d2                               
  }                                                                   
                                                                      
  /*                                                                  
   *  If the user wants us to dirty the allocated memory, then do it. 
   */                                                                 
  if ( rtems_malloc_dirty_helper )                                    
   433c2:	4a88           	tstl %a0                                    
   433c4:	6698           	bnes 4335e <malloc+0x4a>                    <== NEVER TAKEN
   433c6:	609e           	bras 43366 <malloc+0x52>                    
                                                                      
  if ( !return_this ) {                                               
    if (rtems_malloc_sbrk_helpers)                                    
      return_this = (*rtems_malloc_sbrk_helpers->extend)( size );     
    if ( !return_this ) {                                             
      errno = ENOMEM;                                                 
   433c8:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
    (*rtems_malloc_statistics_helpers->at_malloc)(return_this);       
                                                                      
  return return_this;                                                 
}                                                                     
   433ce:	262e fffc      	movel %fp@(-4),%d3                          
                                                                      
  if ( !return_this ) {                                               
    if (rtems_malloc_sbrk_helpers)                                    
      return_this = (*rtems_malloc_sbrk_helpers->extend)( size );     
    if ( !return_this ) {                                             
      errno = ENOMEM;                                                 
   433d2:	2040           	moveal %d0,%a0                              
   433d4:	700c           	moveq #12,%d0                               
   433d6:	2080           	movel %d0,%a0@                              
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
    (*rtems_malloc_statistics_helpers->at_malloc)(return_this);       
                                                                      
  return return_this;                                                 
}                                                                     
   433d8:	2002           	movel %d2,%d0                               
   433da:	242e fff8      	movel %fp@(-8),%d2                          
   433de:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000431e8 <malloc_deferred_frees_process>: void malloc_deferred_frees_process(void) {
   431e8:	4e56 0000      	linkw %fp,#0                                
   431ec:	2f0b           	movel %a3,%sp@-                             
                                                                      
  /*                                                                  
   *  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);                                                
   431ee:	47f9 0004 2fe4 	lea 42fe4 <free>,%a3                        
{                                                                     
  rtems_chain_initialize_empty(&RTEMS_Malloc_GC_list);                
}                                                                     
                                                                      
void malloc_deferred_frees_process(void)                              
{                                                                     
   431f4:	2f0a           	movel %a2,%sp@-                             
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
   431f6:	4879 0006 0b20 	pea 60b20 <RTEMS_Malloc_GC_list>            
   431fc:	45f9 0004 723c 	lea 4723c <_Chain_Get>,%a2                  
   43202:	4e92           	jsr %a2@                                    
  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)
   43204:	588f           	addql #4,%sp                                
   43206:	4a80           	tstl %d0                                    
   43208:	6714           	beqs 4321e <malloc_deferred_frees_process+0x36>
    free(to_be_freed);                                                
   4320a:	2f00           	movel %d0,%sp@-                             
   4320c:	4e93           	jsr %a3@                                    
   4320e:	588f           	addql #4,%sp                                
   43210:	4879 0006 0b20 	pea 60b20 <RTEMS_Malloc_GC_list>            
   43216:	4e92           	jsr %a2@                                    
  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)
   43218:	588f           	addql #4,%sp                                
   4321a:	4a80           	tstl %d0                                    
   4321c:	66ec           	bnes 4320a <malloc_deferred_frees_process+0x22><== NEVER TAKEN
    free(to_be_freed);                                                
}                                                                     
   4321e:	246e fff8      	moveal %fp@(-8),%a2                         
   43222:	266e fffc      	moveal %fp@(-4),%a3                         
   43226:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00043684 <malloc_sbrk_extend_and_allocate>: } void *malloc_sbrk_extend_and_allocate( size_t size ) {
   43684:	4e56 0000      	linkw %fp,#0                                
   *  Round to the "requested sbrk amount" so hopefully we won't have 
   *  to grow again for a while.  This effectively does sbrk() calls  
   *  in "page" amounts.                                              
   */                                                                 
                                                                      
  sbrk_amount = RTEMS_Malloc_Sbrk_amount;                             
   43688:	2039 0006 1220 	movel 61220 <RTEMS_Malloc_Sbrk_amount>,%d0  
}                                                                     
                                                                      
void *malloc_sbrk_extend_and_allocate(                                
  size_t size                                                         
)                                                                     
{                                                                     
   4368e:	2f0a           	movel %a2,%sp@-                             
   43690:	2f02           	movel %d2,%sp@-                             
   *  in "page" amounts.                                              
   */                                                                 
                                                                      
  sbrk_amount = RTEMS_Malloc_Sbrk_amount;                             
                                                                      
  if ( sbrk_amount == 0 )                                             
   43692:	4a80           	tstl %d0                                    
   43694:	660e           	bnes 436a4 <malloc_sbrk_extend_and_allocate+0x20><== ALWAYS TAKEN
                                                                      
  MSBUMP(space_available, the_size);                                  
                                                                      
  return_this = _Protected_heap_Allocate( RTEMS_Malloc_Heap, size );  
  return return_this;                                                 
}                                                                     
   43696:	242e fff8      	movel %fp@(-8),%d2                          
                                                                      
  the_size = ((size + sbrk_amount) / sbrk_amount * sbrk_amount);      
                                                                      
  starting_address = (void *) sbrk(the_size);                         
  if ( starting_address == (void*) -1 )                               
    return (void *) 0;                                                
   4369a:	4280           	clrl %d0                                    
                                                                      
  MSBUMP(space_available, the_size);                                  
                                                                      
  return_this = _Protected_heap_Allocate( RTEMS_Malloc_Heap, size );  
  return return_this;                                                 
}                                                                     
   4369c:	246e fffc      	moveal %fp@(-4),%a2                         
   436a0:	4e5e           	unlk %fp                                    
   436a2:	4e75           	rts                                         
  sbrk_amount = RTEMS_Malloc_Sbrk_amount;                             
                                                                      
  if ( sbrk_amount == 0 )                                             
    return (void *) 0;                                                
                                                                      
  the_size = ((size + sbrk_amount) / sbrk_amount * sbrk_amount);      
   436a4:	242e 0008      	movel %fp@(8),%d2                           
   436a8:	d480           	addl %d0,%d2                                
                                                                      
  starting_address = (void *) sbrk(the_size);                         
   436aa:	45f9 0004 0812 	lea 40812 <sbrk>,%a2                        
  sbrk_amount = RTEMS_Malloc_Sbrk_amount;                             
                                                                      
  if ( sbrk_amount == 0 )                                             
    return (void *) 0;                                                
                                                                      
  the_size = ((size + sbrk_amount) / sbrk_amount * sbrk_amount);      
   436b0:	4c40 2002      	remul %d0,%d2,%d2                           
   436b4:	4c00 2800      	mulsl %d0,%d2                               
                                                                      
  starting_address = (void *) sbrk(the_size);                         
   436b8:	2f02           	movel %d2,%sp@-                             
   436ba:	4e92           	jsr %a2@                                    
  if ( starting_address == (void*) -1 )                               
   436bc:	588f           	addql #4,%sp                                
   436be:	72ff           	moveq #-1,%d1                               
   436c0:	b280           	cmpl %d0,%d1                                
   436c2:	67d2           	beqs 43696 <malloc_sbrk_extend_and_allocate+0x12>
    return (void *) 0;                                                
                                                                      
  if ( !_Protected_heap_Extend(                                       
   436c4:	2f02           	movel %d2,%sp@-                             
   436c6:	2f00           	movel %d0,%sp@-                             
   436c8:	2f39 0005 f860 	movel 5f860 <RTEMS_Malloc_Heap>,%sp@-       
   436ce:	4eb9 0004 8698 	jsr 48698 <_Protected_heap_Extend>          
   436d4:	4fef 000c      	lea %sp@(12),%sp                            
   436d8:	4a00           	tstb %d0                                    
   436da:	672a           	beqs 43706 <malloc_sbrk_extend_and_allocate+0x82>
   436dc:	42a7           	clrl %sp@-                                  
    sbrk(-the_size);                                                  
    errno = ENOMEM;                                                   
    return (void *) 0;                                                
  }                                                                   
                                                                      
  MSBUMP(space_available, the_size);                                  
   436de:	d5b9 0006 11f4 	addl %d2,611f4 <rtems_malloc_statistics>    
   436e4:	42a7           	clrl %sp@-                                  
   436e6:	2f2e 0008      	movel %fp@(8),%sp@-                         
   436ea:	2f39 0005 f860 	movel 5f860 <RTEMS_Malloc_Heap>,%sp@-       
   436f0:	4eb9 0004 8658 	jsr 48658 <_Protected_heap_Allocate_aligned_with_boundary>
                                                                      
  return_this = _Protected_heap_Allocate( RTEMS_Malloc_Heap, size );  
  return return_this;                                                 
}                                                                     
   436f6:	242e fff8      	movel %fp@(-8),%d2                          
  }                                                                   
                                                                      
  MSBUMP(space_available, the_size);                                  
                                                                      
  return_this = _Protected_heap_Allocate( RTEMS_Malloc_Heap, size );  
  return return_this;                                                 
   436fa:	4fef 0010      	lea %sp@(16),%sp                            
}                                                                     
   436fe:	246e fffc      	moveal %fp@(-4),%a2                         
   43702:	4e5e           	unlk %fp                                    
   43704:	4e75           	rts                                         
  if ( starting_address == (void*) -1 )                               
    return (void *) 0;                                                
                                                                      
  if ( !_Protected_heap_Extend(                                       
          RTEMS_Malloc_Heap, starting_address, the_size) ) {          
    sbrk(-the_size);                                                  
   43706:	4482           	negl %d2                                    
   43708:	2f02           	movel %d2,%sp@-                             
   4370a:	4e92           	jsr %a2@                                    
    errno = ENOMEM;                                                   
   4370c:	4eb9 0004 f154 	jsr 4f154 <__errno>                         
                                                                      
  MSBUMP(space_available, the_size);                                  
                                                                      
  return_this = _Protected_heap_Allocate( RTEMS_Malloc_Heap, size );  
  return return_this;                                                 
}                                                                     
   43712:	242e fff8      	movel %fp@(-8),%d2                          
    return (void *) 0;                                                
                                                                      
  if ( !_Protected_heap_Extend(                                       
          RTEMS_Malloc_Heap, starting_address, the_size) ) {          
    sbrk(-the_size);                                                  
    errno = ENOMEM;                                                   
   43716:	2040           	moveal %d0,%a0                              
   43718:	720c           	moveq #12,%d1                               
    return (void *) 0;                                                
   4371a:	588f           	addql #4,%sp                                
   4371c:	4280           	clrl %d0                                    
                                                                      
  MSBUMP(space_available, the_size);                                  
                                                                      
  return_this = _Protected_heap_Allocate( RTEMS_Malloc_Heap, size );  
  return return_this;                                                 
}                                                                     
   4371e:	246e fffc      	moveal %fp@(-4),%a2                         
   43722:	4e5e           	unlk %fp                                    
    return (void *) 0;                                                
                                                                      
  if ( !_Protected_heap_Extend(                                       
          RTEMS_Malloc_Heap, starting_address, the_size) ) {          
    sbrk(-the_size);                                                  
    errno = ENOMEM;                                                   
   43724:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
                                                                      
  MSBUMP(space_available, the_size);                                  
                                                                      
  return_this = _Protected_heap_Allocate( RTEMS_Malloc_Heap, size );  
  return return_this;                                                 
}                                                                     
                                                                      

0004d5aa <memfile_free_blocks_in_table>: */ void memfile_free_blocks_in_table( block_p **block_table, int entries ) {
   4d5aa:	4e56 ffec      	linkw %fp,#-20                              
   4d5ae:	48d7 1c0c      	moveml %d2-%d3/%a2-%a4,%sp@                 
   4d5b2:	286e 0008      	moveal %fp@(8),%a4                          
   4d5b6:	47f9 0004 d590 	lea 4d590 <memfile_free_block>,%a3          
   4d5bc:	262e 000c      	movel %fp@(12),%d3                          
  IMFS_assert( block_table );                                         
                                                                      
  /*                                                                  
   *  Now go through all the slots in the table and free the memory.  
   */                                                                 
  b = *block_table;                                                   
   4d5c0:	2454           	moveal %a4@,%a2                             
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
   4d5c2:	6f1a           	bles 4d5de <memfile_free_blocks_in_table+0x34><== NEVER TAKEN
   4d5c4:	4282           	clrl %d2                                    
    if ( b[i] ) {                                                     
   4d5c6:	201a           	movel %a2@+,%d0                             
  /*                                                                  
   *  Now go through all the slots in the table and free the memory.  
   */                                                                 
  b = *block_table;                                                   
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
   4d5c8:	5282           	addql #1,%d2                                
    if ( b[i] ) {                                                     
   4d5ca:	4a80           	tstl %d0                                    
   4d5cc:	670a           	beqs 4d5d8 <memfile_free_blocks_in_table+0x2e>
      memfile_free_block( b[i] );                                     
   4d5ce:	2f00           	movel %d0,%sp@-                             
   4d5d0:	4e93           	jsr %a3@                                    
      b[i] = 0;                                                       
   4d5d2:	588f           	addql #4,%sp                                
   4d5d4:	42aa fffc      	clrl %a2@(-4)                               
  /*                                                                  
   *  Now go through all the slots in the table and free the memory.  
   */                                                                 
  b = *block_table;                                                   
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
   4d5d8:	b483           	cmpl %d3,%d2                                
   4d5da:	6dea           	blts 4d5c6 <memfile_free_blocks_in_table+0x1c>
   4d5dc:	2454           	moveal %a4@,%a2                             
                                                                      
  /*                                                                  
   *  Now that all the blocks in the block table are free, we can     
   *  free the block table itself.                                    
   */                                                                 
  memfile_free_block( *block_table );                                 
   4d5de:	2f0a           	movel %a2,%sp@-                             
   4d5e0:	4e93           	jsr %a3@                                    
  *block_table = 0;                                                   
   4d5e2:	588f           	addql #4,%sp                                
   4d5e4:	4294           	clrl %a4@                                   
}                                                                     
   4d5e6:	4cee 1c0c ffec 	moveml %fp@(-20),%d2-%d3/%a2-%a4            
   4d5ec:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004db6c <memfile_lseek>: { IMFS_jnode_t *the_jnode; the_jnode = iop->pathinfo.node_access; if (the_jnode->type == IMFS_LINEAR_FILE) {
   4db6c:	7006           	moveq #6,%d0                                
rtems_off64_t memfile_lseek(                                          
  rtems_libio_t   *iop,                                               
  rtems_off64_t    offset,                                            
  int              whence                                             
)                                                                     
{                                                                     
   4db6e:	4e56 ffe4      	linkw %fp,#-28                              
   4db72:	48d7 0c7c      	moveml %d2-%d6/%a2-%a3,%sp@                 
   4db76:	246e 0008      	moveal %fp@(8),%a2                          
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
   4db7a:	266a 0018      	moveal %a2@(24),%a3                         
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
   4db7e:	b0ab 0048      	cmpl %a3@(72),%d0                           
   4db82:	673e           	beqs 4dbc2 <memfile_lseek+0x56>             
    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 ))                
   4db84:	2f2a 0010      	movel %a2@(16),%sp@-                        
   4db88:	2f2a 000c      	movel %a2@(12),%sp@-                        
   4db8c:	2f0b           	movel %a3,%sp@-                             
   4db8e:	4eb9 0004 d732 	jsr 4d732 <IMFS_memfile_extend>             
   4db94:	4fef 000c      	lea %sp@(12),%sp                            
   4db98:	4a80           	tstl %d0                                    
   4db9a:	665a           	bnes 4dbf6 <memfile_lseek+0x8a>             
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
                                                                      
    iop->size = the_jnode->info.file.size;                            
   4db9c:	202b 004c      	movel %a3@(76),%d0                          
   4dba0:	222b 0050      	movel %a3@(80),%d1                          
   4dba4:	2540 0004      	movel %d0,%a2@(4)                           
   4dba8:	2541 0008      	movel %d1,%a2@(8)                           
   4dbac:	222a 000c      	movel %a2@(12),%d1                          
   4dbb0:	242a 0010      	movel %a2@(16),%d2                          
  }                                                                   
  return iop->offset;                                                 
}                                                                     
   4dbb4:	2001           	movel %d1,%d0                               
   4dbb6:	2202           	movel %d2,%d1                               
   4dbb8:	4cee 0c7c ffe4 	moveml %fp@(-28),%d2-%d6/%a2-%a3            
   4dbbe:	4e5e           	unlk %fp                                    
   4dbc0:	4e75           	rts                                         
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
    if (iop->offset > the_jnode->info.linearfile.size)                
   4dbc2:	222a 000c      	movel %a2@(12),%d1                          
   4dbc6:	242a 0010      	movel %a2@(16),%d2                          
   4dbca:	262b 004c      	movel %a3@(76),%d3                          
   4dbce:	282b 0050      	movel %a3@(80),%d4                          
   4dbd2:	2a01           	movel %d1,%d5                               
   4dbd4:	2c02           	movel %d2,%d6                               
   4dbd6:	9c84           	subl %d4,%d6                                
   4dbd8:	9b83           	subxl %d3,%d5                               
   4dbda:	6fd8           	bles 4dbb4 <memfile_lseek+0x48>             <== ALWAYS TAKEN
      iop->offset = the_jnode->info.linearfile.size;                  
   4dbdc:	2203           	movel %d3,%d1                               <== NOT EXECUTED
   4dbde:	2404           	movel %d4,%d2                               <== NOT EXECUTED
   4dbe0:	2543 000c      	movel %d3,%a2@(12)                          <== NOT EXECUTED
   4dbe4:	2544 0010      	movel %d4,%a2@(16)                          <== NOT EXECUTED
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
                                                                      
    iop->size = the_jnode->info.file.size;                            
  }                                                                   
  return iop->offset;                                                 
}                                                                     
   4dbe8:	2001           	movel %d1,%d0                               <== NOT EXECUTED
   4dbea:	2202           	movel %d2,%d1                               <== NOT EXECUTED
   4dbec:	4cee 0c7c ffe4 	moveml %fp@(-28),%d2-%d6/%a2-%a3            <== NOT EXECUTED
   4dbf2:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   4dbf4:	4e75           	rts                                         <== NOT EXECUTED
    if (iop->offset > the_jnode->info.linearfile.size)                
      iop->offset = the_jnode->info.linearfile.size;                  
  }                                                                   
  else {  /* Must be a block file (IMFS_MEMORY_FILE). */              
    if (IMFS_memfile_extend( the_jnode, iop->offset ))                
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
   4dbf6:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         
   4dbfc:	781c           	moveq #28,%d4                               
   4dbfe:	2040           	moveal %d0,%a0                              
   4dc00:	72ff           	moveq #-1,%d1                               
   4dc02:	74ff           	moveq #-1,%d2                               
   4dc04:	2084           	movel %d4,%a0@                              
                                                                      
    iop->size = the_jnode->info.file.size;                            
  }                                                                   
  return iop->offset;                                                 
}                                                                     
   4dc06:	2001           	movel %d1,%d0                               
   4dc08:	2202           	movel %d2,%d1                               
   4dc0a:	4cee 0c7c ffe4 	moveml %fp@(-28),%d2-%d6/%a2-%a3            
   4dc10:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004da34 <memfile_open>: rtems_libio_t *iop, const char *pathname, uint32_t flag, uint32_t mode ) {
   4da34:	4e56 fff0      	linkw %fp,#-16                              
   4da38:	48d7 0c0c      	moveml %d2-%d3/%a2-%a3,%sp@                 
   4da3c:	246e 0008      	moveal %fp@(8),%a2                          
  the_jnode = iop->pathinfo.node_access;                              
                                                                      
  /*                                                                  
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
   4da40:	202a 0014      	movel %a2@(20),%d0                          
   4da44:	2200           	movel %d0,%d1                               
   4da46:	0281 0000 0204 	andil #516,%d1                              
  uint32_t       mode                                                 
)                                                                     
{                                                                     
  IMFS_jnode_t  *the_jnode;                                           
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
   4da4c:	266a 0018      	moveal %a2@(24),%a3                         
                                                                      
  /*                                                                  
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
   4da50:	6708           	beqs 4da5a <memfile_open+0x26>              
   && (the_jnode->type == IMFS_LINEAR_FILE)) {                        
   4da52:	7206           	moveq #6,%d1                                
   4da54:	b2ab 0048      	cmpl %a3@(72),%d1                           
   4da58:	6732           	beqs 4da8c <memfile_open+0x58>              <== NEVER TAKEN
    the_jnode->info.file.size            = 0;                         
    the_jnode->info.file.indirect        = 0;                         
    the_jnode->info.file.doubly_indirect = 0;                         
    the_jnode->info.file.triply_indirect = 0;                         
    if ((count != 0)                                                  
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
   4da5a:	222b 004c      	movel %a3@(76),%d1                          
   4da5e:	242b 0050      	movel %a3@(80),%d2                          
        return -1;                                                    
  }                                                                   
  if (iop->flags & LIBIO_FLAGS_APPEND)                                
   4da62:	0800 0009      	btst #9,%d0                                 
   4da66:	6710           	beqs 4da78 <memfile_open+0x44>              
    iop->offset = the_jnode->info.file.size;                          
   4da68:	2541 000c      	movel %d1,%a2@(12)                          
   4da6c:	2542 0010      	movel %d2,%a2@(16)                          
   4da70:	222b 004c      	movel %a3@(76),%d1                          
   4da74:	242b 0050      	movel %a3@(80),%d2                          
                                                                      
  iop->size = the_jnode->info.file.size;                              
  return 0;                                                           
   4da78:	4280           	clrl %d0                                    
        return -1;                                                    
  }                                                                   
  if (iop->flags & LIBIO_FLAGS_APPEND)                                
    iop->offset = the_jnode->info.file.size;                          
                                                                      
  iop->size = the_jnode->info.file.size;                              
   4da7a:	2541 0004      	movel %d1,%a2@(4)                           
   4da7e:	2542 0008      	movel %d2,%a2@(8)                           
  return 0;                                                           
}                                                                     
   4da82:	4cee 0c0c fff0 	moveml %fp@(-16),%d2-%d3/%a2-%a3            
   4da88:	4e5e           	unlk %fp                                    
   4da8a:	4e75           	rts                                         
  /*                                                                  
   * 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;               
   4da8c:	202b 0050      	movel %a3@(80),%d0                          <== NOT EXECUTED
    const unsigned char *buffer = the_jnode->info.linearfile.direct;  
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
    the_jnode->info.file.size            = 0;                         
   4da90:	4282           	clrl %d2                                    <== NOT EXECUTED
   4da92:	4283           	clrl %d3                                    <== 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;  
   4da94:	222b 0054      	movel %a3@(84),%d1                          <== NOT EXECUTED
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
    the_jnode->info.file.size            = 0;                         
   4da98:	2742 004c      	movel %d2,%a3@(76)                          <== NOT EXECUTED
   4da9c:	2743 0050      	movel %d3,%a3@(80)                          <== 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;                               
   4daa0:	7605           	moveq #5,%d3                                <== NOT EXECUTED
    the_jnode->info.file.size            = 0;                         
    the_jnode->info.file.indirect        = 0;                         
   4daa2:	42ab 0054      	clrl %a3@(84)                               <== 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;                               
   4daa6:	2743 0048      	movel %d3,%a3@(72)                          <== NOT EXECUTED
    the_jnode->info.file.size            = 0;                         
    the_jnode->info.file.indirect        = 0;                         
    the_jnode->info.file.doubly_indirect = 0;                         
   4daaa:	42ab 0058      	clrl %a3@(88)                               <== NOT EXECUTED
    the_jnode->info.file.triply_indirect = 0;                         
   4daae:	42ab 005c      	clrl %a3@(92)                               <== NOT EXECUTED
    if ((count != 0)                                                  
   4dab2:	4a80           	tstl %d0                                    <== NOT EXECUTED
   4dab4:	6610           	bnes 4dac6 <memfile_open+0x92>              <== NOT EXECUTED
   4dab6:	202a 0014      	movel %a2@(20),%d0                          <== NOT EXECUTED
   4daba:	4281           	clrl %d1                                    <== NOT EXECUTED
   4dabc:	4282           	clrl %d2                                    <== NOT EXECUTED
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
        return -1;                                                    
  }                                                                   
  if (iop->flags & LIBIO_FLAGS_APPEND)                                
   4dabe:	0800 0009      	btst #9,%d0                                 <== NOT EXECUTED
   4dac2:	67b4           	beqs 4da78 <memfile_open+0x44>              <== NOT EXECUTED
   4dac4:	60a2           	bras 4da68 <memfile_open+0x34>              <== 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)                                                  
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
   4dac6:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   4dac8:	2f01           	movel %d1,%sp@-                             <== NOT EXECUTED
   4daca:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   4dacc:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   4dace:	2f0b           	movel %a3,%sp@-                             <== NOT EXECUTED
   4dad0:	4eb9 0004 d838 	jsr 4d838 <IMFS_memfile_write>              <== NOT EXECUTED
   4dad6:	4fef 0014      	lea %sp@(20),%sp                            <== NOT EXECUTED
   4dada:	72ff           	moveq #-1,%d1                               <== NOT EXECUTED
   4dadc:	b280           	cmpl %d0,%d1                                <== NOT EXECUTED
   4dade:	6710           	beqs 4daf0 <memfile_open+0xbc>              <== NOT EXECUTED
   4dae0:	202a 0014      	movel %a2@(20),%d0                          <== NOT EXECUTED
   4dae4:	222b 004c      	movel %a3@(76),%d1                          <== NOT EXECUTED
   4dae8:	242b 0050      	movel %a3@(80),%d2                          <== NOT EXECUTED
   4daec:	6000 ff74      	braw 4da62 <memfile_open+0x2e>              <== NOT EXECUTED
        return -1;                                                    
   4daf0:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
  if (iop->flags & LIBIO_FLAGS_APPEND)                                
    iop->offset = the_jnode->info.file.size;                          
                                                                      
  iop->size = the_jnode->info.file.size;                              
  return 0;                                                           
}                                                                     
   4daf2:	4cee 0c0c fff0 	moveml %fp@(-16),%d2-%d3/%a2-%a3            <== NOT EXECUTED
   4daf8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00043404 <mknod>: int mknod( const char *pathname, mode_t mode, dev_t dev ) {
   43404:	4e56 ffd4      	linkw %fp,#-44                              
   43408:	48d7 001c      	moveml %d2-%d4,%sp@                         
   4340c:	242e 000c      	movel %fp@(12),%d2                          
  int                                 result;                         
                                                                      
  /*                                                                  
   * The file type is field within the mode. Check we have a sane mode set.
   */                                                                 
  switch (mode & S_IFMT)                                              
   43410:	2002           	movel %d2,%d0                               
   43412:	0280 0000 f000 	andil #61440,%d0                            
int mknod(                                                            
  const char *pathname,                                               
  mode_t      mode,                                                   
  dev_t       dev                                                     
)                                                                     
{                                                                     
   43418:	282e 0008      	movel %fp@(8),%d4                           
  int                                 result;                         
                                                                      
  /*                                                                  
   * The file type is field within the mode. Check we have a sane mode set.
   */                                                                 
  switch (mode & S_IFMT)                                              
   4341c:	0c80 0000 4000 	cmpil #16384,%d0                            
   43422:	673a           	beqs 4345e <mknod+0x5a>                     
   43424:	6328           	blss 4344e <mknod+0x4a>                     
   43426:	0c80 0000 6000 	cmpil #24576,%d0                            
   4342c:	6730           	beqs 4345e <mknod+0x5a>                     
   4342e:	0c80 0000 8000 	cmpil #32768,%d0                            
   43434:	6728           	beqs 4345e <mknod+0x5a>                     <== ALWAYS TAKEN
    case S_IFBLK:                                                     
    case S_IFREG:                                                     
    case S_IFIFO:                                                     
      break;                                                          
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
   43436:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         
   4343c:	7216           	moveq #22,%d1                               
   4343e:	2040           	moveal %d0,%a0                              
   43440:	70ff           	moveq #-1,%d0                               
  result =  (*temp_loc.ops->mknod_h)( name_start, mode, dev, &temp_loc );
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
                                                                      
  return result;                                                      
}                                                                     
   43442:	4cee 001c ffd4 	moveml %fp@(-44),%d2-%d4                    
    case S_IFBLK:                                                     
    case S_IFREG:                                                     
    case S_IFIFO:                                                     
      break;                                                          
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
   43448:	2081           	movel %d1,%a0@                              
  result =  (*temp_loc.ops->mknod_h)( name_start, mode, dev, &temp_loc );
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
                                                                      
  return result;                                                      
}                                                                     
   4344a:	4e5e           	unlk %fp                                    
   4344c:	4e75           	rts                                         
  int                                 result;                         
                                                                      
  /*                                                                  
   * The file type is field within the mode. Check we have a sane mode set.
   */                                                                 
  switch (mode & S_IFMT)                                              
   4344e:	0c80 0000 1000 	cmpil #4096,%d0                             
   43454:	6708           	beqs 4345e <mknod+0x5a>                     
   43456:	0c80 0000 2000 	cmpil #8192,%d0                             
   4345c:	66d8           	bnes 43436 <mknod+0x32>                     
      break;                                                          
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  }                                                                   
                                                                      
  rtems_filesystem_get_start_loc( pathname, &i, &temp_loc );          
   4345e:	260e           	movel %fp,%d3                               
   43460:	0683 ffff ffe4 	addil #-28,%d3                              
   43466:	2f03           	movel %d3,%sp@-                             
   43468:	486e fffc      	pea %fp@(-4)                                
   4346c:	2f04           	movel %d4,%sp@-                             
   4346e:	4eb9 0004 3ec8 	jsr 43ec8 <rtems_filesystem_get_start_loc>  
                                                                      
  result = (*temp_loc.ops->evalformake_h)(                            
   43474:	486e fff8      	pea %fp@(-8)                                
   43478:	d8ae fffc      	addl %fp@(-4),%d4                           
   4347c:	2f03           	movel %d3,%sp@-                             
   4347e:	206e fff0      	moveal %fp@(-16),%a0                        
   43482:	2f04           	movel %d4,%sp@-                             
   43484:	2068 0004      	moveal %a0@(4),%a0                          
   43488:	4e90           	jsr %a0@                                    
    &pathname[i],                                                     
    &temp_loc,                                                        
    &name_start                                                       
  );                                                                  
  if ( result != 0 )                                                  
   4348a:	4fef 0018      	lea %sp@(24),%sp                            
   4348e:	4a80           	tstl %d0                                    
   43490:	670c           	beqs 4349e <mknod+0x9a>                     
    return -1;                                                        
   43492:	70ff           	moveq #-1,%d0                               
  result =  (*temp_loc.ops->mknod_h)( name_start, mode, dev, &temp_loc );
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
                                                                      
  return result;                                                      
}                                                                     
   43494:	4cee 001c ffd4 	moveml %fp@(-44),%d2-%d4                    
   4349a:	4e5e           	unlk %fp                                    
   4349c:	4e75           	rts                                         
    &name_start                                                       
  );                                                                  
  if ( result != 0 )                                                  
    return -1;                                                        
                                                                      
  result =  (*temp_loc.ops->mknod_h)( name_start, mode, dev, &temp_loc );
   4349e:	2f03           	movel %d3,%sp@-                             
   434a0:	2f2e 0014      	movel %fp@(20),%sp@-                        
   434a4:	2f2e 0010      	movel %fp@(16),%sp@-                        
   434a8:	206e fff0      	moveal %fp@(-16),%a0                        
   434ac:	2f02           	movel %d2,%sp@-                             
   434ae:	2f2e fff8      	movel %fp@(-8),%sp@-                        
   434b2:	2068 0014      	moveal %a0@(20),%a0                         
   434b6:	4e90           	jsr %a0@                                    
                                                                      
  rtems_filesystem_freenode( &temp_loc );                             
   434b8:	2f03           	movel %d3,%sp@-                             
   434ba:	2d40 ffe0      	movel %d0,%fp@(-32)                         
   434be:	4eb9 0004 2fd0 	jsr 42fd0 <rtems_filesystem_freenode>       
                                                                      
  return result;                                                      
   434c4:	202e ffe0      	movel %fp@(-32),%d0                         
   434c8:	4fef 0018      	lea %sp@(24),%sp                            
}                                                                     
   434cc:	4cee 001c ffd4 	moveml %fp@(-44),%d2-%d4                    
   434d2:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004356c <mount>: /* * Are the file system options valid? */ if ( options != RTEMS_FILESYSTEM_READ_ONLY &&
   4356c:	7001           	moveq #1,%d0                                
  const char                 *target,                                 
  const char                 *filesystemtype,                         
  rtems_filesystem_options_t options,                                 
  const void                 *data                                    
)                                                                     
{                                                                     
   4356e:	4e56 ffb8      	linkw %fp,#-72                              
   43572:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
   43576:	262e 0008      	movel %fp@(8),%d3                           
   4357a:	242e 000c      	movel %fp@(12),%d2                          
   4357e:	2a6e 0010      	moveal %fp@(16),%a5                         
                                                                      
  /*                                                                  
   *  Are the file system options valid?                              
   */                                                                 
                                                                      
  if ( options != RTEMS_FILESYSTEM_READ_ONLY &&                       
   43582:	b0ae 0014      	cmpl %fp@(20),%d0                           
   43586:	6500 0288      	bcsw 43810 <mount+0x2a4>                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  /*                                                                  
   *  Get mount handler                                               
   */                                                                 
  mount_h = rtems_filesystem_get_mount_handler( filesystemtype );     
   4358a:	2f0d           	movel %a5,%sp@-                             
   4358c:	4eb9 0004 b7ac 	jsr 4b7ac <rtems_filesystem_get_mount_handler>
  if ( !mount_h )                                                     
   43592:	588f           	addql #4,%sp                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  /*                                                                  
   *  Get mount handler                                               
   */                                                                 
  mount_h = rtems_filesystem_get_mount_handler( filesystemtype );     
   43594:	2840           	moveal %d0,%a4                              
  if ( !mount_h )                                                     
   43596:	4a80           	tstl %d0                                    
   43598:	6700 0276      	beqw 43810 <mount+0x2a4>                    
{                                                                     
  rtems_filesystem_fsmount_me_t mount_h = NULL;                       
  rtems_filesystem_location_info_t      loc;                          
  rtems_filesystem_mount_table_entry_t *mt_entry = NULL;              
  rtems_filesystem_location_info_t     *loc_to_free = NULL;           
  bool has_target = target != NULL;                                   
   4359c:	4a82           	tstl %d2                                    
   4359e:	56c4           	sne %d4                                     
   435a0:	4484           	negl %d4                                    
  const char *target_or_null,                                         
  const char *filesystemtype,                                         
  size_t *target_length_ptr                                           
)                                                                     
{                                                                     
  const char *target = target_or_null != NULL ? target_or_null : "/"; 
   435a2:	4a04           	tstb %d4                                    
   435a4:	6700 023c      	beqw 437e2 <mount+0x276>                    
 * 	4) The mount point exists with the proper permissions to allow mounting
 *	5) The selected mount point already has a file system mounted to it
 *                                                                    
 */                                                                   
                                                                      
int mount(                                                            
   435a8:	2f02           	movel %d2,%sp@-                             
   435aa:	45f9 0005 0028 	lea 50028 <strlen>,%a2                      
   435b0:	2d42 ffe0      	movel %d2,%fp@(-32)                         
   435b4:	4e92           	jsr %a2@                                    
   435b6:	588f           	addql #4,%sp                                
   435b8:	2e00           	movel %d0,%d7                               
   435ba:	5287           	addql #1,%d7                                
  const char *filesystemtype,                                         
  size_t *target_length_ptr                                           
)                                                                     
{                                                                     
  const char *target = target_or_null != NULL ? target_or_null : "/"; 
  size_t filesystemtype_size = strlen( filesystemtype ) + 1;          
   435bc:	2f0d           	movel %a5,%sp@-                             
 * 	4) The mount point exists with the proper permissions to allow mounting
 *	5) The selected mount point already has a file system mounted to it
 *                                                                    
 */                                                                   
                                                                      
int mount(                                                            
   435be:	2d40 ffe8      	movel %d0,%fp@(-24)                         
  const char *filesystemtype,                                         
  size_t *target_length_ptr                                           
)                                                                     
{                                                                     
  const char *target = target_or_null != NULL ? target_or_null : "/"; 
  size_t filesystemtype_size = strlen( filesystemtype ) + 1;          
   435c2:	4e92           	jsr %a2@                                    
   435c4:	588f           	addql #4,%sp                                
   435c6:	2a00           	movel %d0,%d5                               
   435c8:	5285           	addql #1,%d5                                
  size_t source_size = source_or_null != NULL ?                       
    strlen( source_or_null ) + 1 : 0;                                 
   435ca:	4a83           	tstl %d3                                    
   435cc:	6700 023c      	beqw 4380a <mount+0x29e>                    
   435d0:	2f03           	movel %d3,%sp@-                             
   435d2:	4eb9 0005 0028 	jsr 50028 <strlen>                          
   435d8:	588f           	addql #4,%sp                                
   435da:	2640           	moveal %d0,%a3                              
   435dc:	528b           	addql #1,%a3                                
  size_t target_size = strlen( target ) + 1;                          
  size_t size = sizeof( rtems_filesystem_mount_table_entry_t )        
    + filesystemtype_size + source_size + target_size;                
   435de:	2245           	moveal %d5,%a1                              
   435e0:	41f1 7874      	lea %a1@(00000074,%d7:l),%a0                
  rtems_filesystem_mount_table_entry_t *mt_entry = calloc( 1, size ); 
   435e4:	4870 b800      	pea %a0@(00000000,%a3:l)                    
   435e8:	4878 0001      	pea 1 <ADD>                                 
   435ec:	4eb9 0004 2bd8 	jsr 42bd8 <calloc>                          
                                                                      
  if ( mt_entry != NULL ) {                                           
   435f2:	508f           	addql #8,%sp                                
  size_t source_size = source_or_null != NULL ?                       
    strlen( source_or_null ) + 1 : 0;                                 
  size_t target_size = strlen( target ) + 1;                          
  size_t size = sizeof( rtems_filesystem_mount_table_entry_t )        
    + filesystemtype_size + source_size + target_size;                
  rtems_filesystem_mount_table_entry_t *mt_entry = calloc( 1, size ); 
   435f4:	2440           	moveal %d0,%a2                              
                                                                      
  if ( mt_entry != NULL ) {                                           
   435f6:	4a80           	tstl %d0                                    
   435f8:	6700 01d0      	beqw 437ca <mount+0x25e>                    
    char *str = (char *) mt_entry + sizeof( *mt_entry );              
                                                                      
    memcpy( str, filesystemtype, filesystemtype_size );               
   435fc:	2f05           	movel %d5,%sp@-                             
  size_t size = sizeof( rtems_filesystem_mount_table_entry_t )        
    + filesystemtype_size + source_size + target_size;                
  rtems_filesystem_mount_table_entry_t *mt_entry = calloc( 1, size ); 
                                                                      
  if ( mt_entry != NULL ) {                                           
    char *str = (char *) mt_entry + sizeof( *mt_entry );              
   435fe:	2c00           	movel %d0,%d6                               
   43600:	0686 0000 0074 	addil #116,%d6                              
                                                                      
    memcpy( str, filesystemtype, filesystemtype_size );               
    mt_entry->type = str;                                             
    str += filesystemtype_size;                                       
   43606:	da86           	addl %d6,%d5                                
                                                                      
    memcpy( str, source_or_null, source_size );                       
    mt_entry->dev = str;                                              
    str += source_size;                                               
   43608:	41f3 5800      	lea %a3@(00000000,%d5:l),%a0                
  rtems_filesystem_mount_table_entry_t *mt_entry = calloc( 1, size ); 
                                                                      
  if ( mt_entry != NULL ) {                                           
    char *str = (char *) mt_entry + sizeof( *mt_entry );              
                                                                      
    memcpy( str, filesystemtype, filesystemtype_size );               
   4360c:	2f0d           	movel %a5,%sp@-                             
   4360e:	4bf9 0004 f47c 	lea 4f47c <memcpy>,%a5                      
   43614:	2f06           	movel %d6,%sp@-                             
    mt_entry->type = str;                                             
    str += filesystemtype_size;                                       
                                                                      
    memcpy( str, source_or_null, source_size );                       
    mt_entry->dev = str;                                              
    str += source_size;                                               
   43616:	2d48 ffe4      	movel %a0,%fp@(-28)                         
  rtems_filesystem_mount_table_entry_t *mt_entry = calloc( 1, size ); 
                                                                      
  if ( mt_entry != NULL ) {                                           
    char *str = (char *) mt_entry + sizeof( *mt_entry );              
                                                                      
    memcpy( str, filesystemtype, filesystemtype_size );               
   4361a:	4e95           	jsr %a5@                                    
    mt_entry->type = str;                                             
    str += filesystemtype_size;                                       
                                                                      
    memcpy( str, source_or_null, source_size );                       
   4361c:	2f0b           	movel %a3,%sp@-                             
   4361e:	2f03           	movel %d3,%sp@-                             
                                                                      
  if ( mt_entry != NULL ) {                                           
    char *str = (char *) mt_entry + sizeof( *mt_entry );              
                                                                      
    memcpy( str, filesystemtype, filesystemtype_size );               
    mt_entry->type = str;                                             
   43620:	2546 006c      	movel %d6,%a2@(108)                         
    str += filesystemtype_size;                                       
                                                                      
    memcpy( str, source_or_null, source_size );                       
   43624:	2f05           	movel %d5,%sp@-                             
   43626:	4e95           	jsr %a5@                                    
    mt_entry->dev = str;                                              
    str += source_size;                                               
                                                                      
    memcpy( str, target, target_size );                               
   43628:	2f07           	movel %d7,%sp@-                             
   4362a:	2f2e ffe0      	movel %fp@(-32),%sp@-                       
    memcpy( str, filesystemtype, filesystemtype_size );               
    mt_entry->type = str;                                             
    str += filesystemtype_size;                                       
                                                                      
    memcpy( str, source_or_null, source_size );                       
    mt_entry->dev = str;                                              
   4362e:	2545 0070      	movel %d5,%a2@(112)                         
    str += source_size;                                               
                                                                      
    memcpy( str, target, target_size );                               
   43632:	2f2e ffe4      	movel %fp@(-28),%sp@-                       
   43636:	4e95           	jsr %a5@                                    
  );                                                                  
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  mt_entry->mt_fs_root.mt_entry = mt_entry;                           
  mt_entry->options = options;                                        
   43638:	202e 0014      	movel %fp@(20),%d0                          
  mt_entry->pathconf_limits_and_options = rtems_filesystem_default_pathconf;
   4363c:	7205           	moveq #5,%d1                                
   4363e:	307c 0080      	moveaw #128,%a0                             
  /*                                                                  
   *  The mount_point should be a directory with read/write/execute   
   *  permissions in the existing tree.                               
   */                                                                 
                                                                      
  if ( has_target ) {                                                 
   43642:	4fef 0024      	lea %sp@(36),%sp                            
  );                                                                  
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  mt_entry->mt_fs_root.mt_entry = mt_entry;                           
  mt_entry->options = options;                                        
   43646:	2540 0030      	movel %d0,%a2@(48)                          
  mt_entry->pathconf_limits_and_options = rtems_filesystem_default_pathconf;
   4364a:	7007           	moveq #7,%d0                                
    memcpy( str, source_or_null, source_size );                       
    mt_entry->dev = str;                                              
    str += source_size;                                               
                                                                      
    memcpy( str, target, target_size );                               
    mt_entry->target = str;                                           
   4364c:	226e ffe4      	moveal %fp@(-28),%a1                        
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  mt_entry->mt_fs_root.mt_entry = mt_entry;                           
  mt_entry->options = options;                                        
  mt_entry->pathconf_limits_and_options = rtems_filesystem_default_pathconf;
   43650:	2541 0038      	movel %d1,%a2@(56)                          
   43654:	123c ffff      	moveb #-1,%d1                               
   43658:	2548 003c      	movel %a0,%a2@(60)                          
   4365c:	307c 0400      	moveaw #1024,%a0                            
   43660:	2540 0040      	movel %d0,%a2@(64)                          
   43664:	103c 0001      	moveb #1,%d0                                
    memcpy( str, source_or_null, source_size );                       
    mt_entry->dev = str;                                              
    str += source_size;                                               
                                                                      
    memcpy( str, target, target_size );                               
    mt_entry->target = str;                                           
   43668:	2549 0068      	movel %a1,%a2@(104)                         
    &target_length                                                    
  );                                                                  
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  mt_entry->mt_fs_root.mt_entry = mt_entry;                           
   4366c:	254a 002c      	movel %a2,%a2@(44)                          
  mt_entry->options = options;                                        
  mt_entry->pathconf_limits_and_options = rtems_filesystem_default_pathconf;
   43670:	2541 0044      	movel %d1,%a2@(68)                          
   43674:	2541 0048      	movel %d1,%a2@(72)                          
   43678:	2548 004c      	movel %a0,%a2@(76)                          
   4367c:	42aa 0050      	clrl %a2@(80)                               
   43680:	42aa 0054      	clrl %a2@(84)                               
   43684:	2540 0058      	movel %d0,%a2@(88)                          
   43688:	42aa 005c      	clrl %a2@(92)                               
   4368c:	42aa 0060      	clrl %a2@(96)                               
   43690:	42aa 0064      	clrl %a2@(100)                              
  /*                                                                  
   *  The mount_point should be a directory with read/write/execute   
   *  permissions in the existing tree.                               
   */                                                                 
                                                                      
  if ( has_target ) {                                                 
   43694:	4a04           	tstb %d4                                    
   43696:	6600 0092      	bnew 4372a <mount+0x1be>                    
    }                                                                 
  } else {                                                            
    /*                                                                
     * Do we already have a base file system ?                        
     */                                                               
    if ( !rtems_chain_is_empty( &mount_chain ) ) {                    
   4369a:	203c 0005 f3cc 	movel #390092,%d0                           
   436a0:	b0b9 0005 f3c8 	cmpl 5f3c8 <mount_chain>,%d0                
   436a6:	6600 0180      	bnew 43828 <mount+0x2bc>                    
)                                                                     
{                                                                     
  rtems_filesystem_fsmount_me_t mount_h = NULL;                       
  rtems_filesystem_location_info_t      loc;                          
  rtems_filesystem_mount_table_entry_t *mt_entry = NULL;              
  rtems_filesystem_location_info_t     *loc_to_free = NULL;           
   436aa:	4283           	clrl %d3                                    
     *  mt_point_node.node_access will be left to null to indicate that this
     *  is the root of the entire file system.                        
     */                                                               
  }                                                                   
                                                                      
  if ( (*mount_h)( mt_entry, data ) ) {                               
   436ac:	2f2e 0018      	movel %fp@(24),%sp@-                        
   436b0:	2f0a           	movel %a2,%sp@-                             
   436b2:	4e94           	jsr %a4@                                    
   436b4:	508f           	addql #8,%sp                                
   436b6:	4a80           	tstl %d0                                    
   436b8:	6600 0190      	bnew 4384a <mount+0x2de>                    
rtems_status_code rtems_libio_set_private_env(void);                  
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;   
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
   436bc:	42a7           	clrl %sp@-                                  
   436be:	42a7           	clrl %sp@-                                  
   436c0:	2f39 0006 0b1c 	movel 60b1c <rtems_libio_semaphore>,%sp@-   
   436c6:	4eb9 0004 6768 	jsr 46768 <rtems_semaphore_obtain>          
   436cc:	2f0a           	movel %a2,%sp@-                             
   436ce:	4879 0005 f3c8 	pea 5f3c8 <mount_chain>                     
   436d4:	4eb9 0004 71dc 	jsr 471dc <_Chain_Append>                   
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
   436da:	2f39 0006 0b1c 	movel 60b1c <rtems_libio_semaphore>,%sp@-   
   436e0:	4eb9 0004 68a8 	jsr 468a8 <rtems_semaphore_release>         
   */                                                                 
  rtems_libio_lock();                                                 
  rtems_chain_append( &mount_chain, &mt_entry->Node );                
  rtems_libio_unlock();                                               
                                                                      
  if ( !has_target )                                                  
   436e6:	4fef 0018      	lea %sp@(24),%sp                            
   436ea:	4a04           	tstb %d4                                    
   436ec:	6630           	bnes 4371e <mount+0x1b2>                    
    rtems_filesystem_root = mt_entry->mt_fs_root;                     
   436ee:	2079 0005 f4e4 	moveal 5f4e4 <rtems_current_user_env>,%a0   
                                                                      
  return 0;                                                           
   436f4:	4280           	clrl %d0                                    
  rtems_libio_lock();                                                 
  rtems_chain_append( &mount_chain, &mt_entry->Node );                
  rtems_libio_unlock();                                               
                                                                      
  if ( !has_target )                                                  
    rtems_filesystem_root = mt_entry->mt_fs_root;                     
   436f6:	216a 001c 0018 	movel %a2@(28),%a0@(24)                     
   436fc:	216a 0020 001c 	movel %a2@(32),%a0@(28)                     
   43702:	216a 0024 0020 	movel %a2@(36),%a0@(32)                     
   43708:	216a 0028 0024 	movel %a2@(40),%a0@(36)                     
   4370e:	216a 002c 0028 	movel %a2@(44),%a0@(40)                     
                                                                      
  if ( loc_to_free )                                                  
    rtems_filesystem_freenode( loc_to_free );                         
                                                                      
  return -1;                                                          
}                                                                     
   43714:	4cee 3cfc ffb8 	moveml %fp@(-72),%d2-%d7/%a2-%a5            
   4371a:	4e5e           	unlk %fp                                    
   4371c:	4e75           	rts                                         
  rtems_libio_unlock();                                               
                                                                      
  if ( !has_target )                                                  
    rtems_filesystem_root = mt_entry->mt_fs_root;                     
                                                                      
  return 0;                                                           
   4371e:	4280           	clrl %d0                                    
                                                                      
  if ( loc_to_free )                                                  
    rtems_filesystem_freenode( loc_to_free );                         
                                                                      
  return -1;                                                          
}                                                                     
   43720:	4cee 3cfc ffb8 	moveml %fp@(-72),%d2-%d7/%a2-%a5            
   43726:	4e5e           	unlk %fp                                    
   43728:	4e75           	rts                                         
   *  The mount_point should be a directory with read/write/execute   
   *  permissions in the existing tree.                               
   */                                                                 
                                                                      
  if ( has_target ) {                                                 
    if ( rtems_filesystem_evaluate_path(                              
   4372a:	4878 0001      	pea 1 <ADD>                                 
   4372e:	260e           	movel %fp,%d3                               
   43730:	0683 ffff ffec 	addil #-20,%d3                              
   43736:	2f03           	movel %d3,%sp@-                             
   43738:	4878 0007      	pea 7 <TRUNCDFSF>                           
   4373c:	2f2e ffe8      	movel %fp@(-24),%sp@-                       
   43740:	2f02           	movel %d2,%sp@-                             
   43742:	4eb9 0004 2eec 	jsr 42eec <rtems_filesystem_evaluate_path>  
   43748:	4fef 0014      	lea %sp@(20),%sp                            
   4374c:	72ff           	moveq #-1,%d1                               
   4374e:	b280           	cmpl %d0,%d1                                
   43750:	6700 00e2      	beqw 43834 <mount+0x2c8>                    
                                                                      
    /*                                                                
     *  Test to see if it is a directory                              
     */                                                               
                                                                      
    if ( loc.ops->node_type_h( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
   43754:	206e fff8      	moveal %fp@(-8),%a0                         
   43758:	2f03           	movel %d3,%sp@-                             
   4375a:	2068 0010      	moveal %a0@(16),%a0                         
   4375e:	4e90           	jsr %a0@                                    
   43760:	588f           	addql #4,%sp                                
   43762:	7201           	moveq #1,%d1                                
   43764:	b280           	cmpl %d0,%d1                                
   43766:	6600 010a      	bnew 43872 <mount+0x306>                    
                                                                      
    /*                                                                
     *  You can only mount one file system onto a single mount point. 
     */                                                               
                                                                      
    if ( rtems_filesystem_mount_iterate( is_node_fs_root, loc.node_access ) ) {
   4376a:	2f2e ffec      	movel %fp@(-20),%sp@-                       
   4376e:	487a fd68      	pea %pc@(434d8 <is_node_fs_root>)           
   43772:	4eb9 0004 34f0 	jsr 434f0 <rtems_filesystem_mount_iterate>  
   43778:	508f           	addql #8,%sp                                
   4377a:	4a00           	tstb %d0                                    
   4377c:	6600 010e      	bnew 4388c <mount+0x320>                    
     *  traverse the tree.                                            
     */                                                               
                                                                      
    mt_entry->mt_point_node.node_access = loc.node_access;            
    mt_entry->mt_point_node.handlers = loc.handlers;                  
    mt_entry->mt_point_node.ops = loc.ops;                            
   43780:	206e fff8      	moveal %fp@(-8),%a0                         
     *  may have been allocated in loc should not be sent to freenode 
     *  until the system is unmounted.  It may be needed to correctly 
     *  traverse the tree.                                            
     */                                                               
                                                                      
    mt_entry->mt_point_node.node_access = loc.node_access;            
   43784:	256e ffec 0008 	movel %fp@(-20),%a2@(8)                     
    mt_entry->mt_point_node.handlers = loc.handlers;                  
   4378a:	256e fff4 0010 	movel %fp@(-12),%a2@(16)                    
    mt_entry->mt_point_node.ops = loc.ops;                            
    mt_entry->mt_point_node.mt_entry = loc.mt_entry;                  
   43790:	256e fffc 0018 	movel %fp@(-4),%a2@(24)                     
    /*                                                                
     *  This link to the parent is only done when we are dealing with system
     *  below the base file system                                    
     */                                                               
                                                                      
    if ( loc.ops->mount_h( mt_entry ) ) {                             
   43796:	2f0a           	movel %a2,%sp@-                             
   43798:	2268 0020      	moveal %a0@(32),%a1                         
     *  traverse the tree.                                            
     */                                                               
                                                                      
    mt_entry->mt_point_node.node_access = loc.node_access;            
    mt_entry->mt_point_node.handlers = loc.handlers;                  
    mt_entry->mt_point_node.ops = loc.ops;                            
   4379c:	2548 0014      	movel %a0,%a2@(20)                          
    /*                                                                
     *  This link to the parent is only done when we are dealing with system
     *  below the base file system                                    
     */                                                               
                                                                      
    if ( loc.ops->mount_h( mt_entry ) ) {                             
   437a0:	4e91           	jsr %a1@                                    
   437a2:	588f           	addql #4,%sp                                
   437a4:	4a80           	tstl %d0                                    
   437a6:	6700 ff04      	beqw 436ac <mount+0x140>                    
                                                                      
  return 0;                                                           
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( mt_entry );                                                   
   437aa:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   437ac:	4eb9 0004 2fe4 	jsr 42fe4 <free>                            <== NOT EXECUTED
   437b2:	588f           	addql #4,%sp                                <== NOT EXECUTED
                                                                      
  if ( loc_to_free )                                                  
    rtems_filesystem_freenode( loc_to_free );                         
   437b4:	2f03           	movel %d3,%sp@-                             
   437b6:	4eb9 0004 2fd0 	jsr 42fd0 <rtems_filesystem_freenode>       
   437bc:	588f           	addql #4,%sp                                
                                                                      
  return -1;                                                          
   437be:	70ff           	moveq #-1,%d0                               
}                                                                     
   437c0:	4cee 3cfc ffb8 	moveml %fp@(-72),%d2-%d7/%a2-%a5            
   437c6:	4e5e           	unlk %fp                                    
   437c8:	4e75           	rts                                         
    target,                                                           
    filesystemtype,                                                   
    &target_length                                                    
  );                                                                  
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
   437ca:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         <== NOT EXECUTED
   437d0:	760c           	moveq #12,%d3                               <== NOT EXECUTED
   437d2:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   437d4:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   437d6:	2083           	movel %d3,%a0@                              <== NOT EXECUTED
                                                                      
  if ( loc_to_free )                                                  
    rtems_filesystem_freenode( loc_to_free );                         
                                                                      
  return -1;                                                          
}                                                                     
   437d8:	4cee 3cfc ffb8 	moveml %fp@(-72),%d2-%d7/%a2-%a5            <== NOT EXECUTED
   437de:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   437e0:	4e75           	rts                                         <== NOT EXECUTED
  const char *target_or_null,                                         
  const char *filesystemtype,                                         
  size_t *target_length_ptr                                           
)                                                                     
{                                                                     
  const char *target = target_or_null != NULL ? target_or_null : "/"; 
   437e2:	7201           	moveq #1,%d1                                
   437e4:	41f9 0005 de9e 	lea 5de9e <IMFS_ops+0x48>,%a0               
   437ea:	45f9 0005 0028 	lea 50028 <strlen>,%a2                      
   437f0:	7e02           	moveq #2,%d7                                
  size_t filesystemtype_size = strlen( filesystemtype ) + 1;          
   437f2:	2f0d           	movel %a5,%sp@-                             
  const char *target_or_null,                                         
  const char *filesystemtype,                                         
  size_t *target_length_ptr                                           
)                                                                     
{                                                                     
  const char *target = target_or_null != NULL ? target_or_null : "/"; 
   437f4:	2d41 ffe8      	movel %d1,%fp@(-24)                         
   437f8:	2d48 ffe0      	movel %a0,%fp@(-32)                         
  size_t filesystemtype_size = strlen( filesystemtype ) + 1;          
   437fc:	4e92           	jsr %a2@                                    
   437fe:	588f           	addql #4,%sp                                
   43800:	2a00           	movel %d0,%d5                               
   43802:	5285           	addql #1,%d5                                
  size_t source_size = source_or_null != NULL ?                       
    strlen( source_or_null ) + 1 : 0;                                 
   43804:	4a83           	tstl %d3                                    
   43806:	6600 fdc8      	bnew 435d0 <mount+0x64>                     
   4380a:	97cb           	subal %a3,%a3                               
   4380c:	6000 fdd0      	braw 435de <mount+0x72>                     
  /*                                                                  
   *  Get mount handler                                               
   */                                                                 
  mount_h = rtems_filesystem_get_mount_handler( filesystemtype );     
  if ( !mount_h )                                                     
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   43810:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         
   43816:	7816           	moveq #22,%d4                               
   43818:	2040           	moveal %d0,%a0                              
   4381a:	70ff           	moveq #-1,%d0                               
   4381c:	2084           	movel %d4,%a0@                              
                                                                      
  if ( loc_to_free )                                                  
    rtems_filesystem_freenode( loc_to_free );                         
                                                                      
  return -1;                                                          
}                                                                     
   4381e:	4cee 3cfc ffb8 	moveml %fp@(-72),%d2-%d7/%a2-%a5            
   43824:	4e5e           	unlk %fp                                    
   43826:	4e75           	rts                                         
  } else {                                                            
    /*                                                                
     * Do we already have a base file system ?                        
     */                                                               
    if ( !rtems_chain_is_empty( &mount_chain ) ) {                    
      errno = EINVAL;                                                 
   43828:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         <== NOT EXECUTED
   4382e:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   43830:	7016           	moveq #22,%d0                               <== NOT EXECUTED
   43832:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
                                                                      
  return 0;                                                           
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( mt_entry );                                                   
   43834:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   43836:	4eb9 0004 2fe4 	jsr 42fe4 <free>                            <== NOT EXECUTED
   4383c:	588f           	addql #4,%sp                                <== NOT EXECUTED
                                                                      
  if ( loc_to_free )                                                  
    rtems_filesystem_freenode( loc_to_free );                         
                                                                      
  return -1;                                                          
   4383e:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
}                                                                     
   43840:	4cee 3cfc ffb8 	moveml %fp@(-72),%d2-%d7/%a2-%a5            <== NOT EXECUTED
   43846:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   43848:	4e75           	rts                                         <== NOT EXECUTED
                                                                      
  if ( (*mount_h)( mt_entry, data ) ) {                               
    /*                                                                
     * Try to undo the mount operation                                
     */                                                               
    loc.ops->unmount_h( mt_entry );                                   
   4384a:	206e fff8      	moveal %fp@(-8),%a0                         
   4384e:	2f0a           	movel %a2,%sp@-                             
   43850:	2068 0028      	moveal %a0@(40),%a0                         
   43854:	4e90           	jsr %a0@                                    
                                                                      
  return 0;                                                           
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( mt_entry );                                                   
   43856:	2e8a           	movel %a2,%sp@                              
   43858:	4eb9 0004 2fe4 	jsr 42fe4 <free>                            
                                                                      
  if ( loc_to_free )                                                  
   4385e:	588f           	addql #4,%sp                                
   43860:	4a83           	tstl %d3                                    
   43862:	6600 ff50      	bnew 437b4 <mount+0x248>                    
    rtems_filesystem_freenode( loc_to_free );                         
                                                                      
  return -1;                                                          
   43866:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
}                                                                     
   43868:	4cee 3cfc ffb8 	moveml %fp@(-72),%d2-%d7/%a2-%a5            <== NOT EXECUTED
   4386e:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   43870:	4e75           	rts                                         <== NOT EXECUTED
    /*                                                                
     *  Test to see if it is a directory                              
     */                                                               
                                                                      
    if ( loc.ops->node_type_h( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
      errno = ENOTDIR;                                                
   43872:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         
   43878:	7414           	moveq #20,%d2                               
   4387a:	2040           	moveal %d0,%a0                              
   4387c:	2082           	movel %d2,%a0@                              
                                                                      
  return 0;                                                           
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( mt_entry );                                                   
   4387e:	2f0a           	movel %a2,%sp@-                             
   43880:	4eb9 0004 2fe4 	jsr 42fe4 <free>                            
   43886:	588f           	addql #4,%sp                                
   43888:	6000 ff2a      	braw 437b4 <mount+0x248>                    
    /*                                                                
     *  You can only mount one file system onto a single mount point. 
     */                                                               
                                                                      
    if ( rtems_filesystem_mount_iterate( is_node_fs_root, loc.node_access ) ) {
      errno = EBUSY;                                                  
   4388c:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         
   43892:	7210           	moveq #16,%d1                               
   43894:	2240           	moveal %d0,%a1                              
   43896:	2281           	movel %d1,%a1@                              
                                                                      
  return 0;                                                           
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( mt_entry );                                                   
   43898:	2f0a           	movel %a2,%sp@-                             
   4389a:	4eb9 0004 2fe4 	jsr 42fe4 <free>                            
   438a0:	588f           	addql #4,%sp                                
   438a2:	6000 ff10      	braw 437b4 <mount+0x248>                    
	...                                                                  
                                                                      

00043cc0 <mount_and_make_target_path>: const char *target, const char *filesystemtype, rtems_filesystem_options_t options, const void *data ) {
   43cc0:	4e56 ffec      	linkw %fp,#-20                              
   43cc4:	48d7 007c      	moveml %d2-%d6,%sp@                         
   43cc8:	262e 0008      	movel %fp@(8),%d3                           
   43ccc:	242e 000c      	movel %fp@(12),%d2                          
   43cd0:	282e 0010      	movel %fp@(16),%d4                          
   43cd4:	2a2e 0014      	movel %fp@(20),%d5                          
   43cd8:	2c2e 0018      	movel %fp@(24),%d6                          
  int rv = -1;                                                        
                                                                      
  if (target != NULL) {                                               
   43cdc:	4a82           	tstl %d2                                    
   43cde:	673e           	beqs 43d1e <mount_and_make_target_path+0x5e>
    rv = rtems_mkdir(target, S_IRWXU | S_IRWXG | S_IRWXO);            
   43ce0:	4878 01ff      	pea 1ff <DBL_MANT_DIG+0x1ca>                
   43ce4:	2f02           	movel %d2,%sp@-                             
   43ce6:	4eb9 0004 4728 	jsr 44728 <rtems_mkdir>                     
    if (rv == 0) {                                                    
   43cec:	508f           	addql #8,%sp                                
   43cee:	4a80           	tstl %d0                                    
   43cf0:	670a           	beqs 43cfc <mount_and_make_target_path+0x3c><== ALWAYS TAKEN
  } else {                                                            
    errno = EINVAL;                                                   
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
   43cf2:	4cee 007c ffec 	moveml %fp@(-20),%d2-%d6                    <== NOT EXECUTED
   43cf8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   43cfa:	4e75           	rts                                         <== NOT EXECUTED
  int rv = -1;                                                        
                                                                      
  if (target != NULL) {                                               
    rv = rtems_mkdir(target, S_IRWXU | S_IRWXG | S_IRWXO);            
    if (rv == 0) {                                                    
      rv = mount(                                                     
   43cfc:	2d46 0018      	movel %d6,%fp@(24)                          
   43d00:	2d45 0014      	movel %d5,%fp@(20)                          
   43d04:	2d44 0010      	movel %d4,%fp@(16)                          
   43d08:	2d42 000c      	movel %d2,%fp@(12)                          
   43d0c:	2d43 0008      	movel %d3,%fp@(8)                           
  } else {                                                            
    errno = EINVAL;                                                   
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
   43d10:	4cee 007c ffec 	moveml %fp@(-20),%d2-%d6                    
   43d16:	4e5e           	unlk %fp                                    
  int rv = -1;                                                        
                                                                      
  if (target != NULL) {                                               
    rv = rtems_mkdir(target, S_IRWXU | S_IRWXG | S_IRWXO);            
    if (rv == 0) {                                                    
      rv = mount(                                                     
   43d18:	4ef9 0004 3dcc 	jmp 43dcc <mount>                           
        options,                                                      
        data                                                          
      );                                                              
    }                                                                 
  } else {                                                            
    errno = EINVAL;                                                   
   43d1e:	4eb9 0004 f3b8 	jsr 4f3b8 <__errno>                         
   43d24:	7216           	moveq #22,%d1                               
   43d26:	2040           	moveal %d0,%a0                              
  const char *filesystemtype,                                         
  rtems_filesystem_options_t options,                                 
  const void *data                                                    
)                                                                     
{                                                                     
  int rv = -1;                                                        
   43d28:	70ff           	moveq #-1,%d0                               
  } else {                                                            
    errno = EINVAL;                                                   
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
   43d2a:	4cee 007c ffec 	moveml %fp@(-20),%d2-%d6                    
        options,                                                      
        data                                                          
      );                                                              
    }                                                                 
  } else {                                                            
    errno = EINVAL;                                                   
   43d30:	2081           	movel %d1,%a0@                              
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
   43d32:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004c794 <mq_setattr>: int mq_setattr( mqd_t mqdes, const struct mq_attr *mqstat, struct mq_attr *omqstat ) {
   4c794:	4e56 fffc      	linkw %fp,#-4                               
   4c798:	2f0b           	movel %a3,%sp@-                             
   4c79a:	266e 000c      	moveal %fp@(12),%a3                         
   4c79e:	2f0a           	movel %a2,%sp@-                             
   4c7a0:	246e 0010      	moveal %fp@(16),%a2                         
  POSIX_Message_queue_Control_fd *the_mq_fd;                          
  CORE_message_queue_Control     *the_core_mq;                        
  Objects_Locations               location;                           
                                                                      
  if ( !mqstat )                                                      
   4c7a4:	4a8b           	tstl %a3                                    
   4c7a6:	6770           	beqs 4c818 <mq_setattr+0x84>                <== NEVER TAKEN
   4c7a8:	486e fffc      	pea %fp@(-4)                                
   4c7ac:	2f2e 0008      	movel %fp@(8),%sp@-                         
   4c7b0:	4879 0006 ae1c 	pea 6ae1c <_POSIX_Message_queue_Information_fds>
   4c7b6:	4eb9 0004 f970 	jsr 4f970 <_Objects_Get>                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  the_mq_fd = _POSIX_Message_queue_Get_fd( mqdes, &location );        
  switch ( location ) {                                               
   4c7bc:	4fef 000c      	lea %sp@(12),%sp                            
   4c7c0:	2040           	moveal %d0,%a0                              
   4c7c2:	4aae fffc      	tstl %fp@(-4)                               
   4c7c6:	6636           	bnes 4c7fe <mq_setattr+0x6a>                
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      the_core_mq = &the_mq_fd->Queue->Message_queue;                 
   4c7c8:	2268 0010      	moveal %a0@(16),%a1                         
                                                                      
      /*                                                              
       *  Return the old values.                                      
       */                                                             
                                                                      
      if ( omqstat ) {                                                
   4c7cc:	4a8a           	tstl %a2                                    
   4c7ce:	6716           	beqs 4c7e6 <mq_setattr+0x52>                
        omqstat->mq_flags   = the_mq_fd->oflag;                       
   4c7d0:	24a8 0014      	movel %a0@(20),%a2@                         
        omqstat->mq_msgsize = the_core_mq->maximum_message_size;      
   4c7d4:	2569 0066 0008 	movel %a1@(102),%a2@(8)                     
        omqstat->mq_maxmsg  = the_core_mq->maximum_pending_messages;  
   4c7da:	2569 005e 0004 	movel %a1@(94),%a2@(4)                      
        omqstat->mq_curmsgs = the_core_mq->number_of_pending_messages;
   4c7e0:	2569 0062 000c 	movel %a1@(98),%a2@(12)                     
      }                                                               
                                                                      
      the_mq_fd->oflag = mqstat->mq_flags;                            
   4c7e6:	2153 0014      	movel %a3@,%a0@(20)                         
      _Thread_Enable_dispatch();                                      
   4c7ea:	4eb9 0005 066a 	jsr 5066a <_Thread_Enable_dispatch>         
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
}                                                                     
   4c7f0:	246e fff4      	moveal %fp@(-12),%a2                        
        omqstat->mq_curmsgs = the_core_mq->number_of_pending_messages;
      }                                                               
                                                                      
      the_mq_fd->oflag = mqstat->mq_flags;                            
      _Thread_Enable_dispatch();                                      
      return 0;                                                       
   4c7f4:	4280           	clrl %d0                                    
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
}                                                                     
   4c7f6:	266e fff8      	moveal %fp@(-8),%a3                         
   4c7fa:	4e5e           	unlk %fp                                    
   4c7fc:	4e75           	rts                                         
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
   4c7fe:	4eb9 0005 6cb8 	jsr 56cb8 <__errno>                         
}                                                                     
   4c804:	246e fff4      	moveal %fp@(-12),%a2                        
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
   4c808:	2040           	moveal %d0,%a0                              
   4c80a:	7209           	moveq #9,%d1                                
   4c80c:	70ff           	moveq #-1,%d0                               
}                                                                     
   4c80e:	266e fff8      	moveal %fp@(-8),%a3                         
   4c812:	4e5e           	unlk %fp                                    
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
   4c814:	2081           	movel %d1,%a0@                              
}                                                                     
   4c816:	4e75           	rts                                         
  POSIX_Message_queue_Control_fd *the_mq_fd;                          
  CORE_message_queue_Control     *the_core_mq;                        
  Objects_Locations               location;                           
                                                                      
  if ( !mqstat )                                                      
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   4c818:	4eb9 0005 6cb8 	jsr 56cb8 <__errno>                         
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
}                                                                     
   4c81e:	246e fff4      	moveal %fp@(-12),%a2                        
  POSIX_Message_queue_Control_fd *the_mq_fd;                          
  CORE_message_queue_Control     *the_core_mq;                        
  Objects_Locations               location;                           
                                                                      
  if ( !mqstat )                                                      
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   4c822:	2040           	moveal %d0,%a0                              
   4c824:	7216           	moveq #22,%d1                               
   4c826:	70ff           	moveq #-1,%d0                               
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
}                                                                     
   4c828:	266e fff8      	moveal %fp@(-8),%a3                         
   4c82c:	4e5e           	unlk %fp                                    
  POSIX_Message_queue_Control_fd *the_mq_fd;                          
  CORE_message_queue_Control     *the_core_mq;                        
  Objects_Locations               location;                           
                                                                      
  if ( !mqstat )                                                      
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   4c82e:	2081           	movel %d1,%a0@                              
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
}                                                                     
	...                                                                  
                                                                      

00043b4c <newlib_delete_hook>: void newlib_delete_hook( rtems_tcb *current_task, rtems_tcb *deleted_task ) {
   43b4c:	4e56 fff4      	linkw %fp,#-12                              
   43b50:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
   43b54:	262e 0008      	movel %fp@(8),%d3                           
   43b58:	246e 000c      	moveal %fp@(12),%a2                         
                                                                      
  /*                                                                  
   * The reentrancy structure was allocated by newlib using malloc()  
   */                                                                 
                                                                      
  if (current_task == deleted_task) {                                 
   43b5c:	b5c3           	cmpal %d3,%a2                               
   43b5e:	674c           	beqs 43bac <newlib_delete_hook+0x60>        
    ptr = _REENT;                                                     
  } else {                                                            
    ptr = deleted_task->libc_reent;                                   
   43b60:	242a 00fa      	movel %a2@(250),%d2                         
  }                                                                   
                                                                      
  if (ptr && ptr != _global_impure_ptr) {                             
   43b64:	4a82           	tstl %d2                                    
   43b66:	6722           	beqs 43b8a <newlib_delete_hook+0x3e>        <== NEVER TAKEN
   43b68:	b4b9 0005 eacc 	cmpl 5eacc <_global_impure_ptr>,%d2         
   43b6e:	671a           	beqs 43b8a <newlib_delete_hook+0x3e>        
    _reclaim_reent(ptr);                                              
*/                                                                    
    /*                                                                
     *  Just in case there are some buffers lying around.             
     */                                                               
    _fwalk(ptr, newlib_free_buffers);                                 
   43b70:	4879 0004 3934 	pea 43934 <newlib_free_buffers>             
   43b76:	2f02           	movel %d2,%sp@-                             
   43b78:	4eb9 0004 f384 	jsr 4f384 <_fwalk>                          
#if REENT_MALLOCED                                                    
    free(ptr);                                                        
#else                                                                 
    _Workspace_Free(ptr);                                             
   43b7e:	2f02           	movel %d2,%sp@-                             
   43b80:	4eb9 0004 9f3e 	jsr 49f3e <_Workspace_Free>                 
   43b86:	4fef 000c      	lea %sp@(12),%sp                            
#endif                                                                
  }                                                                   
                                                                      
  deleted_task->libc_reent = NULL;                                    
   43b8a:	42aa 00fa      	clrl %a2@(250)                              
                                                                      
  /*                                                                  
   * Require the switch back to another task to install its own       
   */                                                                 
                                                                      
  if ( current_task == deleted_task ) {                               
   43b8e:	b5c3           	cmpal %d3,%a2                               
   43b90:	670a           	beqs 43b9c <newlib_delete_hook+0x50>        
    _REENT = 0;                                                       
  }                                                                   
}                                                                     
   43b92:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
   43b98:	4e5e           	unlk %fp                                    
   43b9a:	4e75           	rts                                         
  /*                                                                  
   * Require the switch back to another task to install its own       
   */                                                                 
                                                                      
  if ( current_task == deleted_task ) {                               
    _REENT = 0;                                                       
   43b9c:	42b9 0005 f5ac 	clrl 5f5ac <_impure_ptr>                    
  }                                                                   
}                                                                     
   43ba2:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
   43ba8:	4e5e           	unlk %fp                                    
   43baa:	4e75           	rts                                         
  /*                                                                  
   * The reentrancy structure was allocated by newlib using malloc()  
   */                                                                 
                                                                      
  if (current_task == deleted_task) {                                 
    ptr = _REENT;                                                     
   43bac:	2439 0005 f5ac 	movel 5f5ac <_impure_ptr>,%d2               
   43bb2:	60b0           	bras 43b64 <newlib_delete_hook+0x18>        
                                                                      

00043934 <newlib_free_buffers>: */ int newlib_free_buffers( FILE *fp ) {
   43934:	4e56 0000      	linkw %fp,#0                                
   43938:	2f0a           	movel %a2,%sp@-                             
   4393a:	246e 0008      	moveal %fp@(8),%a2                          
  switch ( fileno(fp) ) {                                             
   4393e:	2f0a           	movel %a2,%sp@-                             
   43940:	4eb9 0004 ef70 	jsr 4ef70 <fileno>                          
   43946:	588f           	addql #4,%sp                                
   43948:	7202           	moveq #2,%d1                                
   4394a:	b280           	cmpl %d0,%d1                                
   4394c:	6414           	bccs 43962 <newlib_free_buffers+0x2e>       <== ALWAYS TAKEN
        fp->_flags &= ~__SMBF;                                        
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
      }                                                               
      break;                                                          
    default:                                                          
     fclose(fp);                                                      
   4394e:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   43950:	4eb9 0004 ed1e 	jsr 4ed1e <fclose>                          <== NOT EXECUTED
   43956:	588f           	addql #4,%sp                                <== NOT EXECUTED
  }                                                                   
  return 0;                                                           
}                                                                     
   43958:	246e fffc      	moveal %fp@(-4),%a2                         
   4395c:	4280           	clrl %d0                                    
   4395e:	4e5e           	unlk %fp                                    
   43960:	4e75           	rts                                         
{                                                                     
  switch ( fileno(fp) ) {                                             
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
   43962:	302a 000c      	movew %a2@(12),%d0                          
   43966:	48c0           	extl %d0                                    
   43968:	4a00           	tstb %d0                                    
   4396a:	6cec           	bges 43958 <newlib_free_buffers+0x24>       <== ALWAYS TAKEN
        free( fp->_bf._base );                                        
   4396c:	2f2a 0010      	movel %a2@(16),%sp@-                        <== NOT EXECUTED
   43970:	4eb9 0004 2fe4 	jsr 42fe4 <free>                            <== NOT EXECUTED
        fp->_flags &= ~__SMBF;                                        
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
   43976:	588f           	addql #4,%sp                                <== NOT EXECUTED
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
        free( fp->_bf._base );                                        
        fp->_flags &= ~__SMBF;                                        
   43978:	302a 000c      	movew %a2@(12),%d0                          <== NOT EXECUTED
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
   4397c:	4292           	clrl %a2@                                   <== NOT EXECUTED
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
        free( fp->_bf._base );                                        
        fp->_flags &= ~__SMBF;                                        
   4397e:	0880 0007      	bclr #7,%d0                                 <== NOT EXECUTED
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
   43982:	42aa 0010      	clrl %a2@(16)                               <== NOT EXECUTED
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
        free( fp->_bf._base );                                        
        fp->_flags &= ~__SMBF;                                        
   43986:	3540 000c      	movew %d0,%a2@(12)                          <== NOT EXECUTED
      break;                                                          
    default:                                                          
     fclose(fp);                                                      
  }                                                                   
  return 0;                                                           
}                                                                     
   4398a:	246e fffc      	moveal %fp@(-4),%a2                         <== NOT EXECUTED
   4398e:	4280           	clrl %d0                                    <== NOT EXECUTED
   43990:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00043c28 <open>: int open( const char *pathname, int flags, ... ) {
   43c28:	4e56 ffcc      	linkw %fp,#-52                              
   43c2c:	48d7 3c3c      	moveml %d2-%d5/%a2-%a5,%sp@                 
   43c30:	242e 000c      	movel %fp@(12),%d2                          
                                                                      
  /*                                                                  
   * Set the Evaluation flags                                         
   */                                                                 
  eval_flags = 0;                                                     
  status = flags + 1;                                                 
   43c34:	2002           	movel %d2,%d0                               
   43c36:	5280           	addql #1,%d0                                
int open(                                                             
  const char   *pathname,                                             
  int           flags,                                                
  ...                                                                 
)                                                                     
{                                                                     
   43c38:	262e 0008      	movel %fp@(8),%d3                           
  /*                                                                  
   * Set the Evaluation flags                                         
   */                                                                 
  eval_flags = 0;                                                     
  status = flags + 1;                                                 
  if ( ( status & _FREAD ) == _FREAD )                                
   43c3c:	0800 0000      	btst #0,%d0                                 
   43c40:	6700 00cc      	beqw 43d0e <open+0xe6>                      
    eval_flags |= RTEMS_LIBIO_PERMS_READ;                             
   43c44:	7804           	moveq #4,%d4                                
  if ( ( status & _FWRITE ) == _FWRITE )                              
   43c46:	0800 0001      	btst #1,%d0                                 
   43c4a:	6704           	beqs 43c50 <open+0x28>                      
    eval_flags |= RTEMS_LIBIO_PERMS_WRITE;                            
   43c4c:	7002           	moveq #2,%d0                                
   43c4e:	8880           	orl %d0,%d4                                 
                                                                      
  va_start(ap, flags);                                                
                                                                      
  mode = va_arg( ap, int );                                           
   43c50:	2a2e 0010      	movel %fp@(16),%d5                          
   *             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();                                       
   43c54:	4eb9 0004 b472 	jsr 4b472 <rtems_libio_allocate>            
   43c5a:	2440           	moveal %d0,%a2                              
  if ( iop == 0 ) {                                                   
   43c5c:	4a80           	tstl %d0                                    
   43c5e:	6700 00b4      	beqw 43d14 <open+0xec>                      
  }                                                                   
                                                                      
  /*                                                                  
   *  See if the file exists.                                         
   */                                                                 
  status = rtems_filesystem_evaluate_path(                            
   43c62:	2f03           	movel %d3,%sp@-                             
   43c64:	4bf9 0005 0028 	lea 50028 <strlen>,%a5                      
   43c6a:	4e95           	jsr %a5@                                    
   43c6c:	47ee ffec      	lea %fp@(-20),%a3                           
   43c70:	7201           	moveq #1,%d1                                
   43c72:	49f9 0004 2eec 	lea 42eec <rtems_filesystem_evaluate_path>,%a4
   43c78:	2e81           	movel %d1,%sp@                              
   43c7a:	2f0b           	movel %a3,%sp@-                             
   43c7c:	2f04           	movel %d4,%sp@-                             
   43c7e:	2f00           	movel %d0,%sp@-                             
   43c80:	2f03           	movel %d3,%sp@-                             
   43c82:	4e94           	jsr %a4@                                    
    pathname, strlen( pathname ), eval_flags, &loc, true );           
                                                                      
  if ( status == -1 ) {                                               
   43c84:	4fef 0014      	lea %sp@(20),%sp                            
   43c88:	72ff           	moveq #-1,%d1                               
   43c8a:	b280           	cmpl %d0,%d1                                
   43c8c:	6700 0162      	beqw 43df0 <open+0x1c8>                     
    if ( status != 0 ) {   /* The file did not exist */               
      rc = EACCES;                                                    
      goto done;                                                      
    }                                                                 
                                                                      
  } else if ((flags & (O_EXCL|O_CREAT)) == (O_EXCL|O_CREAT)) {        
   43c90:	2002           	movel %d2,%d0                               
   43c92:	0280 0000 0a00 	andil #2560,%d0                             
   43c98:	0c80 0000 0a00 	cmpil #2560,%d0                             
   43c9e:	6700 0090      	beqw 43d30 <open+0x108>                     
                                                                      
  /*                                                                  
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
   43ca2:	282a 0014      	movel %a2@(20),%d4                          
   43ca6:	2f02           	movel %d2,%sp@-                             
   43ca8:	4eb9 0004 b3e4 	jsr 4b3e4 <rtems_libio_fcntl_flags>         
  iop->pathinfo   = loc;                                              
   43cae:	256e fff4 0020 	movel %fp@(-12),%a2@(32)                    
   43cb4:	256e fff0 001c 	movel %fp@(-16),%a2@(28)                    
   43cba:	256e fff8 0024 	movel %fp@(-8),%a2@(36)                     
   43cc0:	256e fffc 0028 	movel %fp@(-4),%a2@(40)                     
   43cc6:	2553 0018      	movel %a3@,%a2@(24)                         
                                                                      
  rc = (*iop->pathinfo.handlers->open_h)( iop, pathname, flags, mode );
   43cca:	206a 0020      	moveal %a2@(32),%a0                         
                                                                      
  /*                                                                  
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
   43cce:	8084           	orl %d4,%d0                                 
   43cd0:	2540 0014      	movel %d0,%a2@(20)                          
  iop->pathinfo   = loc;                                              
                                                                      
  rc = (*iop->pathinfo.handlers->open_h)( iop, pathname, flags, mode );
   43cd4:	2f05           	movel %d5,%sp@-                             
   43cd6:	2f02           	movel %d2,%sp@-                             
   43cd8:	2f03           	movel %d3,%sp@-                             
   43cda:	2f0a           	movel %a2,%sp@-                             
   43cdc:	2050           	moveal %a0@,%a0                             
   43cde:	4e90           	jsr %a0@                                    
  if ( rc ) {                                                         
   43ce0:	4fef 0014      	lea %sp@(20),%sp                            
   43ce4:	4a80           	tstl %d0                                    
   43ce6:	6600 00f4      	bnew 43ddc <open+0x1b4>                     
  }                                                                   
                                                                      
  /*                                                                  
   *  Optionally truncate the file.                                   
   */                                                                 
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
   43cea:	0802 000a      	btst #10,%d2                                
   43cee:	6670           	bnes 43d60 <open+0x138>                     
    if ( loc_to_free )                                                
      rtems_filesystem_freenode( loc_to_free );                       
    rtems_set_errno_and_return_minus_one( rc );                       
  }                                                                   
                                                                      
  return iop - rtems_libio_iops;                                      
   43cf0:	200a           	movel %a2,%d0                               
   43cf2:	90b9 0006 0b14 	subl 60b14 <rtems_libio_iops>,%d0           
   43cf8:	223c b6db 6db7 	movel #-1227133513,%d1                      
   43cfe:	e680           	asrl #3,%d0                                 
   43d00:	4c01 0800      	mulsl %d1,%d0                               
}                                                                     
   43d04:	4cee 3c3c ffcc 	moveml %fp@(-52),%d2-%d5/%a2-%a5            
   43d0a:	4e5e           	unlk %fp                                    
   43d0c:	4e75           	rts                                         
  int                                 eval_flags;                     
                                                                      
  /*                                                                  
   * Set the Evaluation flags                                         
   */                                                                 
  eval_flags = 0;                                                     
   43d0e:	4284           	clrl %d4                                    
   43d10:	6000 ff34      	braw 43c46 <open+0x1e>                      
   */                                                                 
                                                                      
  /* allocate a file control block */                                 
  iop = rtems_libio_allocate();                                       
  if ( iop == 0 ) {                                                   
    rc = ENFILE;                                                      
   43d14:	7417           	moveq #23,%d2                               
   43d16:	283c 0004 ebd0 	movel #322512,%d4                           
  if ( rc ) {                                                         
    if ( iop )                                                        
      rtems_libio_free( iop );                                        
    if ( loc_to_free )                                                
      rtems_filesystem_freenode( loc_to_free );                       
    rtems_set_errno_and_return_minus_one( rc );                       
   43d1c:	2044           	moveal %d4,%a0                              
   43d1e:	4e90           	jsr %a0@                                    
   43d20:	2040           	moveal %d0,%a0                              
   43d22:	70ff           	moveq #-1,%d0                               
   43d24:	2082           	movel %d2,%a0@                              
  }                                                                   
                                                                      
  return iop - rtems_libio_iops;                                      
}                                                                     
   43d26:	4cee 3c3c ffcc 	moveml %fp@(-52),%d2-%d5/%a2-%a5            
   43d2c:	4e5e           	unlk %fp                                    
   43d2e:	4e75           	rts                                         
      goto done;                                                      
    }                                                                 
                                                                      
  } else if ((flags & (O_EXCL|O_CREAT)) == (O_EXCL|O_CREAT)) {        
    /* We were trying to create a file that already exists */         
    rc = EEXIST;                                                      
   43d30:	7411           	moveq #17,%d2                               
   43d32:	283c 0004 ebd0 	movel #322512,%d4                           
   */                                                                 
done:                                                                 
  va_end(ap);                                                         
                                                                      
  if ( rc ) {                                                         
    if ( iop )                                                        
   43d38:	4a8a           	tstl %a2                                    
   43d3a:	670a           	beqs 43d46 <open+0x11e>                     
      rtems_libio_free( iop );                                        
   43d3c:	2f0a           	movel %a2,%sp@-                             
   43d3e:	4eb9 0004 b536 	jsr 4b536 <rtems_libio_free>                
   43d44:	588f           	addql #4,%sp                                
    if ( loc_to_free )                                                
   43d46:	4a8b           	tstl %a3                                    
   43d48:	67d2           	beqs 43d1c <open+0xf4>                      
      rtems_filesystem_freenode( loc_to_free );                       
   43d4a:	2f0b           	movel %a3,%sp@-                             
   43d4c:	4eb9 0004 2fd0 	jsr 42fd0 <rtems_filesystem_freenode>       
   43d52:	588f           	addql #4,%sp                                
    rtems_set_errno_and_return_minus_one( rc );                       
   43d54:	2044           	moveal %d4,%a0                              
   43d56:	4e90           	jsr %a0@                                    
   43d58:	2040           	moveal %d0,%a0                              
   43d5a:	70ff           	moveq #-1,%d0                               
   43d5c:	2082           	movel %d2,%a0@                              
   43d5e:	60c6           	bras 43d26 <open+0xfe>                      
                                                                      
  /*                                                                  
   *  Optionally truncate the file.                                   
   */                                                                 
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
    rc = ftruncate( iop - rtems_libio_iops, 0 );                      
   43d60:	200a           	movel %a2,%d0                               
   43d62:	90b9 0006 0b14 	subl 60b14 <rtems_libio_iops>,%d0           
   43d68:	223c b6db 6db7 	movel #-1227133513,%d1                      
   43d6e:	e680           	asrl #3,%d0                                 
   43d70:	4c00 1800      	mulsl %d0,%d1                               
   43d74:	42a7           	clrl %sp@-                                  
   43d76:	42a7           	clrl %sp@-                                  
   43d78:	2f01           	movel %d1,%sp@-                             
   43d7a:	4eb9 0004 b2f0 	jsr 4b2f0 <ftruncate>                       
    if ( rc ) {                                                       
   43d80:	4fef 000c      	lea %sp@(12),%sp                            
                                                                      
  /*                                                                  
   *  Optionally truncate the file.                                   
   */                                                                 
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
    rc = ftruncate( iop - rtems_libio_iops, 0 );                      
   43d84:	2400           	movel %d0,%d2                               
    if ( rc ) {                                                       
   43d86:	6700 ff68      	beqw 43cf0 <open+0xc8>                      
      if(errno) rc = errno;                                           
   43d8a:	283c 0004 ebd0 	movel #322512,%d4                           
   43d90:	2044           	moveal %d4,%a0                              
   43d92:	4e90           	jsr %a0@                                    
   43d94:	2040           	moveal %d0,%a0                              
   43d96:	4a90           	tstl %a0@                                   
   43d98:	6600 0086      	bnew 43e20 <open+0x1f8>                     
      close( iop - rtems_libio_iops );                                
   43d9c:	200a           	movel %a2,%d0                               <== NOT EXECUTED
   43d9e:	90b9 0006 0b14 	subl 60b14 <rtems_libio_iops>,%d0           <== NOT EXECUTED
   43da4:	223c b6db 6db7 	movel #-1227133513,%d1                      <== NOT EXECUTED
   43daa:	e680           	asrl #3,%d0                                 <== NOT EXECUTED
   43dac:	4c00 1800      	mulsl %d0,%d1                               <== NOT EXECUTED
      /* those are released by close(): */                            
      iop = 0;                                                        
      loc_to_free = NULL;                                             
   43db0:	97cb           	subal %a3,%a3                               <== NOT EXECUTED
    rc = ftruncate( iop - rtems_libio_iops, 0 );                      
    if ( rc ) {                                                       
      if(errno) rc = errno;                                           
      close( iop - rtems_libio_iops );                                
      /* those are released by close(): */                            
      iop = 0;                                                        
   43db2:	95ca           	subal %a2,%a2                               <== NOT EXECUTED
   */                                                                 
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
    rc = ftruncate( iop - rtems_libio_iops, 0 );                      
    if ( rc ) {                                                       
      if(errno) rc = errno;                                           
      close( iop - rtems_libio_iops );                                
   43db4:	2f01           	movel %d1,%sp@-                             <== NOT EXECUTED
   43db6:	4eb9 0004 b268 	jsr 4b268 <close>                           <== NOT EXECUTED
   43dbc:	588f           	addql #4,%sp                                <== NOT EXECUTED
   *  Single exit and clean up path.                                  
   */                                                                 
done:                                                                 
  va_end(ap);                                                         
                                                                      
  if ( rc ) {                                                         
   43dbe:	4a82           	tstl %d2                                    
   43dc0:	6600 ff76      	bnew 43d38 <open+0x110>                     
    if ( loc_to_free )                                                
      rtems_filesystem_freenode( loc_to_free );                       
    rtems_set_errno_and_return_minus_one( rc );                       
  }                                                                   
                                                                      
  return iop - rtems_libio_iops;                                      
   43dc4:	200a           	movel %a2,%d0                               <== NOT EXECUTED
   43dc6:	90b9 0006 0b14 	subl 60b14 <rtems_libio_iops>,%d0           <== NOT EXECUTED
   43dcc:	223c b6db 6db7 	movel #-1227133513,%d1                      <== NOT EXECUTED
   43dd2:	e680           	asrl #3,%d0                                 <== NOT EXECUTED
   43dd4:	4c01 0800      	mulsl %d1,%d0                               <== NOT EXECUTED
   43dd8:	6000 ff2a      	braw 43d04 <open+0xdc>                      <== NOT EXECUTED
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
  iop->pathinfo   = loc;                                              
                                                                      
  rc = (*iop->pathinfo.handlers->open_h)( iop, pathname, flags, mode );
  if ( rc ) {                                                         
    rc = errno;                                                       
   43ddc:	283c 0004 ebd0 	movel #322512,%d4                           
   43de2:	2044           	moveal %d4,%a0                              
   43de4:	4e90           	jsr %a0@                                    
   43de6:	2040           	moveal %d0,%a0                              
   43de8:	2410           	movel %a0@,%d2                              
   *  Single exit and clean up path.                                  
   */                                                                 
done:                                                                 
  va_end(ap);                                                         
                                                                      
  if ( rc ) {                                                         
   43dea:	67d8           	beqs 43dc4 <open+0x19c>                     <== NEVER TAKEN
   43dec:	6000 ff4a      	braw 43d38 <open+0x110>                     
   */                                                                 
  status = rtems_filesystem_evaluate_path(                            
    pathname, strlen( pathname ), eval_flags, &loc, true );           
                                                                      
  if ( status == -1 ) {                                               
    if ( errno != ENOENT ) {                                          
   43df0:	283c 0004 ebd0 	movel #322512,%d4                           
   43df6:	2044           	moveal %d4,%a0                              
   43df8:	4e90           	jsr %a0@                                    
   43dfa:	7202           	moveq #2,%d1                                
   43dfc:	2040           	moveal %d0,%a0                              
   43dfe:	b290           	cmpl %a0@,%d1                               
   43e00:	6710           	beqs 43e12 <open+0x1ea>                     
    }                                                                 
                                                                      
    /* Create the node for the new regular file */                    
    rc = mknod( pathname, S_IFREG | mode, 0LL );                      
    if ( rc ) {                                                       
      rc = errno;                                                     
   43e02:	2044           	moveal %d4,%a0                              
  int                                 mode;                           
  int                                 rc;                             
  rtems_libio_t                      *iop = 0;                        
  int                                 status;                         
  rtems_filesystem_location_info_t    loc;                            
  rtems_filesystem_location_info_t   *loc_to_free = NULL;             
   43e04:	97cb           	subal %a3,%a3                               
    }                                                                 
                                                                      
    /* Create the node for the new regular file */                    
    rc = mknod( pathname, S_IFREG | mode, 0LL );                      
    if ( rc ) {                                                       
      rc = errno;                                                     
   43e06:	4e90           	jsr %a0@                                    
   43e08:	2040           	moveal %d0,%a0                              
   43e0a:	2410           	movel %a0@,%d2                              
   *  Single exit and clean up path.                                  
   */                                                                 
done:                                                                 
  va_end(ap);                                                         
                                                                      
  if ( rc ) {                                                         
   43e0c:	67b6           	beqs 43dc4 <open+0x19c>                     <== NEVER TAKEN
   43e0e:	6000 ff28      	braw 43d38 <open+0x110>                     
      rc = errno;                                                     
      goto done;                                                      
    }                                                                 
                                                                      
    /* If the file does not exist and we are not trying to create it--> error */
    if ( !(flags & O_CREAT) ) {                                       
   43e12:	0802 0009      	btst #9,%d2                                 
   43e16:	6636           	bnes 43e4e <open+0x226>                     
  int                                 mode;                           
  int                                 rc;                             
  rtems_libio_t                      *iop = 0;                        
  int                                 status;                         
  rtems_filesystem_location_info_t    loc;                            
  rtems_filesystem_location_info_t   *loc_to_free = NULL;             
   43e18:	97cb           	subal %a3,%a3                               
      goto done;                                                      
    }                                                                 
                                                                      
    /* If the file does not exist and we are not trying to create it--> error */
    if ( !(flags & O_CREAT) ) {                                       
      rc = ENOENT;                                                    
   43e1a:	7402           	moveq #2,%d2                                
   43e1c:	6000 ff1a      	braw 43d38 <open+0x110>                     
   *  Optionally truncate the file.                                   
   */                                                                 
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
    rc = ftruncate( iop - rtems_libio_iops, 0 );                      
    if ( rc ) {                                                       
      if(errno) rc = errno;                                           
   43e20:	2044           	moveal %d4,%a0                              
      close( iop - rtems_libio_iops );                                
      /* those are released by close(): */                            
      iop = 0;                                                        
      loc_to_free = NULL;                                             
   43e22:	97cb           	subal %a3,%a3                               
   *  Optionally truncate the file.                                   
   */                                                                 
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
    rc = ftruncate( iop - rtems_libio_iops, 0 );                      
    if ( rc ) {                                                       
      if(errno) rc = errno;                                           
   43e24:	4e90           	jsr %a0@                                    
      close( iop - rtems_libio_iops );                                
   43e26:	223c b6db 6db7 	movel #-1227133513,%d1                      
   *  Optionally truncate the file.                                   
   */                                                                 
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
    rc = ftruncate( iop - rtems_libio_iops, 0 );                      
    if ( rc ) {                                                       
      if(errno) rc = errno;                                           
   43e2c:	2040           	moveal %d0,%a0                              
      close( iop - rtems_libio_iops );                                
   43e2e:	200a           	movel %a2,%d0                               
   43e30:	90b9 0006 0b14 	subl 60b14 <rtems_libio_iops>,%d0           
      /* those are released by close(): */                            
      iop = 0;                                                        
   43e36:	95ca           	subal %a2,%a2                               
   */                                                                 
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
    rc = ftruncate( iop - rtems_libio_iops, 0 );                      
    if ( rc ) {                                                       
      if(errno) rc = errno;                                           
      close( iop - rtems_libio_iops );                                
   43e38:	e680           	asrl #3,%d0                                 
   43e3a:	4c00 1800      	mulsl %d0,%d1                               
   *  Optionally truncate the file.                                   
   */                                                                 
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
    rc = ftruncate( iop - rtems_libio_iops, 0 );                      
    if ( rc ) {                                                       
      if(errno) rc = errno;                                           
   43e3e:	2410           	movel %a0@,%d2                              
      close( iop - rtems_libio_iops );                                
   43e40:	2f01           	movel %d1,%sp@-                             
   43e42:	4eb9 0004 b268 	jsr 4b268 <close>                           
   43e48:	588f           	addql #4,%sp                                
   43e4a:	6000 ff72      	braw 43dbe <open+0x196>                     
      rc = ENOENT;                                                    
      goto done;                                                      
    }                                                                 
                                                                      
    /* Create the node for the new regular file */                    
    rc = mknod( pathname, S_IFREG | mode, 0LL );                      
   43e4e:	42a7           	clrl %sp@-                                  
   43e50:	2005           	movel %d5,%d0                               
   43e52:	42a7           	clrl %sp@-                                  
   43e54:	08c0 000f      	bset #15,%d0                                
   43e58:	2f00           	movel %d0,%sp@-                             
   43e5a:	2f03           	movel %d3,%sp@-                             
   43e5c:	4eb9 0004 3404 	jsr 43404 <mknod>                           
    if ( rc ) {                                                       
   43e62:	4fef 0010      	lea %sp@(16),%sp                            
   43e66:	4a80           	tstl %d0                                    
   43e68:	6698           	bnes 43e02 <open+0x1da>                     <== NEVER TAKEN
    /*                                                                
     * After we do the mknod(), we have to evaluate the path to get the
     * "loc" structure needed to actually have the file itself open.  
     * So we created it, and then we need to have "look it up."       
     */                                                               
    status = rtems_filesystem_evaluate_path(                          
   43e6a:	2f03           	movel %d3,%sp@-                             
   43e6c:	4e95           	jsr %a5@                                    
   43e6e:	7201           	moveq #1,%d1                                
   43e70:	2e81           	movel %d1,%sp@                              
   43e72:	2f0b           	movel %a3,%sp@-                             
   43e74:	42a7           	clrl %sp@-                                  
   43e76:	2f00           	movel %d0,%sp@-                             
   43e78:	2f03           	movel %d3,%sp@-                             
   43e7a:	4e94           	jsr %a4@                                    
      pathname, strlen( pathname ), 0x0, &loc, true );                
    if ( status != 0 ) {   /* The file did not exist */               
   43e7c:	4fef 0014      	lea %sp@(20),%sp                            
   43e80:	4a80           	tstl %d0                                    
   43e82:	6700 fe1e      	beqw 43ca2 <open+0x7a>                      
  int                                 mode;                           
  int                                 rc;                             
  rtems_libio_t                      *iop = 0;                        
  int                                 status;                         
  rtems_filesystem_location_info_t    loc;                            
  rtems_filesystem_location_info_t   *loc_to_free = NULL;             
   43e86:	97cb           	subal %a3,%a3                               <== NOT EXECUTED
     * So we created it, and then we need to have "look it up."       
     */                                                               
    status = rtems_filesystem_evaluate_path(                          
      pathname, strlen( pathname ), 0x0, &loc, true );                
    if ( status != 0 ) {   /* The file did not exist */               
      rc = EACCES;                                                    
   43e88:	740d           	moveq #13,%d2                               <== NOT EXECUTED
   43e8a:	6000 feac      	braw 43d38 <open+0x110>                     <== NOT EXECUTED
                                                                      

00043bb4 <open_dev_console>: /* * This is a replaceable stub which opens the console, if present. */ void open_dev_console(void) {
   43bb4:	4e56 0000      	linkw %fp,#0                                
   43bb8:	2f0a           	movel %a2,%sp@-                             
  int      stderr_fd;                                                 
                                                                      
  /*                                                                  
   * Attempt to open /dev/console.                                    
   */                                                                 
  if ((stdin_fd = open("/dev/console", O_RDONLY, 0)) == -1) {         
   43bba:	45f9 0004 3c28 	lea 43c28 <open>,%a2                        
   43bc0:	42a7           	clrl %sp@-                                  
   43bc2:	42a7           	clrl %sp@-                                  
   43bc4:	4879 0005 ddc0 	pea 5ddc0 <CSWTCH.58+0x100>                 
   43bca:	4e92           	jsr %a2@                                    
   43bcc:	4fef 000c      	lea %sp@(12),%sp                            
   43bd0:	72ff           	moveq #-1,%d1                               
   43bd2:	b280           	cmpl %d0,%d1                                
   43bd4:	6730           	beqs 43c06 <open_dev_console+0x52>          
                                                                      
  /*                                                                  
   *  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)          
   43bd6:	42a7           	clrl %sp@-                                  
   43bd8:	4878 0001      	pea 1 <ADD>                                 
   43bdc:	4879 0005 ddc0 	pea 5ddc0 <CSWTCH.58+0x100>                 
   43be2:	4e92           	jsr %a2@                                    
   43be4:	4fef 000c      	lea %sp@(12),%sp                            
   43be8:	72ff           	moveq #-1,%d1                               
   43bea:	b280           	cmpl %d0,%d1                                
   43bec:	672c           	beqs 43c1a <open_dev_console+0x66>          
    rtems_fatal_error_occurred( 0x55544431 );  /* error STD1 */       
                                                                      
  if ((stderr_fd = open("/dev/console", O_WRONLY, 0)) == -1)          
   43bee:	42a7           	clrl %sp@-                                  
   43bf0:	4878 0001      	pea 1 <ADD>                                 
   43bf4:	4879 0005 ddc0 	pea 5ddc0 <CSWTCH.58+0x100>                 
   43bfa:	4e92           	jsr %a2@                                    
   43bfc:	4fef 000c      	lea %sp@(12),%sp                            
   43c00:	72ff           	moveq #-1,%d1                               
   43c02:	b280           	cmpl %d0,%d1                                
   43c04:	6708           	beqs 43c0e <open_dev_console+0x5a>          
    rtems_fatal_error_occurred( 0x55544432 );  /* error STD2 */       
}                                                                     
   43c06:	246e fffc      	moveal %fp@(-4),%a2                         
   43c0a:	4e5e           	unlk %fp                                    
   43c0c:	4e75           	rts                                         
   */                                                                 
  if ((stdout_fd = open("/dev/console", O_WRONLY, 0)) == -1)          
    rtems_fatal_error_occurred( 0x55544431 );  /* error STD1 */       
                                                                      
  if ((stderr_fd = open("/dev/console", O_WRONLY, 0)) == -1)          
    rtems_fatal_error_occurred( 0x55544432 );  /* error STD2 */       
   43c0e:	2f3c 5554 4432 	movel #1431585842,%sp@-                     
   43c14:	4eb9 0004 6eb8 	jsr 46eb8 <rtems_fatal_error_occurred>      
  /*                                                                  
   *  But if we find /dev/console once, we better find it twice more  
   *  or something is REALLY wrong.                                   
   */                                                                 
  if ((stdout_fd = open("/dev/console", O_WRONLY, 0)) == -1)          
    rtems_fatal_error_occurred( 0x55544431 );  /* error STD1 */       
   43c1a:	2f3c 5554 4431 	movel #1431585841,%sp@-                     
   43c20:	4eb9 0004 6eb8 	jsr 46eb8 <rtems_fatal_error_occurred>      
	...                                                                  
                                                                      

00044b4e <oproc>: /* * Handle output processing */ static void oproc (unsigned char c, struct rtems_termios_tty *tty) {
   44b4e:	4e56 fff0      	linkw %fp,#-16                              
   44b52:	202e 0008      	movel %fp@(8),%d0                           
   44b56:	48d7 0c04      	moveml %d2/%a2-%a3,%sp@                     
   44b5a:	246e 000c      	moveal %fp@(12),%a2                         
  int  i;                                                             
                                                                      
  if (tty->termios.c_oflag & OPOST) {                                 
   44b5e:	222a 0034      	movel %a2@(52),%d1                          
/*                                                                    
 * Handle output processing                                           
 */                                                                   
static void                                                           
oproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
   44b62:	1d40 fffe      	moveb %d0,%fp@(-2)                          
  int  i;                                                             
                                                                      
  if (tty->termios.c_oflag & OPOST) {                                 
   44b66:	0801 0000      	btst #0,%d1                                 
   44b6a:	6700 0092      	beqw 44bfe <oproc+0xb0>                     
    switch (c) {                                                      
   44b6e:	7409           	moveq #9,%d2                                
   44b70:	0280 0000 00ff 	andil #255,%d0                              
   44b76:	b480           	cmpl %d0,%d2                                
   44b78:	6700 0118      	beqw 44c92 <oproc+0x144>                    
   44b7c:	6450           	bccs 44bce <oproc+0x80>                     
   44b7e:	740a           	moveq #10,%d2                               
   44b80:	b480           	cmpl %d0,%d2                                
   44b82:	6700 0092      	beqw 44c16 <oproc+0xc8>                     
   44b86:	143c 000d      	moveb #13,%d2                               
   44b8a:	b480           	cmpl %d0,%d2                                
   44b8c:	6700 00c6      	beqw 44c54 <oproc+0x106>                    
      if (tty->column > 0)                                            
        tty->column--;                                                
      break;                                                          
                                                                      
    default:                                                          
      if (tty->termios.c_oflag & OLCUC)                               
   44b90:	0801 0001      	btst #1,%d1                                 
   44b94:	6600 0138      	bnew 44cce <oproc+0x180>                    
   44b98:	2079 0005 f5a8 	moveal 5f5a8 <__ctype_ptr__>,%a0            
   44b9e:	47f9 0004 4a4a 	lea 44a4a <rtems_termios_puts>,%a3          
        c = toupper(c);                                               
      if (!iscntrl(c))                                                
   44ba4:	1030 0801      	moveb %a0@(00000001,%d0:l),%d0              
   44ba8:	49c0           	extbl %d0                                   
   44baa:	0800 0005      	btst #5,%d0                                 
   44bae:	6604           	bnes 44bb4 <oproc+0x66>                     <== NEVER TAKEN
        tty->column++;                                                
   44bb0:	52aa 0028      	addql #1,%a2@(40)                           
      break;                                                          
    }                                                                 
  }                                                                   
  rtems_termios_puts (&c, 1, tty);                                    
   44bb4:	2f0a           	movel %a2,%sp@-                             
   44bb6:	4878 0001      	pea 1 <ADD>                                 
   44bba:	486e fffe      	pea %fp@(-2)                                
   44bbe:	4e93           	jsr %a3@                                    
   44bc0:	4fef 000c      	lea %sp@(12),%sp                            
}                                                                     
   44bc4:	4cee 0c04 fff0 	moveml %fp@(-16),%d2/%a2-%a3                
   44bca:	4e5e           	unlk %fp                                    
   44bcc:	4e75           	rts                                         
oproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
  int  i;                                                             
                                                                      
  if (tty->termios.c_oflag & OPOST) {                                 
    switch (c) {                                                      
   44bce:	143c 0008      	moveb #8,%d2                                
   44bd2:	b480           	cmpl %d0,%d2                                
   44bd4:	66ba           	bnes 44b90 <oproc+0x42>                     <== ALWAYS TAKEN
      }                                                               
      tty->column += i;                                               
      break;                                                          
                                                                      
    case '\b':                                                        
      if (tty->column > 0)                                            
   44bd6:	202a 0028      	movel %a2@(40),%d0                          <== NOT EXECUTED
   44bda:	47f9 0004 4a4a 	lea 44a4a <rtems_termios_puts>,%a3          <== NOT EXECUTED
   44be0:	6fd2           	bles 44bb4 <oproc+0x66>                     <== NOT EXECUTED
        tty->column--;                                                
   44be2:	5380           	subql #1,%d0                                <== NOT EXECUTED
   44be4:	2540 0028      	movel %d0,%a2@(40)                          <== NOT EXECUTED
      if (!iscntrl(c))                                                
        tty->column++;                                                
      break;                                                          
    }                                                                 
  }                                                                   
  rtems_termios_puts (&c, 1, tty);                                    
   44be8:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   44bea:	4878 0001      	pea 1 <ADD>                                 <== NOT EXECUTED
   44bee:	486e fffe      	pea %fp@(-2)                                <== NOT EXECUTED
   44bf2:	4e93           	jsr %a3@                                    <== NOT EXECUTED
   44bf4:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   44bf8:	60ca           	bras 44bc4 <oproc+0x76>                     <== NOT EXECUTED
        c = '\n';                                                     
        if (tty->termios.c_oflag & ONLRET)                            
          tty->column = 0;                                            
        break;                                                        
      }                                                               
      tty->column = 0;                                                
   44bfa:	42aa 0028      	clrl %a2@(40)                               <== NOT EXECUTED
      if (!iscntrl(c))                                                
        tty->column++;                                                
      break;                                                          
    }                                                                 
  }                                                                   
  rtems_termios_puts (&c, 1, tty);                                    
   44bfe:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   44c00:	4878 0001      	pea 1 <ADD>                                 <== NOT EXECUTED
   44c04:	47f9 0004 4a4a 	lea 44a4a <rtems_termios_puts>,%a3          <== NOT EXECUTED
   44c0a:	486e fffe      	pea %fp@(-2)                                <== NOT EXECUTED
   44c0e:	4e93           	jsr %a3@                                    <== NOT EXECUTED
   44c10:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   44c14:	60ae           	bras 44bc4 <oproc+0x76>                     <== NOT EXECUTED
  int  i;                                                             
                                                                      
  if (tty->termios.c_oflag & OPOST) {                                 
    switch (c) {                                                      
    case '\n':                                                        
      if (tty->termios.c_oflag & ONLRET)                              
   44c16:	0801 0005      	btst #5,%d1                                 
   44c1a:	6704           	beqs 44c20 <oproc+0xd2>                     <== ALWAYS TAKEN
        tty->column = 0;                                              
   44c1c:	42aa 0028      	clrl %a2@(40)                               <== NOT EXECUTED
   44c20:	47f9 0004 4a4a 	lea 44a4a <rtems_termios_puts>,%a3          
      if (tty->termios.c_oflag & ONLCR) {                             
   44c26:	44c1           	movew %d1,%ccr                              
   44c28:	668a           	bnes 44bb4 <oproc+0x66>                     <== NEVER TAKEN
        rtems_termios_puts ("\r", 1, tty);                            
   44c2a:	2f0a           	movel %a2,%sp@-                             
   44c2c:	4878 0001      	pea 1 <ADD>                                 
   44c30:	4879 0005 e3f8 	pea 5e3f8 <rtems_filesystem_default_pathconf+0xa6>
   44c36:	4e93           	jsr %a3@                                    
        tty->column = 0;                                              
   44c38:	4fef 000c      	lea %sp@(12),%sp                            
   44c3c:	42aa 0028      	clrl %a2@(40)                               
      if (!iscntrl(c))                                                
        tty->column++;                                                
      break;                                                          
    }                                                                 
  }                                                                   
  rtems_termios_puts (&c, 1, tty);                                    
   44c40:	2f0a           	movel %a2,%sp@-                             
   44c42:	4878 0001      	pea 1 <ADD>                                 
   44c46:	486e fffe      	pea %fp@(-2)                                
   44c4a:	4e93           	jsr %a3@                                    
   44c4c:	4fef 000c      	lea %sp@(12),%sp                            
   44c50:	6000 ff72      	braw 44bc4 <oproc+0x76>                     
        tty->column = 0;                                              
      }                                                               
      break;                                                          
                                                                      
    case '\r':                                                        
      if ((tty->termios.c_oflag & ONOCR) && (tty->column == 0))       
   44c54:	0801 0004      	btst #4,%d1                                 <== NOT EXECUTED
   44c58:	6708           	beqs 44c62 <oproc+0x114>                    <== NOT EXECUTED
   44c5a:	4aaa 0028      	tstl %a2@(40)                               <== NOT EXECUTED
   44c5e:	6700 ff64      	beqw 44bc4 <oproc+0x76>                     <== NOT EXECUTED
        return;                                                       
      if (tty->termios.c_oflag & OCRNL) {                             
   44c62:	44c1           	movew %d1,%ccr                              <== NOT EXECUTED
   44c64:	6a94           	bpls 44bfa <oproc+0xac>                     <== NOT EXECUTED
   44c66:	47f9 0004 4a4a 	lea 44a4a <rtems_termios_puts>,%a3          <== NOT EXECUTED
        c = '\n';                                                     
   44c6c:	700a           	moveq #10,%d0                               <== NOT EXECUTED
   44c6e:	1d40 fffe      	moveb %d0,%fp@(-2)                          <== NOT EXECUTED
        if (tty->termios.c_oflag & ONLRET)                            
   44c72:	0801 0005      	btst #5,%d1                                 <== NOT EXECUTED
   44c76:	6700 ff3c      	beqw 44bb4 <oproc+0x66>                     <== NOT EXECUTED
          tty->column = 0;                                            
   44c7a:	42aa 0028      	clrl %a2@(40)                               <== NOT EXECUTED
      if (!iscntrl(c))                                                
        tty->column++;                                                
      break;                                                          
    }                                                                 
  }                                                                   
  rtems_termios_puts (&c, 1, tty);                                    
   44c7e:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   44c80:	4878 0001      	pea 1 <ADD>                                 <== NOT EXECUTED
   44c84:	486e fffe      	pea %fp@(-2)                                <== NOT EXECUTED
   44c88:	4e93           	jsr %a3@                                    <== NOT EXECUTED
   44c8a:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   44c8e:	6000 ff34      	braw 44bc4 <oproc+0x76>                     <== NOT EXECUTED
      }                                                               
      tty->column = 0;                                                
      break;                                                          
                                                                      
    case '\t':                                                        
      i = 8 - (tty->column & 7);                                      
   44c92:	202a 0028      	movel %a2@(40),%d0                          
   44c96:	7407           	moveq #7,%d2                                
   44c98:	307c 0008      	moveaw #8,%a0                               
   44c9c:	c480           	andl %d0,%d2                                
      if ((tty->termios.c_oflag & TABDLY) == XTABS) {                 
   44c9e:	0281 0000 1800 	andil #6144,%d1                             
      }                                                               
      tty->column = 0;                                                
      break;                                                          
                                                                      
    case '\t':                                                        
      i = 8 - (tty->column & 7);                                      
   44ca4:	91c2           	subal %d2,%a0                               
      if ((tty->termios.c_oflag & TABDLY) == XTABS) {                 
   44ca6:	0c81 0000 1800 	cmpil #6144,%d1                             
   44cac:	675a           	beqs 44d08 <oproc+0x1ba>                    <== ALWAYS TAKEN
        tty->column += i;                                             
        rtems_termios_puts ( "        ",  i, tty);                    
        return;                                                       
      }                                                               
      tty->column += i;                                               
   44cae:	d1c0           	addal %d0,%a0                               <== NOT EXECUTED
   44cb0:	47f9 0004 4a4a 	lea 44a4a <rtems_termios_puts>,%a3          <== NOT EXECUTED
   44cb6:	2548 0028      	movel %a0,%a2@(40)                          <== NOT EXECUTED
      if (!iscntrl(c))                                                
        tty->column++;                                                
      break;                                                          
    }                                                                 
  }                                                                   
  rtems_termios_puts (&c, 1, tty);                                    
   44cba:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   44cbc:	4878 0001      	pea 1 <ADD>                                 <== NOT EXECUTED
   44cc0:	486e fffe      	pea %fp@(-2)                                <== NOT EXECUTED
   44cc4:	4e93           	jsr %a3@                                    <== NOT EXECUTED
   44cc6:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   44cca:	6000 fef8      	braw 44bc4 <oproc+0x76>                     <== NOT EXECUTED
        tty->column--;                                                
      break;                                                          
                                                                      
    default:                                                          
      if (tty->termios.c_oflag & OLCUC)                               
        c = toupper(c);                                               
   44cce:	2079 0005 f5a8 	moveal 5f5a8 <__ctype_ptr__>,%a0            <== NOT EXECUTED
   44cd4:	7403           	moveq #3,%d2                                <== NOT EXECUTED
   44cd6:	1230 0801      	moveb %a0@(00000001,%d0:l),%d1              <== NOT EXECUTED
   44cda:	49c1           	extbl %d1                                   <== NOT EXECUTED
   44cdc:	c282           	andl %d2,%d1                                <== NOT EXECUTED
   44cde:	143c 0002      	moveb #2,%d2                                <== NOT EXECUTED
   44ce2:	b481           	cmpl %d1,%d2                                <== NOT EXECUTED
   44ce4:	670e           	beqs 44cf4 <oproc+0x1a6>                    <== NOT EXECUTED
   44ce6:	1d40 fffe      	moveb %d0,%fp@(-2)                          <== NOT EXECUTED
   44cea:	0280 0000 00ff 	andil #255,%d0                              <== NOT EXECUTED
   44cf0:	6000 feac      	braw 44b9e <oproc+0x50>                     <== NOT EXECUTED
   44cf4:	0680 ffff ffe0 	addil #-32,%d0                              <== NOT EXECUTED
   44cfa:	1d40 fffe      	moveb %d0,%fp@(-2)                          <== NOT EXECUTED
   44cfe:	0280 0000 00ff 	andil #255,%d0                              <== NOT EXECUTED
   44d04:	6000 fe98      	braw 44b9e <oproc+0x50>                     <== NOT EXECUTED
                                                                      
    case '\t':                                                        
      i = 8 - (tty->column & 7);                                      
      if ((tty->termios.c_oflag & TABDLY) == XTABS) {                 
        tty->column += i;                                             
        rtems_termios_puts ( "        ",  i, tty);                    
   44d08:	2f0a           	movel %a2,%sp@-                             
      break;                                                          
                                                                      
    case '\t':                                                        
      i = 8 - (tty->column & 7);                                      
      if ((tty->termios.c_oflag & TABDLY) == XTABS) {                 
        tty->column += i;                                             
   44d0a:	d088           	addl %a0,%d0                                
   44d0c:	2540 0028      	movel %d0,%a2@(40)                          
        rtems_termios_puts ( "        ",  i, tty);                    
   44d10:	2f08           	movel %a0,%sp@-                             
   44d12:	4879 0005 e3fa 	pea 5e3fa <rtems_filesystem_default_pathconf+0xa8>
   44d18:	4eb9 0004 4a4a 	jsr 44a4a <rtems_termios_puts>              
        return;                                                       
   44d1e:	4fef 000c      	lea %sp@(12),%sp                            
        tty->column++;                                                
      break;                                                          
    }                                                                 
  }                                                                   
  rtems_termios_puts (&c, 1, tty);                                    
}                                                                     
   44d22:	4cee 0c04 fff0 	moveml %fp@(-16),%d2/%a2-%a3                
   44d28:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004c4dc <pipe_create>: * Called by pipe() to create an anonymous pipe. */ int pipe_create( int filsdes[2] ) {
   4c4dc:	4e56 ffe4      	linkw %fp,#-28                              
   4c4e0:	48d7 1c00      	moveml %a2-%a4,%sp@                         
  rtems_libio_t *iop;                                                 
  int err = 0;                                                        
                                                                      
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
   4c4e4:	4878 01ff      	pea 1ff <DBL_MANT_DIG+0x1ca>                
   4c4e8:	4879 0006 01ce 	pea 601ce <_CPU_m68k_BFFFO_table+0x100>     
 * Called by pipe() to create an anonymous pipe.                      
 */                                                                   
int pipe_create(                                                      
  int filsdes[2]                                                      
)                                                                     
{                                                                     
   4c4ee:	266e 0008      	moveal %fp@(8),%a3                          
  rtems_libio_t *iop;                                                 
  int err = 0;                                                        
                                                                      
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
   4c4f2:	4eb9 0004 de4c 	jsr 4de4c <rtems_mkdir>                     
   4c4f8:	508f           	addql #8,%sp                                
   4c4fa:	4a80           	tstl %d0                                    
   4c4fc:	670c           	beqs 4c50a <pipe_create+0x2e>               <== ALWAYS TAKEN
    return -1;                                                        
   4c4fe:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
  unlink(fifopath);                                                   
  }                                                                   
  if(err != 0)                                                        
    rtems_set_errno_and_return_minus_one(err);                        
  return 0;                                                           
}                                                                     
   4c500:	4cee 1c00 ffe4 	moveml %fp@(-28),%a2-%a4                    <== NOT EXECUTED
   4c506:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   4c508:	4e75           	rts                                         <== NOT EXECUTED
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
    return -1;                                                        
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
   4c50a:	45ee fff1      	lea %fp@(-15),%a2                           
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
   4c50e:	3039 0006 1ef8 	movew 61ef8 <rtems_pipe_no>,%d0             
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
    return -1;                                                        
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
   4c514:	24bc 2f74 6d70 	movel #796159344,%a2@                       
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
   4c51a:	2200           	movel %d0,%d1                               
   4c51c:	5281           	addql #1,%d1                                
   4c51e:	3f00           	movew %d0,%sp@-                             
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
    return -1;                                                        
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
   4c520:	203c 2f2e 6669 	movel #791570025,%d0                        
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
   4c526:	4267           	clrw %sp@-                                  
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
    return -1;                                                        
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
   4c528:	307c 666f      	moveaw #26223,%a0                           
   4c52c:	2d40 fff5      	movel %d0,%fp@(-11)                         
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
   4c530:	4879 0006 01d3 	pea 601d3 <_CPU_m68k_BFFFO_table+0x105>     
   4c536:	486e fffb      	pea %fp@(-5)                                
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
    return -1;                                                        
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
   4c53a:	3d48 fff9      	movew %a0,%fp@(-7)                          
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
   4c53e:	33c1 0006 1ef8 	movew %d1,61ef8 <rtems_pipe_no>             
   4c544:	4eb9 0005 1788 	jsr 51788 <sprintf>                         
                                                                      
  /* Try creating FIFO file until find an available file name */      
  while (mkfifo(fifopath, S_IRUSR|S_IWUSR) != 0) {                    
   4c54a:	4878 0180      	pea 180 <DBL_MANT_DIG+0x14b>                
   4c54e:	2f0a           	movel %a2,%sp@-                             
   4c550:	4eb9 0004 db78 	jsr 4db78 <mkfifo>                          
   4c556:	4fef 0014      	lea %sp@(20),%sp                            
   4c55a:	4a80           	tstl %d0                                    
   4c55c:	6600 009a      	bnew 4c5f8 <pipe_create+0x11c>              
    return -1;                                                        
    /* sprintf(fifopath + 10, "%04x", rtems_pipe_no ++); */           
  }                                                                   
                                                                      
  /* Non-blocking open to avoid waiting for writers */                
  filsdes[0] = open(fifopath, O_RDONLY | O_NONBLOCK);                 
   4c560:	4878 4000      	pea 4000 <D_MAX_EXP+0x3801>                 
   4c564:	49f9 0004 531c 	lea 4531c <open>,%a4                        
   4c56a:	2f0a           	movel %a2,%sp@-                             
   4c56c:	4e94           	jsr %a4@                                    
  if (filsdes[0] < 0) {                                               
   4c56e:	508f           	addql #8,%sp                                
    return -1;                                                        
    /* sprintf(fifopath + 10, "%04x", rtems_pipe_no ++); */           
  }                                                                   
                                                                      
  /* Non-blocking open to avoid waiting for writers */                
  filsdes[0] = open(fifopath, O_RDONLY | O_NONBLOCK);                 
   4c570:	2680           	movel %d0,%a3@                              
  if (filsdes[0] < 0) {                                               
   4c572:	6d4e           	blts 4c5c2 <pipe_create+0xe6>               
     the file node will be deleted after it is closed by all. */      
    unlink(fifopath);                                                 
  }                                                                   
  else {                                                              
  /* Reset open file to blocking mode */                              
    iop = rtems_libio_iop(filsdes[0]);                                
   4c574:	b0b9 0006 0d54 	cmpl 60d54 <rtems_libio_number_iops>,%d0    
   4c57a:	6442           	bccs 4c5be <pipe_create+0xe2>               <== NEVER TAKEN
   4c57c:	2200           	movel %d0,%d1                               
   4c57e:	ed88           	lsll #6,%d0                                 
   4c580:	e789           	lsll #3,%d1                                 
   4c582:	2079 0006 25ec 	moveal 625ec <rtems_libio_iops>,%a0         
   4c588:	9081           	subl %d1,%d0                                
   4c58a:	d1c0           	addal %d0,%a0                               
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
   4c58c:	70fe           	moveq #-2,%d0                               
   4c58e:	c1a8 0014      	andl %d0,%a0@(20)                           
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
   4c592:	4878 0001      	pea 1 <ADD>                                 
   4c596:	2f0a           	movel %a2,%sp@-                             
   4c598:	4e94           	jsr %a4@                                    
                                                                      
    if (filsdes[1] < 0) {                                             
   4c59a:	508f           	addql #8,%sp                                
  else {                                                              
  /* Reset open file to blocking mode */                              
    iop = rtems_libio_iop(filsdes[0]);                                
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
   4c59c:	2740 0004      	movel %d0,%a3@(4)                           
                                                                      
    if (filsdes[1] < 0) {                                             
   4c5a0:	6d36           	blts 4c5d8 <pipe_create+0xfc>               
    err = errno;                                                      
    close(filsdes[0]);                                                
    }                                                                 
  unlink(fifopath);                                                   
   4c5a2:	2f0a           	movel %a2,%sp@-                             
int pipe_create(                                                      
  int filsdes[2]                                                      
)                                                                     
{                                                                     
  rtems_libio_t *iop;                                                 
  int err = 0;                                                        
   4c5a4:	99cc           	subal %a4,%a4                               
                                                                      
    if (filsdes[1] < 0) {                                             
    err = errno;                                                      
    close(filsdes[0]);                                                
    }                                                                 
  unlink(fifopath);                                                   
   4c5a6:	4eb9 0004 743c 	jsr 4743c <unlink>                          
   4c5ac:	588f           	addql #4,%sp                                
  }                                                                   
  if(err != 0)                                                        
   4c5ae:	4a8c           	tstl %a4                                    
   4c5b0:	6658           	bnes 4c60a <pipe_create+0x12e>              
    rtems_set_errno_and_return_minus_one(err);                        
  return 0;                                                           
   4c5b2:	4280           	clrl %d0                                    
}                                                                     
   4c5b4:	4cee 1c00 ffe4 	moveml %fp@(-28),%a2-%a4                    
   4c5ba:	4e5e           	unlk %fp                                    
   4c5bc:	4e75           	rts                                         
     the file node will be deleted after it is closed by all. */      
    unlink(fifopath);                                                 
  }                                                                   
  else {                                                              
  /* Reset open file to blocking mode */                              
    iop = rtems_libio_iop(filsdes[0]);                                
   4c5be:	91c8           	subal %a0,%a0                               <== NOT EXECUTED
   4c5c0:	60ca           	bras 4c58c <pipe_create+0xb0>               <== NOT EXECUTED
  }                                                                   
                                                                      
  /* Non-blocking open to avoid waiting for writers */                
  filsdes[0] = open(fifopath, O_RDONLY | O_NONBLOCK);                 
  if (filsdes[0] < 0) {                                               
    err = errno;                                                      
   4c5c2:	4eb9 0005 0a64 	jsr 50a64 <__errno>                         
   4c5c8:	2040           	moveal %d0,%a0                              
   4c5ca:	2850           	moveal %a0@,%a4                             
    /* Delete file at errors, or else if pipe is successfully created 
     the file node will be deleted after it is closed by all. */      
    unlink(fifopath);                                                 
   4c5cc:	2f0a           	movel %a2,%sp@-                             
   4c5ce:	4eb9 0004 743c 	jsr 4743c <unlink>                          
   4c5d4:	588f           	addql #4,%sp                                
   4c5d6:	60d6           	bras 4c5ae <pipe_create+0xd2>               
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
                                                                      
    if (filsdes[1] < 0) {                                             
    err = errno;                                                      
   4c5d8:	4eb9 0005 0a64 	jsr 50a64 <__errno>                         
   4c5de:	2040           	moveal %d0,%a0                              
   4c5e0:	2850           	moveal %a0@,%a4                             
    close(filsdes[0]);                                                
   4c5e2:	2f13           	movel %a3@,%sp@-                            
   4c5e4:	4eb9 0004 3f70 	jsr 43f70 <close>                           
   4c5ea:	588f           	addql #4,%sp                                
    }                                                                 
  unlink(fifopath);                                                   
   4c5ec:	2f0a           	movel %a2,%sp@-                             
   4c5ee:	4eb9 0004 743c 	jsr 4743c <unlink>                          
   4c5f4:	588f           	addql #4,%sp                                
   4c5f6:	60b6           	bras 4c5ae <pipe_create+0xd2>               
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
                                                                      
  /* Try creating FIFO file until find an available file name */      
  while (mkfifo(fifopath, S_IRUSR|S_IWUSR) != 0) {                    
    if (errno != EEXIST){                                             
   4c5f8:	4eb9 0005 0a64 	jsr 50a64 <__errno>                         
      return -1;                                                      
   4c5fe:	70ff           	moveq #-1,%d0                               
  unlink(fifopath);                                                   
  }                                                                   
  if(err != 0)                                                        
    rtems_set_errno_and_return_minus_one(err);                        
  return 0;                                                           
}                                                                     
   4c600:	4cee 1c00 ffe4 	moveml %fp@(-28),%a2-%a4                    
   4c606:	4e5e           	unlk %fp                                    
   4c608:	4e75           	rts                                         
    close(filsdes[0]);                                                
    }                                                                 
  unlink(fifopath);                                                   
  }                                                                   
  if(err != 0)                                                        
    rtems_set_errno_and_return_minus_one(err);                        
   4c60a:	4eb9 0005 0a64 	jsr 50a64 <__errno>                         
   4c610:	2040           	moveal %d0,%a0                              
   4c612:	70ff           	moveq #-1,%d0                               
   4c614:	208c           	movel %a4,%a0@                              
  return 0;                                                           
}                                                                     
   4c616:	4cee 1c00 ffe4 	moveml %fp@(-28),%a2-%a4                    
   4c61c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004dc0a <pipe_ioctl>: pipe_control_t *pipe, uint32_t cmd, void *buffer, rtems_libio_t *iop ) {
   4dc0a:	4e56 0000      	linkw %fp,#0                                
  if (cmd == FIONREAD) {                                              
   4dc0e:	203c 4004 667f 	movel #1074030207,%d0                       
   4dc14:	b0ae 000c      	cmpl %fp@(12),%d0                           
   4dc18:	6706           	beqs 4dc20 <pipe_ioctl+0x16>                
    *(unsigned int *)buffer = pipe->Length;                           
    PIPE_UNLOCK(pipe);                                                
    return 0;                                                         
  }                                                                   
                                                                      
  return -EINVAL;                                                     
   4dc1a:	70ea           	moveq #-22,%d0                              
}                                                                     
   4dc1c:	4e5e           	unlk %fp                                    
   4dc1e:	4e75           	rts                                         
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  if (cmd == FIONREAD) {                                              
    if (buffer == NULL)                                               
   4dc20:	4aae 0010      	tstl %fp@(16)                               
   4dc24:	6606           	bnes 4dc2c <pipe_ioctl+0x22>                
      return -EFAULT;                                                 
   4dc26:	70f2           	moveq #-14,%d0                              
    PIPE_UNLOCK(pipe);                                                
    return 0;                                                         
  }                                                                   
                                                                      
  return -EINVAL;                                                     
}                                                                     
   4dc28:	4e5e           	unlk %fp                                    
   4dc2a:	4e75           	rts                                         
{                                                                     
  if (cmd == FIONREAD) {                                              
    if (buffer == NULL)                                               
      return -EFAULT;                                                 
                                                                      
    if (! PIPE_LOCK(pipe))                                            
   4dc2c:	42a7           	clrl %sp@-                                  
   4dc2e:	206e 0008      	moveal %fp@(8),%a0                          
   4dc32:	42a7           	clrl %sp@-                                  
   4dc34:	2f28 0028      	movel %a0@(40),%sp@-                        
   4dc38:	4eb9 0004 8b04 	jsr 48b04 <rtems_semaphore_obtain>          
   4dc3e:	4fef 000c      	lea %sp@(12),%sp                            
   4dc42:	4a80           	tstl %d0                                    
   4dc44:	6706           	beqs 4dc4c <pipe_ioctl+0x42>                <== ALWAYS TAKEN
      return -EINTR;                                                  
   4dc46:	70fc           	moveq #-4,%d0                               <== NOT EXECUTED
    PIPE_UNLOCK(pipe);                                                
    return 0;                                                         
  }                                                                   
                                                                      
  return -EINVAL;                                                     
}                                                                     
   4dc48:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   4dc4a:	4e75           	rts                                         <== NOT EXECUTED
                                                                      
    if (! PIPE_LOCK(pipe))                                            
      return -EINTR;                                                  
                                                                      
    /* Return length of pipe */                                       
    *(unsigned int *)buffer = pipe->Length;                           
   4dc4c:	206e 0008      	moveal %fp@(8),%a0                          
   4dc50:	226e 0010      	moveal %fp@(16),%a1                         
   4dc54:	22a8 000c      	movel %a0@(12),%a1@                         
    PIPE_UNLOCK(pipe);                                                
   4dc58:	2f28 0028      	movel %a0@(40),%sp@-                        
   4dc5c:	4eb9 0004 8c44 	jsr 48c44 <rtems_semaphore_release>         
    return 0;                                                         
   4dc62:	588f           	addql #4,%sp                                
   4dc64:	4280           	clrl %d0                                    
  }                                                                   
                                                                      
  return -EINVAL;                                                     
}                                                                     
   4dc66:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004d7f4 <pipe_read>: pipe_control_t *pipe, void *buffer, size_t count, rtems_libio_t *iop ) {
   4d7f4:	4e56 ffc8      	linkw %fp,#-56                              
   4d7f8:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
   4d7fc:	42a7           	clrl %sp@-                                  
  pipe_control_t *pipe,                                               
  void           *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
   4d7fe:	246e 0008      	moveal %fp@(8),%a2                          
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
   4d802:	47f9 0004 8b04 	lea 48b04 <rtems_semaphore_obtain>,%a3      
   4d808:	42a7           	clrl %sp@-                                  
   4d80a:	2f2a 0028      	movel %a2@(40),%sp@-                        
  pipe_control_t *pipe,                                               
  void           *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
   4d80e:	282e 0010      	movel %fp@(16),%d4                          
   4d812:	2a6e 0014      	moveal %fp@(20),%a5                         
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
   4d816:	4e93           	jsr %a3@                                    
   4d818:	4fef 000c      	lea %sp@(12),%sp                            
   4d81c:	4a80           	tstl %d0                                    
   4d81e:	6600 00aa      	bnew 4d8ca <pipe_read+0xd6>                 
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
   4d822:	4a84           	tstl %d4                                    
   4d824:	6700 01a8      	beqw 4d9ce <pipe_read+0x1da>                
   4d828:	4285           	clrl %d5                                    
   4d82a:	4283           	clrl %d3                                    
   4d82c:	49f9 0004 8c44 	lea 48c44 <rtems_semaphore_release>,%a4     
      }                                                               
                                                                      
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_READWAIT(pipe))                                      
   4d832:	243c 0004 f394 	movel #324500,%d2                           
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
      pipe->Start = 0;                                                
                                                                      
    if (pipe->waitingWriters > 0)                                     
      PIPE_WAKEUPWRITERS(pipe);                                       
   4d838:	2e3c 0004 f31c 	movel #324380,%d7                           
    if (chunk > chunk1) {                                             
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk1);      
      memcpy(buffer + read + chunk1, pipe->Buffer, chunk - chunk1);   
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
   4d83e:	2c3c 0005 212c 	movel #336172,%d6                           
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
    while (PIPE_EMPTY(pipe)) {                                        
   4d844:	222a 000c      	movel %a2@(12),%d1                          
   4d848:	6600 008c      	bnew 4d8d6 <pipe_read+0xe2>                 
      /* Not an error */                                              
      if (pipe->Writers == 0)                                         
   4d84c:	4aaa 0014      	tstl %a2@(20)                               
   4d850:	6700 0106      	beqw 4d958 <pipe_read+0x164>                
        goto out_locked;                                              
                                                                      
      if (LIBIO_NODELAY(iop)) {                                       
   4d854:	7001           	moveq #1,%d0                                
   4d856:	c0ad 0014      	andl %a5@(20),%d0                           
   4d85a:	6600 010c      	bnew 4d968 <pipe_read+0x174>                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
      PIPE_UNLOCK(pipe);                                              
   4d85e:	2f2a 0028      	movel %a2@(40),%sp@-                        
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
   4d862:	52aa 0018      	addql #1,%a2@(24)                           
      PIPE_UNLOCK(pipe);                                              
   4d866:	4e94           	jsr %a4@                                    
      if (! PIPE_READWAIT(pipe))                                      
   4d868:	2042           	moveal %d2,%a0                              
   4d86a:	42a7           	clrl %sp@-                                  
   4d86c:	2f2a 002c      	movel %a2@(44),%sp@-                        
   4d870:	4e90           	jsr %a0@                                    
   4d872:	4fef 000c      	lea %sp@(12),%sp                            
   4d876:	4a80           	tstl %d0                                    
   4d878:	663a           	bnes 4d8b4 <pipe_read+0xc0>                 <== NEVER TAKEN
   4d87a:	42ae fff8      	clrl %fp@(-8)                               
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
   4d87e:	42a7           	clrl %sp@-                                  
   4d880:	42a7           	clrl %sp@-                                  
   4d882:	2f2a 0028      	movel %a2@(40),%sp@-                        
   4d886:	4e93           	jsr %a3@                                    
   4d888:	4fef 000c      	lea %sp@(12),%sp                            
   4d88c:	4a80           	tstl %d0                                    
   4d88e:	6600 00ea      	bnew 4d97a <pipe_read+0x186>                
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingReaders --;                                        
   4d892:	53aa 0018      	subql #1,%a2@(24)                           
      if (ret != 0)                                                   
   4d896:	4aae fff8      	tstl %fp@(-8)                               
   4d89a:	67a8           	beqs 4d844 <pipe_read+0x50>                 <== ALWAYS TAKEN
      PIPE_WAKEUPWRITERS(pipe);                                       
    read += chunk;                                                    
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
   4d89c:	2f2a 0028      	movel %a2@(40),%sp@-                        <== NOT EXECUTED
   4d8a0:	4e94           	jsr %a4@                                    <== NOT EXECUTED
   4d8a2:	588f           	addql #4,%sp                                <== NOT EXECUTED
                                                                      
out_nolock:                                                           
  if (read > 0)                                                       
   4d8a4:	4a83           	tstl %d3                                    
   4d8a6:	6f14           	bles 4d8bc <pipe_read+0xc8>                 
   4d8a8:	2003           	movel %d3,%d0                               
    return read;                                                      
  return ret;                                                         
}                                                                     
   4d8aa:	4cee 3cfc ffc8 	moveml %fp@(-56),%d2-%d7/%a2-%a5            
   4d8b0:	4e5e           	unlk %fp                                    
   4d8b2:	4e75           	rts                                         
                                                                      
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_READWAIT(pipe))                                      
        ret = -EINTR;                                                 
   4d8b4:	70fc           	moveq #-4,%d0                               <== NOT EXECUTED
   4d8b6:	2d40 fff8      	movel %d0,%fp@(-8)                          <== NOT EXECUTED
   4d8ba:	60c2           	bras 4d87e <pipe_read+0x8a>                 <== NOT EXECUTED
  PIPE_UNLOCK(pipe);                                                  
                                                                      
out_nolock:                                                           
  if (read > 0)                                                       
    return read;                                                      
  return ret;                                                         
   4d8bc:	202e fff8      	movel %fp@(-8),%d0                          
}                                                                     
   4d8c0:	4cee 3cfc ffc8 	moveml %fp@(-56),%d2-%d7/%a2-%a5            
   4d8c6:	4e5e           	unlk %fp                                    
   4d8c8:	4e75           	rts                                         
)                                                                     
{                                                                     
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
   4d8ca:	70fc           	moveq #-4,%d0                               <== NOT EXECUTED
                                                                      
out_nolock:                                                           
  if (read > 0)                                                       
    return read;                                                      
  return ret;                                                         
}                                                                     
   4d8cc:	4cee 3cfc ffc8 	moveml %fp@(-56),%d2-%d7/%a2-%a5            <== NOT EXECUTED
   4d8d2:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   4d8d4:	4e75           	rts                                         <== NOT EXECUTED
      if (ret != 0)                                                   
        goto out_locked;                                              
    }                                                                 
                                                                      
    /* Read chunk bytes */                                            
    chunk = MIN(count - read,  pipe->Length);                         
   4d8d6:	2004           	movel %d4,%d0                               
   4d8d8:	9085           	subl %d5,%d0                                
   4d8da:	b081           	cmpl %d1,%d0                                
   4d8dc:	6402           	bccs 4d8e0 <pipe_read+0xec>                 
   4d8de:	2200           	movel %d0,%d1                               
    chunk1 = pipe->Size - pipe->Start;                                
   4d8e0:	202a 0008      	movel %a2@(8),%d0                           
   4d8e4:	206a 0004      	moveal %a2@(4),%a0                          
   4d8e8:	91c0           	subal %d0,%a0                               
    if (chunk > chunk1) {                                             
   4d8ea:	b1c1           	cmpal %d1,%a0                               
   4d8ec:	6d00 009c      	bltw 4d98a <pipe_read+0x196>                
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk1);      
      memcpy(buffer + read + chunk1, pipe->Buffer, chunk - chunk1);   
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
   4d8f0:	2f01           	movel %d1,%sp@-                             
   4d8f2:	d092           	addl %a2@,%d0                               
   4d8f4:	2246           	moveal %d6,%a1                              
   4d8f6:	206e 000c      	moveal %fp@(12),%a0                         
   4d8fa:	2f00           	movel %d0,%sp@-                             
   4d8fc:	4870 5800      	pea %a0@(00000000,%d5:l)                    
   4d900:	2d41 fff4      	movel %d1,%fp@(-12)                         
   4d904:	4e91           	jsr %a1@                                    
   4d906:	222e fff4      	movel %fp@(-12),%d1                         
   4d90a:	4fef 000c      	lea %sp@(12),%sp                            
                                                                      
    pipe->Start += chunk;                                             
   4d90e:	2041           	moveal %d1,%a0                              
   4d910:	d1ea 0008      	addal %a2@(8),%a0                           
    pipe->Start %= pipe->Size;                                        
   4d914:	2008           	movel %a0,%d0                               
    pipe->Length -= chunk;                                            
   4d916:	226a 000c      	moveal %a2@(12),%a1                         
   4d91a:	93c1           	subal %d1,%a1                               
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
                                                                      
    pipe->Start += chunk;                                             
    pipe->Start %= pipe->Size;                                        
   4d91c:	4c6a 0005 0004 	remul %a2@(4),%d5,%d0                       
    pipe->Length -= chunk;                                            
   4d922:	2549 000c      	movel %a1,%a2@(12)                          
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
                                                                      
    pipe->Start += chunk;                                             
    pipe->Start %= pipe->Size;                                        
   4d926:	2545 0008      	movel %d5,%a2@(8)                           
    pipe->Length -= chunk;                                            
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
   4d92a:	4a89           	tstl %a1                                    
   4d92c:	6604           	bnes 4d932 <pipe_read+0x13e>                
      pipe->Start = 0;                                                
   4d92e:	42aa 0008      	clrl %a2@(8)                                
                                                                      
    if (pipe->waitingWriters > 0)                                     
   4d932:	4aaa 001c      	tstl %a2@(28)                               
   4d936:	6716           	beqs 4d94e <pipe_read+0x15a>                
      PIPE_WAKEUPWRITERS(pipe);                                       
   4d938:	486e fffc      	pea %fp@(-4)                                
   4d93c:	2047           	moveal %d7,%a0                              
   4d93e:	2f2a 0030      	movel %a2@(48),%sp@-                        
   4d942:	2d41 fff4      	movel %d1,%fp@(-12)                         
   4d946:	4e90           	jsr %a0@                                    
   4d948:	222e fff4      	movel %fp@(-12),%d1                         
   4d94c:	508f           	addql #8,%sp                                
    read += chunk;                                                    
   4d94e:	d681           	addl %d1,%d3                                
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
   4d950:	2a03           	movel %d3,%d5                               
   4d952:	b883           	cmpl %d3,%d4                                
   4d954:	6200 feee      	bhiw 4d844 <pipe_read+0x50>                 
      PIPE_WAKEUPWRITERS(pipe);                                       
    read += chunk;                                                    
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
   4d958:	2f2a 0028      	movel %a2@(40),%sp@-                        
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
    while (PIPE_EMPTY(pipe)) {                                        
      /* Not an error */                                              
      if (pipe->Writers == 0)                                         
   4d95c:	42ae fff8      	clrl %fp@(-8)                               
      PIPE_WAKEUPWRITERS(pipe);                                       
    read += chunk;                                                    
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
   4d960:	4e94           	jsr %a4@                                    
   4d962:	588f           	addql #4,%sp                                
   4d964:	6000 ff3e      	braw 4d8a4 <pipe_read+0xb0>                 
      /* Not an error */                                              
      if (pipe->Writers == 0)                                         
        goto out_locked;                                              
                                                                      
      if (LIBIO_NODELAY(iop)) {                                       
        ret = -EAGAIN;                                                
   4d968:	70f5           	moveq #-11,%d0                              
      PIPE_WAKEUPWRITERS(pipe);                                       
    read += chunk;                                                    
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
   4d96a:	2f2a 0028      	movel %a2@(40),%sp@-                        
      /* Not an error */                                              
      if (pipe->Writers == 0)                                         
        goto out_locked;                                              
                                                                      
      if (LIBIO_NODELAY(iop)) {                                       
        ret = -EAGAIN;                                                
   4d96e:	2d40 fff8      	movel %d0,%fp@(-8)                          
      PIPE_WAKEUPWRITERS(pipe);                                       
    read += chunk;                                                    
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
   4d972:	4e94           	jsr %a4@                                    
   4d974:	588f           	addql #4,%sp                                
   4d976:	6000 ff2c      	braw 4d8a4 <pipe_read+0xb0>                 
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_READWAIT(pipe))                                      
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
   4d97a:	7afc           	moveq #-4,%d5                               <== NOT EXECUTED
   4d97c:	2d45 fff8      	movel %d5,%fp@(-8)                          <== NOT EXECUTED
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
                                                                      
out_nolock:                                                           
  if (read > 0)                                                       
   4d980:	4a83           	tstl %d3                                    <== NOT EXECUTED
   4d982:	6e00 ff24      	bgtw 4d8a8 <pipe_read+0xb4>                 <== NOT EXECUTED
   4d986:	6000 ff34      	braw 4d8bc <pipe_read+0xc8>                 <== NOT EXECUTED
                                                                      
    /* Read chunk bytes */                                            
    chunk = MIN(count - read,  pipe->Length);                         
    chunk1 = pipe->Size - pipe->Start;                                
    if (chunk > chunk1) {                                             
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk1);      
   4d98a:	2f08           	movel %a0,%sp@-                             
   4d98c:	d092           	addl %a2@,%d0                               
   4d98e:	226e 000c      	moveal %fp@(12),%a1                         
   4d992:	2f00           	movel %d0,%sp@-                             
   4d994:	4871 5800      	pea %a1@(00000000,%d5:l)                    
   4d998:	2246           	moveal %d6,%a1                              
   4d99a:	2d41 fff4      	movel %d1,%fp@(-12)                         
   4d99e:	2d48 fff0      	movel %a0,%fp@(-16)                         
   4d9a2:	4e91           	jsr %a1@                                    
      memcpy(buffer + read + chunk1, pipe->Buffer, chunk - chunk1);   
   4d9a4:	222e fff4      	movel %fp@(-12),%d1                         
   4d9a8:	2001           	movel %d1,%d0                               
   4d9aa:	2246           	moveal %d6,%a1                              
   4d9ac:	206e fff0      	moveal %fp@(-16),%a0                        
   4d9b0:	9088           	subl %a0,%d0                                
   4d9b2:	da88           	addl %a0,%d5                                
   4d9b4:	2f00           	movel %d0,%sp@-                             
   4d9b6:	2f12           	movel %a2@,%sp@-                            
   4d9b8:	206e 000c      	moveal %fp@(12),%a0                         
   4d9bc:	4870 5800      	pea %a0@(00000000,%d5:l)                    
   4d9c0:	4e91           	jsr %a1@                                    
   4d9c2:	222e fff4      	movel %fp@(-12),%d1                         
   4d9c6:	4fef 0018      	lea %sp@(24),%sp                            
   4d9ca:	6000 ff42      	braw 4d90e <pipe_read+0x11a>                
      PIPE_WAKEUPWRITERS(pipe);                                       
    read += chunk;                                                    
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
   4d9ce:	2f2a 0028      	movel %a2@(40),%sp@-                        <== NOT EXECUTED
   4d9d2:	49f9 0004 8c44 	lea 48c44 <rtems_semaphore_release>,%a4     <== NOT EXECUTED
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
   4d9d8:	4283           	clrl %d3                                    <== NOT EXECUTED
   4d9da:	42ae fff8      	clrl %fp@(-8)                               <== NOT EXECUTED
      PIPE_WAKEUPWRITERS(pipe);                                       
    read += chunk;                                                    
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
   4d9de:	4e94           	jsr %a4@                                    <== NOT EXECUTED
   4d9e0:	588f           	addql #4,%sp                                <== NOT EXECUTED
   4d9e2:	6000 fec0      	braw 4d8a4 <pipe_read+0xb0>                 <== NOT EXECUTED
                                                                      

0004d27e <pipe_release>: */ void pipe_release( pipe_control_t **pipep, rtems_libio_t *iop ) {
   4d27e:	4e56 ffe8      	linkw %fp,#-24                              
    /* WARN pipe not released! */                                     
    if (!PIPE_LOCK(pipe))                                             
      rtems_fatal_error_occurred(0xdeadbeef);                         
  #endif                                                              
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
   4d282:	206e 000c      	moveal %fp@(12),%a0                         
 */                                                                   
void pipe_release(                                                    
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
   4d286:	48d7 3c04      	moveml %d2/%a2-%a5,%sp@                     
   4d28a:	266e 0008      	moveal %fp@(8),%a3                          
    /* WARN pipe not released! */                                     
    if (!PIPE_LOCK(pipe))                                             
      rtems_fatal_error_occurred(0xdeadbeef);                         
  #endif                                                              
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
   4d28e:	7406           	moveq #6,%d2                                
void pipe_release(                                                    
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
  pipe_control_t *pipe = *pipep;                                      
   4d290:	2453           	moveal %a3@,%a2                             
    /* WARN pipe not released! */                                     
    if (!PIPE_LOCK(pipe))                                             
      rtems_fatal_error_occurred(0xdeadbeef);                         
  #endif                                                              
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
   4d292:	c4a8 0014      	andl %a0@(20),%d2                           
  if (mode & LIBIO_FLAGS_READ)                                        
   4d296:	0802 0001      	btst #1,%d2                                 
   4d29a:	6704           	beqs 4d2a0 <pipe_release+0x22>              
     pipe->Readers --;                                                
   4d29c:	53aa 0010      	subql #1,%a2@(16)                           
  if (mode & LIBIO_FLAGS_WRITE)                                       
   4d2a0:	44c2           	movew %d2,%ccr                              
   4d2a2:	6604           	bnes 4d2a8 <pipe_release+0x2a>              
     pipe->Writers --;                                                
   4d2a4:	53aa 0014      	subql #1,%a2@(20)                           
                                                                      
  PIPE_UNLOCK(pipe);                                                  
   4d2a8:	2f2a 0028      	movel %a2@(40),%sp@-                        
   4d2ac:	4eb9 0004 8c44 	jsr 48c44 <rtems_semaphore_release>         
                                                                      
  if (pipe->Readers == 0 && pipe->Writers == 0) {                     
   4d2b2:	588f           	addql #4,%sp                                
   4d2b4:	4aaa 0010      	tstl %a2@(16)                               
   4d2b8:	672a           	beqs 4d2e4 <pipe_release+0x66>              
    *pipep = NULL;                                                    
  }                                                                   
  else if (pipe->Readers == 0 && mode != LIBIO_FLAGS_WRITE)           
    /* Notify waiting Writers that all their partners left */         
    PIPE_WAKEUPWRITERS(pipe);                                         
  else if (pipe->Writers == 0 && mode != LIBIO_FLAGS_READ)            
   4d2ba:	4aaa 0014      	tstl %a2@(20)                               
   4d2be:	6616           	bnes 4d2d6 <pipe_release+0x58>              <== NEVER TAKEN
   4d2c0:	7002           	moveq #2,%d0                                
   4d2c2:	b082           	cmpl %d2,%d0                                
   4d2c4:	6710           	beqs 4d2d6 <pipe_release+0x58>              <== NEVER TAKEN
    PIPE_WAKEUPREADERS(pipe);                                         
   4d2c6:	486e fffc      	pea %fp@(-4)                                
   4d2ca:	2f2a 002c      	movel %a2@(44),%sp@-                        
   4d2ce:	4eb9 0004 f31c 	jsr 4f31c <rtems_barrier_release>           
   4d2d4:	508f           	addql #8,%sp                                
                                                                      
  pipe_unlock();                                                      
   4d2d6:	4eba ff90      	jsr %pc@(4d268 <pipe_unlock>)               
  iop->flags &= ~LIBIO_FLAGS_OPEN;                                    
  if(iop->pathinfo.ops->unlink_h(&iop->pathinfo))                     
    return;                                                           
#endif                                                                
                                                                      
}                                                                     
   4d2da:	4cee 3c04 ffe8 	moveml %fp@(-24),%d2/%a2-%a5                
   4d2e0:	4e5e           	unlk %fp                                    
   4d2e2:	4e75           	rts                                         
  if (mode & LIBIO_FLAGS_WRITE)                                       
     pipe->Writers --;                                                
                                                                      
  PIPE_UNLOCK(pipe);                                                  
                                                                      
  if (pipe->Readers == 0 && pipe->Writers == 0) {                     
   4d2e4:	4aaa 0014      	tstl %a2@(20)                               
   4d2e8:	6724           	beqs 4d30e <pipe_release+0x90>              
      delfile = TRUE;                                                 
#endif                                                                
    pipe_free(pipe);                                                  
    *pipep = NULL;                                                    
  }                                                                   
  else if (pipe->Readers == 0 && mode != LIBIO_FLAGS_WRITE)           
   4d2ea:	7004           	moveq #4,%d0                                
   4d2ec:	b082           	cmpl %d2,%d0                                
   4d2ee:	67e6           	beqs 4d2d6 <pipe_release+0x58>              <== NEVER TAKEN
    /* Notify waiting Writers that all their partners left */         
    PIPE_WAKEUPWRITERS(pipe);                                         
   4d2f0:	486e fffc      	pea %fp@(-4)                                
   4d2f4:	2f2a 0030      	movel %a2@(48),%sp@-                        
   4d2f8:	4eb9 0004 f31c 	jsr 4f31c <rtems_barrier_release>           
   4d2fe:	508f           	addql #8,%sp                                
  else if (pipe->Writers == 0 && mode != LIBIO_FLAGS_READ)            
    PIPE_WAKEUPREADERS(pipe);                                         
                                                                      
  pipe_unlock();                                                      
   4d300:	4eba ff66      	jsr %pc@(4d268 <pipe_unlock>)               
  iop->flags &= ~LIBIO_FLAGS_OPEN;                                    
  if(iop->pathinfo.ops->unlink_h(&iop->pathinfo))                     
    return;                                                           
#endif                                                                
                                                                      
}                                                                     
   4d304:	4cee 3c04 ffe8 	moveml %fp@(-24),%d2/%a2-%a5                
   4d30a:	4e5e           	unlk %fp                                    
   4d30c:	4e75           	rts                                         
/* Called with pipe_semaphore held. */                                
static inline void pipe_free(                                         
  pipe_control_t *pipe                                                
)                                                                     
{                                                                     
  rtems_barrier_delete(pipe->readBarrier);                            
   4d30e:	2f2a 002c      	movel %a2@(44),%sp@-                        
   4d312:	4bf9 0004 f27c 	lea 4f27c <rtems_barrier_delete>,%a5        
  rtems_barrier_delete(pipe->writeBarrier);                           
  rtems_semaphore_delete(pipe->Semaphore);                            
  free(pipe->Buffer);                                                 
   4d318:	49f9 0004 4d88 	lea 44d88 <free>,%a4                        
/* Called with pipe_semaphore held. */                                
static inline void pipe_free(                                         
  pipe_control_t *pipe                                                
)                                                                     
{                                                                     
  rtems_barrier_delete(pipe->readBarrier);                            
   4d31e:	4e95           	jsr %a5@                                    
  rtems_barrier_delete(pipe->writeBarrier);                           
   4d320:	2f2a 0030      	movel %a2@(48),%sp@-                        
   4d324:	4e95           	jsr %a5@                                    
  rtems_semaphore_delete(pipe->Semaphore);                            
   4d326:	2f2a 0028      	movel %a2@(40),%sp@-                        
   4d32a:	4eb9 0004 8a2c 	jsr 48a2c <rtems_semaphore_delete>          
  free(pipe->Buffer);                                                 
   4d330:	2f12           	movel %a2@,%sp@-                            
   4d332:	4e94           	jsr %a4@                                    
  free(pipe);                                                         
   4d334:	2f0a           	movel %a2,%sp@-                             
   4d336:	4e94           	jsr %a4@                                    
    /* To delete an anonymous pipe file when all users closed it */   
    if (pipe->Anonymous)                                              
      delfile = TRUE;                                                 
#endif                                                                
    pipe_free(pipe);                                                  
    *pipep = NULL;                                                    
   4d338:	4fef 0014      	lea %sp@(20),%sp                            
   4d33c:	4293           	clrl %a3@                                   
    /* Notify waiting Writers that all their partners left */         
    PIPE_WAKEUPWRITERS(pipe);                                         
  else if (pipe->Writers == 0 && mode != LIBIO_FLAGS_READ)            
    PIPE_WAKEUPREADERS(pipe);                                         
                                                                      
  pipe_unlock();                                                      
   4d33e:	4eba ff28      	jsr %pc@(4d268 <pipe_unlock>)               
  iop->flags &= ~LIBIO_FLAGS_OPEN;                                    
  if(iop->pathinfo.ops->unlink_h(&iop->pathinfo))                     
    return;                                                           
#endif                                                                
                                                                      
}                                                                     
   4d342:	4cee 3c04 ffe8 	moveml %fp@(-24),%d2/%a2-%a5                
   4d348:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004d9e6 <pipe_write>: pipe_control_t *pipe, const void *buffer, size_t count, rtems_libio_t *iop ) {
   4d9e6:	4e56 ffcc      	linkw %fp,#-52                              
   4d9ea:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
   4d9ee:	246e 0008      	moveal %fp@(8),%a2                          
   4d9f2:	242e 0010      	movel %fp@(16),%d2                          
  int chunk, chunk1, written = 0, ret = 0;                            
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
   4d9f6:	660c           	bnes 4da04 <pipe_write+0x1e>                <== ALWAYS TAKEN
    return 0;                                                         
   4d9f8:	4280           	clrl %d0                                    <== NOT EXECUTED
#endif                                                                
                                                                      
  if (written > 0)                                                    
    return written;                                                   
  return ret;                                                         
}                                                                     
   4d9fa:	4cee 3cfc ffcc 	moveml %fp@(-52),%d2-%d7/%a2-%a5            <== NOT EXECUTED
   4da00:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   4da02:	4e75           	rts                                         <== NOT EXECUTED
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
    return 0;                                                         
                                                                      
  if (! PIPE_LOCK(pipe))                                              
   4da04:	42a7           	clrl %sp@-                                  
   4da06:	47f9 0004 8b04 	lea 48b04 <rtems_semaphore_obtain>,%a3      
   4da0c:	42a7           	clrl %sp@-                                  
   4da0e:	2f2a 0028      	movel %a2@(40),%sp@-                        
   4da12:	4e93           	jsr %a3@                                    
   4da14:	4fef 000c      	lea %sp@(12),%sp                            
   4da18:	4a80           	tstl %d0                                    
   4da1a:	6600 00c6      	bnew 4dae2 <pipe_write+0xfc>                
    return -EINTR;                                                    
                                                                      
  if (pipe->Readers == 0) {                                           
   4da1e:	4aaa 0010      	tstl %a2@(16)                               
   4da22:	6700 0104      	beqw 4db28 <pipe_write+0x142>               
    ret = -EPIPE;                                                     
    goto out_locked;                                                  
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
   4da26:	202a 0004      	movel %a2@(4),%d0                           
   4da2a:	b082           	cmpl %d2,%d0                                
   4da2c:	6500 00de      	bcsw 4db0c <pipe_write+0x126>               
   4da30:	2602           	movel %d2,%d3                               
   4da32:	4285           	clrl %d5                                    
   4da34:	4284           	clrl %d4                                    
   4da36:	49f9 0004 8c44 	lea 48c44 <rtems_semaphore_release>,%a4     
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_WRITEWAIT(pipe))                                     
   4da3c:	4bf9 0004 f394 	lea 4f394 <rtems_barrier_wait>,%a5          
    if (chunk > chunk1) {                                             
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk1);
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
   4da42:	2c3c 0005 212c 	movel #336172,%d6                           
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
    while (PIPE_SPACE(pipe) < chunk) {                                
   4da48:	222a 000c      	movel %a2@(12),%d1                          
   4da4c:	2040           	moveal %d0,%a0                              
   4da4e:	91c1           	subal %d1,%a0                               
   4da50:	b688           	cmpl %a0,%d3                                
   4da52:	6300 00f0      	blsw 4db44 <pipe_write+0x15e>               
      if (LIBIO_NODELAY(iop)) {                                       
   4da56:	206e 0014      	moveal %fp@(20),%a0                         
   4da5a:	7001           	moveq #1,%d0                                
   4da5c:	c0a8 0014      	andl %a0@(20),%d0                           
   4da60:	6600 016a      	bnew 4dbcc <pipe_write+0x1e6>               
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
      PIPE_UNLOCK(pipe);                                              
   4da64:	2f2a 0028      	movel %a2@(40),%sp@-                        
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
   4da68:	52aa 001c      	addql #1,%a2@(28)                           
      PIPE_UNLOCK(pipe);                                              
   4da6c:	4e94           	jsr %a4@                                    
      if (! PIPE_WRITEWAIT(pipe))                                     
   4da6e:	42a7           	clrl %sp@-                                  
   4da70:	2f2a 0030      	movel %a2@(48),%sp@-                        
   4da74:	4e95           	jsr %a5@                                    
   4da76:	4fef 000c      	lea %sp@(12),%sp                            
   4da7a:	4a80           	tstl %d0                                    
   4da7c:	662a           	bnes 4daa8 <pipe_write+0xc2>                <== NEVER TAKEN
   4da7e:	4287           	clrl %d7                                    
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
   4da80:	42a7           	clrl %sp@-                                  
   4da82:	42a7           	clrl %sp@-                                  
   4da84:	2f2a 0028      	movel %a2@(40),%sp@-                        
   4da88:	4e93           	jsr %a3@                                    
   4da8a:	4fef 000c      	lea %sp@(12),%sp                            
   4da8e:	4a80           	tstl %d0                                    
   4da90:	6600 0150      	bnew 4dbe2 <pipe_write+0x1fc>               
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingWriters --;                                        
   4da94:	53aa 001c      	subql #1,%a2@(28)                           
      if (ret != 0)                                                   
   4da98:	4a87           	tstl %d7                                    
   4da9a:	6612           	bnes 4daae <pipe_write+0xc8>                <== NEVER TAKEN
        goto out_locked;                                              
                                                                      
      if (pipe->Readers == 0) {                                       
   4da9c:	4aaa 0010      	tstl %a2@(16)                               
   4daa0:	674c           	beqs 4daee <pipe_write+0x108>               <== NEVER TAKEN
   4daa2:	202a 0004      	movel %a2@(4),%d0                           
   4daa6:	60a0           	bras 4da48 <pipe_write+0x62>                
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_WRITEWAIT(pipe))                                     
        ret = -EINTR;                                                 
   4daa8:	7efc           	moveq #-4,%d7                               <== NOT EXECUTED
   4daaa:	60d4           	bras 4da80 <pipe_write+0x9a>                <== NOT EXECUTED
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
   4daac:	4287           	clrl %d7                                    
    /* Write of more than PIPE_BUF bytes can be interleaved */        
    chunk = 1;                                                        
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
   4daae:	2f2a 0028      	movel %a2@(40),%sp@-                        
   4dab2:	4e94           	jsr %a4@                                    
   4dab4:	588f           	addql #4,%sp                                
                                                                      
out_nolock:                                                           
#ifdef RTEMS_POSIX_API                                                
  /* Signal SIGPIPE */                                                
  if (ret == -EPIPE)                                                  
   4dab6:	70e0           	moveq #-32,%d0                              
   4dab8:	b087           	cmpl %d7,%d0                                
   4daba:	6710           	beqs 4dacc <pipe_write+0xe6>                <== NEVER TAKEN
    kill(getpid(), SIGPIPE);                                          
#endif                                                                
                                                                      
  if (written > 0)                                                    
   4dabc:	4a84           	tstl %d4                                    
   4dabe:	6f40           	bles 4db00 <pipe_write+0x11a>               
   4dac0:	2004           	movel %d4,%d0                               
    return written;                                                   
  return ret;                                                         
}                                                                     
   4dac2:	4cee 3cfc ffcc 	moveml %fp@(-52),%d2-%d7/%a2-%a5            
   4dac8:	4e5e           	unlk %fp                                    
   4daca:	4e75           	rts                                         
                                                                      
out_nolock:                                                           
#ifdef RTEMS_POSIX_API                                                
  /* Signal SIGPIPE */                                                
  if (ret == -EPIPE)                                                  
    kill(getpid(), SIGPIPE);                                          
   4dacc:	4eb9 0004 e54c 	jsr 4e54c <getpid>                          
   4dad2:	4878 000d      	pea d <OPER1+0x1>                           
   4dad6:	2f00           	movel %d0,%sp@-                             
   4dad8:	4eb9 0004 e87c 	jsr 4e87c <kill>                            
   4dade:	508f           	addql #8,%sp                                
   4dae0:	60da           	bras 4dabc <pipe_write+0xd6>                
  /* Write nothing */                                                 
  if (count == 0)                                                     
    return 0;                                                         
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
   4dae2:	70fc           	moveq #-4,%d0                               <== NOT EXECUTED
#endif                                                                
                                                                      
  if (written > 0)                                                    
    return written;                                                   
  return ret;                                                         
}                                                                     
   4dae4:	4cee 3cfc ffcc 	moveml %fp@(-52),%d2-%d7/%a2-%a5            <== NOT EXECUTED
   4daea:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   4daec:	4e75           	rts                                         <== NOT EXECUTED
    /* Write of more than PIPE_BUF bytes can be interleaved */        
    chunk = 1;                                                        
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
   4daee:	2f2a 0028      	movel %a2@(40),%sp@-                        <== NOT EXECUTED
      pipe->waitingWriters --;                                        
      if (ret != 0)                                                   
        goto out_locked;                                              
                                                                      
      if (pipe->Readers == 0) {                                       
        ret = -EPIPE;                                                 
   4daf2:	7ee0           	moveq #-32,%d7                              <== NOT EXECUTED
    /* Write of more than PIPE_BUF bytes can be interleaved */        
    chunk = 1;                                                        
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
   4daf4:	4e94           	jsr %a4@                                    <== NOT EXECUTED
   4daf6:	588f           	addql #4,%sp                                <== NOT EXECUTED
                                                                      
out_nolock:                                                           
#ifdef RTEMS_POSIX_API                                                
  /* Signal SIGPIPE */                                                
  if (ret == -EPIPE)                                                  
   4daf8:	70e0           	moveq #-32,%d0                              <== NOT EXECUTED
   4dafa:	b087           	cmpl %d7,%d0                                <== NOT EXECUTED
   4dafc:	66be           	bnes 4dabc <pipe_write+0xd6>                <== NOT EXECUTED
   4dafe:	60cc           	bras 4dacc <pipe_write+0xe6>                <== NOT EXECUTED
    kill(getpid(), SIGPIPE);                                          
#endif                                                                
                                                                      
  if (written > 0)                                                    
   4db00:	2007           	movel %d7,%d0                               
    return written;                                                   
  return ret;                                                         
}                                                                     
   4db02:	4cee 3cfc ffcc 	moveml %fp@(-52),%d2-%d7/%a2-%a5            
   4db08:	4e5e           	unlk %fp                                    
   4db0a:	4e75           	rts                                         
    ret = -EPIPE;                                                     
    goto out_locked;                                                  
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
   4db0c:	7601           	moveq #1,%d3                                <== NOT EXECUTED
   4db0e:	4285           	clrl %d5                                    <== NOT EXECUTED
   4db10:	4284           	clrl %d4                                    <== NOT EXECUTED
   4db12:	49f9 0004 8c44 	lea 48c44 <rtems_semaphore_release>,%a4     <== NOT EXECUTED
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_WRITEWAIT(pipe))                                     
   4db18:	4bf9 0004 f394 	lea 4f394 <rtems_barrier_wait>,%a5          <== NOT EXECUTED
    if (chunk > chunk1) {                                             
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk1);
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
   4db1e:	2c3c 0005 212c 	movel #336172,%d6                           <== NOT EXECUTED
   4db24:	6000 ff22      	braw 4da48 <pipe_write+0x62>                <== NOT EXECUTED
    /* Write of more than PIPE_BUF bytes can be interleaved */        
    chunk = 1;                                                        
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
   4db28:	2f2a 0028      	movel %a2@(40),%sp@-                        
   4db2c:	49f9 0004 8c44 	lea 48c44 <rtems_semaphore_release>,%a4     
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  if (pipe->Readers == 0) {                                           
    ret = -EPIPE;                                                     
   4db32:	7ee0           	moveq #-32,%d7                              
  const void     *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  int chunk, chunk1, written = 0, ret = 0;                            
   4db34:	4284           	clrl %d4                                    
    /* Write of more than PIPE_BUF bytes can be interleaved */        
    chunk = 1;                                                        
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
   4db36:	4e94           	jsr %a4@                                    
   4db38:	588f           	addql #4,%sp                                
                                                                      
out_nolock:                                                           
#ifdef RTEMS_POSIX_API                                                
  /* Signal SIGPIPE */                                                
  if (ret == -EPIPE)                                                  
   4db3a:	70e0           	moveq #-32,%d0                              
   4db3c:	b087           	cmpl %d7,%d0                                
   4db3e:	6600 ff7c      	bnew 4dabc <pipe_write+0xd6>                
   4db42:	6088           	bras 4dacc <pipe_write+0xe6>                
        ret = -EPIPE;                                                 
        goto out_locked;                                              
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
   4db44:	2242           	moveal %d2,%a1                              
   4db46:	93c5           	subal %d5,%a1                               
   4db48:	2608           	movel %a0,%d3                               
   4db4a:	b3c8           	cmpal %a0,%a1                               
   4db4c:	6402           	bccs 4db50 <pipe_write+0x16a>               
   4db4e:	2609           	movel %a1,%d3                               
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
   4db50:	2241           	moveal %d1,%a1                              
   4db52:	d3ea 0008      	addal %a2@(8),%a1                           
   4db56:	2209           	movel %a1,%d1                               
   4db58:	4c40 1007      	remul %d0,%d7,%d1                           
   4db5c:	2200           	movel %d0,%d1                               
   4db5e:	2047           	moveal %d7,%a0                              
   4db60:	9287           	subl %d7,%d1                                
    if (chunk > chunk1) {                                             
   4db62:	b283           	cmpl %d3,%d1                                
   4db64:	6c00 0082      	bgew 4dbe8 <pipe_write+0x202>               
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk1);
   4db68:	226e 000c      	moveal %fp@(12),%a1                         
   4db6c:	2f01           	movel %d1,%sp@-                             
   4db6e:	4871 5800      	pea %a1@(00000000,%d5:l)                    
   4db72:	d1d2           	addal %a2@,%a0                              
   4db74:	2d41 fff4      	movel %d1,%fp@(-12)                         
   4db78:	2f08           	movel %a0,%sp@-                             
   4db7a:	2046           	moveal %d6,%a0                              
   4db7c:	4e90           	jsr %a0@                                    
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
   4db7e:	222e fff4      	movel %fp@(-12),%d1                         
   4db82:	2003           	movel %d3,%d0                               
   4db84:	9081           	subl %d1,%d0                                
   4db86:	da81           	addl %d1,%d5                                
   4db88:	2246           	moveal %d6,%a1                              
   4db8a:	206e 000c      	moveal %fp@(12),%a0                         
   4db8e:	2f00           	movel %d0,%sp@-                             
   4db90:	4870 5800      	pea %a0@(00000000,%d5:l)                    
   4db94:	2f12           	movel %a2@,%sp@-                            
   4db96:	4e91           	jsr %a1@                                    
   4db98:	4fef 0018      	lea %sp@(24),%sp                            
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
                                                                      
    pipe->Length += chunk;                                            
   4db9c:	d7aa 000c      	addl %d3,%a2@(12)                           
    if (pipe->waitingReaders > 0)                                     
   4dba0:	4aaa 0018      	tstl %a2@(24)                               
   4dba4:	6614           	bnes 4dbba <pipe_write+0x1d4>               <== NEVER TAKEN
      PIPE_WAKEUPREADERS(pipe);                                       
    written += chunk;                                                 
   4dba6:	d883           	addl %d3,%d4                                
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
   4dba8:	2a04           	movel %d4,%d5                               
   4dbaa:	b882           	cmpl %d2,%d4                                
   4dbac:	6400 fefe      	bccw 4daac <pipe_write+0xc6>                
   4dbb0:	202a 0004      	movel %a2@(4),%d0                           <== NOT EXECUTED
    pipe->Length += chunk;                                            
    if (pipe->waitingReaders > 0)                                     
      PIPE_WAKEUPREADERS(pipe);                                       
    written += chunk;                                                 
    /* Write of more than PIPE_BUF bytes can be interleaved */        
    chunk = 1;                                                        
   4dbb4:	7601           	moveq #1,%d3                                <== NOT EXECUTED
   4dbb6:	6000 fe90      	braw 4da48 <pipe_write+0x62>                <== NOT EXECUTED
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
                                                                      
    pipe->Length += chunk;                                            
    if (pipe->waitingReaders > 0)                                     
      PIPE_WAKEUPREADERS(pipe);                                       
   4dbba:	486e fffc      	pea %fp@(-4)                                
   4dbbe:	2f2a 002c      	movel %a2@(44),%sp@-                        
   4dbc2:	4eb9 0004 f31c 	jsr 4f31c <rtems_barrier_release>           
   4dbc8:	508f           	addql #8,%sp                                
   4dbca:	60da           	bras 4dba6 <pipe_write+0x1c0>               
    /* Write of more than PIPE_BUF bytes can be interleaved */        
    chunk = 1;                                                        
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
   4dbcc:	2f2a 0028      	movel %a2@(40),%sp@-                        
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
    while (PIPE_SPACE(pipe) < chunk) {                                
      if (LIBIO_NODELAY(iop)) {                                       
        ret = -EAGAIN;                                                
   4dbd0:	7ef5           	moveq #-11,%d7                              
    /* Write of more than PIPE_BUF bytes can be interleaved */        
    chunk = 1;                                                        
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
   4dbd2:	4e94           	jsr %a4@                                    
   4dbd4:	588f           	addql #4,%sp                                
                                                                      
out_nolock:                                                           
#ifdef RTEMS_POSIX_API                                                
  /* Signal SIGPIPE */                                                
  if (ret == -EPIPE)                                                  
   4dbd6:	70e0           	moveq #-32,%d0                              
   4dbd8:	b087           	cmpl %d7,%d0                                
   4dbda:	6600 fee0      	bnew 4dabc <pipe_write+0xd6>                
   4dbde:	6000 feec      	braw 4dacc <pipe_write+0xe6>                <== NOT EXECUTED
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_WRITEWAIT(pipe))                                     
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
   4dbe2:	7efc           	moveq #-4,%d7                               <== NOT EXECUTED
   4dbe4:	6000 fed6      	braw 4dabc <pipe_write+0xd6>                <== NOT EXECUTED
    if (chunk > chunk1) {                                             
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk1);
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
   4dbe8:	226e 000c      	moveal %fp@(12),%a1                         
   4dbec:	2f03           	movel %d3,%sp@-                             
   4dbee:	4871 5800      	pea %a1@(00000000,%d5:l)                    
   4dbf2:	d1d2           	addal %a2@,%a0                              
   4dbf4:	2f08           	movel %a0,%sp@-                             
   4dbf6:	2046           	moveal %d6,%a0                              
   4dbf8:	4e90           	jsr %a0@                                    
   4dbfa:	4fef 000c      	lea %sp@(12),%sp                            
                                                                      
    pipe->Length += chunk;                                            
   4dbfe:	d7aa 000c      	addl %d3,%a2@(12)                           
    if (pipe->waitingReaders > 0)                                     
   4dc02:	4aaa 0018      	tstl %a2@(24)                               
   4dc06:	679e           	beqs 4dba6 <pipe_write+0x1c0>               
   4dc08:	60b0           	bras 4dbba <pipe_write+0x1d4>               
                                                                      

00047e44 <posix_memalign>: int posix_memalign( void **pointer, size_t alignment, size_t size ) {
   47e44:	4e56 0000      	linkw %fp,#0                                
   47e48:	222e 000c      	movel %fp@(12),%d1                          
  /*                                                                  
   *  Update call statistics                                          
   */                                                                 
  MSBUMP(memalign_calls, 1);                                          
                                                                      
  if (((alignment - 1) & alignment) != 0 || (alignment < sizeof(void *)))
   47e4c:	2001           	movel %d1,%d0                               
   47e4e:	5380           	subql #1,%d0                                
)                                                                     
{                                                                     
  /*                                                                  
   *  Update call statistics                                          
   */                                                                 
  MSBUMP(memalign_calls, 1);                                          
   47e50:	52b9 0006 6f90 	addql #1,66f90 <rtems_malloc_statistics+0x8>
                                                                      
  if (((alignment - 1) & alignment) != 0 || (alignment < sizeof(void *)))
   47e56:	c081           	andl %d1,%d0                                
   47e58:	6608           	bnes 47e62 <posix_memalign+0x1e>            <== NEVER TAKEN
   47e5a:	103c 0003      	moveb #3,%d0                                
   47e5e:	b081           	cmpl %d1,%d0                                
   47e60:	6506           	bcss 47e68 <posix_memalign+0x24>            
  /*                                                                  
   *  rtems_memalign does all of the error checking work EXCEPT       
   *  for adding restrictionso on the alignment.                      
   */                                                                 
  return rtems_memalign( pointer, alignment, size );                  
}                                                                     
   47e62:	7016           	moveq #22,%d0                               
   47e64:	4e5e           	unlk %fp                                    
   47e66:	4e75           	rts                                         
   47e68:	4e5e           	unlk %fp                                    
                                                                      
  /*                                                                  
   *  rtems_memalign does all of the error checking work EXCEPT       
   *  for adding restrictionso on the alignment.                      
   */                                                                 
  return rtems_memalign( pointer, alignment, size );                  
   47e6a:	4ef9 0004 801c 	jmp 4801c <rtems_memalign>                  
                                                                      

0004b54c <pthread_attr_setschedpolicy>: int pthread_attr_setschedpolicy( pthread_attr_t *attr, int policy ) {
   4b54c:	4e56 0000      	linkw %fp,#0                                
   4b550:	206e 0008      	moveal %fp@(8),%a0                          
   4b554:	202e 000c      	movel %fp@(12),%d0                          
   4b558:	2f02           	movel %d2,%sp@-                             
  if ( !attr || !attr->is_initialized )                               
   4b55a:	4a88           	tstl %a0                                    
   4b55c:	672e           	beqs 4b58c <pthread_attr_setschedpolicy+0x40>
   4b55e:	4a90           	tstl %a0@                                   
   4b560:	672a           	beqs 4b58c <pthread_attr_setschedpolicy+0x40>
    return EINVAL;                                                    
                                                                      
  switch ( policy ) {                                                 
   4b562:	7204           	moveq #4,%d1                                
   4b564:	b280           	cmpl %d0,%d1                                
   4b566:	640c           	bccs 4b574 <pthread_attr_setschedpolicy+0x28>
      return 0;                                                       
                                                                      
    default:                                                          
      return ENOTSUP;                                                 
  }                                                                   
}                                                                     
   4b568:	241f           	movel %sp@+,%d2                             
    case SCHED_SPORADIC:                                              
      attr->schedpolicy = policy;                                     
      return 0;                                                       
                                                                      
    default:                                                          
      return ENOTSUP;                                                 
   4b56a:	203c 0000 0086 	movel #134,%d0                              
  }                                                                   
}                                                                     
   4b570:	4e5e           	unlk %fp                                    
   4b572:	4e75           	rts                                         
)                                                                     
{                                                                     
  if ( !attr || !attr->is_initialized )                               
    return EINVAL;                                                    
                                                                      
  switch ( policy ) {                                                 
   4b574:	123c 0001      	moveb #1,%d1                                
   4b578:	7417           	moveq #23,%d2                               
   4b57a:	e1a9           	lsll %d0,%d1                                
   4b57c:	c282           	andl %d2,%d1                                
   4b57e:	67e8           	beqs 4b568 <pthread_attr_setschedpolicy+0x1c><== NEVER TAKEN
      return 0;                                                       
                                                                      
    default:                                                          
      return ENOTSUP;                                                 
  }                                                                   
}                                                                     
   4b580:	241f           	movel %sp@+,%d2                             
   4b582:	4e5e           	unlk %fp                                    
  switch ( policy ) {                                                 
    case SCHED_OTHER:                                                 
    case SCHED_FIFO:                                                  
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      attr->schedpolicy = policy;                                     
   4b584:	2140 0014      	movel %d0,%a0@(20)                          
      return 0;                                                       
   4b588:	4280           	clrl %d0                                    
                                                                      
    default:                                                          
      return ENOTSUP;                                                 
  }                                                                   
}                                                                     
   4b58a:	4e75           	rts                                         
   4b58c:	241f           	movel %sp@+,%d2                             
  pthread_attr_t  *attr,                                              
  int              policy                                             
)                                                                     
{                                                                     
  if ( !attr || !attr->is_initialized )                               
    return EINVAL;                                                    
   4b58e:	7016           	moveq #22,%d0                               
      return 0;                                                       
                                                                      
    default:                                                          
      return ENOTSUP;                                                 
  }                                                                   
}                                                                     
   4b590:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00046b6c <pthread_barrier_init>: int pthread_barrier_init( pthread_barrier_t *barrier, const pthread_barrierattr_t *attr, unsigned int count ) {
   46b6c:	4e56 ffe0      	linkw %fp,#-32                              
   46b70:	48d7 0c0c      	moveml %d2-%d3/%a2-%a3,%sp@                 
   46b74:	246e 0008      	moveal %fp@(8),%a2                          
   46b78:	262e 000c      	movel %fp@(12),%d3                          
   46b7c:	242e 0010      	movel %fp@(16),%d2                          
  const pthread_barrierattr_t   *the_attr;                            
                                                                      
  /*                                                                  
   *  Error check parameters                                          
   */                                                                 
  if ( !barrier )                                                     
   46b80:	4a8a           	tstl %a2                                    
   46b82:	677a           	beqs 46bfe <pthread_barrier_init+0x92>      
    return EINVAL;                                                    
                                                                      
  if ( count == 0 )                                                   
   46b84:	4a82           	tstl %d2                                    
   46b86:	6776           	beqs 46bfe <pthread_barrier_init+0x92>      
    return EINVAL;                                                    
                                                                      
  /*                                                                  
   * If the user passed in NULL, use the default attributes           
   */                                                                 
  if ( attr ) {                                                       
   46b88:	4a83           	tstl %d3                                    
   46b8a:	6700 0090      	beqw 46c1c <pthread_barrier_init+0xb0>      
   46b8e:	2043           	moveal %d3,%a0                              
  }                                                                   
                                                                      
  /*                                                                  
   * Now start error checking the attributes that we are going to use 
   */                                                                 
  if ( !the_attr->is_initialized )                                    
   46b90:	4a90           	tstl %a0@                                   
   46b92:	676a           	beqs 46bfe <pthread_barrier_init+0x92>      
    return EINVAL;                                                    
                                                                      
  switch ( the_attr->process_shared ) {                               
   46b94:	4aa8 0004      	tstl %a0@(4)                                
   46b98:	6664           	bnes 46bfe <pthread_barrier_init+0x92>      <== NEVER TAKEN
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
   46b9a:	2039 0006 250c 	movel 6250c <_Thread_Dispatch_disable_level>,%d0
   46ba0:	5280           	addql #1,%d0                                
  }                                                                   
                                                                      
  /*                                                                  
   * Convert from POSIX attributes to Core Barrier attributes         
   */                                                                 
  the_attributes.discipline    = CORE_BARRIER_AUTOMATIC_RELEASE;      
   46ba2:	42ae fff8      	clrl %fp@(-8)                               
  the_attributes.maximum_count = count;                               
   46ba6:	2d42 fffc      	movel %d2,%fp@(-4)                          
   46baa:	23c0 0006 250c 	movel %d0,6250c <_Thread_Dispatch_disable_level>
 *  the inactive chain of free barrier control blocks.                
 */                                                                   
RTEMS_INLINE_ROUTINE POSIX_Barrier_Control *_POSIX_Barrier_Allocate( void )
{                                                                     
  return (POSIX_Barrier_Control *)                                    
    _Objects_Allocate( &_POSIX_Barrier_Information );                 
   46bb0:	4879 0006 280a 	pea 6280a <_POSIX_Barrier_Information>      
   46bb6:	4eb9 0004 8f58 	jsr 48f58 <_Objects_Allocate>               
   */                                                                 
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_barrier = _POSIX_Barrier_Allocate();                            
                                                                      
  if ( !the_barrier ) {                                               
   46bbc:	588f           	addql #4,%sp                                
   46bbe:	2640           	moveal %d0,%a3                              
   46bc0:	4a80           	tstl %d0                                    
   46bc2:	6746           	beqs 46c0a <pthread_barrier_init+0x9e>      <== NEVER TAKEN
    _Thread_Enable_dispatch();                                        
    return EAGAIN;                                                    
  }                                                                   
                                                                      
  _CORE_barrier_Initialize( &the_barrier->Barrier, &the_attributes ); 
   46bc4:	486e fff8      	pea %fp@(-8)                                
   46bc8:	486b 0010      	pea %a3@(16)                                
   46bcc:	4eb9 0004 8520 	jsr 48520 <_CORE_barrier_Initialize>        
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
   46bd2:	202b 0008      	movel %a3@(8),%d0                           
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
   46bd6:	4281           	clrl %d1                                    
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
   46bd8:	2079 0006 2822 	moveal 62822 <_POSIX_Barrier_Information+0x18>,%a0
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
   46bde:	3200           	movew %d0,%d1                               
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
   46be0:	218b 1c00      	movel %a3,%a0@(00000000,%d1:l:4)            
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
   46be4:	42ab 000c      	clrl %a3@(12)                               
  );                                                                  
                                                                      
  /*                                                                  
   * Exit the critical section and return the user an operational barrier
   */                                                                 
  *barrier = the_barrier->Object.id;                                  
   46be8:	2480           	movel %d0,%a2@                              
  _Thread_Enable_dispatch();                                          
   46bea:	4eb9 0004 a082 	jsr 4a082 <_Thread_Enable_dispatch>         
  return 0;                                                           
   46bf0:	508f           	addql #8,%sp                                
   46bf2:	4280           	clrl %d0                                    
}                                                                     
   46bf4:	4cee 0c0c ffe0 	moveml %fp@(-32),%d2-%d3/%a2-%a3            
   46bfa:	4e5e           	unlk %fp                                    
   46bfc:	4e75           	rts                                         
  switch ( the_attr->process_shared ) {                               
    case PTHREAD_PROCESS_PRIVATE:    /* only supported values */      
      break;                                                          
    case PTHREAD_PROCESS_SHARED:                                      
    default:                                                          
      return EINVAL;                                                  
   46bfe:	7016           	moveq #22,%d0                               
   * Exit the critical section and return the user an operational barrier
   */                                                                 
  *barrier = the_barrier->Object.id;                                  
  _Thread_Enable_dispatch();                                          
  return 0;                                                           
}                                                                     
   46c00:	4cee 0c0c ffe0 	moveml %fp@(-32),%d2-%d3/%a2-%a3            
   46c06:	4e5e           	unlk %fp                                    
   46c08:	4e75           	rts                                         
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_barrier = _POSIX_Barrier_Allocate();                            
                                                                      
  if ( !the_barrier ) {                                               
    _Thread_Enable_dispatch();                                        
   46c0a:	4eb9 0004 a082 	jsr 4a082 <_Thread_Enable_dispatch>         
    return EAGAIN;                                                    
   46c10:	700b           	moveq #11,%d0                               
   * Exit the critical section and return the user an operational barrier
   */                                                                 
  *barrier = the_barrier->Object.id;                                  
  _Thread_Enable_dispatch();                                          
  return 0;                                                           
}                                                                     
   46c12:	4cee 0c0c ffe0 	moveml %fp@(-32),%d2-%d3/%a2-%a3            
   46c18:	4e5e           	unlk %fp                                    
   46c1a:	4e75           	rts                                         
   * If the user passed in NULL, use the default attributes           
   */                                                                 
  if ( attr ) {                                                       
    the_attr = attr;                                                  
  } else {                                                            
    (void) pthread_barrierattr_init( &my_attr );                      
   46c1c:	260e           	movel %fp,%d3                               
   46c1e:	0683 ffff fff0 	addil #-16,%d3                              
   46c24:	2f03           	movel %d3,%sp@-                             
   46c26:	4eb9 0004 6aa8 	jsr 46aa8 <pthread_barrierattr_init>        
   46c2c:	588f           	addql #4,%sp                                
    the_attr = &my_attr;                                              
   46c2e:	2043           	moveal %d3,%a0                              
  }                                                                   
                                                                      
  /*                                                                  
   * Now start error checking the attributes that we are going to use 
   */                                                                 
  if ( !the_attr->is_initialized )                                    
   46c30:	4a90           	tstl %a0@                                   
   46c32:	6600 ff60      	bnew 46b94 <pthread_barrier_init+0x28>      
   46c36:	60c6           	bras 46bfe <pthread_barrier_init+0x92>      <== NOT EXECUTED
                                                                      

000465a8 <pthread_cleanup_push>: void pthread_cleanup_push( void (*routine)( void * ), void *arg ) {
   465a8:	4e56 0000      	linkw %fp,#0                                
   465ac:	2f03           	movel %d3,%sp@-                             
   465ae:	262e 000c      	movel %fp@(12),%d3                          
   465b2:	2f02           	movel %d2,%sp@-                             
   465b4:	242e 0008      	movel %fp@(8),%d2                           
  /*                                                                  
   *  The POSIX standard does not address what to do when the routine 
   *  is NULL.  It also does not address what happens when we cannot  
   *  allocate memory or anything else bad happens.                   
   */                                                                 
  if ( !routine )                                                     
   465b8:	6754           	beqs 4660e <pthread_cleanup_push+0x66>      
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
   465ba:	2039 0006 1e72 	movel 61e72 <_Thread_Dispatch_disable_level>,%d0
   465c0:	5280           	addql #1,%d0                                
   465c2:	23c0 0006 1e72 	movel %d0,61e72 <_Thread_Dispatch_disable_level>
    return;                                                           
                                                                      
  _Thread_Disable_dispatch();                                         
  handler = _Workspace_Allocate( sizeof( POSIX_Cancel_Handler_control ) );
   465c8:	4878 0010      	pea 10 <INVALID_OPERATION>                  
   465cc:	4eb9 0004 ad2e 	jsr 4ad2e <_Workspace_Allocate>             
                                                                      
  if ( handler ) {                                                    
   465d2:	588f           	addql #4,%sp                                
   465d4:	4a80           	tstl %d0                                    
   465d6:	6726           	beqs 465fe <pthread_cleanup_push+0x56>      <== NEVER TAKEN
    thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
   465d8:	2079 0006 22dc 	moveal 622dc <_Per_CPU_Information+0xc>,%a0 
                                                                      
    handler_stack = &thread_support->Cancellation_Handlers;           
   465de:	2228 0102      	movel %a0@(258),%d1                         
                                                                      
    handler->routine = routine;                                       
   465e2:	2040           	moveal %d0,%a0                              
  handler = _Workspace_Allocate( sizeof( POSIX_Cancel_Handler_control ) );
                                                                      
  if ( handler ) {                                                    
    thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
                                                                      
    handler_stack = &thread_support->Cancellation_Handlers;           
   465e4:	0681 0000 00e4 	addil #228,%d1                              
                                                                      
    handler->routine = routine;                                       
   465ea:	2142 0008      	movel %d2,%a0@(8)                           
    handler->arg = arg;                                               
   465ee:	2143 000c      	movel %d3,%a0@(12)                          
                                                                      
    _Chain_Append( handler_stack, &handler->Node );                   
   465f2:	2f00           	movel %d0,%sp@-                             
   465f4:	2f01           	movel %d1,%sp@-                             
   465f6:	4eb9 0004 7fc4 	jsr 47fc4 <_Chain_Append>                   
   465fc:	508f           	addql #8,%sp                                
  }                                                                   
  _Thread_Enable_dispatch();                                          
}                                                                     
   465fe:	242e fff8      	movel %fp@(-8),%d2                          
   46602:	262e fffc      	movel %fp@(-4),%d3                          
   46606:	4e5e           	unlk %fp                                    
    handler->routine = routine;                                       
    handler->arg = arg;                                               
                                                                      
    _Chain_Append( handler_stack, &handler->Node );                   
  }                                                                   
  _Thread_Enable_dispatch();                                          
   46608:	4ef9 0004 9af2 	jmp 49af2 <_Thread_Enable_dispatch>         
}                                                                     
   4660e:	242e fff8      	movel %fp@(-8),%d2                          
   46612:	262e fffc      	movel %fp@(-4),%d3                          
   46616:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00047474 <pthread_cond_init>: int pthread_cond_init( pthread_cond_t *cond, const pthread_condattr_t *attr ) {
   47474:	4e56 0000      	linkw %fp,#0                                
   47478:	2f0b           	movel %a3,%sp@-                             
   4747a:	2f0a           	movel %a2,%sp@-                             
   4747c:	246e 000c      	moveal %fp@(12),%a2                         
  POSIX_Condition_variables_Control   *the_cond;                      
  const pthread_condattr_t            *the_attr;                      
                                                                      
  if ( attr ) the_attr = attr;                                        
   47480:	4a8a           	tstl %a2                                    
   47482:	6700 0092      	beqw 47516 <pthread_cond_init+0xa2>         
  else        the_attr = &_POSIX_Condition_variables_Default_attributes;
                                                                      
  /*                                                                  
   *  Be careful about attributes when global!!!                      
   */                                                                 
  if ( the_attr->process_shared == PTHREAD_PROCESS_SHARED )           
   47486:	7001           	moveq #1,%d0                                
   47488:	b0aa 0004      	cmpl %a2@(4),%d0                            
   4748c:	6704           	beqs 47492 <pthread_cond_init+0x1e>         <== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  if ( !the_attr->is_initialized )                                    
   4748e:	4a92           	tstl %a2@                                   
   47490:	660e           	bnes 474a0 <pthread_cond_init+0x2c>         
  *cond = the_cond->Object.id;                                        
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return 0;                                                           
}                                                                     
   47492:	246e fff8      	moveal %fp@(-8),%a2                         
   */                                                                 
  if ( the_attr->process_shared == PTHREAD_PROCESS_SHARED )           
    return EINVAL;                                                    
                                                                      
  if ( !the_attr->is_initialized )                                    
    return EINVAL;                                                    
   47496:	7016           	moveq #22,%d0                               
  *cond = the_cond->Object.id;                                        
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return 0;                                                           
}                                                                     
   47498:	266e fffc      	moveal %fp@(-4),%a3                         
   4749c:	4e5e           	unlk %fp                                    
   4749e:	4e75           	rts                                         
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
   474a0:	2039 0006 36c8 	movel 636c8 <_Thread_Dispatch_disable_level>,%d0
   474a6:	5280           	addql #1,%d0                                
   474a8:	23c0 0006 36c8 	movel %d0,636c8 <_Thread_Dispatch_disable_level>
                                                                      
RTEMS_INLINE_ROUTINE POSIX_Condition_variables_Control                
  *_POSIX_Condition_variables_Allocate( void )                        
{                                                                     
  return (POSIX_Condition_variables_Control *)                        
    _Objects_Allocate( &_POSIX_Condition_variables_Information );     
   474ae:	4879 0006 3a52 	pea 63a52 <_POSIX_Condition_variables_Information>
   474b4:	4eb9 0004 9e24 	jsr 49e24 <_Objects_Allocate>               
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  the_cond = _POSIX_Condition_variables_Allocate();                   
                                                                      
  if ( !the_cond ) {                                                  
   474ba:	588f           	addql #4,%sp                                
   474bc:	2640           	moveal %d0,%a3                              
   474be:	4a80           	tstl %d0                                    
   474c0:	675e           	beqs 47520 <pthread_cond_init+0xac>         
    _Thread_Enable_dispatch();                                        
    return ENOMEM;                                                    
  }                                                                   
                                                                      
  the_cond->process_shared  = the_attr->process_shared;               
   474c2:	276a 0004 0010 	movel %a2@(4),%a3@(16)                      
                                                                      
  the_cond->Mutex = POSIX_CONDITION_VARIABLES_NO_MUTEX;               
   474c8:	42ab 0014      	clrl %a3@(20)                               
                                                                      
  _Thread_queue_Initialize(                                           
   474cc:	4878 0074      	pea 74 <DBL_MANT_DIG+0x3f>                  
   474d0:	2f3c 1000 0800 	movel #268437504,%sp@-                      
   474d6:	42a7           	clrl %sp@-                                  
   474d8:	486b 0018      	pea %a3@(24)                                
   474dc:	4eb9 0004 b774 	jsr 4b774 <_Thread_queue_Initialize>        
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
   474e2:	202b 0008      	movel %a3@(8),%d0                           
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
   474e6:	4281           	clrl %d1                                    
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
   474e8:	2079 0006 3a6a 	moveal 63a6a <_POSIX_Condition_variables_Information+0x18>,%a0
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
   474ee:	3200           	movew %d0,%d1                               
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
   474f0:	218b 1c00      	movel %a3,%a0@(00000000,%d1:l:4)            
    &_POSIX_Condition_variables_Information,                          
    &the_cond->Object,                                                
    0                                                                 
  );                                                                  
                                                                      
  *cond = the_cond->Object.id;                                        
   474f4:	206e 0008      	moveal %fp@(8),%a0                          
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
   474f8:	42ab 000c      	clrl %a3@(12)                               
   474fc:	2080           	movel %d0,%a0@                              
                                                                      
  _Thread_Enable_dispatch();                                          
   474fe:	4eb9 0004 af4e 	jsr 4af4e <_Thread_Enable_dispatch>         
                                                                      
  return 0;                                                           
}                                                                     
   47504:	246e fff8      	moveal %fp@(-8),%a2                         
                                                                      
  *cond = the_cond->Object.id;                                        
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return 0;                                                           
   47508:	4fef 0010      	lea %sp@(16),%sp                            
   4750c:	4280           	clrl %d0                                    
}                                                                     
   4750e:	266e fffc      	moveal %fp@(-4),%a3                         
   47512:	4e5e           	unlk %fp                                    
   47514:	4e75           	rts                                         
{                                                                     
  POSIX_Condition_variables_Control   *the_cond;                      
  const pthread_condattr_t            *the_attr;                      
                                                                      
  if ( attr ) the_attr = attr;                                        
  else        the_attr = &_POSIX_Condition_variables_Default_attributes;
   47516:	45f9 0006 0e52 	lea 60e52 <_POSIX_Condition_variables_Default_attributes>,%a2
   4751c:	6000 ff68      	braw 47486 <pthread_cond_init+0x12>         
  _Thread_Disable_dispatch();                                         
                                                                      
  the_cond = _POSIX_Condition_variables_Allocate();                   
                                                                      
  if ( !the_cond ) {                                                  
    _Thread_Enable_dispatch();                                        
   47520:	4eb9 0004 af4e 	jsr 4af4e <_Thread_Enable_dispatch>         
  *cond = the_cond->Object.id;                                        
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return 0;                                                           
}                                                                     
   47526:	246e fff8      	moveal %fp@(-8),%a2                         
                                                                      
  the_cond = _POSIX_Condition_variables_Allocate();                   
                                                                      
  if ( !the_cond ) {                                                  
    _Thread_Enable_dispatch();                                        
    return ENOMEM;                                                    
   4752a:	700c           	moveq #12,%d0                               
  *cond = the_cond->Object.id;                                        
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return 0;                                                           
}                                                                     
   4752c:	266e fffc      	moveal %fp@(-4),%a3                         
   47530:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000472d4 <pthread_condattr_destroy>: */ int pthread_condattr_destroy( pthread_condattr_t *attr ) {
   472d4:	4e56 0000      	linkw %fp,#0                                
   472d8:	206e 0008      	moveal %fp@(8),%a0                          
  if ( !attr || attr->is_initialized == false )                       
   472dc:	4a88           	tstl %a0                                    
   472de:	670c           	beqs 472ec <pthread_condattr_destroy+0x18>  
   472e0:	4a90           	tstl %a0@                                   
   472e2:	6708           	beqs 472ec <pthread_condattr_destroy+0x18>  <== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  attr->is_initialized = false;                                       
  return 0;                                                           
   472e4:	4280           	clrl %d0                                    
}                                                                     
   472e6:	4e5e           	unlk %fp                                    
)                                                                     
{                                                                     
  if ( !attr || attr->is_initialized == false )                       
    return EINVAL;                                                    
                                                                      
  attr->is_initialized = false;                                       
   472e8:	4290           	clrl %a0@                                   
  return 0;                                                           
}                                                                     
   472ea:	4e75           	rts                                         
int pthread_condattr_destroy(                                         
  pthread_condattr_t *attr                                            
)                                                                     
{                                                                     
  if ( !attr || attr->is_initialized == false )                       
    return EINVAL;                                                    
   472ec:	7016           	moveq #22,%d0                               
                                                                      
  attr->is_initialized = false;                                       
  return 0;                                                           
}                                                                     
   472ee:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004e658 <pthread_exit>: } void pthread_exit( void *value_ptr ) {
   4e658:	4e56 0000      	linkw %fp,#0                                
  _POSIX_Thread_Exit( _Thread_Executing, value_ptr );                 
   4e65c:	2f2e 0008      	movel %fp@(8),%sp@-                         
   4e660:	2f39 0006 10d2 	movel 610d2 <_Per_CPU_Information+0xc>,%sp@-
   4e666:	4eb9 0004 e5e8 	jsr 4e5e8 <_POSIX_Thread_Exit>              
   4e66c:	508f           	addql #8,%sp                                <== NOT EXECUTED
}                                                                     
   4e66e:	4e5e           	unlk %fp                                    <== NOT EXECUTED
	...                                                                  
                                                                      

0004bb4c <pthread_join>: int pthread_join( pthread_t thread, void **value_ptr ) {
   4bb4c:	4e56 fff8      	linkw %fp,#-8                               
   4bb50:	2f0a           	movel %a2,%sp@-                             
  register Thread_Control *the_thread;                                
  POSIX_API_Control       *api;                                       
  Objects_Locations        location;                                  
  void                    *return_pointer;                            
                                                                      
  the_thread = _Thread_Get( thread, &location );                      
   4bb52:	486e fffc      	pea %fp@(-4)                                
   4bb56:	2f2e 0008      	movel %fp@(8),%sp@-                         
                                                                      
int pthread_join(                                                     
  pthread_t   thread,                                                 
  void      **value_ptr                                               
)                                                                     
{                                                                     
   4bb5a:	246e 000c      	moveal %fp@(12),%a2                         
  register Thread_Control *the_thread;                                
  POSIX_API_Control       *api;                                       
  Objects_Locations        location;                                  
  void                    *return_pointer;                            
                                                                      
  the_thread = _Thread_Get( thread, &location );                      
   4bb5e:	4eb9 0004 ee00 	jsr 4ee00 <_Thread_Get>                     
  switch ( location ) {                                               
   4bb64:	508f           	addql #8,%sp                                
   4bb66:	4aae fffc      	tstl %fp@(-4)                               
   4bb6a:	670a           	beqs 4bb76 <pthread_join+0x2a>              
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return ESRCH;                                                       
}                                                                     
   4bb6c:	246e fff4      	moveal %fp@(-12),%a2                        
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return ESRCH;                                                       
   4bb70:	7003           	moveq #3,%d0                                
}                                                                     
   4bb72:	4e5e           	unlk %fp                                    
   4bb74:	4e75           	rts                                         
                                                                      
  the_thread = _Thread_Get( thread, &location );                      
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
   4bb76:	2240           	moveal %d0,%a1                              
   4bb78:	2069 0102      	moveal %a1@(258),%a0                        
                                                                      
      if ( api->detachstate == PTHREAD_CREATE_DETACHED ) {            
   4bb7c:	4aa8 0040      	tstl %a0@(64)                               
   4bb80:	6746           	beqs 4bbc8 <pthread_join+0x7c>              
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing (                      
  const Thread_Control *the_thread                                    
)                                                                     
{                                                                     
  return ( the_thread == _Thread_Executing );                         
   4bb82:	2279 0006 9efe 	moveal 69efe <_Per_CPU_Information+0xc>,%a1 
        _Thread_Enable_dispatch();                                    
        return EINVAL;                                                
      }                                                               
                                                                      
      if ( _Thread_Is_executing( the_thread ) ) {                     
   4bb88:	b3c0           	cmpal %d0,%a1                               
   4bb8a:	674c           	beqs 4bbd8 <pthread_join+0x8c>              <== NEVER TAKEN
                                                                      
      /*                                                              
       *  Put ourself on the threads join list                        
       */                                                             
                                                                      
      _Thread_Executing->Wait.return_argument = &return_pointer;      
   4bb8c:	200e           	movel %fp,%d0                               
   4bb8e:	5180           	subql #8,%d0                                
   4bb90:	2340 0028      	movel %d0,%a1@(40)                          
                                                                      
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;
   4bb94:	7001           	moveq #1,%d0                                
   4bb96:	2140 0074      	movel %d0,%a0@(116)                         
                                                                      
      _Thread_queue_Enter_critical_section( &api->Join_List );        
                                                                      
      _Thread_queue_Enqueue( &api->Join_List, WATCHDOG_NO_TIMEOUT );  
   4bb9a:	4879 0004 f6a4 	pea 4f6a4 <_Thread_queue_Timeout>           
   4bba0:	42a7           	clrl %sp@-                                  
   4bba2:	4868 0044      	pea %a0@(68)                                
   4bba6:	4eb9 0004 f2e0 	jsr 4f2e0 <_Thread_queue_Enqueue_with_handler>
                                                                      
      _Thread_Enable_dispatch();                                      
   4bbac:	4eb9 0004 edda 	jsr 4edda <_Thread_Enable_dispatch>         
                                                                      
      if ( value_ptr )                                                
   4bbb2:	4fef 000c      	lea %sp@(12),%sp                            
   4bbb6:	4a8a           	tstl %a2                                    
   4bbb8:	672e           	beqs 4bbe8 <pthread_join+0x9c>              
        *value_ptr = return_pointer;                                  
   4bbba:	24ae fff8      	movel %fp@(-8),%a2@                         
      return 0;                                                       
   4bbbe:	4280           	clrl %d0                                    
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return ESRCH;                                                       
}                                                                     
   4bbc0:	246e fff4      	moveal %fp@(-12),%a2                        
   4bbc4:	4e5e           	unlk %fp                                    
   4bbc6:	4e75           	rts                                         
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
                                                                      
      if ( api->detachstate == PTHREAD_CREATE_DETACHED ) {            
        _Thread_Enable_dispatch();                                    
   4bbc8:	4eb9 0004 edda 	jsr 4edda <_Thread_Enable_dispatch>         
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return ESRCH;                                                       
}                                                                     
   4bbce:	246e fff4      	moveal %fp@(-12),%a2                        
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
                                                                      
      if ( api->detachstate == PTHREAD_CREATE_DETACHED ) {            
        _Thread_Enable_dispatch();                                    
        return EINVAL;                                                
   4bbd2:	7016           	moveq #22,%d0                               
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return ESRCH;                                                       
}                                                                     
   4bbd4:	4e5e           	unlk %fp                                    
   4bbd6:	4e75           	rts                                         
        _Thread_Enable_dispatch();                                    
        return EINVAL;                                                
      }                                                               
                                                                      
      if ( _Thread_Is_executing( the_thread ) ) {                     
        _Thread_Enable_dispatch();                                    
   4bbd8:	4eb9 0004 edda 	jsr 4edda <_Thread_Enable_dispatch>         
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return ESRCH;                                                       
}                                                                     
   4bbde:	246e fff4      	moveal %fp@(-12),%a2                        
        return EINVAL;                                                
      }                                                               
                                                                      
      if ( _Thread_Is_executing( the_thread ) ) {                     
        _Thread_Enable_dispatch();                                    
        return EDEADLK;                                               
   4bbe2:	702d           	moveq #45,%d0                               
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return ESRCH;                                                       
}                                                                     
   4bbe4:	4e5e           	unlk %fp                                    
   4bbe6:	4e75           	rts                                         
   4bbe8:	246e fff4      	moveal %fp@(-12),%a2                        
                                                                      
      _Thread_Enable_dispatch();                                      
                                                                      
      if ( value_ptr )                                                
        *value_ptr = return_pointer;                                  
      return 0;                                                       
   4bbec:	4280           	clrl %d0                                    
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return ESRCH;                                                       
}                                                                     
   4bbee:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000467a4 <pthread_key_delete>: * 17.1.3 Thread-Specific Data Key Deletion, P1003.1c/Draft 10, p. 167 */ int pthread_key_delete( pthread_key_t key ) {
   467a4:	4e56 fffc      	linkw %fp,#-4                               
   467a8:	2f02           	movel %d2,%sp@-                             
  pthread_key_t      id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (POSIX_Keys_Control *)                                       
    _Objects_Get( &_POSIX_Keys_Information, (Objects_Id) id, location );
   467aa:	486e fffc      	pea %fp@(-4)                                
   467ae:	2f2e 0008      	movel %fp@(8),%sp@-                         
   467b2:	4879 0006 2f78 	pea 62f78 <_POSIX_Keys_Information>         
   467b8:	4eb9 0004 910c 	jsr 4910c <_Objects_Get>                    
  POSIX_Keys_Control *the_key;                                        
  Objects_Locations   location;                                       
                                                                      
  the_key = _POSIX_Keys_Get( key, &location );                        
  switch ( location ) {                                               
   467be:	4fef 000c      	lea %sp@(12),%sp                            
   467c2:	2400           	movel %d0,%d2                               
   467c4:	4aae fffc      	tstl %fp@(-4)                               
   467c8:	6638           	bnes 46802 <pthread_key_delete+0x5e>        <== NEVER TAKEN
                                                                      
    case OBJECTS_LOCAL:                                               
      _Objects_Close( &_POSIX_Keys_Information, &the_key->Object );   
   467ca:	2f00           	movel %d0,%sp@-                             
   467cc:	4879 0006 2f78 	pea 62f78 <_POSIX_Keys_Information>         
   467d2:	4eb9 0004 8ce4 	jsr 48ce4 <_Objects_Close>                  
                                                                      
      _POSIX_Keys_Free_memory( the_key );                             
   467d8:	2f02           	movel %d2,%sp@-                             
   467da:	4eb9 0004 680c 	jsr 4680c <_POSIX_Keys_Free_memory>         
 */                                                                   
RTEMS_INLINE_ROUTINE void _POSIX_Keys_Free (                          
  POSIX_Keys_Control *the_key                                         
)                                                                     
{                                                                     
  _Objects_Free( &_POSIX_Keys_Information, &the_key->Object );        
   467e0:	2f02           	movel %d2,%sp@-                             
   467e2:	4879 0006 2f78 	pea 62f78 <_POSIX_Keys_Information>         
   467e8:	4eb9 0004 8fa0 	jsr 48fa0 <_Objects_Free>                   
      /*                                                              
       *  NOTE:  The destructor is not called and it is the responsibility
       *         of the application to free the memory.               
       */                                                             
      _POSIX_Keys_Free( the_key );                                    
      _Thread_Enable_dispatch();                                      
   467ee:	4eb9 0004 9d7e 	jsr 49d7e <_Thread_Enable_dispatch>         
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
   467f4:	242e fff8      	movel %fp@(-8),%d2                          
       *  NOTE:  The destructor is not called and it is the responsibility
       *         of the application to free the memory.               
       */                                                             
      _POSIX_Keys_Free( the_key );                                    
      _Thread_Enable_dispatch();                                      
      return 0;                                                       
   467f8:	4fef 0014      	lea %sp@(20),%sp                            
   467fc:	4280           	clrl %d0                                    
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
   467fe:	4e5e           	unlk %fp                                    
   46800:	4e75           	rts                                         
   46802:	242e fff8      	movel %fp@(-8),%d2                          
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
   46806:	7016           	moveq #22,%d0                               
}                                                                     
   46808:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0005d1e8 <pthread_kill>: int pthread_kill( pthread_t thread, int sig ) {
   5d1e8:	4e56 fff0      	linkw %fp,#-16                              
   5d1ec:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
   5d1f0:	242e 000c      	movel %fp@(12),%d2                          
  POSIX_API_Control  *api;                                            
  Thread_Control     *the_thread;                                     
  Objects_Locations  location;                                        
                                                                      
  if ( !sig )                                                         
   5d1f4:	6700 0090      	beqw 5d286 <pthread_kill+0x9e>              
                                                                      
static inline bool is_valid_signo(                                    
  int signo                                                           
)                                                                     
{                                                                     
  return ((signo) >= 1 && (signo) <= 32 );                            
   5d1f8:	2602           	movel %d2,%d3                               
   5d1fa:	5383           	subql #1,%d3                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
   5d1fc:	701f           	moveq #31,%d0                               
   5d1fe:	b083           	cmpl %d3,%d0                                
   5d200:	6500 0084      	bcsw 5d286 <pthread_kill+0x9e>              
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  the_thread = _Thread_Get( thread, &location );                      
   5d204:	486e fffc      	pea %fp@(-4)                                
   5d208:	2f2e 0008      	movel %fp@(8),%sp@-                         
   5d20c:	4eb9 0004 8db0 	jsr 48db0 <_Thread_Get>                     
  switch ( location ) {                                               
   5d212:	508f           	addql #8,%sp                                
    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 );                      
   5d214:	2440           	moveal %d0,%a2                              
  switch ( location ) {                                               
   5d216:	4aae fffc      	tstl %fp@(-4)                               
   5d21a:	6600 0082      	bnew 5d29e <pthread_kill+0xb6>              
                                                                      
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
                                                                      
      if ( sig ) {                                                    
                                                                      
        if ( _POSIX_signals_Vectors[ sig ].sa_handler == SIG_IGN ) {  
   5d21e:	2202           	movel %d2,%d1                               
   5d220:	2002           	movel %d2,%d0                               
   5d222:	e589           	lsll #2,%d1                                 
   5d224:	e988           	lsll #4,%d0                                 
    case OBJECTS_LOCAL:                                               
      /*                                                              
       *  If sig == 0 then just validate arguments                    
       */                                                             
                                                                      
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
   5d226:	206a 0102      	moveal %a2@(258),%a0                        
                                                                      
      if ( sig ) {                                                    
                                                                      
        if ( _POSIX_signals_Vectors[ sig ].sa_handler == SIG_IGN ) {  
   5d22a:	9081           	subl %d1,%d0                                
   5d22c:	0680 0006 110c 	addil #397580,%d0                           
   5d232:	7201           	moveq #1,%d1                                
   5d234:	2240           	moveal %d0,%a1                              
   5d236:	b291           	cmpl %a1@,%d1                               
   5d238:	6728           	beqs 5d262 <pthread_kill+0x7a>              
                                                                      
static inline sigset_t signo_to_mask(                                 
  uint32_t sig                                                        
)                                                                     
{                                                                     
  return 1u << (sig - 1);                                             
   5d23a:	7001           	moveq #1,%d0                                
   5d23c:	e7a8           	lsll %d3,%d0                                
          return 0;                                                   
        }                                                             
                                                                      
        /* XXX critical section */                                    
                                                                      
        api->signals_pending |= signo_to_mask( sig );                 
   5d23e:	81a8 00d4      	orl %d0,%a0@(212)                           
                                                                      
        (void) _POSIX_signals_Unblock_thread( the_thread, sig, NULL );
   5d242:	42a7           	clrl %sp@-                                  
   5d244:	2f02           	movel %d2,%sp@-                             
   5d246:	2f0a           	movel %a2,%sp@-                             
   5d248:	4eb9 0005 d0ac 	jsr 5d0ac <_POSIX_signals_Unblock_thread>   
                                                                      
        if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
   5d24e:	4fef 000c      	lea %sp@(12),%sp                            
   5d252:	4ab9 0006 10ce 	tstl 610ce <_Per_CPU_Information+0x8>       
   5d258:	6708           	beqs 5d262 <pthread_kill+0x7a>              
   5d25a:	b5f9 0006 10d2 	cmpal 610d2 <_Per_CPU_Information+0xc>,%a2  
   5d260:	6712           	beqs 5d274 <pthread_kill+0x8c>              
	  _Thread_Dispatch_necessary = true;                                 
      }                                                               
      _Thread_Enable_dispatch();                                      
   5d262:	4eb9 0004 8d8a 	jsr 48d8a <_Thread_Enable_dispatch>         
      return 0;                                                       
   5d268:	4280           	clrl %d0                                    
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( ESRCH );                      
}                                                                     
   5d26a:	4cee 040c fff0 	moveml %fp@(-16),%d2-%d3/%a2                
   5d270:	4e5e           	unlk %fp                                    
   5d272:	4e75           	rts                                         
        api->signals_pending |= signo_to_mask( sig );                 
                                                                      
        (void) _POSIX_signals_Unblock_thread( the_thread, sig, NULL );
                                                                      
        if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
	  _Thread_Dispatch_necessary = true;                                 
   5d274:	7001           	moveq #1,%d0                                
   5d276:	13c0 0006 10de 	moveb %d0,610de <_Per_CPU_Information+0x18> 
      }                                                               
      _Thread_Enable_dispatch();                                      
   5d27c:	4eb9 0004 8d8a 	jsr 48d8a <_Thread_Enable_dispatch>         
      return 0;                                                       
   5d282:	4280           	clrl %d0                                    
   5d284:	60e4           	bras 5d26a <pthread_kill+0x82>              
                                                                      
  if ( !sig )                                                         
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   5d286:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         
   5d28c:	7416           	moveq #22,%d2                               
   5d28e:	2040           	moveal %d0,%a0                              
   5d290:	70ff           	moveq #-1,%d0                               
   5d292:	2082           	movel %d2,%a0@                              
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( ESRCH );                      
}                                                                     
   5d294:	4cee 040c fff0 	moveml %fp@(-16),%d2-%d3/%a2                
   5d29a:	4e5e           	unlk %fp                                    
   5d29c:	4e75           	rts                                         
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( ESRCH );                      
   5d29e:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         <== NOT EXECUTED
   5d2a4:	7203           	moveq #3,%d1                                <== NOT EXECUTED
   5d2a6:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   5d2a8:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
}                                                                     
   5d2aa:	4cee 040c fff0 	moveml %fp@(-16),%d2-%d3/%a2                <== NOT EXECUTED
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( ESRCH );                      
   5d2b0:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
}                                                                     
   5d2b2:	4e5e           	unlk %fp                                    <== NOT EXECUTED
	...                                                                  
                                                                      

00048970 <pthread_mutex_timedlock>: int pthread_mutex_timedlock( pthread_mutex_t *mutex, const struct timespec *abstime ) {
   48970:	4e56 fffc      	linkw %fp,#-4                               
   48974:	2f03           	movel %d3,%sp@-                             
   48976:	262e 0008      	movel %fp@(8),%d3                           
   4897a:	2f02           	movel %d2,%sp@-                             
   *                                                                  
   *  If the status is POSIX_ABSOLUTE_TIMEOUT_INVALID,                
   *  POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST, or POSIX_ABSOLUTE_TIMEOUT_IS_NOW,
   *  then we should not wait.                                        
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
   4897c:	486e fffc      	pea %fp@(-4)                                
   48980:	2f2e 000c      	movel %fp@(12),%sp@-                        
   48984:	4eb9 0004 8a84 	jsr 48a84 <_POSIX_Absolute_timeout_to_ticks>
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
   4898a:	508f           	addql #8,%sp                                
   *                                                                  
   *  If the status is POSIX_ABSOLUTE_TIMEOUT_INVALID,                
   *  POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST, or POSIX_ABSOLUTE_TIMEOUT_IS_NOW,
   *  then we should not wait.                                        
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
   4898c:	2400           	movel %d0,%d2                               
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
   4898e:	7003           	moveq #3,%d0                                
   48990:	b082           	cmpl %d2,%d0                                
   48992:	673e           	beqs 489d2 <pthread_mutex_timedlock+0x62>   
    do_wait = false;                                                  
                                                                      
  lock_status = _POSIX_Mutex_Lock_support( mutex, do_wait, ticks );   
   48994:	2f2e fffc      	movel %fp@(-4),%sp@-                        
   48998:	42a7           	clrl %sp@-                                  
   4899a:	2f03           	movel %d3,%sp@-                             
   4899c:	4eb9 0004 886c 	jsr 4886c <_POSIX_Mutex_Lock_support>       
   *  This service only gives us the option to block.  We used a polling
   *  attempt to lock if the abstime was not in the future.  If we did
   *  not obtain the mutex, then not look at the status immediately,  
   *  make sure the right reason is returned.                         
   */                                                                 
  if ( !do_wait && (lock_status == EBUSY) ) {                         
   489a2:	4fef 000c      	lea %sp@(12),%sp                            
   489a6:	7210           	moveq #16,%d1                               
   489a8:	b280           	cmpl %d0,%d1                                
   489aa:	670c           	beqs 489b8 <pthread_mutex_timedlock+0x48>   <== ALWAYS TAKEN
         status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )                    
      return ETIMEDOUT;                                               
  }                                                                   
                                                                      
  return lock_status;                                                 
}                                                                     
   489ac:	242e fff4      	movel %fp@(-12),%d2                         <== NOT EXECUTED
   489b0:	262e fff8      	movel %fp@(-8),%d3                          <== NOT EXECUTED
   489b4:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   489b6:	4e75           	rts                                         <== NOT EXECUTED
   *  attempt to lock if the abstime was not in the future.  If we did
   *  not obtain the mutex, then not look at the status immediately,  
   *  make sure the right reason is returned.                         
   */                                                                 
  if ( !do_wait && (lock_status == EBUSY) ) {                         
    if ( status == POSIX_ABSOLUTE_TIMEOUT_INVALID )                   
   489b8:	4a82           	tstl %d2                                    
   489ba:	6736           	beqs 489f2 <pthread_mutex_timedlock+0x82>   <== NEVER TAKEN
      return EINVAL;                                                  
    if ( status == POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST ||               
   489bc:	5382           	subql #1,%d2                                
   489be:	7201           	moveq #1,%d1                                
   489c0:	b282           	cmpl %d2,%d1                                
   489c2:	65e8           	bcss 489ac <pthread_mutex_timedlock+0x3c>   <== NEVER TAKEN
         status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )                    
      return ETIMEDOUT;                                               
  }                                                                   
                                                                      
  return lock_status;                                                 
}                                                                     
   489c4:	242e fff4      	movel %fp@(-12),%d2                         
  if ( !do_wait && (lock_status == EBUSY) ) {                         
    if ( status == POSIX_ABSOLUTE_TIMEOUT_INVALID )                   
      return EINVAL;                                                  
    if ( status == POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST ||               
         status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )                    
      return ETIMEDOUT;                                               
   489c8:	7074           	moveq #116,%d0                              
  }                                                                   
                                                                      
  return lock_status;                                                 
}                                                                     
   489ca:	262e fff8      	movel %fp@(-8),%d3                          
   489ce:	4e5e           	unlk %fp                                    
   489d0:	4e75           	rts                                         
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  lock_status = _POSIX_Mutex_Lock_support( mutex, do_wait, ticks );   
   489d2:	2f2e fffc      	movel %fp@(-4),%sp@-                        
   489d6:	4878 0001      	pea 1 <ADD>                                 
   489da:	2f03           	movel %d3,%sp@-                             
   489dc:	4eb9 0004 886c 	jsr 4886c <_POSIX_Mutex_Lock_support>       
         status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )                    
      return ETIMEDOUT;                                               
  }                                                                   
                                                                      
  return lock_status;                                                 
}                                                                     
   489e2:	242e fff4      	movel %fp@(-12),%d2                         
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  lock_status = _POSIX_Mutex_Lock_support( mutex, do_wait, ticks );   
   489e6:	4fef 000c      	lea %sp@(12),%sp                            
         status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )                    
      return ETIMEDOUT;                                               
  }                                                                   
                                                                      
  return lock_status;                                                 
}                                                                     
   489ea:	262e fff8      	movel %fp@(-8),%d3                          
   489ee:	4e5e           	unlk %fp                                    
   489f0:	4e75           	rts                                         
   489f2:	242e fff4      	movel %fp@(-12),%d2                         <== NOT EXECUTED
   *  not obtain the mutex, then not look at the status immediately,  
   *  make sure the right reason is returned.                         
   */                                                                 
  if ( !do_wait && (lock_status == EBUSY) ) {                         
    if ( status == POSIX_ABSOLUTE_TIMEOUT_INVALID )                   
      return EINVAL;                                                  
   489f6:	7016           	moveq #22,%d0                               <== NOT EXECUTED
         status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )                    
      return ETIMEDOUT;                                               
  }                                                                   
                                                                      
  return lock_status;                                                 
}                                                                     
   489f8:	262e fff8      	movel %fp@(-8),%d3                          <== NOT EXECUTED
   489fc:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000463a8 <pthread_mutexattr_gettype>: #if defined(_UNIX98_THREAD_MUTEX_ATTRIBUTES) int pthread_mutexattr_gettype( const pthread_mutexattr_t *attr, int *type ) {
   463a8:	4e56 0000      	linkw %fp,#0                                
   463ac:	206e 0008      	moveal %fp@(8),%a0                          
   463b0:	226e 000c      	moveal %fp@(12),%a1                         
  if ( !attr )                                                        
   463b4:	4a88           	tstl %a0                                    
   463b6:	6712           	beqs 463ca <pthread_mutexattr_gettype+0x22> 
    return EINVAL;                                                    
                                                                      
  if ( !attr->is_initialized )                                        
   463b8:	4a90           	tstl %a0@                                   
   463ba:	670e           	beqs 463ca <pthread_mutexattr_gettype+0x22> 
    return EINVAL;                                                    
                                                                      
  if ( !type )                                                        
   463bc:	4a89           	tstl %a1                                    
   463be:	670a           	beqs 463ca <pthread_mutexattr_gettype+0x22> <== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  *type = attr->type;                                                 
   463c0:	22a8 0010      	movel %a0@(16),%a1@                         
  return 0;                                                           
   463c4:	4280           	clrl %d0                                    
}                                                                     
   463c6:	4e5e           	unlk %fp                                    
   463c8:	4e75           	rts                                         
                                                                      
  if ( !attr->is_initialized )                                        
    return EINVAL;                                                    
                                                                      
  if ( !type )                                                        
    return EINVAL;                                                    
   463ca:	7016           	moveq #22,%d0                               
                                                                      
  *type = attr->type;                                                 
  return 0;                                                           
}                                                                     
   463cc:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00048524 <pthread_mutexattr_setpshared>: int pthread_mutexattr_setpshared( pthread_mutexattr_t *attr, int pshared ) {
   48524:	4e56 0000      	linkw %fp,#0                                
   48528:	206e 0008      	moveal %fp@(8),%a0                          
   4852c:	202e 000c      	movel %fp@(12),%d0                          
  if ( !attr || !attr->is_initialized )                               
   48530:	4a88           	tstl %a0                                    
   48532:	670a           	beqs 4853e <pthread_mutexattr_setpshared+0x1a>
   48534:	4a90           	tstl %a0@                                   
   48536:	6706           	beqs 4853e <pthread_mutexattr_setpshared+0x1a>
    return EINVAL;                                                    
                                                                      
  switch ( pshared ) {                                                
   48538:	7201           	moveq #1,%d1                                
   4853a:	b280           	cmpl %d0,%d1                                
   4853c:	6406           	bccs 48544 <pthread_mutexattr_setpshared+0x20><== ALWAYS TAKEN
    case PTHREAD_PROCESS_PRIVATE:                                     
      attr->process_shared = pshared;                                 
      return 0;                                                       
                                                                      
    default:                                                          
      return EINVAL;                                                  
   4853e:	7016           	moveq #22,%d0                               
  }                                                                   
}                                                                     
   48540:	4e5e           	unlk %fp                                    
   48542:	4e75           	rts                                         
    return EINVAL;                                                    
                                                                      
  switch ( pshared ) {                                                
    case PTHREAD_PROCESS_SHARED:                                      
    case PTHREAD_PROCESS_PRIVATE:                                     
      attr->process_shared = pshared;                                 
   48544:	2140 0004      	movel %d0,%a0@(4)                           
      return 0;                                                       
   48548:	4280           	clrl %d0                                    
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
   4854a:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004640c <pthread_mutexattr_settype>: #if defined(_UNIX98_THREAD_MUTEX_ATTRIBUTES) int pthread_mutexattr_settype( pthread_mutexattr_t *attr, int type ) {
   4640c:	4e56 0000      	linkw %fp,#0                                
   46410:	206e 0008      	moveal %fp@(8),%a0                          
   46414:	202e 000c      	movel %fp@(12),%d0                          
  if ( !attr || !attr->is_initialized )                               
   46418:	4a88           	tstl %a0                                    
   4641a:	670a           	beqs 46426 <pthread_mutexattr_settype+0x1a> 
   4641c:	4a90           	tstl %a0@                                   
   4641e:	6706           	beqs 46426 <pthread_mutexattr_settype+0x1a> <== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  switch ( type ) {                                                   
   46420:	7203           	moveq #3,%d1                                
   46422:	b280           	cmpl %d0,%d1                                
   46424:	6406           	bccs 4642c <pthread_mutexattr_settype+0x20> 
    case PTHREAD_MUTEX_DEFAULT:                                       
      attr->type = type;                                              
      return 0;                                                       
                                                                      
    default:                                                          
      return EINVAL;                                                  
   46426:	7016           	moveq #22,%d0                               
  }                                                                   
}                                                                     
   46428:	4e5e           	unlk %fp                                    
   4642a:	4e75           	rts                                         
  switch ( type ) {                                                   
    case PTHREAD_MUTEX_NORMAL:                                        
    case PTHREAD_MUTEX_RECURSIVE:                                     
    case PTHREAD_MUTEX_ERRORCHECK:                                    
    case PTHREAD_MUTEX_DEFAULT:                                       
      attr->type = type;                                              
   4642c:	2140 0010      	movel %d0,%a0@(16)                          
      return 0;                                                       
   46430:	4280           	clrl %d0                                    
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
   46432:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000471f8 <pthread_once>: int pthread_once( pthread_once_t *once_control, void (*init_routine)(void) ) {
   471f8:	4e56 ffec      	linkw %fp,#-20                              
   471fc:	48d7 1c04      	moveml %d2/%a2-%a4,%sp@                     
   47200:	246e 0008      	moveal %fp@(8),%a2                          
   47204:	266e 000c      	moveal %fp@(12),%a3                         
  if ( !once_control || !init_routine )                               
   47208:	4a8a           	tstl %a2                                    
   4720a:	6772           	beqs 4727e <pthread_once+0x86>              
   4720c:	4a8b           	tstl %a3                                    
   4720e:	676e           	beqs 4727e <pthread_once+0x86>              
    return EINVAL;                                                    
                                                                      
  if ( !once_control->init_executed ) {                               
   47210:	4aaa 0004      	tstl %a2@(4)                                
   47214:	670c           	beqs 47222 <pthread_once+0x2a>              
      once_control->init_executed = true;                             
      (*init_routine)();                                              
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
  }                                                                   
  return 0;                                                           
   47216:	4280           	clrl %d0                                    
}                                                                     
   47218:	4cee 1c04 ffec 	moveml %fp@(-20),%d2/%a2-%a4                
   4721e:	4e5e           	unlk %fp                                    
   47220:	4e75           	rts                                         
  if ( !once_control || !init_routine )                               
    return EINVAL;                                                    
                                                                      
  if ( !once_control->init_executed ) {                               
    rtems_mode saveMode;                                              
    rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode); 
   47222:	240e           	movel %fp,%d2                               
   47224:	5982           	subql #4,%d2                                
   47226:	49f9 0004 7ebc 	lea 47ebc <rtems_task_mode>,%a4             
   4722c:	2f02           	movel %d2,%sp@-                             
   4722e:	4878 0100      	pea 100 <DBL_MANT_DIG+0xcb>                 
   47232:	4878 0100      	pea 100 <DBL_MANT_DIG+0xcb>                 
   47236:	4e94           	jsr %a4@                                    
    if ( !once_control->init_executed ) {                             
   47238:	4fef 000c      	lea %sp@(12),%sp                            
   4723c:	4aaa 0004      	tstl %a2@(4)                                
   47240:	671c           	beqs 4725e <pthread_once+0x66>              <== ALWAYS TAKEN
      once_control->is_initialized = true;                            
      once_control->init_executed = true;                             
      (*init_routine)();                                              
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
   47242:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   47244:	4878 0100      	pea 100 <DBL_MANT_DIG+0xcb>                 <== NOT EXECUTED
   47248:	2f2e fffc      	movel %fp@(-4),%sp@-                        <== NOT EXECUTED
   4724c:	4e94           	jsr %a4@                                    <== NOT EXECUTED
   4724e:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
  }                                                                   
  return 0;                                                           
   47252:	4280           	clrl %d0                                    <== NOT EXECUTED
}                                                                     
   47254:	4cee 1c04 ffec 	moveml %fp@(-20),%d2/%a2-%a4                
   4725a:	4e5e           	unlk %fp                                    
   4725c:	4e75           	rts                                         
                                                                      
  if ( !once_control->init_executed ) {                               
    rtems_mode saveMode;                                              
    rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode); 
    if ( !once_control->init_executed ) {                             
      once_control->is_initialized = true;                            
   4725e:	7001           	moveq #1,%d0                                
   47260:	2480           	movel %d0,%a2@                              
      once_control->init_executed = true;                             
   47262:	7001           	moveq #1,%d0                                
   47264:	2540 0004      	movel %d0,%a2@(4)                           
      (*init_routine)();                                              
   47268:	4e93           	jsr %a3@                                    
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
   4726a:	2f02           	movel %d2,%sp@-                             
   4726c:	4878 0100      	pea 100 <DBL_MANT_DIG+0xcb>                 
   47270:	2f2e fffc      	movel %fp@(-4),%sp@-                        
   47274:	4e94           	jsr %a4@                                    
   47276:	4fef 000c      	lea %sp@(12),%sp                            
  }                                                                   
  return 0;                                                           
   4727a:	4280           	clrl %d0                                    
   4727c:	60d6           	bras 47254 <pthread_once+0x5c>              
  pthread_once_t  *once_control,                                      
  void           (*init_routine)(void)                                
)                                                                     
{                                                                     
  if ( !once_control || !init_routine )                               
    return EINVAL;                                                    
   4727e:	7016           	moveq #22,%d0                               
      (*init_routine)();                                              
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
  }                                                                   
  return 0;                                                           
}                                                                     
   47280:	4cee 1c04 ffec 	moveml %fp@(-20),%d2/%a2-%a4                
   47286:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004782c <pthread_rwlock_init>: int pthread_rwlock_init( pthread_rwlock_t *rwlock, const pthread_rwlockattr_t *attr ) {
   4782c:	4e56 ffe8      	linkw %fp,#-24                              
   47830:	48d7 0c04      	moveml %d2/%a2-%a3,%sp@                     
   47834:	246e 0008      	moveal %fp@(8),%a2                          
   47838:	242e 000c      	movel %fp@(12),%d2                          
  const pthread_rwlockattr_t  *the_attr;                              
                                                                      
  /*                                                                  
   *  Error check parameters                                          
   */                                                                 
  if ( !rwlock )                                                      
   4783c:	4a8a           	tstl %a2                                    
   4783e:	6772           	beqs 478b2 <pthread_rwlock_init+0x86>       
    return EINVAL;                                                    
                                                                      
  /*                                                                  
   * If the user passed in NULL, use the default attributes           
   */                                                                 
  if ( attr ) {                                                       
   47840:	4a82           	tstl %d2                                    
   47842:	6700 008c      	beqw 478d0 <pthread_rwlock_init+0xa4>       
   47846:	2042           	moveal %d2,%a0                              
  }                                                                   
                                                                      
  /*                                                                  
   * Now start error checking the attributes that we are going to use 
   */                                                                 
  if ( !the_attr->is_initialized )                                    
   47848:	4a90           	tstl %a0@                                   
   4784a:	6766           	beqs 478b2 <pthread_rwlock_init+0x86>       <== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  switch ( the_attr->process_shared ) {                               
   4784c:	4aa8 0004      	tstl %a0@(4)                                
   47850:	6660           	bnes 478b2 <pthread_rwlock_init+0x86>       <== NEVER TAKEN
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
   47852:	2039 0006 3dcc 	movel 63dcc <_Thread_Dispatch_disable_level>,%d0
   47858:	5280           	addql #1,%d0                                
 */                                                                   
RTEMS_INLINE_ROUTINE void _CORE_RWLock_Initialize_attributes(         
  CORE_RWLock_Attributes *the_attributes                              
)                                                                     
{                                                                     
  the_attributes->XXX = 0;                                            
   4785a:	42ae fffc      	clrl %fp@(-4)                               
   4785e:	23c0 0006 3dcc 	movel %d0,63dcc <_Thread_Dispatch_disable_level>
 *  the inactive chain of free RWLock control blocks.                 
 */                                                                   
RTEMS_INLINE_ROUTINE POSIX_RWLock_Control *_POSIX_RWLock_Allocate( void )
{                                                                     
  return (POSIX_RWLock_Control *)                                     
    _Objects_Allocate( &_POSIX_RWLock_Information );                  
   47864:	4879 0006 3f34 	pea 63f34 <_POSIX_RWLock_Information>       
   4786a:	4eb9 0004 a1e8 	jsr 4a1e8 <_Objects_Allocate>               
   */                                                                 
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_rwlock = _POSIX_RWLock_Allocate();                              
                                                                      
  if ( !the_rwlock ) {                                                
   47870:	588f           	addql #4,%sp                                
   47872:	2640           	moveal %d0,%a3                              
   47874:	4a80           	tstl %d0                                    
   47876:	6746           	beqs 478be <pthread_rwlock_init+0x92>       
    _Thread_Enable_dispatch();                                        
    return EAGAIN;                                                    
  }                                                                   
                                                                      
  _CORE_RWLock_Initialize( &the_rwlock->RWLock, &the_attributes );    
   47878:	486e fffc      	pea %fp@(-4)                                
   4787c:	486b 0010      	pea %a3@(16)                                
   47880:	4eb9 0004 98f8 	jsr 498f8 <_CORE_RWLock_Initialize>         
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
   47886:	202b 0008      	movel %a3@(8),%d0                           
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
   4788a:	4281           	clrl %d1                                    
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
   4788c:	2079 0006 3f4c 	moveal 63f4c <_POSIX_RWLock_Information+0x18>,%a0
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
   47892:	3200           	movew %d0,%d1                               
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
   47894:	218b 1c00      	movel %a3,%a0@(00000000,%d1:l:4)            
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
   47898:	42ab 000c      	clrl %a3@(12)                               
    &_POSIX_RWLock_Information,                                       
    &the_rwlock->Object,                                              
    0                                                                 
  );                                                                  
                                                                      
  *rwlock = the_rwlock->Object.id;                                    
   4789c:	2480           	movel %d0,%a2@                              
                                                                      
  _Thread_Enable_dispatch();                                          
   4789e:	4eb9 0004 b312 	jsr 4b312 <_Thread_Enable_dispatch>         
  return 0;                                                           
   478a4:	508f           	addql #8,%sp                                
   478a6:	4280           	clrl %d0                                    
}                                                                     
   478a8:	4cee 0c04 ffe8 	moveml %fp@(-24),%d2/%a2-%a3                
   478ae:	4e5e           	unlk %fp                                    
   478b0:	4e75           	rts                                         
  switch ( the_attr->process_shared ) {                               
    case PTHREAD_PROCESS_PRIVATE:    /* only supported values */      
      break;                                                          
    case PTHREAD_PROCESS_SHARED:                                      
    default:                                                          
      return EINVAL;                                                  
   478b2:	7016           	moveq #22,%d0                               
                                                                      
  *rwlock = the_rwlock->Object.id;                                    
                                                                      
  _Thread_Enable_dispatch();                                          
  return 0;                                                           
}                                                                     
   478b4:	4cee 0c04 ffe8 	moveml %fp@(-24),%d2/%a2-%a3                
   478ba:	4e5e           	unlk %fp                                    
   478bc:	4e75           	rts                                         
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_rwlock = _POSIX_RWLock_Allocate();                              
                                                                      
  if ( !the_rwlock ) {                                                
    _Thread_Enable_dispatch();                                        
   478be:	4eb9 0004 b312 	jsr 4b312 <_Thread_Enable_dispatch>         
    return EAGAIN;                                                    
   478c4:	700b           	moveq #11,%d0                               
                                                                      
  *rwlock = the_rwlock->Object.id;                                    
                                                                      
  _Thread_Enable_dispatch();                                          
  return 0;                                                           
}                                                                     
   478c6:	4cee 0c04 ffe8 	moveml %fp@(-24),%d2/%a2-%a3                
   478cc:	4e5e           	unlk %fp                                    
   478ce:	4e75           	rts                                         
   * If the user passed in NULL, use the default attributes           
   */                                                                 
  if ( attr ) {                                                       
    the_attr = attr;                                                  
  } else {                                                            
    (void) pthread_rwlockattr_init( &default_attr );                  
   478d0:	240e           	movel %fp,%d2                               
   478d2:	0682 ffff fff4 	addil #-12,%d2                              
   478d8:	2f02           	movel %d2,%sp@-                             
   478da:	4eb9 0004 8378 	jsr 48378 <pthread_rwlockattr_init>         
   478e0:	588f           	addql #4,%sp                                
    the_attr = &default_attr;                                         
   478e2:	2042           	moveal %d2,%a0                              
   478e4:	6000 ff62      	braw 47848 <pthread_rwlock_init+0x1c>       
                                                                      

00047954 <pthread_rwlock_timedrdlock>: int pthread_rwlock_timedrdlock( pthread_rwlock_t *rwlock, const struct timespec *abstime ) {
   47954:	4e56 ffec      	linkw %fp,#-20                              
   47958:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
   4795c:	246e 0008      	moveal %fp@(8),%a2                          
  Objects_Locations                            location;              
  Watchdog_Interval                            ticks;                 
  bool                                         do_wait = true;        
  POSIX_Absolute_timeout_conversion_results_t  status;                
                                                                      
  if ( !rwlock )                                                      
   47960:	4a8a           	tstl %a2                                    
   47962:	6700 0082      	beqw 479e6 <pthread_rwlock_timedrdlock+0x92>
   *                                                                  
   *  If the status is POSIX_ABSOLUTE_TIMEOUT_INVALID,                
   *  POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST, or POSIX_ABSOLUTE_TIMEOUT_IS_NOW,
   *  then we should not wait.                                        
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
   47966:	486e fff8      	pea %fp@(-8)                                
   4796a:	2f2e 000c      	movel %fp@(12),%sp@-                        
   4796e:	4eb9 0004 e41c 	jsr 4e41c <_POSIX_Absolute_timeout_to_ticks>
   47974:	486e fffc      	pea %fp@(-4)                                
   47978:	2400           	movel %d0,%d2                               
   4797a:	2f12           	movel %a2@,%sp@-                            
   4797c:	4879 0006 3f34 	pea 63f34 <_POSIX_RWLock_Information>       
   47982:	4eb9 0004 a6a0 	jsr 4a6a0 <_Objects_Get>                    
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  the_rwlock = _POSIX_RWLock_Get( rwlock, &location );                
  switch ( location ) {                                               
   47988:	4fef 0014      	lea %sp@(20),%sp                            
   4798c:	4aae fffc      	tstl %fp@(-4)                               
   47990:	6654           	bnes 479e6 <pthread_rwlock_timedrdlock+0x92>
int	_EXFUN(pthread_rwlock_init,                                       
	(pthread_rwlock_t *__rwlock, _CONST pthread_rwlockattr_t *__attr));  
int	_EXFUN(pthread_rwlock_destroy, (pthread_rwlock_t *__rwlock));     
int	_EXFUN(pthread_rwlock_rdlock,(pthread_rwlock_t *__rwlock));       
int	_EXFUN(pthread_rwlock_tryrdlock,(pthread_rwlock_t *__rwlock));    
int	_EXFUN(pthread_rwlock_timedrdlock,                                
   47992:	7203           	moveq #3,%d1                                
   47994:	b282           	cmpl %d2,%d1                                
   47996:	57c3           	seq %d3                                     
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      _CORE_RWLock_Obtain_for_reading(                                
   47998:	42a7           	clrl %sp@-                                  
   4799a:	2f2e fff8      	movel %fp@(-8),%sp@-                        
   4799e:	4483           	negl %d3                                    
   479a0:	4281           	clrl %d1                                    
   479a2:	1203           	moveb %d3,%d1                               
   479a4:	2040           	moveal %d0,%a0                              
   479a6:	2f01           	movel %d1,%sp@-                             
   479a8:	2f12           	movel %a2@,%sp@-                            
   479aa:	4868 0010      	pea %a0@(16)                                
   479ae:	4eb9 0004 992c 	jsr 4992c <_CORE_RWLock_Obtain_for_reading> 
	do_wait,                                                             
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
   479b4:	4eb9 0004 b312 	jsr 4b312 <_Thread_Enable_dispatch>         
      if ( !do_wait ) {                                               
   479ba:	4fef 0014      	lea %sp@(20),%sp                            
   479be:	4a03           	tstb %d3                                    
   479c0:	664a           	bnes 47a0c <pthread_rwlock_timedrdlock+0xb8>
        if ( _Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE ) {
   479c2:	2079 0006 4236 	moveal 64236 <_Per_CPU_Information+0xc>,%a0 
   479c8:	7202           	moveq #2,%d1                                
   479ca:	2028 0034      	movel %a0@(52),%d0                          
   479ce:	b280           	cmpl %d0,%d1                                
   479d0:	6720           	beqs 479f2 <pthread_rwlock_timedrdlock+0x9e>
	       status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )                     
	    return ETIMEDOUT;                                                
        }                                                             
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
   479d2:	2f00           	movel %d0,%sp@-                             
   479d4:	4eb9 0004 7af4 	jsr 47af4 <_POSIX_RWLock_Translate_core_RWLock_return_code>
   479da:	588f           	addql #4,%sp                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
   479dc:	4cee 040c ffec 	moveml %fp@(-20),%d2-%d3/%a2                
   479e2:	4e5e           	unlk %fp                                    
   479e4:	4e75           	rts                                         
                                                                      
      _Thread_Enable_dispatch();                                      
      if ( !do_wait ) {                                               
        if ( _Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE ) {
	  if ( status == POSIX_ABSOLUTE_TIMEOUT_INVALID )                    
	    return EINVAL;                                                   
   479e6:	7016           	moveq #22,%d0                               
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
   479e8:	4cee 040c ffec 	moveml %fp@(-20),%d2-%d3/%a2                
   479ee:	4e5e           	unlk %fp                                    
   479f0:	4e75           	rts                                         
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      if ( !do_wait ) {                                               
        if ( _Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE ) {
	  if ( status == POSIX_ABSOLUTE_TIMEOUT_INVALID )                    
   479f2:	4a82           	tstl %d2                                    
   479f4:	67f0           	beqs 479e6 <pthread_rwlock_timedrdlock+0x92><== NEVER TAKEN
	    return EINVAL;                                                   
	  if ( status == POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST ||                
   479f6:	5382           	subql #1,%d2                                
   479f8:	123c 0001      	moveb #1,%d1                                
   479fc:	b282           	cmpl %d2,%d1                                
   479fe:	65d2           	bcss 479d2 <pthread_rwlock_timedrdlock+0x7e><== NEVER TAKEN
	       status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )                     
	    return ETIMEDOUT;                                                
   47a00:	7074           	moveq #116,%d0                              
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
   47a02:	4cee 040c ffec 	moveml %fp@(-20),%d2-%d3/%a2                
   47a08:	4e5e           	unlk %fp                                    
   47a0a:	4e75           	rts                                         
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      if ( !do_wait ) {                                               
   47a0c:	2079 0006 4236 	moveal 64236 <_Per_CPU_Information+0xc>,%a0 
   47a12:	2028 0034      	movel %a0@(52),%d0                          
	       status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )                     
	    return ETIMEDOUT;                                                
        }                                                             
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
   47a16:	2f00           	movel %d0,%sp@-                             
   47a18:	4eb9 0004 7af4 	jsr 47af4 <_POSIX_RWLock_Translate_core_RWLock_return_code>
   47a1e:	588f           	addql #4,%sp                                
   47a20:	60ba           	bras 479dc <pthread_rwlock_timedrdlock+0x88>
	...                                                                  
                                                                      

00047a24 <pthread_rwlock_timedwrlock>: int pthread_rwlock_timedwrlock( pthread_rwlock_t *rwlock, const struct timespec *abstime ) {
   47a24:	4e56 ffec      	linkw %fp,#-20                              
   47a28:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
   47a2c:	246e 0008      	moveal %fp@(8),%a2                          
  Objects_Locations                            location;              
  Watchdog_Interval                            ticks;                 
  bool                                         do_wait = true;        
  POSIX_Absolute_timeout_conversion_results_t  status;                
                                                                      
  if ( !rwlock )                                                      
   47a30:	4a8a           	tstl %a2                                    
   47a32:	6700 0082      	beqw 47ab6 <pthread_rwlock_timedwrlock+0x92>
   *                                                                  
   *  If the status is POSIX_ABSOLUTE_TIMEOUT_INVALID,                
   *  POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST, or POSIX_ABSOLUTE_TIMEOUT_IS_NOW,
   *  then we should not wait.                                        
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
   47a36:	486e fff8      	pea %fp@(-8)                                
   47a3a:	2f2e 000c      	movel %fp@(12),%sp@-                        
   47a3e:	4eb9 0004 e41c 	jsr 4e41c <_POSIX_Absolute_timeout_to_ticks>
   47a44:	486e fffc      	pea %fp@(-4)                                
   47a48:	2400           	movel %d0,%d2                               
   47a4a:	2f12           	movel %a2@,%sp@-                            
   47a4c:	4879 0006 3f34 	pea 63f34 <_POSIX_RWLock_Information>       
   47a52:	4eb9 0004 a6a0 	jsr 4a6a0 <_Objects_Get>                    
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  the_rwlock = _POSIX_RWLock_Get( rwlock, &location );                
  switch ( location ) {                                               
   47a58:	4fef 0014      	lea %sp@(20),%sp                            
   47a5c:	4aae fffc      	tstl %fp@(-4)                               
   47a60:	6654           	bnes 47ab6 <pthread_rwlock_timedwrlock+0x92>
        (pthread_rwlock_t *__rwlock, _CONST struct timespec *__abstime));
int	_EXFUN(pthread_rwlock_unlock,(pthread_rwlock_t *__rwlock));       
int	_EXFUN(pthread_rwlock_wrlock,(pthread_rwlock_t *__rwlock));       
int	_EXFUN(pthread_rwlock_trywrlock,(pthread_rwlock_t *__rwlock));    
int	_EXFUN(pthread_rwlock_timedwrlock,                                
   47a62:	7203           	moveq #3,%d1                                
   47a64:	b282           	cmpl %d2,%d1                                
   47a66:	57c3           	seq %d3                                     
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      _CORE_RWLock_Obtain_for_writing(                                
   47a68:	42a7           	clrl %sp@-                                  
   47a6a:	2f2e fff8      	movel %fp@(-8),%sp@-                        
   47a6e:	4483           	negl %d3                                    
   47a70:	4281           	clrl %d1                                    
   47a72:	1203           	moveb %d3,%d1                               
   47a74:	2040           	moveal %d0,%a0                              
   47a76:	2f01           	movel %d1,%sp@-                             
   47a78:	2f12           	movel %a2@,%sp@-                            
   47a7a:	4868 0010      	pea %a0@(16)                                
   47a7e:	4eb9 0004 99ec 	jsr 499ec <_CORE_RWLock_Obtain_for_writing> 
	do_wait,                                                             
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
   47a84:	4eb9 0004 b312 	jsr 4b312 <_Thread_Enable_dispatch>         
      if ( !do_wait &&                                                
   47a8a:	4fef 0014      	lea %sp@(20),%sp                            
   47a8e:	4a03           	tstb %d3                                    
   47a90:	664a           	bnes 47adc <pthread_rwlock_timedwrlock+0xb8>
           (_Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE) ) {
   47a92:	2079 0006 4236 	moveal 64236 <_Per_CPU_Information+0xc>,%a0 
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      if ( !do_wait &&                                                
   47a98:	7202           	moveq #2,%d1                                
           (_Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE) ) {
   47a9a:	2028 0034      	movel %a0@(52),%d0                          
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      if ( !do_wait &&                                                
   47a9e:	b280           	cmpl %d0,%d1                                
   47aa0:	6720           	beqs 47ac2 <pthread_rwlock_timedwrlock+0x9e>
	if ( status == POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST ||                  
	     status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )                       
	  return ETIMEDOUT;                                                  
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
   47aa2:	2f00           	movel %d0,%sp@-                             
   47aa4:	4eb9 0004 7af4 	jsr 47af4 <_POSIX_RWLock_Translate_core_RWLock_return_code>
   47aaa:	588f           	addql #4,%sp                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
   47aac:	4cee 040c ffec 	moveml %fp@(-20),%d2-%d3/%a2                
   47ab2:	4e5e           	unlk %fp                                    
   47ab4:	4e75           	rts                                         
                                                                      
      _Thread_Enable_dispatch();                                      
      if ( !do_wait &&                                                
           (_Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE) ) {
	if ( status == POSIX_ABSOLUTE_TIMEOUT_INVALID )                      
	  return EINVAL;                                                     
   47ab6:	7016           	moveq #22,%d0                               
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
   47ab8:	4cee 040c ffec 	moveml %fp@(-20),%d2-%d3/%a2                
   47abe:	4e5e           	unlk %fp                                    
   47ac0:	4e75           	rts                                         
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      if ( !do_wait &&                                                
           (_Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE) ) {
	if ( status == POSIX_ABSOLUTE_TIMEOUT_INVALID )                      
   47ac2:	4a82           	tstl %d2                                    
   47ac4:	67f0           	beqs 47ab6 <pthread_rwlock_timedwrlock+0x92><== NEVER TAKEN
	  return EINVAL;                                                     
	if ( status == POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST ||                  
   47ac6:	5382           	subql #1,%d2                                
   47ac8:	123c 0001      	moveb #1,%d1                                
   47acc:	b282           	cmpl %d2,%d1                                
   47ace:	65d2           	bcss 47aa2 <pthread_rwlock_timedwrlock+0x7e><== NEVER TAKEN
	     status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )                       
	  return ETIMEDOUT;                                                  
   47ad0:	7074           	moveq #116,%d0                              
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
   47ad2:	4cee 040c ffec 	moveml %fp@(-20),%d2-%d3/%a2                
   47ad8:	4e5e           	unlk %fp                                    
   47ada:	4e75           	rts                                         
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      if ( !do_wait &&                                                
   47adc:	2079 0006 4236 	moveal 64236 <_Per_CPU_Information+0xc>,%a0 
   47ae2:	2028 0034      	movel %a0@(52),%d0                          
	if ( status == POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST ||                  
	     status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )                       
	  return ETIMEDOUT;                                                  
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
   47ae6:	2f00           	movel %d0,%sp@-                             
   47ae8:	4eb9 0004 7af4 	jsr 47af4 <_POSIX_RWLock_Translate_core_RWLock_return_code>
   47aee:	588f           	addql #4,%sp                                
   47af0:	60ba           	bras 47aac <pthread_rwlock_timedwrlock+0x88>
	...                                                                  
                                                                      

00047be4 <pthread_rwlock_unlock>: */ int pthread_rwlock_unlock( pthread_rwlock_t *rwlock ) {
   47be4:	4e56 fffc      	linkw %fp,#-4                               
   47be8:	206e 0008      	moveal %fp@(8),%a0                          
   47bec:	2f02           	movel %d2,%sp@-                             
  POSIX_RWLock_Control  *the_rwlock;                                  
  Objects_Locations      location;                                    
  CORE_RWLock_Status     status;                                      
                                                                      
  if ( !rwlock )                                                      
   47bee:	4a88           	tstl %a0                                    
   47bf0:	6742           	beqs 47c34 <pthread_rwlock_unlock+0x50>     <== NEVER TAKEN
   47bf2:	486e fffc      	pea %fp@(-4)                                
   47bf6:	2f10           	movel %a0@,%sp@-                            
   47bf8:	4879 0006 3f34 	pea 63f34 <_POSIX_RWLock_Information>       
   47bfe:	4eb9 0004 a6a0 	jsr 4a6a0 <_Objects_Get>                    
    return EINVAL;                                                    
                                                                      
  the_rwlock = _POSIX_RWLock_Get( rwlock, &location );                
  switch ( location ) {                                               
   47c04:	4fef 000c      	lea %sp@(12),%sp                            
   47c08:	4aae fffc      	tstl %fp@(-4)                               
   47c0c:	6626           	bnes 47c34 <pthread_rwlock_unlock+0x50>     
                                                                      
    case OBJECTS_LOCAL:                                               
      status = _CORE_RWLock_Release( &the_rwlock->RWLock );           
   47c0e:	2040           	moveal %d0,%a0                              
   47c10:	4868 0010      	pea %a0@(16)                                
   47c14:	4eb9 0004 9a7c 	jsr 49a7c <_CORE_RWLock_Release>            
   47c1a:	2400           	movel %d0,%d2                               
      _Thread_Enable_dispatch();                                      
   47c1c:	4eb9 0004 b312 	jsr 4b312 <_Thread_Enable_dispatch>         
      return _POSIX_RWLock_Translate_core_RWLock_return_code( status );
   47c22:	2f02           	movel %d2,%sp@-                             
   47c24:	4eb9 0004 7af4 	jsr 47af4 <_POSIX_RWLock_Translate_core_RWLock_return_code>
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
   47c2a:	242e fff8      	movel %fp@(-8),%d2                          
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      status = _CORE_RWLock_Release( &the_rwlock->RWLock );           
      _Thread_Enable_dispatch();                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code( status );
   47c2e:	508f           	addql #8,%sp                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
   47c30:	4e5e           	unlk %fp                                    
   47c32:	4e75           	rts                                         
   47c34:	242e fff8      	movel %fp@(-8),%d2                          
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
   47c38:	7016           	moveq #22,%d0                               
}                                                                     
   47c3a:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00048398 <pthread_rwlockattr_setpshared>: int pthread_rwlockattr_setpshared( pthread_rwlockattr_t *attr, int pshared ) {
   48398:	4e56 0000      	linkw %fp,#0                                
   4839c:	206e 0008      	moveal %fp@(8),%a0                          
   483a0:	202e 000c      	movel %fp@(12),%d0                          
  if ( !attr )                                                        
   483a4:	4a88           	tstl %a0                                    
   483a6:	670a           	beqs 483b2 <pthread_rwlockattr_setpshared+0x1a>
    return EINVAL;                                                    
                                                                      
  if ( !attr->is_initialized )                                        
   483a8:	4a90           	tstl %a0@                                   
   483aa:	6706           	beqs 483b2 <pthread_rwlockattr_setpshared+0x1a>
    return EINVAL;                                                    
                                                                      
  switch ( pshared ) {                                                
   483ac:	7201           	moveq #1,%d1                                
   483ae:	b280           	cmpl %d0,%d1                                
   483b0:	6406           	bccs 483b8 <pthread_rwlockattr_setpshared+0x20><== ALWAYS TAKEN
    case PTHREAD_PROCESS_PRIVATE:                                     
      attr->process_shared = pshared;                                 
      return 0;                                                       
                                                                      
    default:                                                          
      return EINVAL;                                                  
   483b2:	7016           	moveq #22,%d0                               
  }                                                                   
}                                                                     
   483b4:	4e5e           	unlk %fp                                    
   483b6:	4e75           	rts                                         
    return EINVAL;                                                    
                                                                      
  switch ( pshared ) {                                                
    case PTHREAD_PROCESS_SHARED:                                      
    case PTHREAD_PROCESS_PRIVATE:                                     
      attr->process_shared = pshared;                                 
   483b8:	2140 0004      	movel %d0,%a0@(4)                           
      return 0;                                                       
   483bc:	4280           	clrl %d0                                    
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
   483be:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00049374 <pthread_setschedparam>: int pthread_setschedparam( pthread_t thread, int policy, struct sched_param *param ) {
   49374:	4e56 ffe0      	linkw %fp,#-32                              
   49378:	48d7 0c1c      	moveml %d2-%d4/%a2-%a3,%sp@                 
   4937c:	282e 000c      	movel %fp@(12),%d4                          
   49380:	242e 0010      	movel %fp@(16),%d2                          
  int                                  rc;                            
                                                                      
  /*                                                                  
   *  Check all the parameters                                        
   */                                                                 
  if ( !param )                                                       
   49384:	6700 00bc      	beqw 49442 <pthread_setschedparam+0xce>     
    return EINVAL;                                                    
                                                                      
  rc = _POSIX_Thread_Translate_sched_param(                           
   49388:	486e fff8      	pea %fp@(-8)                                
   4938c:	486e fffc      	pea %fp@(-4)                                
   49390:	2f02           	movel %d2,%sp@-                             
   49392:	2f04           	movel %d4,%sp@-                             
   49394:	4eb9 0004 f5bc 	jsr 4f5bc <_POSIX_Thread_Translate_sched_param>
    policy,                                                           
    param,                                                            
    &budget_algorithm,                                                
    &budget_callout                                                   
  );                                                                  
  if ( rc )                                                           
   4939a:	4fef 0010      	lea %sp@(16),%sp                            
   *  Check all the parameters                                        
   */                                                                 
  if ( !param )                                                       
    return EINVAL;                                                    
                                                                      
  rc = _POSIX_Thread_Translate_sched_param(                           
   4939e:	2600           	movel %d0,%d3                               
    policy,                                                           
    param,                                                            
    &budget_algorithm,                                                
    &budget_callout                                                   
  );                                                                  
  if ( rc )                                                           
   493a0:	670c           	beqs 493ae <pthread_setschedparam+0x3a>     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return ESRCH;                                                       
}                                                                     
   493a2:	2003           	movel %d3,%d0                               
   493a4:	4cee 0c1c ffe0 	moveml %fp@(-32),%d2-%d4/%a2-%a3            
   493aa:	4e5e           	unlk %fp                                    
   493ac:	4e75           	rts                                         
    return rc;                                                        
                                                                      
  /*                                                                  
   *  Actually change the scheduling policy and parameters            
   */                                                                 
  the_thread = _Thread_Get( thread, &location );                      
   493ae:	486e fff4      	pea %fp@(-12)                               
   493b2:	2f2e 0008      	movel %fp@(8),%sp@-                         
   493b6:	4eb9 0004 c1c8 	jsr 4c1c8 <_Thread_Get>                     
  switch ( location ) {                                               
   493bc:	508f           	addql #8,%sp                                
    return rc;                                                        
                                                                      
  /*                                                                  
   *  Actually change the scheduling policy and parameters            
   */                                                                 
  the_thread = _Thread_Get( thread, &location );                      
   493be:	2440           	moveal %d0,%a2                              
  switch ( location ) {                                               
   493c0:	4aae fff4      	tstl %fp@(-12)                              
   493c4:	6600 008a      	bnew 49450 <pthread_setschedparam+0xdc>     
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
   493c8:	266a 0102      	moveal %a2@(258),%a3                        
                                                                      
      if ( api->schedpolicy == SCHED_SPORADIC )                       
   493cc:	7004           	moveq #4,%d0                                
   493ce:	b0ab 0084      	cmpl %a3@(132),%d0                          
   493d2:	6700 00b8      	beqw 4948c <pthread_setschedparam+0x118>    
        (void) _Watchdog_Remove( &api->Sporadic_timer );              
                                                                      
      api->schedpolicy = policy;                                      
      api->schedparam  = *param;                                      
   493d6:	41eb 0088      	lea %a3@(136),%a0                           
   493da:	2242           	moveal %d2,%a1                              
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
                                                                      
      if ( api->schedpolicy == SCHED_SPORADIC )                       
        (void) _Watchdog_Remove( &api->Sporadic_timer );              
                                                                      
      api->schedpolicy = policy;                                      
   493dc:	2744 0084      	movel %d4,%a3@(132)                         
      api->schedparam  = *param;                                      
   493e0:	20d9           	movel %a1@+,%a0@+                           
   493e2:	20d9           	movel %a1@+,%a0@+                           
   493e4:	20d9           	movel %a1@+,%a0@+                           
   493e6:	20d9           	movel %a1@+,%a0@+                           
   493e8:	20d9           	movel %a1@+,%a0@+                           
   493ea:	20d9           	movel %a1@+,%a0@+                           
   493ec:	2091           	movel %a1@,%a0@                             
      the_thread->budget_algorithm = budget_algorithm;                
   493ee:	256e fffc 007a 	movel %fp@(-4),%a2@(122)                    
      the_thread->budget_callout   = budget_callout;                  
   493f4:	256e fff8 007e 	movel %fp@(-8),%a2@(126)                    
                                                                      
      switch ( api->schedpolicy ) {                                   
   493fa:	4a84           	tstl %d4                                    
   493fc:	6d32           	blts 49430 <pthread_setschedparam+0xbc>     <== NEVER TAKEN
   493fe:	7002           	moveq #2,%d0                                
   49400:	b084           	cmpl %d4,%d0                                
   49402:	6d5a           	blts 4945e <pthread_setschedparam+0xea>     
   49404:	4280           	clrl %d0                                    
   49406:	1039 0006 4686 	moveb 64686 <rtems_maximum_priority>,%d0    
        case SCHED_OTHER:                                             
        case SCHED_FIFO:                                              
        case SCHED_RR:                                                
          the_thread->cpu_time_budget = _Thread_Ticks_per_timeslice;  
   4940c:	41f9 0006 5f60 	lea 65f60 <_Thread_Ticks_per_timeslice>,%a0 
   49412:	90ab 0088      	subl %a3@(136),%d0                          
   49416:	2550 0076      	movel %a0@,%a2@(118)                        
                                                                      
          the_thread->real_priority =                                 
   4941a:	2540 0018      	movel %d0,%a2@(24)                          
            _POSIX_Priority_To_core( api->schedparam.sched_priority );
                                                                      
          _Thread_Change_priority(                                    
   4941e:	4878 0001      	pea 1 <ADD>                                 
   49422:	2f00           	movel %d0,%sp@-                             
   49424:	2f0a           	movel %a2,%sp@-                             
   49426:	4eb9 0004 bcf0 	jsr 4bcf0 <_Thread_Change_priority>         
             the_thread,                                              
             the_thread->real_priority,                               
             true                                                     
          );                                                          
          break;                                                      
   4942c:	4fef 000c      	lea %sp@(12),%sp                            
          _Watchdog_Remove( &api->Sporadic_timer );                   
          _POSIX_Threads_Sporadic_budget_TSR( 0, the_thread );        
          break;                                                      
      }                                                               
                                                                      
      _Thread_Enable_dispatch();                                      
   49430:	4eb9 0004 c1a2 	jsr 4c1a2 <_Thread_Enable_dispatch>         
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return ESRCH;                                                       
}                                                                     
   49436:	2003           	movel %d3,%d0                               
   49438:	4cee 0c1c ffe0 	moveml %fp@(-32),%d2-%d4/%a2-%a3            
   4943e:	4e5e           	unlk %fp                                    
   49440:	4e75           	rts                                         
                                                                      
  /*                                                                  
   *  Check all the parameters                                        
   */                                                                 
  if ( !param )                                                       
    return EINVAL;                                                    
   49442:	7616           	moveq #22,%d3                               
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return ESRCH;                                                       
}                                                                     
   49444:	2003           	movel %d3,%d0                               
   49446:	4cee 0c1c ffe0 	moveml %fp@(-32),%d2-%d4/%a2-%a3            
   4944c:	4e5e           	unlk %fp                                    
   4944e:	4e75           	rts                                         
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return ESRCH;                                                       
   49450:	7603           	moveq #3,%d3                                
}                                                                     
   49452:	2003           	movel %d3,%d0                               
   49454:	4cee 0c1c ffe0 	moveml %fp@(-32),%d2-%d4/%a2-%a3            
   4945a:	4e5e           	unlk %fp                                    
   4945c:	4e75           	rts                                         
      api->schedpolicy = policy;                                      
      api->schedparam  = *param;                                      
      the_thread->budget_algorithm = budget_algorithm;                
      the_thread->budget_callout   = budget_callout;                  
                                                                      
      switch ( api->schedpolicy ) {                                   
   4945e:	103c 0004      	moveb #4,%d0                                
   49462:	b084           	cmpl %d4,%d0                                
   49464:	66ca           	bnes 49430 <pthread_setschedparam+0xbc>     <== NEVER TAKEN
             true                                                     
          );                                                          
          break;                                                      
                                                                      
        case SCHED_SPORADIC:                                          
          api->ss_high_priority = api->schedparam.sched_priority;     
   49466:	276b 0088 00a4 	movel %a3@(136),%a3@(164)                   
          _Watchdog_Remove( &api->Sporadic_timer );                   
   4946c:	486b 00a8      	pea %a3@(168)                               
   49470:	4eb9 0004 d350 	jsr 4d350 <_Watchdog_Remove>                
          _POSIX_Threads_Sporadic_budget_TSR( 0, the_thread );        
   49476:	2f0a           	movel %a2,%sp@-                             
   49478:	42a7           	clrl %sp@-                                  
   4947a:	4eb9 0004 9224 	jsr 49224 <_POSIX_Threads_Sporadic_budget_TSR>
          break;                                                      
   49480:	4fef 000c      	lea %sp@(12),%sp                            
      }                                                               
                                                                      
      _Thread_Enable_dispatch();                                      
   49484:	4eb9 0004 c1a2 	jsr 4c1a2 <_Thread_Enable_dispatch>         
   4948a:	60aa           	bras 49436 <pthread_setschedparam+0xc2>     
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
                                                                      
      if ( api->schedpolicy == SCHED_SPORADIC )                       
        (void) _Watchdog_Remove( &api->Sporadic_timer );              
   4948c:	486b 00a8      	pea %a3@(168)                               
   49490:	4eb9 0004 d350 	jsr 4d350 <_Watchdog_Remove>                
   49496:	588f           	addql #4,%sp                                
                                                                      
      api->schedpolicy = policy;                                      
      api->schedparam  = *param;                                      
   49498:	41eb 0088      	lea %a3@(136),%a0                           
   4949c:	2242           	moveal %d2,%a1                              
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
                                                                      
      if ( api->schedpolicy == SCHED_SPORADIC )                       
        (void) _Watchdog_Remove( &api->Sporadic_timer );              
                                                                      
      api->schedpolicy = policy;                                      
   4949e:	2744 0084      	movel %d4,%a3@(132)                         
      api->schedparam  = *param;                                      
   494a2:	20d9           	movel %a1@+,%a0@+                           
   494a4:	20d9           	movel %a1@+,%a0@+                           
   494a6:	20d9           	movel %a1@+,%a0@+                           
   494a8:	20d9           	movel %a1@+,%a0@+                           
   494aa:	20d9           	movel %a1@+,%a0@+                           
   494ac:	20d9           	movel %a1@+,%a0@+                           
   494ae:	2091           	movel %a1@,%a0@                             
      the_thread->budget_algorithm = budget_algorithm;                
   494b0:	256e fffc 007a 	movel %fp@(-4),%a2@(122)                    
      the_thread->budget_callout   = budget_callout;                  
   494b6:	256e fff8 007e 	movel %fp@(-8),%a2@(126)                    
                                                                      
      switch ( api->schedpolicy ) {                                   
   494bc:	4a84           	tstl %d4                                    
   494be:	6c00 ff3e      	bgew 493fe <pthread_setschedparam+0x8a>     
   494c2:	6000 ff6c      	braw 49430 <pthread_setschedparam+0xbc>     <== NOT EXECUTED
	...                                                                  
                                                                      

0004d6d8 <pthread_sigmask>: int pthread_sigmask( int how, const sigset_t *set, sigset_t *oset ) {
   4d6d8:	4e56 0000      	linkw %fp,#0                                
   4d6dc:	202e 0008      	movel %fp@(8),%d0                           
   4d6e0:	2f0a           	movel %a2,%sp@-                             
   4d6e2:	226e 000c      	moveal %fp@(12),%a1                         
   4d6e6:	246e 0010      	moveal %fp@(16),%a2                         
  POSIX_API_Control  *api;                                            
                                                                      
  if ( !set && !oset )                                                
   4d6ea:	4a89           	tstl %a1                                    
   4d6ec:	6700 0084      	beqw 4d772 <pthread_sigmask+0x9a>           
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  api = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];        
   4d6f0:	2079 0006 3102 	moveal 63102 <_Per_CPU_Information+0xc>,%a0 
   4d6f6:	2068 0102      	moveal %a0@(258),%a0                        
                                                                      
  if ( oset )                                                         
   4d6fa:	4a8a           	tstl %a2                                    
   4d6fc:	6708           	beqs 4d706 <pthread_sigmask+0x2e>           
    *oset = api->signals_blocked;                                     
   4d6fe:	24a8 00d0      	movel %a0@(208),%a2@                        
                                                                      
  if ( !set )                                                         
   4d702:	4a89           	tstl %a1                                    
   4d704:	673a           	beqs 4d740 <pthread_sigmask+0x68>           <== NEVER TAKEN
    return 0;                                                         
                                                                      
  switch ( how ) {                                                    
   4d706:	7201           	moveq #1,%d1                                
   4d708:	b280           	cmpl %d0,%d1                                
   4d70a:	675e           	beqs 4d76a <pthread_sigmask+0x92>           
   4d70c:	123c 0002      	moveb #2,%d1                                
   4d710:	b280           	cmpl %d0,%d1                                
   4d712:	6736           	beqs 4d74a <pthread_sigmask+0x72>           
   4d714:	4a80           	tstl %d0                                    
   4d716:	663c           	bnes 4d754 <pthread_sigmask+0x7c>           
      break;                                                          
    case SIG_UNBLOCK:                                                 
      api->signals_blocked &= ~*set;                                  
      break;                                                          
    case SIG_SETMASK:                                                 
      api->signals_blocked = *set;                                    
   4d718:	2151 00d0      	movel %a1@,%a0@(208)                        
  /* XXX are there critical section problems here? */                 
                                                                      
  /* XXX evaluate the new set */                                      
                                                                      
  if ( ~api->signals_blocked &                                        
       (api->signals_pending | _POSIX_signals_Pending) ) {            
   4d71c:	2039 0006 3328 	movel 63328 <_POSIX_signals_Pending>,%d0    
                                                                      
  /* XXX are there critical section problems here? */                 
                                                                      
  /* XXX evaluate the new set */                                      
                                                                      
  if ( ~api->signals_blocked &                                        
   4d722:	2228 00d0      	movel %a0@(208),%d1                         
   4d726:	4681           	notl %d1                                    
       (api->signals_pending | _POSIX_signals_Pending) ) {            
   4d728:	80a8 00d4      	orl %a0@(212),%d0                           
                                                                      
  /* XXX are there critical section problems here? */                 
                                                                      
  /* XXX evaluate the new set */                                      
                                                                      
  if ( ~api->signals_blocked &                                        
   4d72c:	c081           	andl %d1,%d0                                
   4d72e:	6710           	beqs 4d740 <pthread_sigmask+0x68>           
       (api->signals_pending | _POSIX_signals_Pending) ) {            
    _Thread_Dispatch();                                               
   4d730:	4eb9 0004 9d78 	jsr 49d78 <_Thread_Dispatch>                
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
   4d736:	246e fffc      	moveal %fp@(-4),%a2                         
  if ( ~api->signals_blocked &                                        
       (api->signals_pending | _POSIX_signals_Pending) ) {            
    _Thread_Dispatch();                                               
  }                                                                   
                                                                      
  return 0;                                                           
   4d73a:	4280           	clrl %d0                                    
}                                                                     
   4d73c:	4e5e           	unlk %fp                                    
   4d73e:	4e75           	rts                                         
   4d740:	246e fffc      	moveal %fp@(-4),%a2                         
  if ( ~api->signals_blocked &                                        
       (api->signals_pending | _POSIX_signals_Pending) ) {            
    _Thread_Dispatch();                                               
  }                                                                   
                                                                      
  return 0;                                                           
   4d744:	4280           	clrl %d0                                    
}                                                                     
   4d746:	4e5e           	unlk %fp                                    
   4d748:	4e75           	rts                                         
  switch ( how ) {                                                    
    case SIG_BLOCK:                                                   
      api->signals_blocked |= *set;                                   
      break;                                                          
    case SIG_UNBLOCK:                                                 
      api->signals_blocked &= ~*set;                                  
   4d74a:	2011           	movel %a1@,%d0                              
   4d74c:	4680           	notl %d0                                    
   4d74e:	c1a8 00d0      	andl %d0,%a0@(208)                          
      break;                                                          
   4d752:	60c8           	bras 4d71c <pthread_sigmask+0x44>           
    case SIG_SETMASK:                                                 
      api->signals_blocked = *set;                                    
      break;                                                          
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
   4d754:	4eb9 0004 fe3c 	jsr 4fe3c <__errno>                         
       (api->signals_pending | _POSIX_signals_Pending) ) {            
    _Thread_Dispatch();                                               
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
   4d75a:	246e fffc      	moveal %fp@(-4),%a2                         
      break;                                                          
    case SIG_SETMASK:                                                 
      api->signals_blocked = *set;                                    
      break;                                                          
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
   4d75e:	2040           	moveal %d0,%a0                              
   4d760:	7216           	moveq #22,%d1                               
   4d762:	70ff           	moveq #-1,%d0                               
       (api->signals_pending | _POSIX_signals_Pending) ) {            
    _Thread_Dispatch();                                               
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
   4d764:	4e5e           	unlk %fp                                    
      break;                                                          
    case SIG_SETMASK:                                                 
      api->signals_blocked = *set;                                    
      break;                                                          
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
   4d766:	2081           	movel %d1,%a0@                              
       (api->signals_pending | _POSIX_signals_Pending) ) {            
    _Thread_Dispatch();                                               
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
   4d768:	4e75           	rts                                         
  if ( !set )                                                         
    return 0;                                                         
                                                                      
  switch ( how ) {                                                    
    case SIG_BLOCK:                                                   
      api->signals_blocked |= *set;                                   
   4d76a:	2011           	movel %a1@,%d0                              
   4d76c:	81a8 00d0      	orl %d0,%a0@(208)                           
      break;                                                          
   4d770:	60aa           	bras 4d71c <pthread_sigmask+0x44>           
  sigset_t         *oset                                              
)                                                                     
{                                                                     
  POSIX_API_Control  *api;                                            
                                                                      
  if ( !set && !oset )                                                
   4d772:	4a8a           	tstl %a2                                    
   4d774:	67de           	beqs 4d754 <pthread_sigmask+0x7c>           
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  api = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];        
   4d776:	2079 0006 3102 	moveal 63102 <_Per_CPU_Information+0xc>,%a0 
   4d77c:	2068 0102      	moveal %a0@(258),%a0                        
                                                                      
  if ( oset )                                                         
    *oset = api->signals_blocked;                                     
   4d780:	24a8 00d0      	movel %a0@(208),%a2@                        
                                                                      
  if ( !set )                                                         
   4d784:	4a89           	tstl %a1                                    
   4d786:	6600 ff7e      	bnew 4d706 <pthread_sigmask+0x2e>           
   4d78a:	60b4           	bras 4d740 <pthread_sigmask+0x68>           
                                                                      

00046e98 <pthread_testcancel>: * * 18.2.2 Setting Cancelability State, P1003.1c/Draft 10, p. 183 */ void pthread_testcancel( void ) {
   46e98:	4e56 0000      	linkw %fp,#0                                
   *  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() )                                        
   46e9c:	4ab9 0006 22d8 	tstl 622d8 <_Per_CPU_Information+0x8>       
   46ea2:	663c           	bnes 46ee0 <pthread_testcancel+0x48>        <== NEVER TAKEN
    return;                                                           
                                                                      
  thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
   46ea4:	2079 0006 22dc 	moveal 622dc <_Per_CPU_Information+0xc>,%a0 
   46eaa:	2039 0006 1e72 	movel 61e72 <_Thread_Dispatch_disable_level>,%d0
   46eb0:	5280           	addql #1,%d0                                
   46eb2:	2068 0102      	moveal %a0@(258),%a0                        
   46eb6:	23c0 0006 1e72 	movel %d0,61e72 <_Thread_Dispatch_disable_level>
                                                                      
  _Thread_Disable_dispatch();                                         
    if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
   46ebc:	4aa8 00d8      	tstl %a0@(216)                              
   46ec0:	6622           	bnes 46ee4 <pthread_testcancel+0x4c>        <== NEVER TAKEN
   46ec2:	4aa8 00e0      	tstl %a0@(224)                              
   46ec6:	671c           	beqs 46ee4 <pthread_testcancel+0x4c>        
         thread_support->cancelation_requested )                      
      cancel = true;                                                  
  _Thread_Enable_dispatch();                                          
   46ec8:	4eb9 0004 9af2 	jsr 49af2 <_Thread_Enable_dispatch>         
                                                                      
  if ( cancel )                                                       
    _POSIX_Thread_Exit( _Thread_Executing, PTHREAD_CANCELED );        
   46ece:	4878 ffff      	pea ffffffff <LESS>                         
   46ed2:	2f39 0006 22dc 	movel 622dc <_Per_CPU_Information+0xc>,%sp@-
   46ed8:	4eb9 0004 d004 	jsr 4d004 <_POSIX_Thread_Exit>              
   46ede:	508f           	addql #8,%sp                                <== NOT EXECUTED
}                                                                     
   46ee0:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   46ee2:	4e75           	rts                                         <== NOT EXECUTED
   46ee4:	4e5e           	unlk %fp                                    
                                                                      
  _Thread_Disable_dispatch();                                         
    if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
         thread_support->cancelation_requested )                      
      cancel = true;                                                  
  _Thread_Enable_dispatch();                                          
   46ee6:	4ef9 0004 9af2 	jmp 49af2 <_Thread_Enable_dispatch>         
                                                                      

000440a4 <putk>: * putk * * Kernel putk (e.g. puts) function requiring minimal infrastrure. */ void putk(const char *s) {
   440a4:	4e56 0000      	linkw %fp,#0                                
   440a8:	2f0a           	movel %a2,%sp@-                             
   440aa:	246e 0008      	moveal %fp@(8),%a2                          
  const char *p;                                                      
                                                                      
  for (p=s ; *p ; p++ )                                               
   440ae:	1012           	moveb %a2@,%d0                              
   440b0:	6714           	beqs 440c6 <putk+0x22>                      
/*                                                                    
 * putk                                                               
 *                                                                    
 * Kernel putk (e.g. puts) function requiring minimal infrastrure.    
 */                                                                   
void putk(const char *s)                                              
   440b2:	528a           	addql #1,%a2                                
{                                                                     
  const char *p;                                                      
                                                                      
  for (p=s ; *p ; p++ )                                               
    BSP_output_char(*p);                                              
   440b4:	49c0           	extbl %d0                                   
   440b6:	2079 0005 f6b4 	moveal 5f6b4 <BSP_output_char>,%a0          
   440bc:	2f00           	movel %d0,%sp@-                             
   440be:	4e90           	jsr %a0@                                    
 */                                                                   
void putk(const char *s)                                              
{                                                                     
  const char *p;                                                      
                                                                      
  for (p=s ; *p ; p++ )                                               
   440c0:	588f           	addql #4,%sp                                
   440c2:	101a           	moveb %a2@+,%d0                             
   440c4:	66ee           	bnes 440b4 <putk+0x10>                      
    BSP_output_char(*p);                                              
  BSP_output_char('\n');                                              
   440c6:	700a           	moveq #10,%d0                               
}                                                                     
   440c8:	246e fffc      	moveal %fp@(-4),%a2                         
{                                                                     
  const char *p;                                                      
                                                                      
  for (p=s ; *p ; p++ )                                               
    BSP_output_char(*p);                                              
  BSP_output_char('\n');                                              
   440cc:	2d40 0008      	movel %d0,%fp@(8)                           
}                                                                     
   440d0:	4e5e           	unlk %fp                                    
{                                                                     
  const char *p;                                                      
                                                                      
  for (p=s ; *p ; p++ )                                               
    BSP_output_char(*p);                                              
  BSP_output_char('\n');                                              
   440d2:	2279 0005 f6b4 	moveal 5f6b4 <BSP_output_char>,%a1          
   440d8:	4ed1           	jmp %a1@                                    
	...                                                                  
                                                                      

0005cae4 <read>: ssize_t read( int fd, void *buffer, size_t count ) {
   5cae4:	4e56 fff4      	linkw %fp,#-12                              
   5cae8:	202e 0008      	movel %fp@(8),%d0                           
   5caec:	222e 000c      	movel %fp@(12),%d1                          
   5caf0:	206e 0010      	moveal %fp@(16),%a0                         
   5caf4:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
   5caf8:	b0b9 0005 f294 	cmpl 5f294 <rtems_libio_number_iops>,%d0    
   5cafe:	646a           	bccs 5cb6a <read+0x86>                      <== NEVER TAKEN
  iop = rtems_libio_iop( fd );                                        
   5cb00:	2400           	movel %d0,%d2                               
   5cb02:	ed88           	lsll #6,%d0                                 
   5cb04:	e78a           	lsll #3,%d2                                 
   5cb06:	2479 0006 0b14 	moveal 60b14 <rtems_libio_iops>,%a2         
   5cb0c:	9082           	subl %d2,%d0                                
   5cb0e:	d5c0           	addal %d0,%a2                               
  rtems_libio_check_is_open( iop );                                   
   5cb10:	202a 0014      	movel %a2@(20),%d0                          
   5cb14:	0800 0008      	btst #8,%d0                                 
   5cb18:	6750           	beqs 5cb6a <read+0x86>                      
  rtems_libio_check_buffer( buffer );                                 
   5cb1a:	4a81           	tstl %d1                                    
   5cb1c:	6764           	beqs 5cb82 <read+0x9e>                      <== NEVER TAKEN
  rtems_libio_check_count( count );                                   
   5cb1e:	4a88           	tstl %a0                                    
   5cb20:	673c           	beqs 5cb5e <read+0x7a>                      
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
   5cb22:	0800 0001      	btst #1,%d0                                 
   5cb26:	675a           	beqs 5cb82 <read+0x9e>                      
                                                                      
  /*                                                                  
   *  Now process the read().                                         
   */                                                                 
  rc = (*iop->pathinfo.handlers->read_h)( iop, buffer, count );       
   5cb28:	226a 0020      	moveal %a2@(32),%a1                         
   5cb2c:	2f08           	movel %a0,%sp@-                             
   5cb2e:	2f01           	movel %d1,%sp@-                             
   5cb30:	2f0a           	movel %a2,%sp@-                             
   5cb32:	2069 0008      	moveal %a1@(8),%a0                          
   5cb36:	4e90           	jsr %a0@                                    
                                                                      
  if ( rc > 0 )                                                       
   5cb38:	4fef 000c      	lea %sp@(12),%sp                            
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
                                                                      
  /*                                                                  
   *  Now process the read().                                         
   */                                                                 
  rc = (*iop->pathinfo.handlers->read_h)( iop, buffer, count );       
   5cb3c:	2200           	movel %d0,%d1                               
                                                                      
  if ( rc > 0 )                                                       
   5cb3e:	6f14           	bles 5cb54 <read+0x70>                      
    iop->offset += rc;                                                
   5cb40:	2401           	movel %d1,%d2                               
   5cb42:	5bc1           	smi %d1                                     
   5cb44:	49c1           	extbl %d1                                   
   5cb46:	d5aa 0010      	addl %d2,%a2@(16)                           
   5cb4a:	262a 000c      	movel %a2@(12),%d3                          
   5cb4e:	d781           	addxl %d1,%d3                               
   5cb50:	2543 000c      	movel %d3,%a2@(12)                          
                                                                      
  return rc;                                                          
}                                                                     
   5cb54:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
   5cb5a:	4e5e           	unlk %fp                                    
   5cb5c:	4e75           	rts                                         
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
  rtems_libio_check_buffer( buffer );                                 
  rtems_libio_check_count( count );                                   
   5cb5e:	4280           	clrl %d0                                    
                                                                      
  if ( rc > 0 )                                                       
    iop->offset += rc;                                                
                                                                      
  return rc;                                                          
}                                                                     
   5cb60:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
   5cb66:	4e5e           	unlk %fp                                    
   5cb68:	4e75           	rts                                         
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
   5cb6a:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         
   5cb70:	7409           	moveq #9,%d2                                
   5cb72:	2040           	moveal %d0,%a0                              
   5cb74:	70ff           	moveq #-1,%d0                               
   5cb76:	2082           	movel %d2,%a0@                              
                                                                      
  if ( rc > 0 )                                                       
    iop->offset += rc;                                                
                                                                      
  return rc;                                                          
}                                                                     
   5cb78:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
   5cb7e:	4e5e           	unlk %fp                                    
   5cb80:	4e75           	rts                                         
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
  rtems_libio_check_buffer( buffer );                                 
  rtems_libio_check_count( count );                                   
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
   5cb82:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         
   5cb88:	7216           	moveq #22,%d1                               
   5cb8a:	2040           	moveal %d0,%a0                              
   5cb8c:	70ff           	moveq #-1,%d0                               
                                                                      
  if ( rc > 0 )                                                       
    iop->offset += rc;                                                
                                                                      
  return rc;                                                          
}                                                                     
   5cb8e:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
  rtems_libio_check_buffer( buffer );                                 
  rtems_libio_check_count( count );                                   
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
   5cb94:	2081           	movel %d1,%a0@                              
                                                                      
  if ( rc > 0 )                                                       
    iop->offset += rc;                                                
                                                                      
  return rc;                                                          
}                                                                     
   5cb96:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000468a4 <readlink>: ssize_t readlink( const char *pathname, char *buf, size_t bufsize ) {
   468a4:	4e56 ffe0      	linkw %fp,#-32                              
   468a8:	48d7 001c      	moveml %d2-%d4,%sp@                         
   468ac:	242e 0008      	movel %fp@(8),%d2                           
   468b0:	282e 000c      	movel %fp@(12),%d4                          
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if (!buf)                                                           
   468b4:	6774           	beqs 4692a <readlink+0x86>                  
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  result = rtems_filesystem_evaluate_path( pathname, strlen( pathname ),
   468b6:	2f02           	movel %d2,%sp@-                             
   468b8:	260e           	movel %fp,%d3                               
   468ba:	0683 ffff ffec 	addil #-20,%d3                              
   468c0:	4eb9 0005 3ab0 	jsr 53ab0 <strlen>                          
   468c6:	4297           	clrl %sp@                                   
   468c8:	2f03           	movel %d3,%sp@-                             
   468ca:	42a7           	clrl %sp@-                                  
   468cc:	2f00           	movel %d0,%sp@-                             
   468ce:	2f02           	movel %d2,%sp@-                             
   468d0:	4eb9 0004 55fc 	jsr 455fc <rtems_filesystem_evaluate_path>  
                                           0, &loc, false );          
  if ( result != 0 )                                                  
   468d6:	4fef 0014      	lea %sp@(20),%sp                            
   468da:	4a80           	tstl %d0                                    
   468dc:	670c           	beqs 468ea <readlink+0x46>                  <== ALWAYS TAKEN
     return -1;                                                       
   468de:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
  result =  (*loc.ops->readlink_h)( &loc, buf, bufsize );             
                                                                      
  rtems_filesystem_freenode( &loc );                                  
                                                                      
  return result;                                                      
}                                                                     
   468e0:	4cee 001c ffe0 	moveml %fp@(-32),%d2-%d4                    <== NOT EXECUTED
   468e6:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   468e8:	4e75           	rts                                         <== NOT EXECUTED
  result = rtems_filesystem_evaluate_path( pathname, strlen( pathname ),
                                           0, &loc, false );          
  if ( result != 0 )                                                  
     return -1;                                                       
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_SYM_LINK ){
   468ea:	206e fff8      	moveal %fp@(-8),%a0                         
   468ee:	2f03           	movel %d3,%sp@-                             
   468f0:	2068 0010      	moveal %a0@(16),%a0                         
   468f4:	4e90           	jsr %a0@                                    
   468f6:	588f           	addql #4,%sp                                
   468f8:	7204           	moveq #4,%d1                                
   468fa:	b280           	cmpl %d0,%d1                                
   468fc:	6644           	bnes 46942 <readlink+0x9e>                  
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  result =  (*loc.ops->readlink_h)( &loc, buf, bufsize );             
   468fe:	2f2e 0010      	movel %fp@(16),%sp@-                        
   46902:	206e fff8      	moveal %fp@(-8),%a0                         
   46906:	2f04           	movel %d4,%sp@-                             
   46908:	2f03           	movel %d3,%sp@-                             
   4690a:	2068 003c      	moveal %a0@(60),%a0                         
   4690e:	4e90           	jsr %a0@                                    
   46910:	2400           	movel %d0,%d2                               
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   46912:	2f03           	movel %d3,%sp@-                             
   46914:	4eb9 0004 56e0 	jsr 456e0 <rtems_filesystem_freenode>       
                                                                      
  return result;                                                      
   4691a:	4fef 0010      	lea %sp@(16),%sp                            
   4691e:	2002           	movel %d2,%d0                               
}                                                                     
   46920:	4cee 001c ffe0 	moveml %fp@(-32),%d2-%d4                    
   46926:	4e5e           	unlk %fp                                    
   46928:	4e75           	rts                                         
{                                                                     
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if (!buf)                                                           
    rtems_set_errno_and_return_minus_one( EFAULT );                   
   4692a:	4eb9 0005 1fdc 	jsr 51fdc <__errno>                         
   46930:	740e           	moveq #14,%d2                               
   46932:	2040           	moveal %d0,%a0                              
   46934:	70ff           	moveq #-1,%d0                               
   46936:	2082           	movel %d2,%a0@                              
  result =  (*loc.ops->readlink_h)( &loc, buf, bufsize );             
                                                                      
  rtems_filesystem_freenode( &loc );                                  
                                                                      
  return result;                                                      
}                                                                     
   46938:	4cee 001c ffe0 	moveml %fp@(-32),%d2-%d4                    
   4693e:	4e5e           	unlk %fp                                    
   46940:	4e75           	rts                                         
                                           0, &loc, false );          
  if ( result != 0 )                                                  
     return -1;                                                       
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_SYM_LINK ){
    rtems_filesystem_freenode( &loc );                                
   46942:	2f03           	movel %d3,%sp@-                             
   46944:	4eb9 0004 56e0 	jsr 456e0 <rtems_filesystem_freenode>       
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   4694a:	4eb9 0005 1fdc 	jsr 51fdc <__errno>                         
   46950:	588f           	addql #4,%sp                                
   46952:	7216           	moveq #22,%d1                               
   46954:	2040           	moveal %d0,%a0                              
   46956:	70ff           	moveq #-1,%d0                               
  result =  (*loc.ops->readlink_h)( &loc, buf, bufsize );             
                                                                      
  rtems_filesystem_freenode( &loc );                                  
                                                                      
  return result;                                                      
}                                                                     
   46958:	4cee 001c ffe0 	moveml %fp@(-32),%d2-%d4                    
  if ( result != 0 )                                                  
     return -1;                                                       
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_SYM_LINK ){
    rtems_filesystem_freenode( &loc );                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   4695e:	2081           	movel %d1,%a0@                              
  result =  (*loc.ops->readlink_h)( &loc, buf, bufsize );             
                                                                      
  rtems_filesystem_freenode( &loc );                                  
                                                                      
  return result;                                                      
}                                                                     
   46960:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00045150 <readv>: ssize_t readv( int fd, const struct iovec *iov, int iovcnt ) {
   45150:	4e56 ffe4      	linkw %fp,#-28                              
   45154:	202e 0008      	movel %fp@(8),%d0                           
   45158:	48d7 0c7c      	moveml %d2-%d6/%a2-%a3,%sp@                 
   4515c:	246e 000c      	moveal %fp@(12),%a2                         
   45160:	242e 0010      	movel %fp@(16),%d2                          
  int            v;                                                   
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
   45164:	b0b9 0006 0064 	cmpl 60064 <rtems_libio_number_iops>,%d0    
   4516a:	6400 00ec      	bccw 45258 <readv+0x108>                    
  iop = rtems_libio_iop( fd );                                        
   4516e:	2200           	movel %d0,%d1                               
   45170:	ed88           	lsll #6,%d0                                 
   45172:	e789           	lsll #3,%d1                                 
   45174:	2679 0006 18e4 	moveal 618e4 <rtems_libio_iops>,%a3         
   4517a:	9081           	subl %d1,%d0                                
   4517c:	d7c0           	addal %d0,%a3                               
  rtems_libio_check_is_open( iop );                                   
   4517e:	202b 0014      	movel %a3@(20),%d0                          
   45182:	0800 0008      	btst #8,%d0                                 
   45186:	6700 00d0      	beqw 45258 <readv+0x108>                    
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
   4518a:	0800 0001      	btst #1,%d0                                 
   4518e:	6700 0092      	beqw 45222 <readv+0xd2>                     
                                                                      
  /*                                                                  
   *  Argument validation on IO vector                                
   */                                                                 
  if ( !iov )                                                         
   45192:	4a8a           	tstl %a2                                    
   45194:	6700 008c      	beqw 45222 <readv+0xd2>                     
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
   45198:	4a82           	tstl %d2                                    
   4519a:	6f00 0086      	blew 45222 <readv+0xd2>                     
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
   4519e:	0c82 0000 0400 	cmpil #1024,%d2                             
   451a4:	6e7c           	bgts 45222 <readv+0xd2>                     <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   451a6:	204a           	moveal %a2,%a0                              
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
   451a8:	4281           	clrl %d1                                    
   451aa:	4280           	clrl %d0                                    
   451ac:	7801           	moveq #1,%d4                                
                                                                      
    /*                                                                
     *  iov[v].iov_len cannot be less than 0 because size_t is unsigned.
     *  So we only check for zero.                                    
     */                                                               
    if ( iov[v].iov_base == 0 )                                       
   451ae:	4a90           	tstl %a0@                                   
   451b0:	6770           	beqs 45222 <readv+0xd2>                     <== NEVER TAKEN
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
   451b2:	2628 0004      	movel %a0@(4),%d3                           
   451b6:	2240           	moveal %d0,%a1                              
   451b8:	d3c3           	addal %d3,%a1                               
   *  are obvious errors in the iovec.  So this extra loop ensures    
   *  that we do not do anything if there is an argument error.       
   */                                                                 
                                                                      
  all_zeros = true;                                                   
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
   451ba:	5281           	addql #1,%d1                                
   451bc:	5088           	addql #8,%a0                                
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old )                                                
   451be:	b3c0           	cmpal %d0,%a1                               
   451c0:	6d60           	blts 45222 <readv+0xd2>                     <== NEVER TAKEN
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
      all_zeros = false;                                              
   451c2:	4a83           	tstl %d3                                    
   451c4:	57c3           	seq %d3                                     
    if ( iov[v].iov_base == 0 )                                       
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
   451c6:	2009           	movel %a1,%d0                               
    if ( total < old )                                                
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
      all_zeros = false;                                              
   451c8:	c883           	andl %d3,%d4                                
   *  are obvious errors in the iovec.  So this extra loop ensures    
   *  that we do not do anything if there is an argument error.       
   */                                                                 
                                                                      
  all_zeros = true;                                                   
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
   451ca:	b282           	cmpl %d2,%d1                                
   451cc:	6de0           	blts 451ae <readv+0x5e>                     
  /*                                                                  
   *  A readv with all zeros logically has no effect.  Even though    
   *  OpenGroup didn't address this case as they did with writev(),   
   *  we will handle it the same way for symmetry.                    
   */                                                                 
  if ( all_zeros == true ) {                                          
   451ce:	4a04           	tstb %d4                                    
   451d0:	666a           	bnes 4523c <readv+0xec>                     <== NEVER TAKEN
#include <sys/uio.h>                                                  
                                                                      
#include <rtems/libio_.h>                                             
#include <rtems/seterr.h>                                             
                                                                      
ssize_t readv(                                                        
   451d2:	588a           	addql #4,%a2                                
   451d4:	4283           	clrl %d3                                    
   451d6:	4284           	clrl %d4                                    
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
    bytes = (*iop->pathinfo.handlers->read_h)(                        
   451d8:	206b 0020      	moveal %a3@(32),%a0                         
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
   451dc:	5283           	addql #1,%d3                                
    bytes = (*iop->pathinfo.handlers->read_h)(                        
   451de:	2f12           	movel %a2@,%sp@-                            
   451e0:	2f2a fffc      	movel %a2@(-4),%sp@-                        
   451e4:	2f0b           	movel %a3,%sp@-                             
   451e6:	2068 0008      	moveal %a0@(8),%a0                          
   451ea:	4e90           	jsr %a0@                                    
      iop,                                                            
      iov[v].iov_base,                                                
      iov[v].iov_len                                                  
    );                                                                
                                                                      
    if ( bytes < 0 )                                                  
   451ec:	4fef 000c      	lea %sp@(12),%sp                            
   451f0:	4a80           	tstl %d0                                    
   451f2:	6d56           	blts 4524a <readv+0xfa>                     <== NEVER TAKEN
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
   451f4:	6716           	beqs 4520c <readv+0xbc>                     <== NEVER TAKEN
      iop->offset += bytes;                                           
      total       += bytes;                                           
   451f6:	d880           	addl %d0,%d4                                
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
      iop->offset += bytes;                                           
   451f8:	2c00           	movel %d0,%d6                               
   451fa:	5bc5           	smi %d5                                     
   451fc:	49c5           	extbl %d5                                   
   451fe:	ddab 0010      	addl %d6,%a3@(16)                           
   45202:	222b 000c      	movel %a3@(12),%d1                          
   45206:	d385           	addxl %d5,%d1                               
   45208:	2741 000c      	movel %d1,%a3@(12)                          
      total       += bytes;                                           
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
   4520c:	b092           	cmpl %a2@,%d0                               
   4520e:	6606           	bnes 45216 <readv+0xc6>                     <== NEVER TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
   45210:	508a           	addql #8,%a2                                
   45212:	b682           	cmpl %d2,%d3                                
   45214:	6dc2           	blts 451d8 <readv+0x88>                     <== NEVER TAKEN
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
   45216:	2004           	movel %d4,%d0                               
   45218:	4cee 0c7c ffe4 	moveml %fp@(-28),%d2-%d6/%a2-%a3            
   4521e:	4e5e           	unlk %fp                                    
   45220:	4e75           	rts                                         
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old )                                                
      rtems_set_errno_and_return_minus_one( EINVAL );                 
   45222:	4eb9 0004 fc5c 	jsr 4fc5c <__errno>                         
   45228:	78ff           	moveq #-1,%d4                               
   4522a:	2040           	moveal %d0,%a0                              
   4522c:	7016           	moveq #22,%d0                               
   4522e:	2080           	movel %d0,%a0@                              
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
   45230:	2004           	movel %d4,%d0                               
   45232:	4cee 0c7c ffe4 	moveml %fp@(-28),%d2-%d6/%a2-%a3            
   45238:	4e5e           	unlk %fp                                    
   4523a:	4e75           	rts                                         
   *  A readv with all zeros logically has no effect.  Even though    
   *  OpenGroup didn't address this case as they did with writev(),   
   *  we will handle it the same way for symmetry.                    
   */                                                                 
  if ( all_zeros == true ) {                                          
    return 0;                                                         
   4523c:	4284           	clrl %d4                                    
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
   4523e:	2004           	movel %d4,%d0                               
   45240:	4cee 0c7c ffe4 	moveml %fp@(-28),%d2-%d6/%a2-%a3            
   45246:	4e5e           	unlk %fp                                    
   45248:	4e75           	rts                                         
      iov[v].iov_base,                                                
      iov[v].iov_len                                                  
    );                                                                
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
   4524a:	78ff           	moveq #-1,%d4                               <== NOT EXECUTED
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
   4524c:	2004           	movel %d4,%d0                               <== NOT EXECUTED
   4524e:	4cee 0c7c ffe4 	moveml %fp@(-28),%d2-%d6/%a2-%a3            <== NOT EXECUTED
   45254:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   45256:	4e75           	rts                                         <== NOT EXECUTED
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
   45258:	4eb9 0004 fc5c 	jsr 4fc5c <__errno>                         
   4525e:	78ff           	moveq #-1,%d4                               
   45260:	7209           	moveq #9,%d1                                
   45262:	2040           	moveal %d0,%a0                              
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
   45264:	2004           	movel %d4,%d0                               
   45266:	4cee 0c7c ffe4 	moveml %fp@(-28),%d2-%d6/%a2-%a3            
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
   4526c:	2081           	movel %d1,%a0@                              
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
   4526e:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0005cc1c <realloc>: /* * Do not attempt to allocate memory if in a critical section or ISR. */ if (_System_state_Is_up(_System_state_Get())) {
   5cc1c:	7003           	moveq #3,%d0                                
                                                                      
void *realloc(                                                        
  void *ptr,                                                          
  size_t size                                                         
)                                                                     
{                                                                     
   5cc1e:	4e56 fff0      	linkw %fp,#-16                              
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
                                                                      
  MSBUMP(realloc_calls, 1);                                           
   5cc22:	52b9 0006 0b3c 	addql #1,60b3c <rtems_malloc_statistics+0x10>
                                                                      
void *realloc(                                                        
  void *ptr,                                                          
  size_t size                                                         
)                                                                     
{                                                                     
   5cc28:	48d7 001c      	moveml %d2-%d4,%sp@                         
   5cc2c:	242e 0008      	movel %fp@(8),%d2                           
   5cc30:	262e 000c      	movel %fp@(12),%d3                          
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
   5cc34:	b0b9 0006 0db4 	cmpl 60db4 <_System_state_Current>,%d0      
   5cc3a:	677a           	beqs 5ccb6 <realloc+0x9a>                   <== ALWAYS TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   * Continue with realloc().                                         
   */                                                                 
  if ( !ptr )                                                         
   5cc3c:	4a82           	tstl %d2                                    
   5cc3e:	6700 00de      	beqw 5cd1e <realloc+0x102>                  
    return malloc( size );                                            
                                                                      
  if ( !size ) {                                                      
   5cc42:	4a83           	tstl %d3                                    
   5cc44:	673e           	beqs 5cc84 <realloc+0x68>                   <== NEVER TAKEN
    free( ptr );                                                      
    return (void *) 0;                                                
  }                                                                   
                                                                      
  if ( !_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, ptr, &old_size) ) {
   5cc46:	486e fffc      	pea %fp@(-4)                                
   5cc4a:	2f02           	movel %d2,%sp@-                             
   5cc4c:	2f39 0005 f2d0 	movel 5f2d0 <RTEMS_Malloc_Heap>,%sp@-       
   5cc52:	4eb9 0005 d2cc 	jsr 5d2cc <_Protected_heap_Get_block_size>  
   5cc58:	4fef 000c      	lea %sp@(12),%sp                            
   5cc5c:	4a00           	tstb %d0                                    
   5cc5e:	673c           	beqs 5cc9c <realloc+0x80>                   
  }                                                                   
                                                                      
  /*                                                                  
   *  Now resize it.                                                  
   */                                                                 
  if ( _Protected_heap_Resize_block( RTEMS_Malloc_Heap, ptr, size ) ) {
   5cc60:	2f03           	movel %d3,%sp@-                             
   5cc62:	2f02           	movel %d2,%sp@-                             
   5cc64:	2f39 0005 f2d0 	movel 5f2d0 <RTEMS_Malloc_Heap>,%sp@-       
   5cc6a:	4eb9 0005 d308 	jsr 5d308 <_Protected_heap_Resize_block>    
   5cc70:	4fef 000c      	lea %sp@(12),%sp                            
   5cc74:	4a00           	tstb %d0                                    
   5cc76:	6754           	beqs 5cccc <realloc+0xb0>                   
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
  free( ptr );                                                        
                                                                      
  return new_area;                                                    
                                                                      
}                                                                     
   5cc78:	2002           	movel %d2,%d0                               
   5cc7a:	4cee 001c fff0 	moveml %fp@(-16),%d2-%d4                    
   5cc80:	4e5e           	unlk %fp                                    
   5cc82:	4e75           	rts                                         
   */                                                                 
  if ( !ptr )                                                         
    return malloc( size );                                            
                                                                      
  if ( !size ) {                                                      
    free( ptr );                                                      
   5cc84:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
    return (void *) 0;                                                
   5cc86:	4282           	clrl %d2                                    <== NOT EXECUTED
   */                                                                 
  if ( !ptr )                                                         
    return malloc( size );                                            
                                                                      
  if ( !size ) {                                                      
    free( ptr );                                                      
   5cc88:	4eb9 0004 2fe4 	jsr 42fe4 <free>                            <== NOT EXECUTED
    return (void *) 0;                                                
   5cc8e:	588f           	addql #4,%sp                                <== NOT EXECUTED
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
  free( ptr );                                                        
                                                                      
  return new_area;                                                    
                                                                      
}                                                                     
   5cc90:	2002           	movel %d2,%d0                               <== NOT EXECUTED
   5cc92:	4cee 001c fff0 	moveml %fp@(-16),%d2-%d4                    <== NOT EXECUTED
   5cc98:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   5cc9a:	4e75           	rts                                         <== NOT EXECUTED
    free( ptr );                                                      
    return (void *) 0;                                                
  }                                                                   
                                                                      
  if ( !_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, ptr, &old_size) ) {
    errno = EINVAL;                                                   
   5cc9c:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         
    return (void *) 0;                                                
   5cca2:	4282           	clrl %d2                                    
    free( ptr );                                                      
    return (void *) 0;                                                
  }                                                                   
                                                                      
  if ( !_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, ptr, &old_size) ) {
    errno = EINVAL;                                                   
   5cca4:	2040           	moveal %d0,%a0                              
   5cca6:	7016           	moveq #22,%d0                               
   5cca8:	2080           	movel %d0,%a0@                              
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
  free( ptr );                                                        
                                                                      
  return new_area;                                                    
                                                                      
}                                                                     
   5ccaa:	2002           	movel %d2,%d0                               
   5ccac:	4cee 001c fff0 	moveml %fp@(-16),%d2-%d4                    
   5ccb2:	4e5e           	unlk %fp                                    
   5ccb4:	4e75           	rts                                         
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
    if (_Thread_Dispatch_disable_level > 0)                           
   5ccb6:	2039 0006 0c68 	movel 60c68 <_Thread_Dispatch_disable_level>,%d0
   5ccbc:	6752           	beqs 5cd10 <realloc+0xf4>                   <== ALWAYS TAKEN
  new_area = malloc( size );                                          
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
                                                                      
  if ( !new_area ) {                                                  
    return (void *) 0;                                                
   5ccbe:	4282           	clrl %d2                                    
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
  free( ptr );                                                        
                                                                      
  return new_area;                                                    
                                                                      
}                                                                     
   5ccc0:	2002           	movel %d2,%d0                               
   5ccc2:	4cee 001c fff0 	moveml %fp@(-16),%d2-%d4                    
   5ccc8:	4e5e           	unlk %fp                                    
   5ccca:	4e75           	rts                                         
   *  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 );                                          
   5cccc:	2f03           	movel %d3,%sp@-                             
   5ccce:	4eb9 0004 3314 	jsr 43314 <malloc>                          
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
                                                                      
  if ( !new_area ) {                                                  
   5ccd4:	588f           	addql #4,%sp                                
   *  and the C Standard.                                             
   */                                                                 
                                                                      
  new_area = malloc( size );                                          
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
   5ccd6:	53b9 0006 0b30 	subql #1,60b30 <rtems_malloc_statistics+0x4>
   *  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 );                                          
   5ccdc:	2800           	movel %d0,%d4                               
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
                                                                      
  if ( !new_area ) {                                                  
   5ccde:	67de           	beqs 5ccbe <realloc+0xa2>                   
    return (void *) 0;                                                
  }                                                                   
                                                                      
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
   5cce0:	202e fffc      	movel %fp@(-4),%d0                          
   5cce4:	b083           	cmpl %d3,%d0                                
   5cce6:	6402           	bccs 5ccea <realloc+0xce>                   <== NEVER TAKEN
   5cce8:	2600           	movel %d0,%d3                               
   5ccea:	2f03           	movel %d3,%sp@-                             
   5ccec:	2f02           	movel %d2,%sp@-                             
   5ccee:	2f04           	movel %d4,%sp@-                             
   5ccf0:	4eb9 0004 f47c 	jsr 4f47c <memcpy>                          
  free( ptr );                                                        
   5ccf6:	2f02           	movel %d2,%sp@-                             
                                                                      
  return new_area;                                                    
   5ccf8:	2404           	movel %d4,%d2                               
  if ( !new_area ) {                                                  
    return (void *) 0;                                                
  }                                                                   
                                                                      
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
  free( ptr );                                                        
   5ccfa:	4eb9 0004 2fe4 	jsr 42fe4 <free>                            
                                                                      
  return new_area;                                                    
   5cd00:	4fef 0010      	lea %sp@(16),%sp                            
                                                                      
}                                                                     
   5cd04:	2002           	movel %d2,%d0                               
   5cd06:	4cee 001c fff0 	moveml %fp@(-16),%d2-%d4                    
   5cd0c:	4e5e           	unlk %fp                                    
   5cd0e:	4e75           	rts                                         
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
    if (_Thread_Dispatch_disable_level > 0)                           
      return (void *) 0;                                              
                                                                      
    if (_ISR_Nest_level > 0)                                          
   5cd10:	4ab9 0006 10ce 	tstl 610ce <_Per_CPU_Information+0x8>       
   5cd16:	6700 ff24      	beqw 5cc3c <realloc+0x20>                   
  new_area = malloc( size );                                          
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
                                                                      
  if ( !new_area ) {                                                  
    return (void *) 0;                                                
   5cd1a:	4282           	clrl %d2                                    <== NOT EXECUTED
   5cd1c:	60a2           	bras 5ccc0 <realloc+0xa4>                   <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Continue with realloc().                                         
   */                                                                 
  if ( !ptr )                                                         
    return malloc( size );                                            
   5cd1e:	2f03           	movel %d3,%sp@-                             
   5cd20:	4eb9 0004 3314 	jsr 43314 <malloc>                          
   5cd26:	588f           	addql #4,%sp                                
   5cd28:	2400           	movel %d0,%d2                               
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
  free( ptr );                                                        
                                                                      
  return new_area;                                                    
                                                                      
}                                                                     
   5cd2a:	2002           	movel %d2,%d0                               
   5cd2c:	4cee 001c fff0 	moveml %fp@(-16),%d2-%d4                    
   5cd32:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000443fc <rmdir>: #include <rtems/seterr.h> int rmdir( const char *pathname ) {
   443fc:	4e56 ffc0      	linkw %fp,#-64                              
   44400:	48d7 0c1c      	moveml %d2-%d4/%a2-%a3,%sp@                 
   44404:	242e 0008      	movel %fp@(8),%d2                           
                                                                      
  /*                                                                  
   *  Get the parent node of the node we wish to remove. Find the parent path.
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( pathname );              
   44408:	2f02           	movel %d2,%sp@-                             
   4440a:	4eb9 0004 346c 	jsr 4346c <rtems_filesystem_dirname>        
                                                                      
  if ( parentpathlen == 0 )                                           
   44410:	588f           	addql #4,%sp                                
   44412:	4a80           	tstl %d0                                    
   44414:	6600 0132      	bnew 44548 <rmdir+0x14c>                    
    rtems_filesystem_get_start_loc( pathname, &i, &parentloc );       
   44418:	45ee ffe8      	lea %fp@(-24),%a2                           
   4441c:	4283           	clrl %d3                                    
   4441e:	2f0a           	movel %a2,%sp@-                             
   44420:	486e fffc      	pea %fp@(-4)                                
  const char                       *name;                             
  rtems_filesystem_location_info_t  parentloc;                        
  rtems_filesystem_location_info_t  loc;                              
  int                               i;                                
  int                               result;                           
  bool                              free_parentloc = false;           
   44424:	4204           	clrb %d4                                    
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( pathname );              
                                                                      
  if ( parentpathlen == 0 )                                           
    rtems_filesystem_get_start_loc( pathname, &i, &parentloc );       
   44426:	2f02           	movel %d2,%sp@-                             
   44428:	4eb9 0004 4570 	jsr 44570 <rtems_filesystem_get_start_loc>  
   4442e:	4fef 000c      	lea %sp@(12),%sp                            
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
   44432:	2d52 ffd4      	movel %a2@,%fp@(-44)                        
  name = pathname + parentpathlen;                                    
   44436:	d682           	addl %d2,%d3                                
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
   44438:	47f9 0005 089c 	lea 5089c <strlen>,%a3                      
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
   4443e:	240e           	movel %fp,%d2                               
   44440:	0682 ffff ffd4 	addil #-44,%d2                              
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
   44446:	2d6e ffec ffd8 	movel %fp@(-20),%fp@(-40)                   
   4444c:	2d6e fff0 ffdc 	movel %fp@(-16),%fp@(-36)                   
   44452:	2d6e fff4 ffe0 	movel %fp@(-12),%fp@(-32)                   
   44458:	2d6e fff8 ffe4 	movel %fp@(-8),%fp@(-28)                    
  name = pathname + parentpathlen;                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
   4445e:	2f03           	movel %d3,%sp@-                             
   44460:	4e93           	jsr %a3@                                    
   44462:	2e80           	movel %d0,%sp@                              
   44464:	2f03           	movel %d3,%sp@-                             
   44466:	4eb9 0004 34ae 	jsr 434ae <rtems_filesystem_prefix_separators>
   4446c:	d680           	addl %d0,%d3                                
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
   4446e:	2f03           	movel %d3,%sp@-                             
   44470:	4e93           	jsr %a3@                                    
   44472:	4297           	clrl %sp@                                   
   44474:	2f02           	movel %d2,%sp@-                             
   44476:	42a7           	clrl %sp@-                                  
   44478:	2f00           	movel %d0,%sp@-                             
   4447a:	2f03           	movel %d3,%sp@-                             
   4447c:	4eb9 0004 33b0 	jsr 433b0 <rtems_filesystem_evaluate_relative_path>
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
   44482:	4fef 001c      	lea %sp@(28),%sp                            
   44486:	4a80           	tstl %d0                                    
   44488:	6654           	bnes 444de <rmdir+0xe2>                     
  }                                                                   
                                                                      
  /*                                                                  
   * Verify you can remove this node as a directory.                  
   */                                                                 
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
   4448a:	206e ffe0      	moveal %fp@(-32),%a0                        
   4448e:	2f02           	movel %d2,%sp@-                             
   44490:	2068 0010      	moveal %a0@(16),%a0                         
   44494:	4e90           	jsr %a0@                                    
   44496:	588f           	addql #4,%sp                                
   44498:	7201           	moveq #1,%d1                                
   4449a:	b280           	cmpl %d0,%d1                                
   4449c:	6652           	bnes 444f0 <rmdir+0xf4>                     
                                                                      
  /*                                                                  
   * Use the filesystems rmnod to remove the node.                    
   */                                                                 
                                                                      
  result =  (*loc.handlers->rmnod_h)( &parentloc, &loc );             
   4449e:	2f02           	movel %d2,%sp@-                             
   444a0:	206e ffdc      	moveal %fp@(-36),%a0                        
   444a4:	2f0a           	movel %a2,%sp@-                             
   444a6:	2068 0034      	moveal %a0@(52),%a0                         
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   444aa:	47f9 0004 3504 	lea 43504 <rtems_filesystem_freenode>,%a3   
                                                                      
  /*                                                                  
   * Use the filesystems rmnod to remove the node.                    
   */                                                                 
                                                                      
  result =  (*loc.handlers->rmnod_h)( &parentloc, &loc );             
   444b0:	4e90           	jsr %a0@                                    
   444b2:	2600           	movel %d0,%d3                               
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   444b4:	2f02           	movel %d2,%sp@-                             
   444b6:	4e93           	jsr %a3@                                    
  if ( free_parentloc )                                               
   444b8:	4fef 000c      	lea %sp@(12),%sp                            
   444bc:	4a04           	tstb %d4                                    
   444be:	660c           	bnes 444cc <rmdir+0xd0>                     
    rtems_filesystem_freenode( &parentloc );                          
                                                                      
  return result;                                                      
}                                                                     
   444c0:	2003           	movel %d3,%d0                               
   444c2:	4cee 0c1c ffc0 	moveml %fp@(-64),%d2-%d4/%a2-%a3            
   444c8:	4e5e           	unlk %fp                                    
   444ca:	4e75           	rts                                         
                                                                      
  result =  (*loc.handlers->rmnod_h)( &parentloc, &loc );             
                                                                      
  rtems_filesystem_freenode( &loc );                                  
  if ( free_parentloc )                                               
    rtems_filesystem_freenode( &parentloc );                          
   444cc:	2f0a           	movel %a2,%sp@-                             
   444ce:	4e93           	jsr %a3@                                    
   444d0:	588f           	addql #4,%sp                                
                                                                      
  return result;                                                      
}                                                                     
   444d2:	2003           	movel %d3,%d0                               
   444d4:	4cee 0c1c ffc0 	moveml %fp@(-64),%d2-%d4/%a2-%a3            
   444da:	4e5e           	unlk %fp                                    
   444dc:	4e75           	rts                                         
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
    if ( free_parentloc )                                             
   444de:	4a04           	tstb %d4                                    
   444e0:	664e           	bnes 44530 <rmdir+0x134>                    
      rtems_filesystem_freenode( &parentloc );                        
    return -1;                                                        
   444e2:	76ff           	moveq #-1,%d3                               
  rtems_filesystem_freenode( &loc );                                  
  if ( free_parentloc )                                               
    rtems_filesystem_freenode( &parentloc );                          
                                                                      
  return result;                                                      
}                                                                     
   444e4:	2003           	movel %d3,%d0                               
   444e6:	4cee 0c1c ffc0 	moveml %fp@(-64),%d2-%d4/%a2-%a3            
   444ec:	4e5e           	unlk %fp                                    
   444ee:	4e75           	rts                                         
                                                                      
  /*                                                                  
   * Verify you can remove this node as a directory.                  
   */                                                                 
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
    rtems_filesystem_freenode( &loc );                                
   444f0:	2f02           	movel %d2,%sp@-                             
   444f2:	47f9 0004 3504 	lea 43504 <rtems_filesystem_freenode>,%a3   
   444f8:	4e93           	jsr %a3@                                    
    if ( free_parentloc )                                             
   444fa:	588f           	addql #4,%sp                                
   444fc:	4a04           	tstb %d4                                    
   444fe:	661a           	bnes 4451a <rmdir+0x11e>                    <== ALWAYS TAKEN
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
   44500:	4eb9 0004 f4f8 	jsr 4f4f8 <__errno>                         <== NOT EXECUTED
   44506:	76ff           	moveq #-1,%d3                               <== NOT EXECUTED
   44508:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4450a:	7014           	moveq #20,%d0                               <== NOT EXECUTED
   4450c:	2080           	movel %d0,%a0@                              <== NOT EXECUTED
  rtems_filesystem_freenode( &loc );                                  
  if ( free_parentloc )                                               
    rtems_filesystem_freenode( &parentloc );                          
                                                                      
  return result;                                                      
}                                                                     
   4450e:	2003           	movel %d3,%d0                               
   44510:	4cee 0c1c ffc0 	moveml %fp@(-64),%d2-%d4/%a2-%a3            
   44516:	4e5e           	unlk %fp                                    
   44518:	4e75           	rts                                         
   * Verify you can remove this node as a directory.                  
   */                                                                 
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
    rtems_filesystem_freenode( &loc );                                
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
   4451a:	2f0a           	movel %a2,%sp@-                             
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
   4451c:	76ff           	moveq #-1,%d3                               
   * Verify you can remove this node as a directory.                  
   */                                                                 
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
    rtems_filesystem_freenode( &loc );                                
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
   4451e:	4e93           	jsr %a3@                                    
   44520:	588f           	addql #4,%sp                                
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
   44522:	4eb9 0004 f4f8 	jsr 4f4f8 <__errno>                         
   44528:	2040           	moveal %d0,%a0                              
   4452a:	7014           	moveq #20,%d0                               
   4452c:	2080           	movel %d0,%a0@                              
   4452e:	60de           	bras 4450e <rmdir+0x112>                    
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
   44530:	2f0a           	movel %a2,%sp@-                             
    return -1;                                                        
   44532:	76ff           	moveq #-1,%d3                               
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
   44534:	4eb9 0004 3504 	jsr 43504 <rtems_filesystem_freenode>       
   4453a:	588f           	addql #4,%sp                                
  rtems_filesystem_freenode( &loc );                                  
  if ( free_parentloc )                                               
    rtems_filesystem_freenode( &parentloc );                          
                                                                      
  return result;                                                      
}                                                                     
   4453c:	2003           	movel %d3,%d0                               
   4453e:	4cee 0c1c ffc0 	moveml %fp@(-64),%d2-%d4/%a2-%a3            
   44544:	4e5e           	unlk %fp                                    
   44546:	4e75           	rts                                         
  parentpathlen = rtems_filesystem_dirname ( pathname );              
                                                                      
  if ( parentpathlen == 0 )                                           
    rtems_filesystem_get_start_loc( pathname, &i, &parentloc );       
  else {                                                              
    result = rtems_filesystem_evaluate_path(pathname, parentpathlen,  
   44548:	42a7           	clrl %sp@-                                  
   4454a:	45ee ffe8      	lea %fp@(-24),%a2                           
   4454e:	2600           	movel %d0,%d3                               
   44550:	2f0a           	movel %a2,%sp@-                             
   44552:	4878 0002      	pea 2 <DOUBLE_FLOAT>                        
   44556:	2f00           	movel %d0,%sp@-                             
   44558:	2f02           	movel %d2,%sp@-                             
   4455a:	4eb9 0004 3420 	jsr 43420 <rtems_filesystem_evaluate_path>  
                                            RTEMS_LIBIO_PERMS_WRITE,  
                                            &parentloc,               
                                            false );                  
    if ( result != 0 )                                                
   44560:	4fef 0014      	lea %sp@(20),%sp                            
   44564:	4a80           	tstl %d0                                    
   44566:	6600 ff7a      	bnew 444e2 <rmdir+0xe6>                     
      return -1;                                                      
                                                                      
    free_parentloc = true;                                            
   4456a:	7801           	moveq #1,%d4                                
   4456c:	6000 fec4      	braw 44432 <rmdir+0x36>                     
                                                                      

00047a08 <rtems_aio_enqueue>: * errno - otherwise */ int rtems_aio_enqueue (rtems_aio_request *req) {
   47a08:	4e56 ffc4      	linkw %fp,#-60                              
   47a0c:	48d7 3c0c      	moveml %d2-%d3/%a2-%a5,%sp@                 
  struct sched_param param;                                           
                                                                      
  /* The queue should be initialized */                               
  AIO_assert (aio_request_queue.initialized == AIO_QUEUE_INITIALIZED);
                                                                      
  result = pthread_mutex_lock (&aio_request_queue.mutex);             
   47a10:	4879 0006 3e18 	pea 63e18 <aio_request_queue>               
   47a16:	47f9 0004 8478 	lea 48478 <pthread_mutex_lock>,%a3          
 *         errno     - otherwise                                      
 */                                                                   
                                                                      
int                                                                   
rtems_aio_enqueue (rtems_aio_request *req)                            
{                                                                     
   47a1c:	246e 0008      	moveal %fp@(8),%a2                          
  struct sched_param param;                                           
                                                                      
  /* The queue should be initialized */                               
  AIO_assert (aio_request_queue.initialized == AIO_QUEUE_INITIALIZED);
                                                                      
  result = pthread_mutex_lock (&aio_request_queue.mutex);             
   47a20:	4e93           	jsr %a3@                                    
  if (result != 0) {                                                  
   47a22:	588f           	addql #4,%sp                                
  struct sched_param param;                                           
                                                                      
  /* The queue should be initialized */                               
  AIO_assert (aio_request_queue.initialized == AIO_QUEUE_INITIALIZED);
                                                                      
  result = pthread_mutex_lock (&aio_request_queue.mutex);             
   47a24:	2400           	movel %d0,%d2                               
  if (result != 0) {                                                  
   47a26:	6600 00ba      	bnew 47ae2 <rtems_aio_enqueue+0xda>         
    return result;                                                    
  }                                                                   
                                                                      
  /* _POSIX_PRIORITIZED_IO and _POSIX_PRIORITY_SCHEDULING are defined,
     we can use aio_reqprio to lower the priority of the request */   
  pthread_getschedparam (pthread_self(), &policy, ¶m);            
   47a2a:	49f9 0004 8e30 	lea 48e30 <pthread_self>,%a4                
   47a30:	4e94           	jsr %a4@                                    
   47a32:	486e ffdc      	pea %fp@(-36)                               
   47a36:	486e fff8      	pea %fp@(-8)                                
   47a3a:	2f00           	movel %d0,%sp@-                             
   47a3c:	4eb9 0004 89a4 	jsr 489a4 <pthread_getschedparam>           
                                                                      
  req->caller_thread = pthread_self ();                               
   47a42:	4e94           	jsr %a4@                                    
  req->priority = param.sched_priority - req->aiocbp->aio_reqprio;    
   47a44:	206a 0014      	moveal %a2@(20),%a0                         
  req->policy = policy;                                               
  req->aiocbp->error_code = EINPROGRESS;                              
  req->aiocbp->return_value = 0;                                      
                                                                      
  if ((aio_request_queue.idle_threads == 0) &&                        
   47a48:	4fef 000c      	lea %sp@(12),%sp                            
  /* _POSIX_PRIORITIZED_IO and _POSIX_PRIORITY_SCHEDULING are defined,
     we can use aio_reqprio to lower the priority of the request */   
  pthread_getschedparam (pthread_self(), &policy, ¶m);            
                                                                      
  req->caller_thread = pthread_self ();                               
  req->priority = param.sched_priority - req->aiocbp->aio_reqprio;    
   47a4c:	222e ffdc      	movel %fp@(-36),%d1                         
   47a50:	92a8 0014      	subl %a0@(20),%d1                           
  req->policy = policy;                                               
   47a54:	256e fff8 0008 	movel %fp@(-8),%a2@(8)                      
                                                                      
  /* _POSIX_PRIORITIZED_IO and _POSIX_PRIORITY_SCHEDULING are defined,
     we can use aio_reqprio to lower the priority of the request */   
  pthread_getschedparam (pthread_self(), &policy, ¶m);            
                                                                      
  req->caller_thread = pthread_self ();                               
   47a5a:	2540 0010      	movel %d0,%a2@(16)                          
  req->priority = param.sched_priority - req->aiocbp->aio_reqprio;    
  req->policy = policy;                                               
  req->aiocbp->error_code = EINPROGRESS;                              
   47a5e:	7077           	moveq #119,%d0                              
  /* _POSIX_PRIORITIZED_IO and _POSIX_PRIORITY_SCHEDULING are defined,
     we can use aio_reqprio to lower the priority of the request */   
  pthread_getschedparam (pthread_self(), &policy, ¶m);            
                                                                      
  req->caller_thread = pthread_self ();                               
  req->priority = param.sched_priority - req->aiocbp->aio_reqprio;    
   47a60:	2541 000c      	movel %d1,%a2@(12)                          
  req->policy = policy;                                               
  req->aiocbp->error_code = EINPROGRESS;                              
   47a64:	2140 0030      	movel %d0,%a0@(48)                          
  req->aiocbp->return_value = 0;                                      
   47a68:	42a8 0034      	clrl %a0@(52)                               
                                                                      
  if ((aio_request_queue.idle_threads == 0) &&                        
   47a6c:	4ab9 0006 3e80 	tstl 63e80 <aio_request_queue+0x68>         
   47a72:	660a           	bnes 47a7e <rtems_aio_enqueue+0x76>         <== NEVER TAKEN
   47a74:	7204           	moveq #4,%d1                                
   47a76:	b2b9 0006 3e7c 	cmpl 63e7c <aio_request_queue+0x64>,%d1     
   47a7c:	6c7a           	bges 47af8 <rtems_aio_enqueue+0xf0>         
  else                                                                
    {                                                                 
      /* the maximum number of threads has been already created       
	 even though some of them might be idle.                             
	 The request belongs to one of the active fd chain */                
      r_chain = rtems_aio_search_fd (&aio_request_queue.work_req,     
   47a7e:	42a7           	clrl %sp@-                                  
   47a80:	2f10           	movel %a0@,%sp@-                            
   47a82:	4bf9 0004 7512 	lea 47512 <rtems_aio_search_fd>,%a5         
   47a88:	4879 0006 3e60 	pea 63e60 <aio_request_queue+0x48>          
   47a8e:	4e95           	jsr %a5@                                    
				     req->aiocbp->aio_fildes, 0);                                 
      if (r_chain != NULL)                                            
   47a90:	4fef 000c      	lea %sp@(12),%sp                            
  else                                                                
    {                                                                 
      /* the maximum number of threads has been already created       
	 even though some of them might be idle.                             
	 The request belongs to one of the active fd chain */                
      r_chain = rtems_aio_search_fd (&aio_request_queue.work_req,     
   47a94:	2840           	moveal %d0,%a4                              
				     req->aiocbp->aio_fildes, 0);                                 
      if (r_chain != NULL)                                            
   47a96:	4a80           	tstl %d0                                    
   47a98:	6700 00e0      	beqw 47b7a <rtems_aio_enqueue+0x172>        
	{                                                                    
	  pthread_mutex_lock (&r_chain->mutex);                              
   47a9c:	260c           	movel %a4,%d3                               
   47a9e:	0683 0000 001c 	addil #28,%d3                               
	  rtems_aio_insert_prio (&r_chain->perfd, req);                      
	  pthread_cond_signal (&r_chain->cond);                              
	  pthread_mutex_unlock (&r_chain->mutex);                            
   47aa4:	4bf9 0004 8514 	lea 48514 <pthread_mutex_unlock>,%a5        
	 The request belongs to one of the active fd chain */                
      r_chain = rtems_aio_search_fd (&aio_request_queue.work_req,     
				     req->aiocbp->aio_fildes, 0);                                 
      if (r_chain != NULL)                                            
	{                                                                    
	  pthread_mutex_lock (&r_chain->mutex);                              
   47aaa:	2f03           	movel %d3,%sp@-                             
   47aac:	4e93           	jsr %a3@                                    
	  rtems_aio_insert_prio (&r_chain->perfd, req);                      
   47aae:	2f0a           	movel %a2,%sp@-                             
   47ab0:	486c 0008      	pea %a4@(8)                                 
   47ab4:	4eb9 0004 78d4 	jsr 478d4 <rtems_aio_insert_prio>           
	  pthread_cond_signal (&r_chain->cond);                              
   47aba:	486c 0020      	pea %a4@(32)                                
   47abe:	4eb9 0004 8000 	jsr 48000 <pthread_cond_signal>             
	  pthread_mutex_unlock (&r_chain->mutex);                            
   47ac4:	2f03           	movel %d3,%sp@-                             
   47ac6:	4e95           	jsr %a5@                                    
   47ac8:	4fef 0014      	lea %sp@(20),%sp                            
	if (aio_request_queue.idle_threads > 0)                              
	  pthread_cond_signal (&aio_request_queue.new_req);                  
      }                                                               
    }                                                                 
                                                                      
  pthread_mutex_unlock (&aio_request_queue.mutex);                    
   47acc:	4879 0006 3e18 	pea 63e18 <aio_request_queue>               
   47ad2:	4e95           	jsr %a5@                                    
  return 0;                                                           
   47ad4:	588f           	addql #4,%sp                                
}                                                                     
   47ad6:	2002           	movel %d2,%d0                               
   47ad8:	4cee 3c0c ffc4 	moveml %fp@(-60),%d2-%d3/%a2-%a5            
   47ade:	4e5e           	unlk %fp                                    
   47ae0:	4e75           	rts                                         
  /* The queue should be initialized */                               
  AIO_assert (aio_request_queue.initialized == AIO_QUEUE_INITIALIZED);
                                                                      
  result = pthread_mutex_lock (&aio_request_queue.mutex);             
  if (result != 0) {                                                  
    free (req);                                                       
   47ae2:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   47ae4:	4eb9 0004 3c60 	jsr 43c60 <free>                            <== NOT EXECUTED
    return result;                                                    
   47aea:	588f           	addql #4,%sp                                <== NOT EXECUTED
      }                                                               
    }                                                                 
                                                                      
  pthread_mutex_unlock (&aio_request_queue.mutex);                    
  return 0;                                                           
}                                                                     
   47aec:	2002           	movel %d2,%d0                               <== NOT EXECUTED
   47aee:	4cee 3c0c ffc4 	moveml %fp@(-60),%d2-%d3/%a2-%a5            <== NOT EXECUTED
   47af4:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   47af6:	4e75           	rts                                         <== NOT EXECUTED
  if ((aio_request_queue.idle_threads == 0) &&                        
      aio_request_queue.active_threads < AIO_MAX_THREADS)             
    /* we still have empty places on the active_threads chain */      
    {                                                                 
      chain = &aio_request_queue.work_req;                            
      r_chain = rtems_aio_search_fd (chain, req->aiocbp->aio_fildes, 1);
   47af8:	4878 0001      	pea 1 <ADD>                                 
   47afc:	2f10           	movel %a0@,%sp@-                            
   47afe:	4879 0006 3e60 	pea 63e60 <aio_request_queue+0x48>          
   47b04:	4eb9 0004 7512 	jsr 47512 <rtems_aio_search_fd>             
                                                                      
      if (r_chain->new_fd == 1) {                                     
   47b0a:	4fef 000c      	lea %sp@(12),%sp                            
  if ((aio_request_queue.idle_threads == 0) &&                        
      aio_request_queue.active_threads < AIO_MAX_THREADS)             
    /* we still have empty places on the active_threads chain */      
    {                                                                 
      chain = &aio_request_queue.work_req;                            
      r_chain = rtems_aio_search_fd (chain, req->aiocbp->aio_fildes, 1);
   47b0e:	2840           	moveal %d0,%a4                              
                                                                      
      if (r_chain->new_fd == 1) {                                     
   47b10:	7001           	moveq #1,%d0                                
   47b12:	b0ac 0018      	cmpl %a4@(24),%d0                           
   47b16:	6684           	bnes 47a9c <rtems_aio_enqueue+0x94>         
RTEMS_INLINE_ROUTINE void _Chain_Prepend(                             
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  _Chain_Insert(_Chain_Head(the_chain), the_node);                    
   47b18:	2f0a           	movel %a2,%sp@-                             
   47b1a:	486c 0008      	pea %a4@(8)                                 
   47b1e:	4eb9 0004 a118 	jsr 4a118 <_Chain_Insert>                   
	rtems_chain_prepend (&r_chain->perfd, &req->next_prio);              
	r_chain->new_fd = 0;                                                 
   47b24:	42ac 0018      	clrl %a4@(24)                               
	pthread_mutex_init (&r_chain->mutex, NULL);                          
   47b28:	42a7           	clrl %sp@-                                  
   47b2a:	486c 001c      	pea %a4@(28)                                
   47b2e:	4eb9 0004 8338 	jsr 48338 <pthread_mutex_init>              
	pthread_cond_init (&r_chain->cond, NULL);                            
   47b34:	42a7           	clrl %sp@-                                  
   47b36:	486c 0020      	pea %a4@(32)                                
   47b3a:	4eb9 0004 7f40 	jsr 47f40 <pthread_cond_init>               
	                                                                     
	AIO_printf ("New thread \n");                                        
	result = pthread_create (&thid, &aio_request_queue.attr,             
   47b40:	2f0c           	movel %a4,%sp@-                             
   47b42:	487a faee      	pea %pc@(47632 <rtems_aio_handle>)          
   47b46:	4879 0006 3e20 	pea 63e20 <aio_request_queue+0x8>           
   47b4c:	486e fffc      	pea %fp@(-4)                                
   47b50:	4eb9 0004 8694 	jsr 48694 <pthread_create>                  
				 rtems_aio_handle, (void *) r_chain);                             
	if (result != 0) {                                                   
   47b56:	4fef 0028      	lea %sp@(40),%sp                            
   47b5a:	4a80           	tstl %d0                                    
   47b5c:	6600 00b4      	bnew 47c12 <rtems_aio_enqueue+0x20a>        
	if (aio_request_queue.idle_threads > 0)                              
	  pthread_cond_signal (&aio_request_queue.new_req);                  
      }                                                               
    }                                                                 
                                                                      
  pthread_mutex_unlock (&aio_request_queue.mutex);                    
   47b60:	4879 0006 3e18 	pea 63e18 <aio_request_queue>               
				 rtems_aio_handle, (void *) r_chain);                             
	if (result != 0) {                                                   
	  pthread_mutex_unlock (&aio_request_queue.mutex);                   
	  return result;                                                     
	}                                                                    
	++aio_request_queue.active_threads;                                  
   47b66:	52b9 0006 3e7c 	addql #1,63e7c <aio_request_queue+0x64>     
   47b6c:	4bf9 0004 8514 	lea 48514 <pthread_mutex_unlock>,%a5        
	if (aio_request_queue.idle_threads > 0)                              
	  pthread_cond_signal (&aio_request_queue.new_req);                  
      }                                                               
    }                                                                 
                                                                      
  pthread_mutex_unlock (&aio_request_queue.mutex);                    
   47b72:	4e95           	jsr %a5@                                    
  return 0;                                                           
   47b74:	588f           	addql #4,%sp                                
   47b76:	6000 ff5e      	braw 47ad6 <rtems_aio_enqueue+0xce>         
	                                                                     
	} else {                                                             
                                                                      
	/* or to the idle chain */                                           
	chain = &aio_request_queue.idle_req;                                 
	r_chain = rtems_aio_search_fd (chain, req->aiocbp->aio_fildes, 1);   
   47b7a:	4878 0001      	pea 1 <ADD>                                 
   47b7e:	206a 0014      	moveal %a2@(20),%a0                         
   47b82:	2f10           	movel %a0@,%sp@-                            
   47b84:	4879 0006 3e6c 	pea 63e6c <aio_request_queue+0x54>          
   47b8a:	4e95           	jsr %a5@                                    
                                                                      
	if (r_chain->new_fd == 1) {                                          
   47b8c:	4fef 000c      	lea %sp@(12),%sp                            
   47b90:	7201           	moveq #1,%d1                                
	                                                                     
	} else {                                                             
                                                                      
	/* or to the idle chain */                                           
	chain = &aio_request_queue.idle_req;                                 
	r_chain = rtems_aio_search_fd (chain, req->aiocbp->aio_fildes, 1);   
   47b92:	2640           	moveal %d0,%a3                              
                                                                      
	if (r_chain->new_fd == 1) {                                          
   47b94:	b2ab 0018      	cmpl %a3@(24),%d1                           
   47b98:	673a           	beqs 47bd4 <rtems_aio_enqueue+0x1cc>        
	  r_chain->new_fd = 0;                                               
	  pthread_mutex_init (&r_chain->mutex, NULL);                        
	  pthread_cond_init (&r_chain->cond, NULL);                          
	} else                                                               
	  /* just insert the request in the existing fd chain */             
	  rtems_aio_insert_prio (&r_chain->perfd, req);                      
   47b9a:	2f0a           	movel %a2,%sp@-                             
   47b9c:	486b 0008      	pea %a3@(8)                                 
   47ba0:	4bf9 0004 8514 	lea 48514 <pthread_mutex_unlock>,%a5        
   47ba6:	4eb9 0004 78d4 	jsr 478d4 <rtems_aio_insert_prio>           
   47bac:	508f           	addql #8,%sp                                
	if (aio_request_queue.idle_threads > 0)                              
   47bae:	4ab9 0006 3e80 	tstl 63e80 <aio_request_queue+0x68>         
   47bb4:	6f00 ff16      	blew 47acc <rtems_aio_enqueue+0xc4>         
	  pthread_cond_signal (&aio_request_queue.new_req);                  
   47bb8:	4879 0006 3e1c 	pea 63e1c <aio_request_queue+0x4>           <== NOT EXECUTED
   47bbe:	4eb9 0004 8000 	jsr 48000 <pthread_cond_signal>             <== NOT EXECUTED
   47bc4:	588f           	addql #4,%sp                                <== NOT EXECUTED
      }                                                               
    }                                                                 
                                                                      
  pthread_mutex_unlock (&aio_request_queue.mutex);                    
   47bc6:	4879 0006 3e18 	pea 63e18 <aio_request_queue>               <== NOT EXECUTED
   47bcc:	4e95           	jsr %a5@                                    <== NOT EXECUTED
  return 0;                                                           
   47bce:	588f           	addql #4,%sp                                <== NOT EXECUTED
   47bd0:	6000 ff04      	braw 47ad6 <rtems_aio_enqueue+0xce>         <== NOT EXECUTED
   47bd4:	2f0a           	movel %a2,%sp@-                             
   47bd6:	486b 0008      	pea %a3@(8)                                 
   47bda:	4bf9 0004 8514 	lea 48514 <pthread_mutex_unlock>,%a5        
   47be0:	4eb9 0004 a118 	jsr 4a118 <_Chain_Insert>                   
	if (r_chain->new_fd == 1) {                                          
	  /* If this is a new fd chain we signal the idle threads that       
	     might be waiting for requests */                                
	  AIO_printf (" New chain on waiting queue \n ");                    
	  rtems_chain_prepend (&r_chain->perfd, &req->next_prio);            
	  r_chain->new_fd = 0;                                               
   47be6:	42ab 0018      	clrl %a3@(24)                               
	  pthread_mutex_init (&r_chain->mutex, NULL);                        
   47bea:	42a7           	clrl %sp@-                                  
   47bec:	486b 001c      	pea %a3@(28)                                
   47bf0:	4eb9 0004 8338 	jsr 48338 <pthread_mutex_init>              
	  pthread_cond_init (&r_chain->cond, NULL);                          
   47bf6:	42a7           	clrl %sp@-                                  
   47bf8:	486b 0020      	pea %a3@(32)                                
   47bfc:	4eb9 0004 7f40 	jsr 47f40 <pthread_cond_init>               
   47c02:	4fef 0018      	lea %sp@(24),%sp                            
	} else                                                               
	  /* just insert the request in the existing fd chain */             
	  rtems_aio_insert_prio (&r_chain->perfd, req);                      
	if (aio_request_queue.idle_threads > 0)                              
   47c06:	4ab9 0006 3e80 	tstl 63e80 <aio_request_queue+0x68>         
   47c0c:	6eaa           	bgts 47bb8 <rtems_aio_enqueue+0x1b0>        <== NEVER TAKEN
   47c0e:	6000 febc      	braw 47acc <rtems_aio_enqueue+0xc4>         
	                                                                     
	AIO_printf ("New thread \n");                                        
	result = pthread_create (&thid, &aio_request_queue.attr,             
				 rtems_aio_handle, (void *) r_chain);                             
	if (result != 0) {                                                   
	  pthread_mutex_unlock (&aio_request_queue.mutex);                   
   47c12:	4879 0006 3e18 	pea 63e18 <aio_request_queue>               <== NOT EXECUTED
	  return result;                                                     
   47c18:	2400           	movel %d0,%d2                               <== NOT EXECUTED
	                                                                     
	AIO_printf ("New thread \n");                                        
	result = pthread_create (&thid, &aio_request_queue.attr,             
				 rtems_aio_handle, (void *) r_chain);                             
	if (result != 0) {                                                   
	  pthread_mutex_unlock (&aio_request_queue.mutex);                   
   47c1a:	4eb9 0004 8514 	jsr 48514 <pthread_mutex_unlock>            <== NOT EXECUTED
	  return result;                                                     
   47c20:	588f           	addql #4,%sp                                <== NOT EXECUTED
      }                                                               
    }                                                                 
                                                                      
  pthread_mutex_unlock (&aio_request_queue.mutex);                    
  return 0;                                                           
}                                                                     
   47c22:	2002           	movel %d2,%d0                               <== NOT EXECUTED
   47c24:	4cee 3c0c ffc4 	moveml %fp@(-60),%d2-%d3/%a2-%a5            <== NOT EXECUTED
   47c2a:	4e5e           	unlk %fp                                    <== NOT EXECUTED
	...                                                                  
                                                                      

00047632 <rtems_aio_handle>: * NULL - if error */ static void * rtems_aio_handle (void *arg) {
   47632:	4e56 ffb0      	linkw %fp,#-80                              
   47636:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
                                                                      
  rtems_aio_request_chain *r_chain = arg;                             
   4763a:	286e 0008      	moveal %fp@(8),%a4                          
      node = rtems_chain_first (chain);                               
      req = (rtems_aio_request *) node;                               
                                                                      
      /* See _POSIX_PRIORITIZE_IO and _POSIX_PRIORITY_SCHEDULING      
	 discussion in rtems_aio_enqueue () */                               
      pthread_getschedparam (pthread_self(), &policy, ¶m);        
   4763e:	260e           	movel %fp,%d3                               
   47640:	240c           	movel %a4,%d2                               
   47642:	2e0e           	movel %fp,%d7                               
   47644:	2a3c 0004 8478 	movel #296056,%d5                           
   4764a:	0682 0000 001c 	addil #28,%d2                               
                                                                      
      struct timespec timeout;                                        
                                                                      
      AIO_printf ("Chain is empty [WQ], wait for work\n");            
                                                                      
      pthread_mutex_unlock (&r_chain->mutex);                         
   47650:	4bf9 0004 8514 	lea 48514 <pthread_mutex_unlock>,%a5        
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
   47656:	2c3c 0004 a0b4 	movel #303284,%d6                           
      node = rtems_chain_first (chain);                               
      req = (rtems_aio_request *) node;                               
                                                                      
      /* See _POSIX_PRIORITIZE_IO and _POSIX_PRIORITY_SCHEDULING      
	 discussion in rtems_aio_enqueue () */                               
      pthread_getschedparam (pthread_self(), &policy, ¶m);        
   4765c:	0683 ffff ffd8 	addil #-40,%d3                              
   47662:	5987           	subql #4,%d7                                
    /* acquire the mutex of the current fd chain.                     
       we don't need to lock the queue mutex since we can             
       add requests to idle fd chains or even active ones             
       if the working request has been extracted from the             
       chain */                                                       
    result = pthread_mutex_lock (&r_chain->mutex);                    
   47664:	2f02           	movel %d2,%sp@-                             
   47666:	2045           	moveal %d5,%a0                              
   47668:	4e90           	jsr %a0@                                    
    if (result != 0)                                                  
   4766a:	588f           	addql #4,%sp                                
   4766c:	4a80           	tstl %d0                                    
   4766e:	6600 008c      	bnew 476fc <rtems_aio_handle+0xca>          
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
   47672:	200c           	movel %a4,%d0                               
   47674:	0680 0000 000c 	addil #12,%d0                               
    }                                                                 
  }                                                                   
                                                                      
  AIO_printf ("Thread finished\n");                                   
  return NULL;                                                        
}                                                                     
   4767a:	246c 0008      	moveal %a4@(8),%a2                          
                                                                      
    /* If the locked chain is not empty, take the first               
       request extract it, unlock the chain and process               
       the request, in this way the user can supply more              
       requests to this fd chain */                                   
    if (!rtems_chain_is_empty (chain)) {                              
   4767e:	b08a           	cmpl %a2,%d0                                
   47680:	6700 00e4      	beqw 47766 <rtems_aio_handle+0x134>         
      node = rtems_chain_first (chain);                               
      req = (rtems_aio_request *) node;                               
                                                                      
      /* See _POSIX_PRIORITIZE_IO and _POSIX_PRIORITY_SCHEDULING      
	 discussion in rtems_aio_enqueue () */                               
      pthread_getschedparam (pthread_self(), &policy, ¶m);        
   47684:	47f9 0004 8e30 	lea 48e30 <pthread_self>,%a3                
   4768a:	4e93           	jsr %a3@                                    
   4768c:	2f03           	movel %d3,%sp@-                             
   4768e:	2f07           	movel %d7,%sp@-                             
   47690:	2f00           	movel %d0,%sp@-                             
   47692:	4eb9 0004 89a4 	jsr 489a4 <pthread_getschedparam>           
      param.sched_priority = req->priority;                           
   47698:	2d6a 000c ffd8 	movel %a2@(12),%fp@(-40)                    
      pthread_setschedparam (pthread_self(), req->policy, ¶m);    
   4769e:	282a 0008      	movel %a2@(8),%d4                           
   476a2:	4e93           	jsr %a3@                                    
   476a4:	2f03           	movel %d3,%sp@-                             
   476a6:	2f04           	movel %d4,%sp@-                             
   476a8:	2f00           	movel %d0,%sp@-                             
   476aa:	4eb9 0004 8e44 	jsr 48e44 <pthread_setschedparam>           
   476b0:	2046           	moveal %d6,%a0                              
   476b2:	2f0a           	movel %a2,%sp@-                             
   476b4:	4e90           	jsr %a0@                                    
                                                                      
      rtems_chain_extract (node);                                     
                                                                      
      pthread_mutex_unlock (&r_chain->mutex);                         
   476b6:	2f02           	movel %d2,%sp@-                             
   476b8:	4e95           	jsr %a5@                                    
                                                                      
      switch (req->aiocbp->aio_lio_opcode) {                          
   476ba:	266a 0014      	moveal %a2@(20),%a3                         
   476be:	4fef 0020      	lea %sp@(32),%sp                            
   476c2:	7202           	moveq #2,%d1                                
   476c4:	202b 002c      	movel %a3@(44),%d0                          
   476c8:	b280           	cmpl %d0,%d1                                
   476ca:	677c           	beqs 47748 <rtems_aio_handle+0x116>         
   476cc:	123c 0003      	moveb #3,%d1                                
   476d0:	b280           	cmpl %d0,%d1                                
   476d2:	6768           	beqs 4773c <rtems_aio_handle+0x10a>         <== NEVER TAKEN
   476d4:	123c 0001      	moveb #1,%d1                                
   476d8:	b280           	cmpl %d0,%d1                                
   476da:	672c           	beqs 47708 <rtems_aio_handle+0xd6>          <== ALWAYS TAKEN
                                                                      
      default:                                                        
        result = -1;                                                  
      }                                                               
      if (result == -1) {                                             
        req->aiocbp->return_value = -1;                               
   476dc:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   476de:	2740 0034      	movel %d0,%a3@(52)                          <== NOT EXECUTED
	req->aiocbp->error_code = errno;                                     
   476e2:	4eb9 0005 1a30 	jsr 51a30 <__errno>                         <== NOT EXECUTED
   476e8:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   476ea:	2750 0030      	movel %a0@,%a3@(48)                         <== NOT EXECUTED
    /* acquire the mutex of the current fd chain.                     
       we don't need to lock the queue mutex since we can             
       add requests to idle fd chains or even active ones             
       if the working request has been extracted from the             
       chain */                                                       
    result = pthread_mutex_lock (&r_chain->mutex);                    
   476ee:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   476f0:	2045           	moveal %d5,%a0                              <== NOT EXECUTED
   476f2:	4e90           	jsr %a0@                                    <== NOT EXECUTED
    if (result != 0)                                                  
   476f4:	588f           	addql #4,%sp                                <== NOT EXECUTED
   476f6:	4a80           	tstl %d0                                    <== NOT EXECUTED
   476f8:	6700 ff78      	beqw 47672 <rtems_aio_handle+0x40>          <== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
  AIO_printf ("Thread finished\n");                                   
  return NULL;                                                        
}                                                                     
   476fc:	4280           	clrl %d0                                    <== NOT EXECUTED
   476fe:	4cee 3cfc ffb0 	moveml %fp@(-80),%d2-%d7/%a2-%a5            <== NOT EXECUTED
   47704:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   47706:	4e75           	rts                                         <== NOT EXECUTED
      pthread_mutex_unlock (&r_chain->mutex);                         
                                                                      
      switch (req->aiocbp->aio_lio_opcode) {                          
      case LIO_READ:                                                  
	AIO_printf ("read\n");                                               
        result = pread (req->aiocbp->aio_fildes,                      
   47708:	2f2b 0008      	movel %a3@(8),%sp@-                         
   4770c:	2f2b 0004      	movel %a3@(4),%sp@-                         
   47710:	2f2b 0010      	movel %a3@(16),%sp@-                        
   47714:	2f2b 000c      	movel %a3@(12),%sp@-                        
   47718:	2f13           	movel %a3@,%sp@-                            
   4771a:	4eb9 0005 24d6 	jsr 524d6 <pread>                           
                        (void *) req->aiocbp->aio_buf,                
                        req->aiocbp->aio_nbytes, req->aiocbp->aio_offset);
        break;                                                        
   47720:	4fef 0014      	lea %sp@(20),%sp                            
      	break;                                                         
                                                                      
      default:                                                        
        result = -1;                                                  
      }                                                               
      if (result == -1) {                                             
   47724:	72ff           	moveq #-1,%d1                               
   47726:	b280           	cmpl %d0,%d1                                
   47728:	6700 0170      	beqw 4789a <rtems_aio_handle+0x268>         
        req->aiocbp->return_value = -1;                               
	req->aiocbp->error_code = errno;                                     
      } else {                                                        
        req->aiocbp->return_value = result;                           
   4772c:	206a 0014      	moveal %a2@(20),%a0                         
   47730:	2140 0034      	movel %d0,%a0@(52)                          
        req->aiocbp->error_code = 0;                                  
   47734:	42a8 0030      	clrl %a0@(48)                               
   47738:	6000 ff2a      	braw 47664 <rtems_aio_handle+0x32>          
                         req->aiocbp->aio_nbytes, req->aiocbp->aio_offset);
        break;                                                        
                                                                      
      case LIO_SYNC:                                                  
	AIO_printf ("sync\n");                                               
      	result = fsync (req->aiocbp->aio_fildes);                      
   4773c:	2f13           	movel %a3@,%sp@-                            <== NOT EXECUTED
   4773e:	4eb9 0004 e65c 	jsr 4e65c <fsync>                           <== NOT EXECUTED
      	break;                                                         
   47744:	588f           	addql #4,%sp                                <== NOT EXECUTED
   47746:	60dc           	bras 47724 <rtems_aio_handle+0xf2>          <== NOT EXECUTED
                        req->aiocbp->aio_nbytes, req->aiocbp->aio_offset);
        break;                                                        
                                                                      
      case LIO_WRITE:                                                 
	AIO_printf ("write\n");                                              
        result = pwrite (req->aiocbp->aio_fildes,                     
   47748:	2f2b 0008      	movel %a3@(8),%sp@-                         
   4774c:	2f2b 0004      	movel %a3@(4),%sp@-                         
   47750:	2f2b 0010      	movel %a3@(16),%sp@-                        
   47754:	2f2b 000c      	movel %a3@(12),%sp@-                        
   47758:	2f13           	movel %a3@,%sp@-                            
   4775a:	4eb9 0005 259e 	jsr 5259e <pwrite>                          
                         (void *) req->aiocbp->aio_buf,               
                         req->aiocbp->aio_nbytes, req->aiocbp->aio_offset);
        break;                                                        
   47760:	4fef 0014      	lea %sp@(20),%sp                            
   47764:	60be           	bras 47724 <rtems_aio_handle+0xf2>          
                                                                      
      struct timespec timeout;                                        
                                                                      
      AIO_printf ("Chain is empty [WQ], wait for work\n");            
                                                                      
      pthread_mutex_unlock (&r_chain->mutex);                         
   47766:	2f02           	movel %d2,%sp@-                             
   47768:	4e95           	jsr %a5@                                    
      pthread_mutex_lock (&aio_request_queue.mutex);                  
   4776a:	4879 0006 3e18 	pea 63e18 <aio_request_queue>               
   47770:	4eb9 0004 8478 	jsr 48478 <pthread_mutex_lock>              
                                                                      
      if (rtems_chain_is_empty (chain))                               
   47776:	508f           	addql #8,%sp                                
   47778:	b5ec 0008      	cmpal %a4@(8),%a2                           
   4777c:	670e           	beqs 4778c <rtems_aio_handle+0x15a>         <== ALWAYS TAKEN
	                                                                     
	  }                                                                  
	}                                                                    
      /* If there was a request added in the initial fd chain then release
	 the mutex and process it */                                         
      pthread_mutex_unlock (&aio_request_queue.mutex);                
   4777e:	4879 0006 3e18 	pea 63e18 <aio_request_queue>               <== NOT EXECUTED
   47784:	4e95           	jsr %a5@                                    <== NOT EXECUTED
   47786:	588f           	addql #4,%sp                                <== NOT EXECUTED
   47788:	6000 feda      	braw 47664 <rtems_aio_handle+0x32>          <== NOT EXECUTED
      pthread_mutex_unlock (&r_chain->mutex);                         
      pthread_mutex_lock (&aio_request_queue.mutex);                  
                                                                      
      if (rtems_chain_is_empty (chain))                               
	{                                                                    
	  clock_gettime (CLOCK_REALTIME, &timeout);                          
   4778c:	486e fff4      	pea %fp@(-12)                               
	  timeout.tv_sec += 3;                                               
	  timeout.tv_nsec = 0;                                               
	  result = pthread_cond_timedwait (&r_chain->cond,                   
   47790:	280c           	movel %a4,%d4                               
      pthread_mutex_unlock (&r_chain->mutex);                         
      pthread_mutex_lock (&aio_request_queue.mutex);                  
                                                                      
      if (rtems_chain_is_empty (chain))                               
	{                                                                    
	  clock_gettime (CLOCK_REALTIME, &timeout);                          
   47792:	4878 0001      	pea 1 <ADD>                                 
	  timeout.tv_sec += 3;                                               
	  timeout.tv_nsec = 0;                                               
	  result = pthread_cond_timedwait (&r_chain->cond,                   
   47796:	0684 0000 0020 	addil #32,%d4                               
      pthread_mutex_unlock (&r_chain->mutex);                         
      pthread_mutex_lock (&aio_request_queue.mutex);                  
                                                                      
      if (rtems_chain_is_empty (chain))                               
	{                                                                    
	  clock_gettime (CLOCK_REALTIME, &timeout);                          
   4779c:	4eb9 0004 7dd0 	jsr 47dd0 <clock_gettime>                   
	  timeout.tv_sec += 3;                                               
	  timeout.tv_nsec = 0;                                               
	  result = pthread_cond_timedwait (&r_chain->cond,                   
   477a2:	486e fff4      	pea %fp@(-12)                               
      pthread_mutex_lock (&aio_request_queue.mutex);                  
                                                                      
      if (rtems_chain_is_empty (chain))                               
	{                                                                    
	  clock_gettime (CLOCK_REALTIME, &timeout);                          
	  timeout.tv_sec += 3;                                               
   477a6:	56ae fff4      	addql #3,%fp@(-12)                          
	  timeout.tv_nsec = 0;                                               
	  result = pthread_cond_timedwait (&r_chain->cond,                   
   477aa:	4879 0006 3e18 	pea 63e18 <aio_request_queue>               
                                                                      
      if (rtems_chain_is_empty (chain))                               
	{                                                                    
	  clock_gettime (CLOCK_REALTIME, &timeout);                          
	  timeout.tv_sec += 3;                                               
	  timeout.tv_nsec = 0;                                               
   477b0:	42ae fff8      	clrl %fp@(-8)                               
	  result = pthread_cond_timedwait (&r_chain->cond,                   
   477b4:	2f04           	movel %d4,%sp@-                             
   477b6:	4eb9 0004 807c 	jsr 4807c <pthread_cond_timedwait>          
					   &aio_request_queue.mutex,                                     
					   &timeout);                                                    
                                                                      
	  /* If no requests were added to the chain we delete the fd chain from
	     the queue and start working with idle fd chains */              
	  if (result == ETIMEDOUT) {                                         
   477bc:	4fef 0014      	lea %sp@(20),%sp                            
   477c0:	7274           	moveq #116,%d1                              
   477c2:	b280           	cmpl %d0,%d1                                
   477c4:	66b8           	bnes 4777e <rtems_aio_handle+0x14c>         <== NEVER TAKEN
   477c6:	2f0c           	movel %a4,%sp@-                             
   477c8:	2046           	moveal %d6,%a0                              
   477ca:	4e90           	jsr %a0@                                    
	    rtems_chain_extract (&r_chain->next_fd);                         
	    pthread_mutex_destroy (&r_chain->mutex);                         
   477cc:	2f02           	movel %d2,%sp@-                             
   477ce:	4eb9 0004 81c4 	jsr 481c4 <pthread_mutex_destroy>           
	    pthread_cond_destroy (&r_chain->cond);                           
   477d4:	2f04           	movel %d4,%sp@-                             
   477d6:	4eb9 0004 7e50 	jsr 47e50 <pthread_cond_destroy>            
	    free (r_chain);                                                  
   477dc:	2f0c           	movel %a4,%sp@-                             
   477de:	4eb9 0004 3c60 	jsr 43c60 <free>                            
    }                                                                 
  }                                                                   
                                                                      
  AIO_printf ("Thread finished\n");                                   
  return NULL;                                                        
}                                                                     
   477e4:	2039 0006 3e6c 	movel 63e6c <aio_request_queue+0x54>,%d0    
	    pthread_cond_destroy (&r_chain->cond);                           
	    free (r_chain);                                                  
	                                                                     
	    /* If the idle chain is empty sleep for 3 seconds and wait for a 
	       signal. The thread now becomes idle. */                       
	    if (rtems_chain_is_empty (&aio_request_queue.idle_req)) {        
   477ea:	4fef 0010      	lea %sp@(16),%sp                            
   477ee:	0c80 0006 3e70 	cmpil #409200,%d0                           
   477f4:	6734           	beqs 4782a <rtems_aio_handle+0x1f8>         
	      }                                                              
	    }                                                                
	    /* Otherwise move this chain to the working chain and            
	       start the loop all over again */                              
	    AIO_printf ("Work on idle\n");                                   
	    --aio_request_queue.idle_threads;                                
   477f6:	53b9 0006 3e80 	subql #1,63e80 <aio_request_queue+0x68>     
	    ++aio_request_queue.active_threads;                              
                                                                      
	    node = rtems_chain_first (&aio_request_queue.idle_req);          
	    rtems_chain_extract (node);                                      
                                                                      
	    r_chain = (rtems_aio_request_chain *) node;                      
   477fc:	2840           	moveal %d0,%a4                              
	    }                                                                
	    /* Otherwise move this chain to the working chain and            
	       start the loop all over again */                              
	    AIO_printf ("Work on idle\n");                                   
	    --aio_request_queue.idle_threads;                                
	    ++aio_request_queue.active_threads;                              
   477fe:	52b9 0006 3e7c 	addql #1,63e7c <aio_request_queue+0x64>     
   47804:	2400           	movel %d0,%d2                               
   47806:	2046           	moveal %d6,%a0                              
   47808:	0682 0000 001c 	addil #28,%d2                               
   4780e:	2f00           	movel %d0,%sp@-                             
   47810:	4e90           	jsr %a0@                                    
                                                                      
	    node = rtems_chain_first (&aio_request_queue.idle_req);          
	    rtems_chain_extract (node);                                      
                                                                      
	    r_chain = (rtems_aio_request_chain *) node;                      
	    rtems_aio_move_to_work (r_chain);                                
   47812:	2f0c           	movel %a4,%sp@-                             
   47814:	4eb9 0004 75d0 	jsr 475d0 <rtems_aio_move_to_work>          
   4781a:	508f           	addql #8,%sp                                
	                                                                     
	  }                                                                  
	}                                                                    
      /* If there was a request added in the initial fd chain then release
	 the mutex and process it */                                         
      pthread_mutex_unlock (&aio_request_queue.mutex);                
   4781c:	4879 0006 3e18 	pea 63e18 <aio_request_queue>               
   47822:	4e95           	jsr %a5@                                    
   47824:	588f           	addql #4,%sp                                
   47826:	6000 fe3c      	braw 47664 <rtems_aio_handle+0x32>          
	    if (rtems_chain_is_empty (&aio_request_queue.idle_req)) {        
	      AIO_printf ("Chain is empty [IQ], wait for work\n");	          
                                                                      
	      ++aio_request_queue.idle_threads;                              
	      --aio_request_queue.active_threads;                            
	      clock_gettime (CLOCK_REALTIME, &timeout);                      
   4782a:	486e fff4      	pea %fp@(-12)                               
	    /* If the idle chain is empty sleep for 3 seconds and wait for a 
	       signal. The thread now becomes idle. */                       
	    if (rtems_chain_is_empty (&aio_request_queue.idle_req)) {        
	      AIO_printf ("Chain is empty [IQ], wait for work\n");	          
                                                                      
	      ++aio_request_queue.idle_threads;                              
   4782e:	52b9 0006 3e80 	addql #1,63e80 <aio_request_queue+0x68>     
	      --aio_request_queue.active_threads;                            
   47834:	53b9 0006 3e7c 	subql #1,63e7c <aio_request_queue+0x64>     
	      clock_gettime (CLOCK_REALTIME, &timeout);                      
   4783a:	4878 0001      	pea 1 <ADD>                                 
   4783e:	4eb9 0004 7dd0 	jsr 47dd0 <clock_gettime>                   
	      timeout.tv_sec += 3;                                           
	      timeout.tv_nsec = 0;                                           
                                                                      
	      result = pthread_cond_timedwait (&aio_request_queue.new_req,   
   47844:	486e fff4      	pea %fp@(-12)                               
	      AIO_printf ("Chain is empty [IQ], wait for work\n");	          
                                                                      
	      ++aio_request_queue.idle_threads;                              
	      --aio_request_queue.active_threads;                            
	      clock_gettime (CLOCK_REALTIME, &timeout);                      
	      timeout.tv_sec += 3;                                           
   47848:	56ae fff4      	addql #3,%fp@(-12)                          
	      timeout.tv_nsec = 0;                                           
                                                                      
	      result = pthread_cond_timedwait (&aio_request_queue.new_req,   
   4784c:	4879 0006 3e18 	pea 63e18 <aio_request_queue>               
   47852:	4879 0006 3e1c 	pea 63e1c <aio_request_queue+0x4>           
                                                                      
	      ++aio_request_queue.idle_threads;                              
	      --aio_request_queue.active_threads;                            
	      clock_gettime (CLOCK_REALTIME, &timeout);                      
	      timeout.tv_sec += 3;                                           
	      timeout.tv_nsec = 0;                                           
   47858:	42ae fff8      	clrl %fp@(-8)                               
                                                                      
	      result = pthread_cond_timedwait (&aio_request_queue.new_req,   
   4785c:	4eb9 0004 807c 	jsr 4807c <pthread_cond_timedwait>          
					       &aio_request_queue.mutex,                                 
					       &timeout);                                                
	                                                                     
	      /* If no new fd chain was added in the idle requests           
		 then this thread is finished */                                    
	      if (result == ETIMEDOUT) {                                     
   47862:	4fef 0014      	lea %sp@(20),%sp                            
   47866:	7274           	moveq #116,%d1                              
   47868:	b280           	cmpl %d0,%d1                                
   4786a:	6748           	beqs 478b4 <rtems_aio_handle+0x282>         <== ALWAYS TAKEN
   4786c:	2039 0006 3e6c 	movel 63e6c <aio_request_queue+0x54>,%d0    <== NOT EXECUTED
	      }                                                              
	    }                                                                
	    /* Otherwise move this chain to the working chain and            
	       start the loop all over again */                              
	    AIO_printf ("Work on idle\n");                                   
	    --aio_request_queue.idle_threads;                                
   47872:	53b9 0006 3e80 	subql #1,63e80 <aio_request_queue+0x68>     <== NOT EXECUTED
	    ++aio_request_queue.active_threads;                              
                                                                      
	    node = rtems_chain_first (&aio_request_queue.idle_req);          
	    rtems_chain_extract (node);                                      
                                                                      
	    r_chain = (rtems_aio_request_chain *) node;                      
   47878:	2840           	moveal %d0,%a4                              <== NOT EXECUTED
	    }                                                                
	    /* Otherwise move this chain to the working chain and            
	       start the loop all over again */                              
	    AIO_printf ("Work on idle\n");                                   
	    --aio_request_queue.idle_threads;                                
	    ++aio_request_queue.active_threads;                              
   4787a:	52b9 0006 3e7c 	addql #1,63e7c <aio_request_queue+0x64>     <== NOT EXECUTED
   47880:	2400           	movel %d0,%d2                               <== NOT EXECUTED
   47882:	2046           	moveal %d6,%a0                              <== NOT EXECUTED
   47884:	0682 0000 001c 	addil #28,%d2                               <== NOT EXECUTED
   4788a:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   4788c:	4e90           	jsr %a0@                                    <== NOT EXECUTED
                                                                      
	    node = rtems_chain_first (&aio_request_queue.idle_req);          
	    rtems_chain_extract (node);                                      
                                                                      
	    r_chain = (rtems_aio_request_chain *) node;                      
	    rtems_aio_move_to_work (r_chain);                                
   4788e:	2f0c           	movel %a4,%sp@-                             <== NOT EXECUTED
   47890:	4eb9 0004 75d0 	jsr 475d0 <rtems_aio_move_to_work>          <== NOT EXECUTED
   47896:	508f           	addql #8,%sp                                <== NOT EXECUTED
   47898:	6082           	bras 4781c <rtems_aio_handle+0x1ea>         <== NOT EXECUTED
      	break;                                                         
                                                                      
      default:                                                        
        result = -1;                                                  
      }                                                               
      if (result == -1) {                                             
   4789a:	266a 0014      	moveal %a2@(20),%a3                         <== NOT EXECUTED
        req->aiocbp->return_value = -1;                               
   4789e:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   478a0:	2740 0034      	movel %d0,%a3@(52)                          <== NOT EXECUTED
	req->aiocbp->error_code = errno;                                     
   478a4:	4eb9 0005 1a30 	jsr 51a30 <__errno>                         <== NOT EXECUTED
   478aa:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   478ac:	2750 0030      	movel %a0@,%a3@(48)                         <== NOT EXECUTED
   478b0:	6000 fe3c      	braw 476ee <rtems_aio_handle+0xbc>          <== NOT EXECUTED
	      /* If no new fd chain was added in the idle requests           
		 then this thread is finished */                                    
	      if (result == ETIMEDOUT) {                                     
		AIO_printf ("Etimeout\n");                                          
		--aio_request_queue.idle_threads;                                   
		pthread_mutex_unlock (&aio_request_queue.mutex);                    
   478b4:	4879 0006 3e18 	pea 63e18 <aio_request_queue>               
	                                                                     
	      /* If no new fd chain was added in the idle requests           
		 then this thread is finished */                                    
	      if (result == ETIMEDOUT) {                                     
		AIO_printf ("Etimeout\n");                                          
		--aio_request_queue.idle_threads;                                   
   478ba:	53b9 0006 3e80 	subql #1,63e80 <aio_request_queue+0x68>     
		pthread_mutex_unlock (&aio_request_queue.mutex);                    
   478c0:	4eb9 0004 8514 	jsr 48514 <pthread_mutex_unlock>            
		return NULL;                                                        
   478c6:	588f           	addql #4,%sp                                
    }                                                                 
  }                                                                   
                                                                      
  AIO_printf ("Thread finished\n");                                   
  return NULL;                                                        
}                                                                     
   478c8:	4280           	clrl %d0                                    
   478ca:	4cee 3cfc ffb0 	moveml %fp@(-80),%d2-%d7/%a2-%a5            
   478d0:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00047394 <rtems_aio_init>: * 0 - if initialization succeeded */ int rtems_aio_init (void) {
   47394:	4e56 0000      	linkw %fp,#0                                
   47398:	2f02           	movel %d2,%sp@-                             
  int result = 0;                                                     
                                                                      
  result = pthread_attr_init (&aio_request_queue.attr);               
   4739a:	4879 0006 3e20 	pea 63e20 <aio_request_queue+0x8>           
   473a0:	4eb9 0004 863c 	jsr 4863c <pthread_attr_init>               
  if (result != 0)                                                    
   473a6:	588f           	addql #4,%sp                                
int                                                                   
rtems_aio_init (void)                                                 
{                                                                     
  int result = 0;                                                     
                                                                      
  result = pthread_attr_init (&aio_request_queue.attr);               
   473a8:	2400           	movel %d0,%d2                               
  if (result != 0)                                                    
   473aa:	670a           	beqs 473b6 <rtems_aio_init+0x22>            <== ALWAYS TAKEN
  aio_request_queue.active_threads = 0;                               
  aio_request_queue.idle_threads = 0;                                 
  aio_request_queue.initialized = AIO_QUEUE_INITIALIZED;              
                                                                      
  return result;                                                      
}                                                                     
   473ac:	2002           	movel %d2,%d0                               <== NOT EXECUTED
   473ae:	242e fffc      	movel %fp@(-4),%d2                          <== NOT EXECUTED
   473b2:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   473b4:	4e75           	rts                                         <== NOT EXECUTED
                                                                      
  result = pthread_attr_init (&aio_request_queue.attr);               
  if (result != 0)                                                    
    return result;                                                    
                                                                      
  result =                                                            
   473b6:	42a7           	clrl %sp@-                                  
   473b8:	4879 0006 3e20 	pea 63e20 <aio_request_queue+0x8>           
   473be:	4eb9 0004 8668 	jsr 48668 <pthread_attr_setdetachstate>     
    pthread_attr_setdetachstate (&aio_request_queue.attr,             
                                 PTHREAD_CREATE_DETACHED);            
  if (result != 0)                                                    
   473c4:	508f           	addql #8,%sp                                
   473c6:	4a80           	tstl %d0                                    
   473c8:	6600 0122      	bnew 474ec <rtems_aio_init+0x158>           
    pthread_attr_destroy (&aio_request_queue.attr);                   
                                                                      
                                                                      
  result = pthread_mutex_init (&aio_request_queue.mutex, NULL);       
   473cc:	42a7           	clrl %sp@-                                  
   473ce:	4879 0006 3e18 	pea 63e18 <aio_request_queue>               
   473d4:	4eb9 0004 8338 	jsr 48338 <pthread_mutex_init>              
  if (result != 0)                                                    
   473da:	508f           	addql #8,%sp                                
   473dc:	4a80           	tstl %d0                                    
   473de:	6600 00e4      	bnew 474c4 <rtems_aio_init+0x130>           
    pthread_attr_destroy (&aio_request_queue.attr);                   
                                                                      
                                                                      
  result = pthread_cond_init (&aio_request_queue.new_req, NULL);      
   473e2:	42a7           	clrl %sp@-                                  
   473e4:	4879 0006 3e1c 	pea 63e1c <aio_request_queue+0x4>           
   473ea:	4eb9 0004 7f40 	jsr 47f40 <pthread_cond_init>               
  if (result != 0) {                                                  
   473f0:	508f           	addql #8,%sp                                
  result = pthread_mutex_init (&aio_request_queue.mutex, NULL);       
  if (result != 0)                                                    
    pthread_attr_destroy (&aio_request_queue.attr);                   
                                                                      
                                                                      
  result = pthread_cond_init (&aio_request_queue.new_req, NULL);      
   473f2:	2400           	movel %d0,%d2                               
  if (result != 0) {                                                  
   473f4:	665e           	bnes 47454 <rtems_aio_init+0xc0>            <== NEVER TAKEN
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
   473f6:	42b9 0006 3e64 	clrl 63e64 <aio_request_queue+0x4c>         
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
   473fc:	203c 0006 3e64 	movel #409188,%d0                           
   47402:	23c0 0006 3e60 	movel %d0,63e60 <aio_request_queue+0x48>    
  head->previous = NULL;                                              
  tail->previous = head;                                              
   47408:	203c 0006 3e60 	movel #409184,%d0                           
   4740e:	23c0 0006 3e68 	movel %d0,63e68 <aio_request_queue+0x50>    
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
   47414:	203c 0006 3e70 	movel #409200,%d0                           
   4741a:	23c0 0006 3e6c 	movel %d0,63e6c <aio_request_queue+0x54>    
  head->previous = NULL;                                              
  tail->previous = head;                                              
   47420:	203c 0006 3e6c 	movel #409196,%d0                           
   47426:	23c0 0006 3e74 	movel %d0,63e74 <aio_request_queue+0x5c>    
  rtems_chain_initialize_empty (&aio_request_queue.work_req);         
  rtems_chain_initialize_empty (&aio_request_queue.idle_req);         
                                                                      
  aio_request_queue.active_threads = 0;                               
  aio_request_queue.idle_threads = 0;                                 
  aio_request_queue.initialized = AIO_QUEUE_INITIALIZED;              
   4742c:	203c 0000 b00b 	movel #45067,%d0                            
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
   47432:	42b9 0006 3e70 	clrl 63e70 <aio_request_queue+0x58>         
  }                                                                   
                                                                      
  rtems_chain_initialize_empty (&aio_request_queue.work_req);         
  rtems_chain_initialize_empty (&aio_request_queue.idle_req);         
                                                                      
  aio_request_queue.active_threads = 0;                               
   47438:	42b9 0006 3e7c 	clrl 63e7c <aio_request_queue+0x64>         
  aio_request_queue.idle_threads = 0;                                 
   4743e:	42b9 0006 3e80 	clrl 63e80 <aio_request_queue+0x68>         
  aio_request_queue.initialized = AIO_QUEUE_INITIALIZED;              
   47444:	23c0 0006 3e78 	movel %d0,63e78 <aio_request_queue+0x60>    
                                                                      
  return result;                                                      
}                                                                     
   4744a:	2002           	movel %d2,%d0                               
   4744c:	242e fffc      	movel %fp@(-4),%d2                          
   47450:	4e5e           	unlk %fp                                    
   47452:	4e75           	rts                                         
    pthread_attr_destroy (&aio_request_queue.attr);                   
                                                                      
                                                                      
  result = pthread_cond_init (&aio_request_queue.new_req, NULL);      
  if (result != 0) {                                                  
    pthread_mutex_destroy (&aio_request_queue.mutex);                 
   47454:	4879 0006 3e18 	pea 63e18 <aio_request_queue>               <== NOT EXECUTED
   4745a:	4eb9 0004 81c4 	jsr 481c4 <pthread_mutex_destroy>           <== NOT EXECUTED
    pthread_attr_destroy (&aio_request_queue.attr);                   
   47460:	4879 0006 3e20 	pea 63e20 <aio_request_queue+0x8>           <== NOT EXECUTED
   47466:	4eb9 0004 861c 	jsr 4861c <pthread_attr_destroy>            <== NOT EXECUTED
   4746c:	508f           	addql #8,%sp                                <== NOT EXECUTED
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
   4746e:	203c 0006 3e64 	movel #409188,%d0                           <== NOT EXECUTED
   47474:	23c0 0006 3e60 	movel %d0,63e60 <aio_request_queue+0x48>    <== NOT EXECUTED
  head->previous = NULL;                                              
  tail->previous = head;                                              
   4747a:	203c 0006 3e60 	movel #409184,%d0                           <== NOT EXECUTED
   47480:	23c0 0006 3e68 	movel %d0,63e68 <aio_request_queue+0x50>    <== NOT EXECUTED
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
   47486:	203c 0006 3e70 	movel #409200,%d0                           <== NOT EXECUTED
   4748c:	23c0 0006 3e6c 	movel %d0,63e6c <aio_request_queue+0x54>    <== NOT EXECUTED
  head->previous = NULL;                                              
  tail->previous = head;                                              
   47492:	203c 0006 3e6c 	movel #409196,%d0                           <== NOT EXECUTED
   47498:	23c0 0006 3e74 	movel %d0,63e74 <aio_request_queue+0x5c>    <== NOT EXECUTED
  rtems_chain_initialize_empty (&aio_request_queue.work_req);         
  rtems_chain_initialize_empty (&aio_request_queue.idle_req);         
                                                                      
  aio_request_queue.active_threads = 0;                               
  aio_request_queue.idle_threads = 0;                                 
  aio_request_queue.initialized = AIO_QUEUE_INITIALIZED;              
   4749e:	203c 0000 b00b 	movel #45067,%d0                            <== NOT EXECUTED
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
   474a4:	42b9 0006 3e64 	clrl 63e64 <aio_request_queue+0x4c>         <== NOT EXECUTED
   474aa:	42b9 0006 3e70 	clrl 63e70 <aio_request_queue+0x58>         <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_chain_initialize_empty (&aio_request_queue.work_req);         
  rtems_chain_initialize_empty (&aio_request_queue.idle_req);         
                                                                      
  aio_request_queue.active_threads = 0;                               
   474b0:	42b9 0006 3e7c 	clrl 63e7c <aio_request_queue+0x64>         <== NOT EXECUTED
  aio_request_queue.idle_threads = 0;                                 
   474b6:	42b9 0006 3e80 	clrl 63e80 <aio_request_queue+0x68>         <== NOT EXECUTED
  aio_request_queue.initialized = AIO_QUEUE_INITIALIZED;              
   474bc:	23c0 0006 3e78 	movel %d0,63e78 <aio_request_queue+0x60>    <== NOT EXECUTED
   474c2:	6086           	bras 4744a <rtems_aio_init+0xb6>            <== NOT EXECUTED
    pthread_attr_destroy (&aio_request_queue.attr);                   
                                                                      
                                                                      
  result = pthread_mutex_init (&aio_request_queue.mutex, NULL);       
  if (result != 0)                                                    
    pthread_attr_destroy (&aio_request_queue.attr);                   
   474c4:	4879 0006 3e20 	pea 63e20 <aio_request_queue+0x8>           <== NOT EXECUTED
   474ca:	4eb9 0004 861c 	jsr 4861c <pthread_attr_destroy>            <== NOT EXECUTED
   474d0:	588f           	addql #4,%sp                                <== NOT EXECUTED
                                                                      
                                                                      
  result = pthread_cond_init (&aio_request_queue.new_req, NULL);      
   474d2:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   474d4:	4879 0006 3e1c 	pea 63e1c <aio_request_queue+0x4>           <== NOT EXECUTED
   474da:	4eb9 0004 7f40 	jsr 47f40 <pthread_cond_init>               <== NOT EXECUTED
  if (result != 0) {                                                  
   474e0:	508f           	addql #8,%sp                                <== NOT EXECUTED
  result = pthread_mutex_init (&aio_request_queue.mutex, NULL);       
  if (result != 0)                                                    
    pthread_attr_destroy (&aio_request_queue.attr);                   
                                                                      
                                                                      
  result = pthread_cond_init (&aio_request_queue.new_req, NULL);      
   474e2:	2400           	movel %d0,%d2                               <== NOT EXECUTED
  if (result != 0) {                                                  
   474e4:	6700 ff10      	beqw 473f6 <rtems_aio_init+0x62>            <== NOT EXECUTED
   474e8:	6000 ff6a      	braw 47454 <rtems_aio_init+0xc0>            <== NOT EXECUTED
                                                                      
  result =                                                            
    pthread_attr_setdetachstate (&aio_request_queue.attr,             
                                 PTHREAD_CREATE_DETACHED);            
  if (result != 0)                                                    
    pthread_attr_destroy (&aio_request_queue.attr);                   
   474ec:	4879 0006 3e20 	pea 63e20 <aio_request_queue+0x8>           <== NOT EXECUTED
   474f2:	4eb9 0004 861c 	jsr 4861c <pthread_attr_destroy>            <== NOT EXECUTED
   474f8:	588f           	addql #4,%sp                                <== NOT EXECUTED
                                                                      
                                                                      
  result = pthread_mutex_init (&aio_request_queue.mutex, NULL);       
   474fa:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   474fc:	4879 0006 3e18 	pea 63e18 <aio_request_queue>               <== NOT EXECUTED
   47502:	4eb9 0004 8338 	jsr 48338 <pthread_mutex_init>              <== NOT EXECUTED
  if (result != 0)                                                    
   47508:	508f           	addql #8,%sp                                <== NOT EXECUTED
   4750a:	4a80           	tstl %d0                                    <== NOT EXECUTED
   4750c:	6700 fed4      	beqw 473e2 <rtems_aio_init+0x4e>            <== NOT EXECUTED
   47510:	60b2           	bras 474c4 <rtems_aio_init+0x130>           <== NOT EXECUTED
                                                                      

000478d4 <rtems_aio_insert_prio>: * NONE */ void rtems_aio_insert_prio (rtems_chain_control *chain, rtems_aio_request *req) {
   478d4:	4e56 fff4      	linkw %fp,#-12                              
   478d8:	202e 0008      	movel %fp@(8),%d0                           
   478dc:	48d7 1c00      	moveml %a2-%a4,%sp@                         
    }                                                                 
  }                                                                   
                                                                      
  AIO_printf ("Thread finished\n");                                   
  return NULL;                                                        
}                                                                     
   478e0:	2640           	moveal %d0,%a3                              
 *        NONE                                                        
 */                                                                   
                                                                      
void                                                                  
rtems_aio_insert_prio (rtems_chain_control *chain, rtems_aio_request *req)
{                                                                     
   478e2:	286e 000c      	moveal %fp@(12),%a4                         
    }                                                                 
  }                                                                   
                                                                      
  AIO_printf ("Thread finished\n");                                   
  return NULL;                                                        
}                                                                     
   478e6:	225b           	moveal %a3@+,%a1                            
  rtems_chain_node *node;                                             
                                                                      
  AIO_printf ("FD exists \n");                                        
  node = rtems_chain_first (chain);                                   
                                                                      
  if (rtems_chain_is_empty (chain)) {                                 
   478e8:	b7c9           	cmpal %a1,%a3                               
   478ea:	6730           	beqs 4791c <rtems_aio_insert_prio+0x48>     <== NEVER TAKEN
    rtems_chain_prepend (chain, &req->next_prio);                     
  } else {                                                            
    AIO_printf ("Add by priority \n");                                
    int prio = ((rtems_aio_request *) node)->aiocbp->aio_reqprio;     
                                                                      
    while (req->aiocbp->aio_reqprio > prio &&                         
   478ec:	246c 0014      	moveal %a4@(20),%a2                         
  if (rtems_chain_is_empty (chain)) {                                 
    AIO_printf ("First in chain \n");                                 
    rtems_chain_prepend (chain, &req->next_prio);                     
  } else {                                                            
    AIO_printf ("Add by priority \n");                                
    int prio = ((rtems_aio_request *) node)->aiocbp->aio_reqprio;     
   478f0:	2069 0014      	moveal %a1@(20),%a0                         
                                                                      
    while (req->aiocbp->aio_reqprio > prio &&                         
   478f4:	202a 0014      	movel %a2@(20),%d0                          
   478f8:	b0a8 0014      	cmpl %a0@(20),%d0                           
   478fc:	6f2a           	bles 47928 <rtems_aio_insert_prio+0x54>     <== ALWAYS TAKEN
    }                                                                 
  }                                                                   
                                                                      
  AIO_printf ("Thread finished\n");                                   
  return NULL;                                                        
}                                                                     
   478fe:	2051           	moveal %a1@,%a0                             <== NOT EXECUTED
    rtems_chain_prepend (chain, &req->next_prio);                     
  } else {                                                            
    AIO_printf ("Add by priority \n");                                
    int prio = ((rtems_aio_request *) node)->aiocbp->aio_reqprio;     
                                                                      
    while (req->aiocbp->aio_reqprio > prio &&                         
   47900:	2248           	moveal %a0,%a1                              <== NOT EXECUTED
           !rtems_chain_is_tail (chain, node)) {                      
      node = rtems_chain_next (node);                                 
      prio = ((rtems_aio_request *) node)->aiocbp->aio_reqprio;       
   47902:	2468 0014      	moveal %a0@(20),%a2                         <== NOT EXECUTED
    rtems_chain_prepend (chain, &req->next_prio);                     
  } else {                                                            
    AIO_printf ("Add by priority \n");                                
    int prio = ((rtems_aio_request *) node)->aiocbp->aio_reqprio;     
                                                                      
    while (req->aiocbp->aio_reqprio > prio &&                         
   47906:	b0aa 0014      	cmpl %a2@(20),%d0                           <== NOT EXECUTED
   4790a:	6f06           	bles 47912 <rtems_aio_insert_prio+0x3e>     <== NOT EXECUTED
   4790c:	b7c8           	cmpal %a0,%a3                               <== NOT EXECUTED
   4790e:	66ee           	bnes 478fe <rtems_aio_insert_prio+0x2a>     <== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
  AIO_printf ("Thread finished\n");                                   
  return NULL;                                                        
}                                                                     
   47910:	204b           	moveal %a3,%a0                              <== NOT EXECUTED
RTEMS_INLINE_ROUTINE void rtems_chain_insert(                         
  rtems_chain_node *after_node,                                       
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Insert( after_node, the_node );                              
   47912:	2d4c 000c      	movel %a4,%fp@(12)                          <== NOT EXECUTED
   47916:	2d68 0004 0008 	movel %a0@(4),%fp@(8)                       <== NOT EXECUTED
    }                                                                 
                                                                      
    rtems_chain_insert (node->previous, &req->next_prio);             
                                                                      
  }                                                                   
}                                                                     
   4791c:	4cd7 1c00      	moveml %sp@,%a2-%a4                         
   47920:	4e5e           	unlk %fp                                    
   47922:	4ef9 0004 a118 	jmp 4a118 <_Chain_Insert>                   
    rtems_chain_prepend (chain, &req->next_prio);                     
  } else {                                                            
    AIO_printf ("Add by priority \n");                                
    int prio = ((rtems_aio_request *) node)->aiocbp->aio_reqprio;     
                                                                      
    while (req->aiocbp->aio_reqprio > prio &&                         
   47928:	2049           	moveal %a1,%a0                              
   4792a:	2d4c 000c      	movel %a4,%fp@(12)                          
   4792e:	2d68 0004 0008 	movel %a0@(4),%fp@(8)                       
   47934:	60e6           	bras 4791c <rtems_aio_insert_prio+0x48>     
                                                                      

000475d0 <rtems_aio_move_to_work>: * NONE */ void rtems_aio_move_to_work (rtems_aio_request_chain *r_chain) {
   475d0:	4e56 0000      	linkw %fp,#0                                
    }                                                                 
  }                                                                   
                                                                      
  AIO_printf ("Thread finished\n");                                   
  return NULL;                                                        
}                                                                     
   475d4:	2279 0006 3e60 	moveal 63e60 <aio_request_queue+0x48>,%a1   
 *        NONE                                                        
 */                                                                   
                                                                      
void                                                                  
rtems_aio_move_to_work (rtems_aio_request_chain *r_chain)             
{                                                                     
   475da:	2f0a           	movel %a2,%sp@-                             
   475dc:	246e 0008      	moveal %fp@(8),%a2                          
  rtems_chain_node *node;                                             
                                                                      
  node = rtems_chain_first (&aio_request_queue.work_req);             
  temp = (rtems_aio_request_chain *) node;                            
                                                                      
  while (temp->fildes < r_chain->fildes &&                            
   475e0:	202a 0014      	movel %a2@(20),%d0                          
   475e4:	b0a9 0014      	cmpl %a1@(20),%d0                           
   475e8:	6f30           	bles 4761a <rtems_aio_move_to_work+0x4a>    <== NEVER TAKEN
   475ea:	b3fc 0006 3e64 	cmpal #409188,%a1                           
   475f0:	6728           	beqs 4761a <rtems_aio_move_to_work+0x4a>    <== NEVER TAKEN
    }                                                                 
  }                                                                   
                                                                      
  AIO_printf ("Thread finished\n");                                   
  return NULL;                                                        
}                                                                     
   475f2:	2051           	moveal %a1@,%a0                             
  rtems_chain_node *node;                                             
                                                                      
  node = rtems_chain_first (&aio_request_queue.work_req);             
  temp = (rtems_aio_request_chain *) node;                            
                                                                      
  while (temp->fildes < r_chain->fildes &&                            
   475f4:	b0a8 0014      	cmpl %a0@(20),%d0                           
   475f8:	6f0a           	bles 47604 <rtems_aio_move_to_work+0x34>    
   475fa:	2248           	moveal %a0,%a1                              
   475fc:	b1fc 0006 3e64 	cmpal #409188,%a0                           
   47602:	66ee           	bnes 475f2 <rtems_aio_move_to_work+0x22>    <== ALWAYS TAKEN
   47604:	2f0a           	movel %a2,%sp@-                             
   47606:	2f28 0004      	movel %a0@(4),%sp@-                         
   4760a:	4eb9 0004 a118 	jsr 4a118 <_Chain_Insert>                   
    node = rtems_chain_next (node);                                   
    temp = (rtems_aio_request_chain *) node;                          
  }                                                                   
                                                                      
  rtems_chain_insert (rtems_chain_previous (node), &r_chain->next_fd);
}                                                                     
   47610:	246e fffc      	moveal %fp@(-4),%a2                         
   47614:	508f           	addql #8,%sp                                
   47616:	4e5e           	unlk %fp                                    
   47618:	4e75           	rts                                         
  rtems_chain_node *node;                                             
                                                                      
  node = rtems_chain_first (&aio_request_queue.work_req);             
  temp = (rtems_aio_request_chain *) node;                            
                                                                      
  while (temp->fildes < r_chain->fildes &&                            
   4761a:	2049           	moveal %a1,%a0                              <== NOT EXECUTED
   4761c:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   4761e:	2f28 0004      	movel %a0@(4),%sp@-                         <== NOT EXECUTED
   47622:	4eb9 0004 a118 	jsr 4a118 <_Chain_Insert>                   <== NOT EXECUTED
    node = rtems_chain_next (node);                                   
    temp = (rtems_aio_request_chain *) node;                          
  }                                                                   
                                                                      
  rtems_chain_insert (rtems_chain_previous (node), &r_chain->next_fd);
}                                                                     
   47628:	246e fffc      	moveal %fp@(-4),%a2                         <== NOT EXECUTED
   4762c:	508f           	addql #8,%sp                                <== NOT EXECUTED
   4762e:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00047936 <rtems_aio_remove_fd>: * Output parameters: * NONE */ void rtems_aio_remove_fd (rtems_aio_request_chain *r_chain) {
   47936:	4e56 ffec      	linkw %fp,#-20                              
   4793a:	206e 0008      	moveal %fp@(8),%a0                          
   4793e:	48d7 1c0c      	moveml %d2-%d3/%a2-%a4,%sp@                 
RTEMS_INLINE_ROUTINE bool _Chain_Is_tail(                             
  Chain_Control *the_chain,                                           
  const Chain_Node    *the_node                                       
)                                                                     
{                                                                     
  return (the_node == _Chain_Tail(the_chain));                        
   47942:	2608           	movel %a0,%d3                               
   47944:	0683 0000 000c 	addil #12,%d3                               
    }                                                                 
  }                                                                   
                                                                      
  AIO_printf ("Thread finished\n");                                   
  return NULL;                                                        
}                                                                     
   4794a:	2468 0008      	moveal %a0@(8),%a2                          
  rtems_chain_control *chain;                                         
  rtems_chain_node *node;                                             
  chain = &r_chain->perfd;                                            
  node = rtems_chain_first (chain);                                   
                                                                      
  while (!rtems_chain_is_tail (chain, node))                          
   4794e:	b68a           	cmpl %a2,%d3                                
   47950:	6732           	beqs 47984 <rtems_aio_remove_fd+0x4e>       <== NEVER TAKEN
   47952:	49f9 0004 a0b4 	lea 4a0b4 <_Chain_Extract>,%a4              
   47958:	47f9 0004 3c60 	lea 43c60 <free>,%a3                        
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
   4795e:	2f0a           	movel %a2,%sp@-                             
   47960:	4e94           	jsr %a4@                                    
    }                                                                 
  }                                                                   
                                                                      
  AIO_printf ("Thread finished\n");                                   
  return NULL;                                                        
}                                                                     
   47962:	2412           	movel %a2@,%d2                              
  while (!rtems_chain_is_tail (chain, node))                          
    {                                                                 
      rtems_chain_extract (node);                                     
      rtems_aio_request *req = (rtems_aio_request *) node;            
      node = rtems_chain_next (node);                                 
      req->aiocbp->error_code = ECANCELED;                            
   47964:	203c 0000 008c 	movel #140,%d0                              
   4796a:	206a 0014      	moveal %a2@(20),%a0                         
   4796e:	2140 0030      	movel %d0,%a0@(48)                          
      req->aiocbp->return_value = -1;                                 
   47972:	70ff           	moveq #-1,%d0                               
   47974:	2140 0034      	movel %d0,%a0@(52)                          
      free (req);                                                     
   47978:	2f0a           	movel %a2,%sp@-                             
                                                                      
  while (!rtems_chain_is_tail (chain, node))                          
    {                                                                 
      rtems_chain_extract (node);                                     
      rtems_aio_request *req = (rtems_aio_request *) node;            
      node = rtems_chain_next (node);                                 
   4797a:	2442           	moveal %d2,%a2                              
      req->aiocbp->error_code = ECANCELED;                            
      req->aiocbp->return_value = -1;                                 
      free (req);                                                     
   4797c:	4e93           	jsr %a3@                                    
  rtems_chain_control *chain;                                         
  rtems_chain_node *node;                                             
  chain = &r_chain->perfd;                                            
  node = rtems_chain_first (chain);                                   
                                                                      
  while (!rtems_chain_is_tail (chain, node))                          
   4797e:	508f           	addql #8,%sp                                
   47980:	b682           	cmpl %d2,%d3                                
   47982:	66da           	bnes 4795e <rtems_aio_remove_fd+0x28>       
      node = rtems_chain_next (node);                                 
      req->aiocbp->error_code = ECANCELED;                            
      req->aiocbp->return_value = -1;                                 
      free (req);                                                     
    }                                                                 
}                                                                     
   47984:	4cee 1c0c ffec 	moveml %fp@(-20),%d2-%d3/%a2-%a4            
   4798a:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004798e <rtems_aio_remove_req>: * AIO_NOTCANCELED - if request was not canceled * AIO_CANCELED - if request was canceled */ int rtems_aio_remove_req (rtems_chain_control *chain, struct aiocb *aiocbp) {
   4798e:	4e56 0000      	linkw %fp,#0                                
    }                                                                 
  }                                                                   
                                                                      
  AIO_printf ("Thread finished\n");                                   
  return NULL;                                                        
}                                                                     
   47992:	226e 0008      	moveal %fp@(8),%a1                          
 *         AIO_NOTCANCELED   - if request was not canceled            
 *         AIO_CANCELED      - if request was canceled                
 */                                                                   
                                                                      
int rtems_aio_remove_req (rtems_chain_control *chain, struct aiocb *aiocbp)
{                                                                     
   47996:	2f0a           	movel %a2,%sp@-                             
   47998:	222e 000c      	movel %fp@(12),%d1                          
    }                                                                 
  }                                                                   
                                                                      
  AIO_printf ("Thread finished\n");                                   
  return NULL;                                                        
}                                                                     
   4799c:	2059           	moveal %a1@+,%a0                            
 *         AIO_CANCELED      - if request was canceled                
 */                                                                   
                                                                      
int rtems_aio_remove_req (rtems_chain_control *chain, struct aiocb *aiocbp)
{                                                                     
  if (rtems_chain_is_empty (chain))                                   
   4799e:	b3c8           	cmpal %a0,%a1                               
   479a0:	675c           	beqs 479fe <rtems_aio_remove_req+0x70>      
    return AIO_ALLDONE;                                               
                                                                      
  rtems_chain_node *node = rtems_chain_first (chain);                 
  rtems_aio_request *current;                                         
                                                                      
  current = (rtems_aio_request *) node;                               
   479a2:	2448           	moveal %a0,%a2                              
                                                                      
  while (!rtems_chain_is_tail (chain, node) && current->aiocbp != aiocbp) {
   479a4:	b2a8 0014      	cmpl %a0@(20),%d1                           
   479a8:	6722           	beqs 479cc <rtems_aio_remove_req+0x3e>      <== ALWAYS TAKEN
    }                                                                 
  }                                                                   
                                                                      
  AIO_printf ("Thread finished\n");                                   
  return NULL;                                                        
}                                                                     
   479aa:	2010           	movel %a0@,%d0                              <== NOT EXECUTED
                                                                      
  current = (rtems_aio_request *) node;                               
                                                                      
  while (!rtems_chain_is_tail (chain, node) && current->aiocbp != aiocbp) {
    node = rtems_chain_next (node);                                   
    current = (rtems_aio_request *) node;                             
   479ac:	2440           	moveal %d0,%a2                              <== NOT EXECUTED
  rtems_chain_node *node = rtems_chain_first (chain);                 
  rtems_aio_request *current;                                         
                                                                      
  current = (rtems_aio_request *) node;                               
                                                                      
  while (!rtems_chain_is_tail (chain, node) && current->aiocbp != aiocbp) {
   479ae:	b3c0           	cmpal %d0,%a1                               <== NOT EXECUTED
   479b0:	6710           	beqs 479c2 <rtems_aio_remove_req+0x34>      <== NOT EXECUTED
   479b2:	b2aa 0014      	cmpl %a2@(20),%d1                           <== NOT EXECUTED
   479b6:	6716           	beqs 479ce <rtems_aio_remove_req+0x40>      <== NOT EXECUTED
   479b8:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
  AIO_printf ("Thread finished\n");                                   
  return NULL;                                                        
}                                                                     
   479ba:	2010           	movel %a0@,%d0                              <== NOT EXECUTED
                                                                      
  current = (rtems_aio_request *) node;                               
                                                                      
  while (!rtems_chain_is_tail (chain, node) && current->aiocbp != aiocbp) {
    node = rtems_chain_next (node);                                   
    current = (rtems_aio_request *) node;                             
   479bc:	2440           	moveal %d0,%a2                              <== NOT EXECUTED
  rtems_chain_node *node = rtems_chain_first (chain);                 
  rtems_aio_request *current;                                         
                                                                      
  current = (rtems_aio_request *) node;                               
                                                                      
  while (!rtems_chain_is_tail (chain, node) && current->aiocbp != aiocbp) {
   479be:	b3c0           	cmpal %d0,%a1                               <== NOT EXECUTED
   479c0:	66f0           	bnes 479b2 <rtems_aio_remove_req+0x24>      <== NOT EXECUTED
      current->aiocbp->return_value = -1;                             
      free (current);                                                 
    }                                                                 
                                                                      
  return AIO_CANCELED;                                                
}                                                                     
   479c2:	246e fffc      	moveal %fp@(-4),%a2                         <== NOT EXECUTED
    node = rtems_chain_next (node);                                   
    current = (rtems_aio_request *) node;                             
  }                                                                   
                                                                      
  if (rtems_chain_is_tail (chain, node))                              
    return AIO_NOTCANCELED;                                           
   479c6:	7001           	moveq #1,%d0                                <== NOT EXECUTED
      current->aiocbp->return_value = -1;                             
      free (current);                                                 
    }                                                                 
                                                                      
  return AIO_CANCELED;                                                
}                                                                     
   479c8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   479ca:	4e75           	rts                                         <== NOT EXECUTED
  rtems_chain_node *node = rtems_chain_first (chain);                 
  rtems_aio_request *current;                                         
                                                                      
  current = (rtems_aio_request *) node;                               
                                                                      
  while (!rtems_chain_is_tail (chain, node) && current->aiocbp != aiocbp) {
   479cc:	2008           	movel %a0,%d0                               
   479ce:	2f00           	movel %d0,%sp@-                             
   479d0:	4eb9 0004 a0b4 	jsr 4a0b4 <_Chain_Extract>                  
  if (rtems_chain_is_tail (chain, node))                              
    return AIO_NOTCANCELED;                                           
  else                                                                
    {                                                                 
      rtems_chain_extract (node);                                     
      current->aiocbp->error_code = ECANCELED;                        
   479d6:	206a 0014      	moveal %a2@(20),%a0                         
   479da:	203c 0000 008c 	movel #140,%d0                              
   479e0:	2140 0030      	movel %d0,%a0@(48)                          
      current->aiocbp->return_value = -1;                             
   479e4:	70ff           	moveq #-1,%d0                               
   479e6:	2140 0034      	movel %d0,%a0@(52)                          
      free (current);                                                 
   479ea:	2f0a           	movel %a2,%sp@-                             
   479ec:	4eb9 0004 3c60 	jsr 43c60 <free>                            
    }                                                                 
                                                                      
  return AIO_CANCELED;                                                
}                                                                     
   479f2:	246e fffc      	moveal %fp@(-4),%a2                         
      current->aiocbp->error_code = ECANCELED;                        
      current->aiocbp->return_value = -1;                             
      free (current);                                                 
    }                                                                 
                                                                      
  return AIO_CANCELED;                                                
   479f6:	508f           	addql #8,%sp                                
   479f8:	4280           	clrl %d0                                    
}                                                                     
   479fa:	4e5e           	unlk %fp                                    
   479fc:	4e75           	rts                                         
   479fe:	246e fffc      	moveal %fp@(-4),%a2                         
 */                                                                   
                                                                      
int rtems_aio_remove_req (rtems_chain_control *chain, struct aiocb *aiocbp)
{                                                                     
  if (rtems_chain_is_empty (chain))                                   
    return AIO_ALLDONE;                                               
   47a02:	7002           	moveq #2,%d0                                
      current->aiocbp->return_value = -1;                             
      free (current);                                                 
    }                                                                 
                                                                      
  return AIO_CANCELED;                                                
}                                                                     
   47a04:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004e1d0 <rtems_assoc_local_by_remote_bitfield>: uint32_t rtems_assoc_local_by_remote_bitfield( const rtems_assoc_t *ap, uint32_t remote_value ) {
   4e1d0:	4e56 ffe8      	linkw %fp,#-24                              
   4e1d4:	48d7 047c      	moveml %d2-%d6/%a2,%sp@                     
   4e1d8:	2c2e 0008      	movel %fp@(8),%d6                           
   4e1dc:	7620           	moveq #32,%d3                               
  uint32_t   b;                                                       
  uint32_t   local_value = 0;                                         
   4e1de:	4285           	clrl %d5                                    
                                                                      
  for (b = 1; b; b <<= 1) {                                           
   4e1e0:	7401           	moveq #1,%d2                                
    if (b & remote_value)                                             
      local_value |= rtems_assoc_local_by_remote(ap, b);              
   4e1e2:	45f9 0004 b138 	lea 4b138 <rtems_assoc_local_by_remote>,%a2 
                                                                      
uint32_t   rtems_assoc_local_by_remote_bitfield(                      
    const rtems_assoc_t *ap,                                          
    uint32_t       remote_value                                       
)                                                                     
{                                                                     
   4e1e8:	282e 000c      	movel %fp@(12),%d4                          
  uint32_t   b;                                                       
  uint32_t   local_value = 0;                                         
                                                                      
  for (b = 1; b; b <<= 1) {                                           
    if (b & remote_value)                                             
   4e1ec:	2002           	movel %d2,%d0                               
)                                                                     
{                                                                     
  uint32_t   b;                                                       
  uint32_t   local_value = 0;                                         
                                                                      
  for (b = 1; b; b <<= 1) {                                           
   4e1ee:	5383           	subql #1,%d3                                
    if (b & remote_value)                                             
   4e1f0:	c084           	andl %d4,%d0                                
   4e1f2:	6612           	bnes 4e206 <rtems_assoc_local_by_remote_bitfield+0x36>
)                                                                     
{                                                                     
  uint32_t   b;                                                       
  uint32_t   local_value = 0;                                         
                                                                      
  for (b = 1; b; b <<= 1) {                                           
   4e1f4:	d482           	addl %d2,%d2                                
   4e1f6:	4a83           	tstl %d3                                    
   4e1f8:	66f2           	bnes 4e1ec <rtems_assoc_local_by_remote_bitfield+0x1c>
    if (b & remote_value)                                             
      local_value |= rtems_assoc_local_by_remote(ap, b);              
  }                                                                   
                                                                      
  return local_value;                                                 
}                                                                     
   4e1fa:	2005           	movel %d5,%d0                               
   4e1fc:	4cee 047c ffe8 	moveml %fp@(-24),%d2-%d6/%a2                
   4e202:	4e5e           	unlk %fp                                    
   4e204:	4e75           	rts                                         
  uint32_t   b;                                                       
  uint32_t   local_value = 0;                                         
                                                                      
  for (b = 1; b; b <<= 1) {                                           
    if (b & remote_value)                                             
      local_value |= rtems_assoc_local_by_remote(ap, b);              
   4e206:	2f02           	movel %d2,%sp@-                             
)                                                                     
{                                                                     
  uint32_t   b;                                                       
  uint32_t   local_value = 0;                                         
                                                                      
  for (b = 1; b; b <<= 1) {                                           
   4e208:	d482           	addl %d2,%d2                                
    if (b & remote_value)                                             
      local_value |= rtems_assoc_local_by_remote(ap, b);              
   4e20a:	2f06           	movel %d6,%sp@-                             
   4e20c:	4e92           	jsr %a2@                                    
   4e20e:	508f           	addql #8,%sp                                
   4e210:	8a80           	orl %d0,%d5                                 
)                                                                     
{                                                                     
  uint32_t   b;                                                       
  uint32_t   local_value = 0;                                         
                                                                      
  for (b = 1; b; b <<= 1) {                                           
   4e212:	4a83           	tstl %d3                                    
   4e214:	66d6           	bnes 4e1ec <rtems_assoc_local_by_remote_bitfield+0x1c><== ALWAYS TAKEN
   4e216:	60e2           	bras 4e1fa <rtems_assoc_local_by_remote_bitfield+0x2a><== NOT EXECUTED
                                                                      

0004382c <rtems_assoc_name_by_local_bitfield>: char *rtems_assoc_name_by_local_bitfield( const rtems_assoc_t *ap, uint32_t value, char *buffer ) {
   4382c:	4e56 ffe0      	linkw %fp,#-32                              
   43830:	48d7 3c3c      	moveml %d2-%d5/%a2-%a5,%sp@                 
   43834:	246e 0010      	moveal %fp@(16),%a2                         
  uint32_t   b;                                                       
                                                                      
  *buffer = 0;                                                        
   43838:	7620           	moveq #32,%d3                               
                                                                      
  for (b = 1; b; b <<= 1) {                                           
   4383a:	7401           	moveq #1,%d2                                
    if (b & value) {                                                  
      if (*buffer)                                                    
        strcat(buffer, " ");                                          
      strcat(buffer, rtems_assoc_name_by_local(ap, b));               
   4383c:	49f9 0004 38a8 	lea 438a8 <rtems_assoc_name_by_local>,%a4   
   43842:	47f9 0005 0868 	lea 50868 <strcat>,%a3                      
  *buffer = 0;                                                        
                                                                      
  for (b = 1; b; b <<= 1) {                                           
    if (b & value) {                                                  
      if (*buffer)                                                    
        strcat(buffer, " ");                                          
   43848:	4bf9 0005 0e2c 	lea 50e2c <strlen>,%a5                      
  char                *buffer                                         
)                                                                     
{                                                                     
  uint32_t   b;                                                       
                                                                      
  *buffer = 0;                                                        
   4384e:	4212           	clrb %a2@                                   
char *rtems_assoc_name_by_local_bitfield(                             
  const rtems_assoc_t *ap,                                            
  uint32_t             value,                                         
  char                *buffer                                         
)                                                                     
{                                                                     
   43850:	2a2e 0008      	movel %fp@(8),%d5                           
   43854:	282e 000c      	movel %fp@(12),%d4                          
  uint32_t   b;                                                       
                                                                      
  *buffer = 0;                                                        
                                                                      
  for (b = 1; b; b <<= 1) {                                           
    if (b & value) {                                                  
   43858:	2002           	movel %d2,%d0                               
{                                                                     
  uint32_t   b;                                                       
                                                                      
  *buffer = 0;                                                        
                                                                      
  for (b = 1; b; b <<= 1) {                                           
   4385a:	5383           	subql #1,%d3                                
    if (b & value) {                                                  
   4385c:	c084           	andl %d4,%d0                                
   4385e:	6714           	beqs 43874 <rtems_assoc_name_by_local_bitfield+0x48>
      if (*buffer)                                                    
   43860:	4a12           	tstb %a2@                                   
   43862:	6622           	bnes 43886 <rtems_assoc_name_by_local_bitfield+0x5a>
        strcat(buffer, " ");                                          
      strcat(buffer, rtems_assoc_name_by_local(ap, b));               
   43864:	2f02           	movel %d2,%sp@-                             
   43866:	2f05           	movel %d5,%sp@-                             
   43868:	4e94           	jsr %a4@                                    
   4386a:	2f00           	movel %d0,%sp@-                             
   4386c:	2f0a           	movel %a2,%sp@-                             
   4386e:	4e93           	jsr %a3@                                    
   43870:	4fef 0010      	lea %sp@(16),%sp                            
{                                                                     
  uint32_t   b;                                                       
                                                                      
  *buffer = 0;                                                        
                                                                      
  for (b = 1; b; b <<= 1) {                                           
   43874:	d482           	addl %d2,%d2                                
   43876:	4a83           	tstl %d3                                    
   43878:	66de           	bnes 43858 <rtems_assoc_name_by_local_bitfield+0x2c>
      strcat(buffer, rtems_assoc_name_by_local(ap, b));               
    }                                                                 
  }                                                                   
                                                                      
  return buffer;                                                      
}                                                                     
   4387a:	200a           	movel %a2,%d0                               
   4387c:	4cee 3c3c ffe0 	moveml %fp@(-32),%d2-%d5/%a2-%a5            
   43882:	4e5e           	unlk %fp                                    
   43884:	4e75           	rts                                         
  *buffer = 0;                                                        
                                                                      
  for (b = 1; b; b <<= 1) {                                           
    if (b & value) {                                                  
      if (*buffer)                                                    
        strcat(buffer, " ");                                          
   43886:	2f0a           	movel %a2,%sp@-                             
   43888:	4e95           	jsr %a5@                                    
   4388a:	588f           	addql #4,%sp                                
   4388c:	323c 2000      	movew #8192,%d1                             
   43890:	3581 0800      	movew %d1,%a2@(00000000,%d0:l)              
      strcat(buffer, rtems_assoc_name_by_local(ap, b));               
   43894:	2f02           	movel %d2,%sp@-                             
   43896:	2f05           	movel %d5,%sp@-                             
   43898:	4e94           	jsr %a4@                                    
   4389a:	2f00           	movel %d0,%sp@-                             
   4389c:	2f0a           	movel %a2,%sp@-                             
   4389e:	4e93           	jsr %a3@                                    
   438a0:	4fef 0010      	lea %sp@(16),%sp                            
   438a4:	60ce           	bras 43874 <rtems_assoc_name_by_local_bitfield+0x48>
	...                                                                  
                                                                      

000438e0 <rtems_assoc_name_by_remote_bitfield>: char *rtems_assoc_name_by_remote_bitfield( const rtems_assoc_t *ap, uint32_t value, char *buffer ) {
   438e0:	4e56 ffe0      	linkw %fp,#-32                              
   438e4:	48d7 3c3c      	moveml %d2-%d5/%a2-%a5,%sp@                 
   438e8:	246e 0010      	moveal %fp@(16),%a2                         
  uint32_t   b;                                                       
                                                                      
  *buffer = 0;                                                        
   438ec:	7620           	moveq #32,%d3                               
                                                                      
  for (b = 1; b; b <<= 1) {                                           
   438ee:	7401           	moveq #1,%d2                                
    if (b & value) {                                                  
      if (*buffer)                                                    
	strcat(buffer, " ");                                                 
      strcat(buffer, rtems_assoc_name_by_remote(ap, b));              
   438f0:	49f9 0004 395c 	lea 4395c <rtems_assoc_name_by_remote>,%a4  
   438f6:	47f9 0005 0868 	lea 50868 <strcat>,%a3                      
  *buffer = 0;                                                        
                                                                      
  for (b = 1; b; b <<= 1) {                                           
    if (b & value) {                                                  
      if (*buffer)                                                    
	strcat(buffer, " ");                                                 
   438fc:	4bf9 0005 0e2c 	lea 50e2c <strlen>,%a5                      
  char                *buffer                                         
)                                                                     
{                                                                     
  uint32_t   b;                                                       
                                                                      
  *buffer = 0;                                                        
   43902:	4212           	clrb %a2@                                   
char *rtems_assoc_name_by_remote_bitfield(                            
  const rtems_assoc_t *ap,                                            
  uint32_t             value,                                         
  char                *buffer                                         
)                                                                     
{                                                                     
   43904:	2a2e 0008      	movel %fp@(8),%d5                           
   43908:	282e 000c      	movel %fp@(12),%d4                          
  uint32_t   b;                                                       
                                                                      
  *buffer = 0;                                                        
                                                                      
  for (b = 1; b; b <<= 1) {                                           
    if (b & value) {                                                  
   4390c:	2002           	movel %d2,%d0                               
{                                                                     
  uint32_t   b;                                                       
                                                                      
  *buffer = 0;                                                        
                                                                      
  for (b = 1; b; b <<= 1) {                                           
   4390e:	5383           	subql #1,%d3                                
    if (b & value) {                                                  
   43910:	c084           	andl %d4,%d0                                
   43912:	6714           	beqs 43928 <rtems_assoc_name_by_remote_bitfield+0x48>
      if (*buffer)                                                    
   43914:	4a12           	tstb %a2@                                   
   43916:	6622           	bnes 4393a <rtems_assoc_name_by_remote_bitfield+0x5a>
	strcat(buffer, " ");                                                 
      strcat(buffer, rtems_assoc_name_by_remote(ap, b));              
   43918:	2f02           	movel %d2,%sp@-                             
   4391a:	2f05           	movel %d5,%sp@-                             
   4391c:	4e94           	jsr %a4@                                    
   4391e:	2f00           	movel %d0,%sp@-                             
   43920:	2f0a           	movel %a2,%sp@-                             
   43922:	4e93           	jsr %a3@                                    
   43924:	4fef 0010      	lea %sp@(16),%sp                            
{                                                                     
  uint32_t   b;                                                       
                                                                      
  *buffer = 0;                                                        
                                                                      
  for (b = 1; b; b <<= 1) {                                           
   43928:	d482           	addl %d2,%d2                                
   4392a:	4a83           	tstl %d3                                    
   4392c:	66de           	bnes 4390c <rtems_assoc_name_by_remote_bitfield+0x2c>
      strcat(buffer, rtems_assoc_name_by_remote(ap, b));              
    }                                                                 
  }                                                                   
                                                                      
  return buffer;                                                      
}                                                                     
   4392e:	200a           	movel %a2,%d0                               
   43930:	4cee 3c3c ffe0 	moveml %fp@(-32),%d2-%d5/%a2-%a5            
   43936:	4e5e           	unlk %fp                                    
   43938:	4e75           	rts                                         
  *buffer = 0;                                                        
                                                                      
  for (b = 1; b; b <<= 1) {                                           
    if (b & value) {                                                  
      if (*buffer)                                                    
	strcat(buffer, " ");                                                 
   4393a:	2f0a           	movel %a2,%sp@-                             
   4393c:	4e95           	jsr %a5@                                    
   4393e:	588f           	addql #4,%sp                                
   43940:	323c 2000      	movew #8192,%d1                             
   43944:	3581 0800      	movew %d1,%a2@(00000000,%d0:l)              
      strcat(buffer, rtems_assoc_name_by_remote(ap, b));              
   43948:	2f02           	movel %d2,%sp@-                             
   4394a:	2f05           	movel %d5,%sp@-                             
   4394c:	4e94           	jsr %a4@                                    
   4394e:	2f00           	movel %d0,%sp@-                             
   43950:	2f0a           	movel %a2,%sp@-                             
   43952:	4e93           	jsr %a3@                                    
   43954:	4fef 0010      	lea %sp@(16),%sp                            
   43958:	60ce           	bras 43928 <rtems_assoc_name_by_remote_bitfield+0x48>
	...                                                                  
                                                                      

0004b198 <rtems_assoc_ptr_by_local>: const rtems_assoc_t *rtems_assoc_ptr_by_local( const rtems_assoc_t *ap, uint32_t local_value ) {
   4b198:	4e56 0000      	linkw %fp,#0                                
   4b19c:	2f0a           	movel %a2,%sp@-                             
   4b19e:	246e 0008      	moveal %fp@(8),%a2                          
   4b1a2:	2f02           	movel %d2,%sp@-                             
   4b1a4:	242e 000c      	movel %fp@(12),%d2                          
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
   4b1a8:	2012           	movel %a2@,%d0                              
   4b1aa:	6742           	beqs 4b1ee <rtems_assoc_ptr_by_local+0x56>  
   4b1ac:	4879 0005 e6f8 	pea 5e6f8 <IMFS_memfile_handlers+0x38>      
   4b1b2:	2f00           	movel %d0,%sp@-                             
   4b1b4:	4eb9 0004 fad0 	jsr 4fad0 <strcmp>                          
   4b1ba:	508f           	addql #8,%sp                                
   4b1bc:	4a80           	tstl %d0                                    
   4b1be:	662a           	bnes 4b1ea <rtems_assoc_ptr_by_local+0x52>  
    default_ap = ap++;                                                
   4b1c0:	41ea 000c      	lea %a2@(12),%a0                            
                                                                      
  for ( ; ap->name; ap++)                                             
   4b1c4:	4a90           	tstl %a0@                                   
   4b1c6:	6714           	beqs 4b1dc <rtems_assoc_ptr_by_local+0x44>  <== NEVER TAKEN
   4b1c8:	200a           	movel %a2,%d0                               
   4b1ca:	2448           	moveal %a0,%a2                              
    if (ap->local_value == local_value)                               
   4b1cc:	b4aa 0004      	cmpl %a2@(4),%d2                            
   4b1d0:	670a           	beqs 4b1dc <rtems_assoc_ptr_by_local+0x44>  
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
   4b1d2:	45ea 000c      	lea %a2@(12),%a2                            
   4b1d6:	4a92           	tstl %a2@                                   
   4b1d8:	66f2           	bnes 4b1cc <rtems_assoc_ptr_by_local+0x34>  
   4b1da:	2440           	moveal %d0,%a2                              
    if (ap->local_value == local_value)                               
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
   4b1dc:	200a           	movel %a2,%d0                               
   4b1de:	242e fff8      	movel %fp@(-8),%d2                          
   4b1e2:	246e fffc      	moveal %fp@(-4),%a2                         
   4b1e6:	4e5e           	unlk %fp                                    
   4b1e8:	4e75           	rts                                         
const rtems_assoc_t *rtems_assoc_ptr_by_local(                        
  const rtems_assoc_t *ap,                                            
  uint32_t             local_value                                    
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
   4b1ea:	4280           	clrl %d0                                    
   4b1ec:	60de           	bras 4b1cc <rtems_assoc_ptr_by_local+0x34>  
   4b1ee:	95ca           	subal %a2,%a2                               
  for ( ; ap->name; ap++)                                             
    if (ap->local_value == local_value)                               
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
   4b1f0:	200a           	movel %a2,%d0                               
   4b1f2:	242e fff8      	movel %fp@(-8),%d2                          
   4b1f6:	246e fffc      	moveal %fp@(-4),%a2                         
   4b1fa:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000439fc <rtems_assoc_ptr_by_name>: const rtems_assoc_t *rtems_assoc_ptr_by_name( const rtems_assoc_t *ap, const char *name ) {
   439fc:	4e56 ffec      	linkw %fp,#-20                              
   43a00:	48d7 0c1c      	moveml %d2-%d4/%a2-%a3,%sp@                 
   43a04:	246e 0008      	moveal %fp@(8),%a2                          
   43a08:	262e 000c      	movel %fp@(12),%d3                          
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
   43a0c:	2412           	movel %a2@,%d2                              
   43a0e:	6748           	beqs 43a58 <rtems_assoc_ptr_by_name+0x5c>   
   43a10:	4879 0005 eb73 	pea 5eb73 <_rodata_start+0x603>             
   43a16:	47f9 0005 08d4 	lea 508d4 <strcmp>,%a3                      
   43a1c:	2f02           	movel %d2,%sp@-                             
   43a1e:	4e93           	jsr %a3@                                    
   43a20:	508f           	addql #8,%sp                                
   43a22:	4a80           	tstl %d0                                    
   43a24:	662e           	bnes 43a54 <rtems_assoc_ptr_by_name+0x58>   
    default_ap = ap++;                                                
   43a26:	41ea 000c      	lea %a2@(12),%a0                            
                                                                      
  for ( ; ap->name; ap++)                                             
   43a2a:	2410           	movel %a0@,%d2                              
   43a2c:	671a           	beqs 43a48 <rtems_assoc_ptr_by_name+0x4c>   <== NEVER TAKEN
   43a2e:	280a           	movel %a2,%d4                               
   43a30:	2448           	moveal %a0,%a2                              
    if (strcmp(ap->name, name) == 0)                                  
   43a32:	2f03           	movel %d3,%sp@-                             
   43a34:	2f02           	movel %d2,%sp@-                             
   43a36:	4e93           	jsr %a3@                                    
   43a38:	508f           	addql #8,%sp                                
   43a3a:	4a80           	tstl %d0                                    
   43a3c:	670a           	beqs 43a48 <rtems_assoc_ptr_by_name+0x4c>   
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
   43a3e:	45ea 000c      	lea %a2@(12),%a2                            
   43a42:	2412           	movel %a2@,%d2                              
   43a44:	66ec           	bnes 43a32 <rtems_assoc_ptr_by_name+0x36>   
   43a46:	2444           	moveal %d4,%a2                              
    if (strcmp(ap->name, name) == 0)                                  
	return ap;                                                           
                                                                      
  return default_ap;                                                  
}                                                                     
   43a48:	200a           	movel %a2,%d0                               
   43a4a:	4cee 0c1c ffec 	moveml %fp@(-20),%d2-%d4/%a2-%a3            
   43a50:	4e5e           	unlk %fp                                    
   43a52:	4e75           	rts                                         
const rtems_assoc_t *rtems_assoc_ptr_by_name(                         
  const rtems_assoc_t *ap,                                            
  const char          *name                                           
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
   43a54:	4284           	clrl %d4                                    
   43a56:	60da           	bras 43a32 <rtems_assoc_ptr_by_name+0x36>   
   43a58:	95ca           	subal %a2,%a2                               
  for ( ; ap->name; ap++)                                             
    if (strcmp(ap->name, name) == 0)                                  
	return ap;                                                           
                                                                      
  return default_ap;                                                  
}                                                                     
   43a5a:	200a           	movel %a2,%d0                               
   43a5c:	4cee 0c1c ffec 	moveml %fp@(-20),%d2-%d4/%a2-%a3            
   43a62:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004b200 <rtems_assoc_ptr_by_remote>: const rtems_assoc_t *rtems_assoc_ptr_by_remote( const rtems_assoc_t *ap, uint32_t remote_value ) {
   4b200:	4e56 0000      	linkw %fp,#0                                
   4b204:	2f0a           	movel %a2,%sp@-                             
   4b206:	246e 0008      	moveal %fp@(8),%a2                          
   4b20a:	2f02           	movel %d2,%sp@-                             
   4b20c:	242e 000c      	movel %fp@(12),%d2                          
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
   4b210:	2012           	movel %a2@,%d0                              
   4b212:	6742           	beqs 4b256 <rtems_assoc_ptr_by_remote+0x56> 
   4b214:	4879 0005 e6f8 	pea 5e6f8 <IMFS_memfile_handlers+0x38>      
   4b21a:	2f00           	movel %d0,%sp@-                             
   4b21c:	4eb9 0004 fad0 	jsr 4fad0 <strcmp>                          
   4b222:	508f           	addql #8,%sp                                
   4b224:	4a80           	tstl %d0                                    
   4b226:	662a           	bnes 4b252 <rtems_assoc_ptr_by_remote+0x52> 
    default_ap = ap++;                                                
   4b228:	41ea 000c      	lea %a2@(12),%a0                            
                                                                      
  for ( ; ap->name; ap++)                                             
   4b22c:	4a90           	tstl %a0@                                   
   4b22e:	6714           	beqs 4b244 <rtems_assoc_ptr_by_remote+0x44> <== NEVER TAKEN
   4b230:	200a           	movel %a2,%d0                               
   4b232:	2448           	moveal %a0,%a2                              
    if (ap->remote_value == remote_value)                             
   4b234:	b4aa 0008      	cmpl %a2@(8),%d2                            
   4b238:	670a           	beqs 4b244 <rtems_assoc_ptr_by_remote+0x44> 
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
   4b23a:	45ea 000c      	lea %a2@(12),%a2                            
   4b23e:	4a92           	tstl %a2@                                   
   4b240:	66f2           	bnes 4b234 <rtems_assoc_ptr_by_remote+0x34> 
   4b242:	2440           	moveal %d0,%a2                              
    if (ap->remote_value == remote_value)                             
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
   4b244:	200a           	movel %a2,%d0                               
   4b246:	242e fff8      	movel %fp@(-8),%d2                          
   4b24a:	246e fffc      	moveal %fp@(-4),%a2                         
   4b24e:	4e5e           	unlk %fp                                    
   4b250:	4e75           	rts                                         
const rtems_assoc_t *rtems_assoc_ptr_by_remote(                       
  const rtems_assoc_t *ap,                                            
  uint32_t       remote_value                                         
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
   4b252:	4280           	clrl %d0                                    
   4b254:	60de           	bras 4b234 <rtems_assoc_ptr_by_remote+0x34> 
   4b256:	95ca           	subal %a2,%a2                               
  for ( ; ap->name; ap++)                                             
    if (ap->remote_value == remote_value)                             
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
   4b258:	200a           	movel %a2,%d0                               
   4b25a:	242e fff8      	movel %fp@(-8),%d2                          
   4b25e:	246e fffc      	moveal %fp@(-4),%a2                         
   4b262:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00043ad0 <rtems_assoc_remote_by_local_bitfield>: uint32_t rtems_assoc_remote_by_local_bitfield( const rtems_assoc_t *ap, uint32_t local_value ) {
   43ad0:	4e56 ffe8      	linkw %fp,#-24                              
   43ad4:	48d7 047c      	moveml %d2-%d6/%a2,%sp@                     
   43ad8:	2c2e 0008      	movel %fp@(8),%d6                           
   43adc:	7620           	moveq #32,%d3                               
  uint32_t   b;                                                       
  uint32_t   remote_value = 0;                                        
   43ade:	4285           	clrl %d5                                    
                                                                      
  for (b = 1; b; b <<= 1)                                             
   43ae0:	7401           	moveq #1,%d2                                
    if (b & local_value)                                              
      remote_value |= rtems_assoc_remote_by_local(ap, b);             
   43ae2:	45f9 0004 3b18 	lea 43b18 <rtems_assoc_remote_by_local>,%a2 
                                                                      
uint32_t   rtems_assoc_remote_by_local_bitfield(                      
    const rtems_assoc_t *ap,                                          
    uint32_t             local_value                                  
)                                                                     
{                                                                     
   43ae8:	282e 000c      	movel %fp@(12),%d4                          
  uint32_t   b;                                                       
  uint32_t   remote_value = 0;                                        
                                                                      
  for (b = 1; b; b <<= 1)                                             
    if (b & local_value)                                              
   43aec:	2002           	movel %d2,%d0                               
)                                                                     
{                                                                     
  uint32_t   b;                                                       
  uint32_t   remote_value = 0;                                        
                                                                      
  for (b = 1; b; b <<= 1)                                             
   43aee:	5383           	subql #1,%d3                                
    if (b & local_value)                                              
   43af0:	c084           	andl %d4,%d0                                
   43af2:	6612           	bnes 43b06 <rtems_assoc_remote_by_local_bitfield+0x36>
)                                                                     
{                                                                     
  uint32_t   b;                                                       
  uint32_t   remote_value = 0;                                        
                                                                      
  for (b = 1; b; b <<= 1)                                             
   43af4:	d482           	addl %d2,%d2                                
   43af6:	4a83           	tstl %d3                                    
   43af8:	66f2           	bnes 43aec <rtems_assoc_remote_by_local_bitfield+0x1c>
    if (b & local_value)                                              
      remote_value |= rtems_assoc_remote_by_local(ap, b);             
                                                                      
  return remote_value;                                                
}                                                                     
   43afa:	2005           	movel %d5,%d0                               
   43afc:	4cee 047c ffe8 	moveml %fp@(-24),%d2-%d6/%a2                
   43b02:	4e5e           	unlk %fp                                    
   43b04:	4e75           	rts                                         
  uint32_t   b;                                                       
  uint32_t   remote_value = 0;                                        
                                                                      
  for (b = 1; b; b <<= 1)                                             
    if (b & local_value)                                              
      remote_value |= rtems_assoc_remote_by_local(ap, b);             
   43b06:	2f02           	movel %d2,%sp@-                             
)                                                                     
{                                                                     
  uint32_t   b;                                                       
  uint32_t   remote_value = 0;                                        
                                                                      
  for (b = 1; b; b <<= 1)                                             
   43b08:	d482           	addl %d2,%d2                                
    if (b & local_value)                                              
      remote_value |= rtems_assoc_remote_by_local(ap, b);             
   43b0a:	2f06           	movel %d6,%sp@-                             
   43b0c:	4e92           	jsr %a2@                                    
   43b0e:	508f           	addql #8,%sp                                
   43b10:	8a80           	orl %d0,%d5                                 
)                                                                     
{                                                                     
  uint32_t   b;                                                       
  uint32_t   remote_value = 0;                                        
                                                                      
  for (b = 1; b; b <<= 1)                                             
   43b12:	4a83           	tstl %d3                                    
   43b14:	66d6           	bnes 43aec <rtems_assoc_remote_by_local_bitfield+0x1c><== ALWAYS TAKEN
   43b16:	60e2           	bras 43afa <rtems_assoc_remote_by_local_bitfield+0x2a><== NOT EXECUTED
                                                                      

0004f184 <rtems_barrier_create>: rtems_name name, rtems_attribute attribute_set, uint32_t maximum_waiters, rtems_id *id ) {
   4f184:	4e56 ffe8      	linkw %fp,#-24                              
   4f188:	202e 0010      	movel %fp@(16),%d0                          
   4f18c:	48d7 0c0c      	moveml %d2-%d3/%a2-%a3,%sp@                 
   4f190:	242e 0008      	movel %fp@(8),%d2                           
   4f194:	262e 000c      	movel %fp@(12),%d3                          
   4f198:	246e 0014      	moveal %fp@(20),%a2                         
  Barrier_Control         *the_barrier;                               
  CORE_barrier_Attributes  the_attributes;                            
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
   4f19c:	4a82           	tstl %d2                                    
   4f19e:	677a           	beqs 4f21a <rtems_barrier_create+0x96>      
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !id )                                                          
   4f1a0:	4a8a           	tstl %a2                                    
   4f1a2:	6700 00cc      	beqw 4f270 <rtems_barrier_create+0xec>      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  /* Initialize core barrier attributes */                            
  if ( _Attributes_Is_barrier_automatic( attribute_set ) ) {          
   4f1a6:	0803 0004      	btst #4,%d3                                 
   4f1aa:	677a           	beqs 4f226 <rtems_barrier_create+0xa2>      
    the_attributes.discipline = CORE_BARRIER_AUTOMATIC_RELEASE;       
   4f1ac:	42ae fff8      	clrl %fp@(-8)                               
    if ( maximum_waiters == 0 )                                       
   4f1b0:	4a80           	tstl %d0                                    
   4f1b2:	6700 00b0      	beqw 4f264 <rtems_barrier_create+0xe0>      
   4f1b6:	2239 0006 364c 	movel 6364c <_Thread_Dispatch_disable_level>,%d1
   4f1bc:	5281           	addql #1,%d1                                
      return RTEMS_INVALID_NUMBER;                                    
  } else                                                              
    the_attributes.discipline = CORE_BARRIER_MANUAL_RELEASE;          
  the_attributes.maximum_count = maximum_waiters;                     
   4f1be:	2d40 fffc      	movel %d0,%fp@(-4)                          
   4f1c2:	23c1 0006 364c 	movel %d1,6364c <_Thread_Dispatch_disable_level>
 *  This function allocates a barrier control block from              
 *  the inactive chain of free barrier control blocks.                
 */                                                                   
RTEMS_INLINE_ROUTINE Barrier_Control *_Barrier_Allocate( void )       
{                                                                     
  return (Barrier_Control *) _Objects_Allocate( &_Barrier_Information );
   4f1c8:	4879 0006 3e88 	pea 63e88 <_Barrier_Information>            
   4f1ce:	4eb9 0004 9f2c 	jsr 49f2c <_Objects_Allocate>               
                                                                      
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_barrier = _Barrier_Allocate();                                  
                                                                      
  if ( !the_barrier ) {                                               
   4f1d4:	588f           	addql #4,%sp                                
   4f1d6:	2640           	moveal %d0,%a3                              
   4f1d8:	4a80           	tstl %d0                                    
   4f1da:	6776           	beqs 4f252 <rtems_barrier_create+0xce>      <== NEVER TAKEN
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
                                                                      
  the_barrier->attribute_set = attribute_set;                         
   4f1dc:	2743 0010      	movel %d3,%a3@(16)                          
                                                                      
  _CORE_barrier_Initialize( &the_barrier->Barrier, &the_attributes ); 
   4f1e0:	486e fff8      	pea %fp@(-8)                                
   4f1e4:	486b 0014      	pea %a3@(20)                                
   4f1e8:	4eb9 0004 fa34 	jsr 4fa34 <_CORE_barrier_Initialize>        
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
   4f1ee:	202b 0008      	movel %a3@(8),%d0                           
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
   4f1f2:	4281           	clrl %d1                                    
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
   4f1f4:	2079 0006 3ea0 	moveal 63ea0 <_Barrier_Information+0x18>,%a0
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
   4f1fa:	3200           	movew %d0,%d1                               
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
   4f1fc:	218b 1c00      	movel %a3,%a0@(00000000,%d1:l:4)            
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
   4f200:	2742 000c      	movel %d2,%a3@(12)                          
    &_Barrier_Information,                                            
    &the_barrier->Object,                                             
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_barrier->Object.id;                                       
   4f204:	2480           	movel %d0,%a2@                              
                                                                      
  _Thread_Enable_dispatch();                                          
   4f206:	4eb9 0004 b086 	jsr 4b086 <_Thread_Enable_dispatch>         
  return RTEMS_SUCCESSFUL;                                            
   4f20c:	508f           	addql #8,%sp                                
   4f20e:	4280           	clrl %d0                                    
}                                                                     
   4f210:	4cee 0c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a3            
   4f216:	4e5e           	unlk %fp                                    
   4f218:	4e75           	rts                                         
{                                                                     
  Barrier_Control         *the_barrier;                               
  CORE_barrier_Attributes  the_attributes;                            
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
   4f21a:	7003           	moveq #3,%d0                                
                                                                      
  *id = the_barrier->Object.id;                                       
                                                                      
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4f21c:	4cee 0c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a3            
   4f222:	4e5e           	unlk %fp                                    
   4f224:	4e75           	rts                                         
  if ( _Attributes_Is_barrier_automatic( attribute_set ) ) {          
    the_attributes.discipline = CORE_BARRIER_AUTOMATIC_RELEASE;       
    if ( maximum_waiters == 0 )                                       
      return RTEMS_INVALID_NUMBER;                                    
  } else                                                              
    the_attributes.discipline = CORE_BARRIER_MANUAL_RELEASE;          
   4f226:	7201           	moveq #1,%d1                                
   4f228:	2d41 fff8      	movel %d1,%fp@(-8)                          
   4f22c:	2239 0006 364c 	movel 6364c <_Thread_Dispatch_disable_level>,%d1
   4f232:	5281           	addql #1,%d1                                
  the_attributes.maximum_count = maximum_waiters;                     
   4f234:	2d40 fffc      	movel %d0,%fp@(-4)                          
   4f238:	23c1 0006 364c 	movel %d1,6364c <_Thread_Dispatch_disable_level>
   4f23e:	4879 0006 3e88 	pea 63e88 <_Barrier_Information>            
   4f244:	4eb9 0004 9f2c 	jsr 49f2c <_Objects_Allocate>               
                                                                      
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_barrier = _Barrier_Allocate();                                  
                                                                      
  if ( !the_barrier ) {                                               
   4f24a:	588f           	addql #4,%sp                                
   4f24c:	2640           	moveal %d0,%a3                              
   4f24e:	4a80           	tstl %d0                                    
   4f250:	668a           	bnes 4f1dc <rtems_barrier_create+0x58>      
    _Thread_Enable_dispatch();                                        
   4f252:	4eb9 0004 b086 	jsr 4b086 <_Thread_Enable_dispatch>         
    return RTEMS_TOO_MANY;                                            
   4f258:	7005           	moveq #5,%d0                                
                                                                      
  *id = the_barrier->Object.id;                                       
                                                                      
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4f25a:	4cee 0c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a3            
   4f260:	4e5e           	unlk %fp                                    
   4f262:	4e75           	rts                                         
                                                                      
  /* Initialize core barrier attributes */                            
  if ( _Attributes_Is_barrier_automatic( attribute_set ) ) {          
    the_attributes.discipline = CORE_BARRIER_AUTOMATIC_RELEASE;       
    if ( maximum_waiters == 0 )                                       
      return RTEMS_INVALID_NUMBER;                                    
   4f264:	700a           	moveq #10,%d0                               
                                                                      
  *id = the_barrier->Object.id;                                       
                                                                      
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4f266:	4cee 0c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a3            
   4f26c:	4e5e           	unlk %fp                                    
   4f26e:	4e75           	rts                                         
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !id )                                                          
    return RTEMS_INVALID_ADDRESS;                                     
   4f270:	7009           	moveq #9,%d0                                
                                                                      
  *id = the_barrier->Object.id;                                       
                                                                      
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4f272:	4cee 0c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a3            
   4f278:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042b18 <rtems_bsp_cmdline_get_param>: const char *rtems_bsp_cmdline_get_param( const char *name, char *value, size_t length ) {
   42b18:	4e56 ffe8      	linkw %fp,#-24                              
   42b1c:	202e 0008      	movel %fp@(8),%d0                           
   42b20:	48d7 0c3c      	moveml %d2-%d5/%a2-%a3,%sp@                 
   42b24:	246e 000c      	moveal %fp@(12),%a2                         
  const char *p;                                                      
                                                                      
  if ( !name )                                                        
   42b28:	4a80           	tstl %d0                                    
   42b2a:	660c           	bnes 42b38 <rtems_bsp_cmdline_get_param+0x20>
  value[0] = '\0';                                                    
                                                                      
  p = rtems_bsp_cmdline_get_param_raw( name );                        
                                                                      
  if ( !p )                                                           
    return NULL;                                                      
   42b2c:	4280           	clrl %d0                                    
                                                                      
  copy_string( p, value, length );                                    
                                                                      
  return value;                                                       
}                                                                     
   42b2e:	4cee 0c3c ffe8 	moveml %fp@(-24),%d2-%d5/%a2-%a3            
   42b34:	4e5e           	unlk %fp                                    
   42b36:	4e75           	rts                                         
  const char *p;                                                      
                                                                      
  if ( !name )                                                        
    return NULL;                                                      
                                                                      
  if ( !value )                                                       
   42b38:	4a8a           	tstl %a2                                    
   42b3a:	67f0           	beqs 42b2c <rtems_bsp_cmdline_get_param+0x14>
    return NULL;                                                      
                                                                      
  if ( !length )                                                      
   42b3c:	4aae 0010      	tstl %fp@(16)                               
   42b40:	67ea           	beqs 42b2c <rtems_bsp_cmdline_get_param+0x14>
    return NULL;                                                      
                                                                      
  value[0] = '\0';                                                    
                                                                      
  p = rtems_bsp_cmdline_get_param_raw( name );                        
   42b42:	2f00           	movel %d0,%sp@-                             
    return NULL;                                                      
                                                                      
  if ( !length )                                                      
    return NULL;                                                      
                                                                      
  value[0] = '\0';                                                    
   42b44:	4212           	clrb %a2@                                   
                                                                      
  p = rtems_bsp_cmdline_get_param_raw( name );                        
   42b46:	4eb9 0004 2ba8 	jsr 42ba8 <rtems_bsp_cmdline_get_param_raw> 
                                                                      
  if ( !p )                                                           
   42b4c:	588f           	addql #4,%sp                                
   42b4e:	4a80           	tstl %d0                                    
   42b50:	67da           	beqs 42b2c <rtems_bsp_cmdline_get_param+0x14>
  int         i;                                                      
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
   42b52:	2040           	moveal %d0,%a0                              
   42b54:	1210           	moveb %a0@,%d1                              
   42b56:	673e           	beqs 42b96 <rtems_bsp_cmdline_get_param+0x7e><== NEVER TAKEN
   42b58:	282e 0010      	movel %fp@(16),%d4                          
   42b5c:	5384           	subql #1,%d4                                
   42b5e:	6736           	beqs 42b96 <rtems_bsp_cmdline_get_param+0x7e><== NEVER TAKEN
    value[i] = '\0';                                                  
  }                                                                   
                                                                      
}                                                                     
                                                                      
const char *rtems_bsp_cmdline_get_param(                              
   42b60:	2240           	moveal %d0,%a1                              
   42b62:	47ea 0001      	lea %a2@(1),%a3                             
   42b66:	5289           	addql #1,%a1                                
  int         i;                                                      
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
   42b68:	91c8           	subal %a0,%a0                               
    value[i] = '\0';                                                  
  }                                                                   
                                                                      
}                                                                     
                                                                      
const char *rtems_bsp_cmdline_get_param(                              
   42b6a:	4280           	clrl %d0                                    
   42b6c:	4283           	clrl %d3                                    
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
    if ( *p == '\"' ) {                                               
   42b6e:	7a22           	moveq #34,%d5                               
   42b70:	1401           	moveb %d1,%d2                               
   42b72:	49c2           	extbl %d2                                   
   42b74:	ba82           	cmpl %d2,%d5                                
   42b76:	672a           	beqs 42ba2 <rtems_bsp_cmdline_get_param+0x8a>
      quotes++;                                                       
    } else if ( ((quotes % 2) == 0) && *p == ' ' )                    
   42b78:	0803 0000      	btst #0,%d3                                 
   42b7c:	6606           	bnes 42b84 <rtems_bsp_cmdline_get_param+0x6c>
   42b7e:	7a20           	moveq #32,%d5                               
   42b80:	ba82           	cmpl %d2,%d5                                
   42b82:	6712           	beqs 42b96 <rtems_bsp_cmdline_get_param+0x7e>
      break;                                                          
    value[i++] = *p++;                                                
   42b84:	5280           	addql #1,%d0                                
   42b86:	1581 8800      	moveb %d1,%a2@(00000000,%a0:l)              
    value[i] = '\0';                                                  
   42b8a:	421b           	clrb %a3@+                                  
  int         i;                                                      
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
   42b8c:	2040           	moveal %d0,%a0                              
   42b8e:	1219           	moveb %a1@+,%d1                             
   42b90:	6704           	beqs 42b96 <rtems_bsp_cmdline_get_param+0x7e>
   42b92:	b880           	cmpl %d0,%d4                                
   42b94:	62d8           	bhis 42b6e <rtems_bsp_cmdline_get_param+0x56>
   42b96:	200a           	movel %a2,%d0                               
    return NULL;                                                      
                                                                      
  copy_string( p, value, length );                                    
                                                                      
  return value;                                                       
}                                                                     
   42b98:	4cee 0c3c ffe8 	moveml %fp@(-24),%d2-%d5/%a2-%a3            
   42b9e:	4e5e           	unlk %fp                                    
   42ba0:	4e75           	rts                                         
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
    if ( *p == '\"' ) {                                               
      quotes++;                                                       
   42ba2:	5283           	addql #1,%d3                                
   42ba4:	60de           	bras 42b84 <rtems_bsp_cmdline_get_param+0x6c>
	...                                                                  
                                                                      

00042bd0 <rtems_bsp_cmdline_get_param_rhs>: const char *rtems_bsp_cmdline_get_param_rhs( const char *name, char *value, size_t length ) {
   42bd0:	4e56 fff0      	linkw %fp,#-16                              
   42bd4:	48d7 041c      	moveml %d2-%d4/%a2,%sp@                     
  const char *p;                                                      
  const char *rhs;                                                    
  char       *d;                                                      
                                                                      
  p = rtems_bsp_cmdline_get_param( name, value, length );             
   42bd8:	2f2e 0010      	movel %fp@(16),%sp@-                        
const char *rtems_bsp_cmdline_get_param_rhs(                          
  const char *name,                                                   
  char       *value,                                                  
  size_t      length                                                  
)                                                                     
{                                                                     
   42bdc:	282e 000c      	movel %fp@(12),%d4                          
   42be0:	262e 0008      	movel %fp@(8),%d3                           
  const char *p;                                                      
  const char *rhs;                                                    
  char       *d;                                                      
                                                                      
  p = rtems_bsp_cmdline_get_param( name, value, length );             
   42be4:	2f04           	movel %d4,%sp@-                             
   42be6:	2f03           	movel %d3,%sp@-                             
   42be8:	4eb9 0004 2b18 	jsr 42b18 <rtems_bsp_cmdline_get_param>     
  if ( !p )                                                           
   42bee:	4fef 000c      	lea %sp@(12),%sp                            
{                                                                     
  const char *p;                                                      
  const char *rhs;                                                    
  char       *d;                                                      
                                                                      
  p = rtems_bsp_cmdline_get_param( name, value, length );             
   42bf2:	2400           	movel %d0,%d2                               
  if ( !p )                                                           
   42bf4:	660c           	bnes 42c02 <rtems_bsp_cmdline_get_param_rhs+0x32><== NEVER TAKEN
    return NULL;                                                      
                                                                      
  rhs = &p[strlen(name)];                                             
  if ( *rhs != '=' )                                                  
    return NULL;                                                      
   42bf6:	4280           	clrl %d0                                    
  if ( *(d-1) == '\"' )                                               
    d--;                                                              
  *d = '\0';                                                          
                                                                      
  return value;                                                       
}                                                                     
   42bf8:	4cee 041c fff0 	moveml %fp@(-16),%d2-%d4/%a2                
   42bfe:	4e5e           	unlk %fp                                    
   42c00:	4e75           	rts                                         
                                                                      
  p = rtems_bsp_cmdline_get_param( name, value, length );             
  if ( !p )                                                           
    return NULL;                                                      
                                                                      
  rhs = &p[strlen(name)];                                             
   42c02:	2f03           	movel %d3,%sp@-                             
   42c04:	4eb9 0005 0720 	jsr 50720 <strlen>                          
   42c0a:	588f           	addql #4,%sp                                
   42c0c:	2242           	moveal %d2,%a1                              
   42c0e:	d3c0           	addal %d0,%a1                               
  if ( *rhs != '=' )                                                  
   42c10:	723d           	moveq #61,%d1                               
   42c12:	1011           	moveb %a1@,%d0                              
   42c14:	49c0           	extbl %d0                                   
   42c16:	b280           	cmpl %d0,%d1                                
   42c18:	66dc           	bnes 42bf6 <rtems_bsp_cmdline_get_param_rhs+0x26><== NEVER TAKEN
    return NULL;                                                      
                                                                      
  rhs++;                                                              
   42c1a:	5289           	addql #1,%a1                                
  if ( *rhs == '\"' )                                                 
   42c1c:	7422           	moveq #34,%d2                               
   42c1e:	1011           	moveb %a1@,%d0                              
   42c20:	1200           	moveb %d0,%d1                               
   42c22:	49c1           	extbl %d1                                   
   42c24:	b481           	cmpl %d1,%d2                                
   42c26:	6732           	beqs 42c5a <rtems_bsp_cmdline_get_param_rhs+0x8a>
    rhs++;                                                            
  for ( d=value ; *rhs ; )                                            
   42c28:	4a00           	tstb %d0                                    
   42c2a:	6734           	beqs 42c60 <rtems_bsp_cmdline_get_param_rhs+0x90>
   42c2c:	2044           	moveal %d4,%a0                              
                                                                      
#include <string.h>                                                   
                                                                      
#include <rtems/bspcmdline.h>                                         
                                                                      
const char *rtems_bsp_cmdline_get_param_rhs(                          
   42c2e:	5289           	addql #1,%a1                                
                                                                      
  rhs++;                                                              
  if ( *rhs == '\"' )                                                 
    rhs++;                                                            
  for ( d=value ; *rhs ; )                                            
    *d++ = *rhs++;                                                    
   42c30:	10c0           	moveb %d0,%a0@+                             
    return NULL;                                                      
                                                                      
  rhs++;                                                              
  if ( *rhs == '\"' )                                                 
    rhs++;                                                            
  for ( d=value ; *rhs ; )                                            
   42c32:	1019           	moveb %a1@+,%d0                             
    *d++ = *rhs++;                                                    
   42c34:	2448           	moveal %a0,%a2                              
    return NULL;                                                      
                                                                      
  rhs++;                                                              
  if ( *rhs == '\"' )                                                 
    rhs++;                                                            
  for ( d=value ; *rhs ; )                                            
   42c36:	66f8           	bnes 42c30 <rtems_bsp_cmdline_get_param_rhs+0x60>
    *d++ = *rhs++;                                                    
  if ( *(d-1) == '\"' )                                               
   42c38:	204a           	moveal %a2,%a0                              
   42c3a:	7222           	moveq #34,%d1                               
   42c3c:	1020           	moveb %a0@-,%d0                             
   42c3e:	49c0           	extbl %d0                                   
   42c40:	b280           	cmpl %d0,%d1                                
   42c42:	670e           	beqs 42c52 <rtems_bsp_cmdline_get_param_rhs+0x82>
    d--;                                                              
  *d = '\0';                                                          
                                                                      
  return value;                                                       
   42c44:	2004           	movel %d4,%d0                               
    rhs++;                                                            
  for ( d=value ; *rhs ; )                                            
    *d++ = *rhs++;                                                    
  if ( *(d-1) == '\"' )                                               
    d--;                                                              
  *d = '\0';                                                          
   42c46:	4212           	clrb %a2@                                   
                                                                      
  return value;                                                       
}                                                                     
   42c48:	4cee 041c fff0 	moveml %fp@(-16),%d2-%d4/%a2                
   42c4e:	4e5e           	unlk %fp                                    
   42c50:	4e75           	rts                                         
  rhs++;                                                              
  if ( *rhs == '\"' )                                                 
    rhs++;                                                            
  for ( d=value ; *rhs ; )                                            
    *d++ = *rhs++;                                                    
  if ( *(d-1) == '\"' )                                               
   42c52:	2448           	moveal %a0,%a2                              
    d--;                                                              
  *d = '\0';                                                          
                                                                      
  return value;                                                       
   42c54:	2004           	movel %d4,%d0                               
    rhs++;                                                            
  for ( d=value ; *rhs ; )                                            
    *d++ = *rhs++;                                                    
  if ( *(d-1) == '\"' )                                               
    d--;                                                              
  *d = '\0';                                                          
   42c56:	4212           	clrb %a2@                                   
   42c58:	60ee           	bras 42c48 <rtems_bsp_cmdline_get_param_rhs+0x78>
  if ( *rhs != '=' )                                                  
    return NULL;                                                      
                                                                      
  rhs++;                                                              
  if ( *rhs == '\"' )                                                 
    rhs++;                                                            
   42c5a:	5289           	addql #1,%a1                                
   42c5c:	1011           	moveb %a1@,%d0                              
   42c5e:	60c8           	bras 42c28 <rtems_bsp_cmdline_get_param_rhs+0x58>
  for ( d=value ; *rhs ; )                                            
   42c60:	2444           	moveal %d4,%a2                              
    *d++ = *rhs++;                                                    
  if ( *(d-1) == '\"' )                                               
   42c62:	204a           	moveal %a2,%a0                              
   42c64:	7222           	moveq #34,%d1                               
   42c66:	1020           	moveb %a0@-,%d0                             
   42c68:	49c0           	extbl %d0                                   
   42c6a:	b280           	cmpl %d0,%d1                                
   42c6c:	66d6           	bnes 42c44 <rtems_bsp_cmdline_get_param_rhs+0x74><== ALWAYS TAKEN
   42c6e:	60e2           	bras 42c52 <rtems_bsp_cmdline_get_param_rhs+0x82><== NOT EXECUTED
                                                                      

00047490 <rtems_chain_append_with_notification>: rtems_chain_control *chain, rtems_chain_node *node, rtems_id task, rtems_event_set events ) {
   47490:	4e56 0000      	linkw %fp,#0                                
   47494:	2f03           	movel %d3,%sp@-                             
   47496:	262e 0014      	movel %fp@(20),%d3                          
   4749a:	2f02           	movel %d2,%sp@-                             
RTEMS_INLINE_ROUTINE bool rtems_chain_append_with_empty_check(        
  rtems_chain_control *chain,                                         
  rtems_chain_node *node                                              
)                                                                     
{                                                                     
  return _Chain_Append_with_empty_check( chain, node );               
   4749c:	2f2e 000c      	movel %fp@(12),%sp@-                        
   474a0:	2f2e 0008      	movel %fp@(8),%sp@-                         
   474a4:	242e 0010      	movel %fp@(16),%d2                          
   474a8:	4eb9 0004 7a54 	jsr 47a54 <_Chain_Append_with_empty_check>  
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool was_empty = rtems_chain_append_with_empty_check( chain, node );
                                                                      
  if ( was_empty ) {                                                  
   474ae:	508f           	addql #8,%sp                                
   474b0:	4a00           	tstb %d0                                    
   474b2:	660e           	bnes 474c2 <rtems_chain_append_with_notification+0x32>
    sc = rtems_event_send( task, events );                            
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
   474b4:	242e fff8      	movel %fp@(-8),%d2                          
   474b8:	4280           	clrl %d0                                    
   474ba:	262e fffc      	movel %fp@(-4),%d3                          
   474be:	4e5e           	unlk %fp                                    
   474c0:	4e75           	rts                                         
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool was_empty = rtems_chain_append_with_empty_check( chain, node );
                                                                      
  if ( was_empty ) {                                                  
    sc = rtems_event_send( task, events );                            
   474c2:	2d43 000c      	movel %d3,%fp@(12)                          
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
   474c6:	262e fffc      	movel %fp@(-4),%d3                          
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool was_empty = rtems_chain_append_with_empty_check( chain, node );
                                                                      
  if ( was_empty ) {                                                  
    sc = rtems_event_send( task, events );                            
   474ca:	2d42 0008      	movel %d2,%fp@(8)                           
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
   474ce:	242e fff8      	movel %fp@(-8),%d2                          
   474d2:	4e5e           	unlk %fp                                    
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool was_empty = rtems_chain_append_with_empty_check( chain, node );
                                                                      
  if ( was_empty ) {                                                  
    sc = rtems_event_send( task, events );                            
   474d4:	4ef9 0004 69c4 	jmp 469c4 <rtems_event_send>                
	...                                                                  
                                                                      

000474dc <rtems_chain_get_with_notification>: rtems_chain_control *chain, rtems_id task, rtems_event_set events, rtems_chain_node **node ) {
   474dc:	4e56 0000      	linkw %fp,#0                                
   474e0:	2f03           	movel %d3,%sp@-                             
   474e2:	262e 0010      	movel %fp@(16),%d3                          
   474e6:	2f02           	movel %d2,%sp@-                             
RTEMS_INLINE_ROUTINE bool rtems_chain_get_with_empty_check(           
  rtems_chain_control *chain,                                         
  rtems_chain_node **node                                             
)                                                                     
{                                                                     
  return _Chain_Get_with_empty_check( chain, node );                  
   474e8:	2f2e 0014      	movel %fp@(20),%sp@-                        
   474ec:	2f2e 0008      	movel %fp@(8),%sp@-                         
   474f0:	242e 000c      	movel %fp@(12),%d2                          
   474f4:	4eb9 0004 7af4 	jsr 47af4 <_Chain_Get_with_empty_check>     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool is_empty = rtems_chain_get_with_empty_check( chain, node );    
                                                                      
  if ( is_empty ) {                                                   
   474fa:	508f           	addql #8,%sp                                
   474fc:	4a00           	tstb %d0                                    
   474fe:	660e           	bnes 4750e <rtems_chain_get_with_notification+0x32>
    sc = rtems_event_send( task, events );                            
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
   47500:	242e fff8      	movel %fp@(-8),%d2                          
   47504:	4280           	clrl %d0                                    
   47506:	262e fffc      	movel %fp@(-4),%d3                          
   4750a:	4e5e           	unlk %fp                                    
   4750c:	4e75           	rts                                         
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool is_empty = rtems_chain_get_with_empty_check( chain, node );    
                                                                      
  if ( is_empty ) {                                                   
    sc = rtems_event_send( task, events );                            
   4750e:	2d43 000c      	movel %d3,%fp@(12)                          
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
   47512:	262e fffc      	movel %fp@(-4),%d3                          
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool is_empty = rtems_chain_get_with_empty_check( chain, node );    
                                                                      
  if ( is_empty ) {                                                   
    sc = rtems_event_send( task, events );                            
   47516:	2d42 0008      	movel %d2,%fp@(8)                           
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
   4751a:	242e fff8      	movel %fp@(-8),%d2                          
   4751e:	4e5e           	unlk %fp                                    
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool is_empty = rtems_chain_get_with_empty_check( chain, node );    
                                                                      
  if ( is_empty ) {                                                   
    sc = rtems_event_send( task, events );                            
   47520:	4ef9 0004 69c4 	jmp 469c4 <rtems_event_send>                
	...                                                                  
                                                                      

00047528 <rtems_chain_get_with_wait>: rtems_chain_control *chain, rtems_event_set events, rtems_interval timeout, rtems_chain_node **node_ptr ) {
   47528:	4e56 ffe0      	linkw %fp,#-32                              
   4752c:	48d7 0c7c      	moveml %d2-%d6/%a2-%a3,%sp@                 
  while (                                                             
    sc == RTEMS_SUCCESSFUL                                            
      && (node = rtems_chain_get( chain )) == NULL                    
  ) {                                                                 
    rtems_event_set out;                                              
    sc = rtems_event_receive(                                         
   47530:	2c0e           	movel %fp,%d6                               
   47532:	45f9 0004 7b44 	lea 47b44 <_Chain_Get>,%a2                  
   47538:	5986           	subql #4,%d6                                
   4753a:	47f9 0004 681c 	lea 4681c <rtems_event_receive>,%a3         
  rtems_chain_control *chain,                                         
  rtems_event_set events,                                             
  rtems_interval timeout,                                             
  rtems_chain_node **node_ptr                                         
)                                                                     
{                                                                     
   47540:	262e 0008      	movel %fp@(8),%d3                           
   47544:	2a2e 000c      	movel %fp@(12),%d5                          
   47548:	282e 0010      	movel %fp@(16),%d4                          
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
   4754c:	2f03           	movel %d3,%sp@-                             
   4754e:	4e92           	jsr %a2@                                    
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_chain_node *node = NULL;                                      
                                                                      
  while (                                                             
    sc == RTEMS_SUCCESSFUL                                            
      && (node = rtems_chain_get( chain )) == NULL                    
   47550:	588f           	addql #4,%sp                                
   47552:	2400           	movel %d0,%d2                               
   47554:	6622           	bnes 47578 <rtems_chain_get_with_wait+0x50> 
  ) {                                                                 
    rtems_event_set out;                                              
    sc = rtems_event_receive(                                         
   47556:	2f06           	movel %d6,%sp@-                             
   47558:	2f04           	movel %d4,%sp@-                             
   4755a:	42a7           	clrl %sp@-                                  
   4755c:	2f05           	movel %d5,%sp@-                             
   4755e:	4e93           	jsr %a3@                                    
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_chain_node *node = NULL;                                      
                                                                      
  while (                                                             
   47560:	4fef 0010      	lea %sp@(16),%sp                            
   47564:	4a80           	tstl %d0                                    
   47566:	67e4           	beqs 4754c <rtems_chain_get_with_wait+0x24> <== NEVER TAKEN
      timeout,                                                        
      &out                                                            
    );                                                                
  }                                                                   
                                                                      
  *node_ptr = node;                                                   
   47568:	206e 0014      	moveal %fp@(20),%a0                         
   4756c:	2082           	movel %d2,%a0@                              
                                                                      
  return sc;                                                          
}                                                                     
   4756e:	4cee 0c7c ffe0 	moveml %fp@(-32),%d2-%d6/%a2-%a3            
   47574:	4e5e           	unlk %fp                                    
   47576:	4e75           	rts                                         
      timeout,                                                        
      &out                                                            
    );                                                                
  }                                                                   
                                                                      
  *node_ptr = node;                                                   
   47578:	206e 0014      	moveal %fp@(20),%a0                         
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_chain_node *node = NULL;                                      
                                                                      
  while (                                                             
    sc == RTEMS_SUCCESSFUL                                            
      && (node = rtems_chain_get( chain )) == NULL                    
   4757c:	4280           	clrl %d0                                    
      timeout,                                                        
      &out                                                            
    );                                                                
  }                                                                   
                                                                      
  *node_ptr = node;                                                   
   4757e:	2082           	movel %d2,%a0@                              
                                                                      
  return sc;                                                          
}                                                                     
   47580:	4cee 0c7c ffe0 	moveml %fp@(-32),%d2-%d6/%a2-%a3            
   47586:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004758c <rtems_chain_prepend_with_notification>: rtems_chain_control *chain, rtems_chain_node *node, rtems_id task, rtems_event_set events ) {
   4758c:	4e56 0000      	linkw %fp,#0                                
   47590:	2f03           	movel %d3,%sp@-                             
   47592:	262e 0014      	movel %fp@(20),%d3                          
   47596:	2f02           	movel %d2,%sp@-                             
RTEMS_INLINE_ROUTINE bool rtems_chain_prepend_with_empty_check(       
  rtems_chain_control *chain,                                         
  rtems_chain_node *node                                              
)                                                                     
{                                                                     
  return _Chain_Prepend_with_empty_check( chain, node );              
   47598:	2f2e 000c      	movel %fp@(12),%sp@-                        
   4759c:	2f2e 0008      	movel %fp@(8),%sp@-                         
   475a0:	242e 0010      	movel %fp@(16),%d2                          
   475a4:	4eb9 0004 7bb0 	jsr 47bb0 <_Chain_Prepend_with_empty_check> 
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool was_empty = rtems_chain_prepend_with_empty_check( chain, node );
                                                                      
  if (was_empty) {                                                    
   475aa:	508f           	addql #8,%sp                                
   475ac:	4a00           	tstb %d0                                    
   475ae:	660e           	bnes 475be <rtems_chain_prepend_with_notification+0x32>
    sc = rtems_event_send( task, events );                            
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
   475b0:	242e fff8      	movel %fp@(-8),%d2                          
   475b4:	4280           	clrl %d0                                    
   475b6:	262e fffc      	movel %fp@(-4),%d3                          
   475ba:	4e5e           	unlk %fp                                    
   475bc:	4e75           	rts                                         
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool was_empty = rtems_chain_prepend_with_empty_check( chain, node );
                                                                      
  if (was_empty) {                                                    
    sc = rtems_event_send( task, events );                            
   475be:	2d43 000c      	movel %d3,%fp@(12)                          
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
   475c2:	262e fffc      	movel %fp@(-4),%d3                          
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool was_empty = rtems_chain_prepend_with_empty_check( chain, node );
                                                                      
  if (was_empty) {                                                    
    sc = rtems_event_send( task, events );                            
   475c6:	2d42 0008      	movel %d2,%fp@(8)                           
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
   475ca:	242e fff8      	movel %fp@(-8),%d2                          
   475ce:	4e5e           	unlk %fp                                    
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool was_empty = rtems_chain_prepend_with_empty_check( chain, node );
                                                                      
  if (was_empty) {                                                    
    sc = rtems_event_send( task, events );                            
   475d0:	4ef9 0004 69c4 	jmp 469c4 <rtems_event_send>                
	...                                                                  
                                                                      

0004eaec <rtems_deviceio_errno>: [RTEMS_IO_ERROR] = EIO, [RTEMS_PROXY_BLOCKING] = EIO }; int rtems_deviceio_errno(rtems_status_code sc) {
   4eaec:	4e56 0000      	linkw %fp,#0                                
   4eaf0:	202e 0008      	movel %fp@(8),%d0                           
   4eaf4:	2f02           	movel %d2,%sp@-                             
  if (sc == RTEMS_SUCCESSFUL) {                                       
   4eaf6:	4a80           	tstl %d0                                    
   4eaf8:	660a           	bnes 4eb04 <rtems_deviceio_errno+0x18>      
                                                                      
    errno = eno;                                                      
                                                                      
    return -1;                                                        
  }                                                                   
}                                                                     
   4eafa:	242e fffc      	movel %fp@(-4),%d2                          
};                                                                    
                                                                      
int rtems_deviceio_errno(rtems_status_code sc)                        
{                                                                     
  if (sc == RTEMS_SUCCESSFUL) {                                       
    return 0;                                                         
   4eafe:	4280           	clrl %d0                                    
                                                                      
    errno = eno;                                                      
                                                                      
    return -1;                                                        
  }                                                                   
}                                                                     
   4eb00:	4e5e           	unlk %fp                                    
   4eb02:	4e75           	rts                                         
  if (sc == RTEMS_SUCCESSFUL) {                                       
    return 0;                                                         
  } else {                                                            
    int eno = EINVAL;                                                 
                                                                      
    if ((unsigned) sc <= RTEMS_STATUS_CODES_LAST) {                   
   4eb04:	721c           	moveq #28,%d1                               
   4eb06:	b280           	cmpl %d0,%d1                                
   4eb08:	651e           	bcss 4eb28 <rtems_deviceio_errno+0x3c>      <== NEVER TAKEN
      eno = status_code_to_errno [sc];                                
   4eb0a:	41f9 0005 e956 	lea 5e956 <status_code_to_errno>,%a0        
   4eb10:	2430 0c00      	movel %a0@(00000000,%d0:l:4),%d2            
    }                                                                 
                                                                      
    errno = eno;                                                      
   4eb14:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         
   4eb1a:	2040           	moveal %d0,%a0                              
                                                                      
    return -1;                                                        
   4eb1c:	70ff           	moveq #-1,%d0                               
                                                                      
    if ((unsigned) sc <= RTEMS_STATUS_CODES_LAST) {                   
      eno = status_code_to_errno [sc];                                
    }                                                                 
                                                                      
    errno = eno;                                                      
   4eb1e:	2082           	movel %d2,%a0@                              
                                                                      
    return -1;                                                        
  }                                                                   
}                                                                     
   4eb20:	242e fffc      	movel %fp@(-4),%d2                          
   4eb24:	4e5e           	unlk %fp                                    
   4eb26:	4e75           	rts                                         
                                                                      
    if ((unsigned) sc <= RTEMS_STATUS_CODES_LAST) {                   
      eno = status_code_to_errno [sc];                                
    }                                                                 
                                                                      
    errno = eno;                                                      
   4eb28:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         <== NOT EXECUTED
int rtems_deviceio_errno(rtems_status_code sc)                        
{                                                                     
  if (sc == RTEMS_SUCCESSFUL) {                                       
    return 0;                                                         
  } else {                                                            
    int eno = EINVAL;                                                 
   4eb2e:	7416           	moveq #22,%d2                               <== NOT EXECUTED
                                                                      
    if ((unsigned) sc <= RTEMS_STATUS_CODES_LAST) {                   
      eno = status_code_to_errno [sc];                                
    }                                                                 
                                                                      
    errno = eno;                                                      
   4eb30:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
                                                                      
    return -1;                                                        
   4eb32:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
                                                                      
    if ((unsigned) sc <= RTEMS_STATUS_CODES_LAST) {                   
      eno = status_code_to_errno [sc];                                
    }                                                                 
                                                                      
    errno = eno;                                                      
   4eb34:	2082           	movel %d2,%a0@                              <== NOT EXECUTED
   4eb36:	60e8           	bras 4eb20 <rtems_deviceio_errno+0x34>      <== NOT EXECUTED
                                                                      

00042f38 <rtems_filesystem_dirname>: int rtems_filesystem_dirname( const char *pathname ) {
   42f38:	4e56 fff4      	linkw %fp,#-12                              
   42f3c:	48d7 0c04      	moveml %d2/%a2-%a3,%sp@                     
   42f40:	246e 0008      	moveal %fp@(8),%a2                          
  int len = strlen( pathname );                                       
   42f44:	2f0a           	movel %a2,%sp@-                             
   42f46:	4eb9 0005 0028 	jsr 50028 <strlen>                          
   42f4c:	588f           	addql #4,%sp                                
   42f4e:	2400           	movel %d0,%d2                               
                                                                      
  while ( len ) {                                                     
   42f50:	671c           	beqs 42f6e <rtems_filesystem_dirname+0x36>  <== NEVER TAKEN
                                                  flags,              
                                                  pathloc,            
                                                  follow_link );      
}                                                                     
                                                                      
int rtems_filesystem_dirname(                                         
   42f52:	d5c0           	addal %d0,%a2                               
   42f54:	47f9 0004 3f3c 	lea 43f3c <rtems_filesystem_is_separator>,%a3
)                                                                     
{                                                                     
  int len = strlen( pathname );                                       
                                                                      
  while ( len ) {                                                     
    len--;                                                            
   42f5a:	5382           	subql #1,%d2                                
    if ( rtems_filesystem_is_separator( pathname[len] ) )             
   42f5c:	1022           	moveb %a2@-,%d0                             
   42f5e:	49c0           	extbl %d0                                   
   42f60:	2f00           	movel %d0,%sp@-                             
   42f62:	4e93           	jsr %a3@                                    
   42f64:	588f           	addql #4,%sp                                
   42f66:	4a80           	tstl %d0                                    
   42f68:	6604           	bnes 42f6e <rtems_filesystem_dirname+0x36>  
  const char  *pathname                                               
)                                                                     
{                                                                     
  int len = strlen( pathname );                                       
                                                                      
  while ( len ) {                                                     
   42f6a:	4a82           	tstl %d2                                    
   42f6c:	66ec           	bnes 42f5a <rtems_filesystem_dirname+0x22>  
    if ( rtems_filesystem_is_separator( pathname[len] ) )             
      break;                                                          
  }                                                                   
                                                                      
  return len;                                                         
}                                                                     
   42f6e:	2002           	movel %d2,%d0                               
   42f70:	4cee 0c04 fff4 	moveml %fp@(-12),%d2/%a2-%a3                
   42f76:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004b7ac <rtems_filesystem_get_mount_handler>: rtems_filesystem_fsmount_me_t rtems_filesystem_get_mount_handler( const char *type ) {
   4b7ac:	4e56 fff8      	linkw %fp,#-8                               
   4b7b0:	202e 0008      	movel %fp@(8),%d0                           
  find_arg fa = {                                                     
   4b7b4:	42ae fffc      	clrl %fp@(-4)                               
   4b7b8:	2d40 fff8      	movel %d0,%fp@(-8)                          
    .type = type,                                                     
    .mount_h = NULL                                                   
  };                                                                  
                                                                      
  if ( type != NULL ) {                                               
   4b7bc:	6718           	beqs 4b7d6 <rtems_filesystem_get_mount_handler+0x2a><== NEVER TAKEN
    rtems_filesystem_iterate( find_handler, &fa );                    
   4b7be:	486e fff8      	pea %fp@(-8)                                
   4b7c2:	487a fefc      	pea %pc@(4b6c0 <find_handler>)              
   4b7c6:	4eb9 0004 b702 	jsr 4b702 <rtems_filesystem_iterate>        
   4b7cc:	202e fffc      	movel %fp@(-4),%d0                          
   4b7d0:	508f           	addql #8,%sp                                
  }                                                                   
                                                                      
  return fa.mount_h;                                                  
}                                                                     
   4b7d2:	4e5e           	unlk %fp                                    
   4b7d4:	4e75           	rts                                         
  find_arg fa = {                                                     
    .type = type,                                                     
    .mount_h = NULL                                                   
  };                                                                  
                                                                      
  if ( type != NULL ) {                                               
   4b7d6:	4280           	clrl %d0                                    <== NOT EXECUTED
    rtems_filesystem_iterate( find_handler, &fa );                    
  }                                                                   
                                                                      
  return fa.mount_h;                                                  
}                                                                     
   4b7d8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042ad4 <rtems_filesystem_initialize>: /* * Set the default umask to "022". */ rtems_filesystem_umask = 022;
   42ad4:	7012           	moveq #18,%d0                               
 *  configuration is a single instantiation of the IMFS or miniIMFS with
 *  a single "/dev" directory in it.                                  
 */                                                                   
                                                                      
void rtems_filesystem_initialize( void )                              
{                                                                     
   42ad6:	4e56 ffe0      	linkw %fp,#-32                              
                                                                      
  /*                                                                  
   *  Set the default umask to "022".                                 
   */                                                                 
                                                                      
  rtems_filesystem_umask = 022;                                       
   42ada:	2079 0005 f4e4 	moveal 5f4e4 <rtems_current_user_env>,%a0   
 *  configuration is a single instantiation of the IMFS or miniIMFS with
 *  a single "/dev" directory in it.                                  
 */                                                                   
                                                                      
void rtems_filesystem_initialize( void )                              
{                                                                     
   42ae0:	48d7 1c00      	moveml %a2-%a4,%sp@                         
                                                                      
  /*                                                                  
   *  Set the default umask to "022".                                 
   */                                                                 
                                                                      
  rtems_filesystem_umask = 022;                                       
   42ae4:	2140 002c      	movel %d0,%a0@(44)                          
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
  if ( rtems_filesystem_mount_table_size == 0 )                       
   42ae8:	4ab9 0005 d7ee 	tstl 5d7ee <rtems_filesystem_mount_table_size>
   42aee:	6700 00c2      	beqw 42bb2 <rtems_filesystem_initialize+0xde>
    rtems_fatal_error_occurred( 0xABCD0001 );                         
                                                                      
  mt = &rtems_filesystem_mount_table[0];                              
   42af2:	2079 0005 f29c 	moveal 5f29c <rtems_filesystem_mount_table>,%a0
                                                                      
  status = mount( mt->device, mt->mount_point, mt->type, mt->fsoptions, NULL );
   42af8:	42a7           	clrl %sp@-                                  
   42afa:	2f28 0004      	movel %a0@(4),%sp@-                         
   42afe:	2f10           	movel %a0@,%sp@-                            
   42b00:	2f28 000c      	movel %a0@(12),%sp@-                        
   42b04:	2f28 0008      	movel %a0@(8),%sp@-                         
   42b08:	4eb9 0004 356c 	jsr 4356c <mount>                           
  if ( status == -1 )                                                 
   42b0e:	4fef 0014      	lea %sp@(20),%sp                            
   42b12:	72ff           	moveq #-1,%d1                               
   42b14:	b280           	cmpl %d0,%d1                                
   42b16:	6700 00b2      	beqw 42bca <rtems_filesystem_initialize+0xf6>
    rtems_fatal_error_occurred( 0xABCD0002 );                         
                                                                      
  rtems_filesystem_link_counts = 0;                                   
   42b1a:	2079 0005 f4e4 	moveal 5f4e4 <rtems_current_user_env>,%a0   
   *       gonna hit performance.                                     
   *                                                                  
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
   42b20:	45ee ffec      	lea %fp@(-20),%a2                           
   42b24:	49f9 0004 2eec 	lea 42eec <rtems_filesystem_evaluate_path>,%a4
  rtems_filesystem_root        = loc;                                 
   42b2a:	264e           	moveal %fp,%a3                              
                                                                      
  status = mount( mt->device, mt->mount_point, mt->type, mt->fsoptions, NULL );
  if ( status == -1 )                                                 
    rtems_fatal_error_occurred( 0xABCD0002 );                         
                                                                      
  rtems_filesystem_link_counts = 0;                                   
   42b2c:	4240           	clrw %d0                                    
   42b2e:	3140 0030      	movew %d0,%a0@(48)                          
   *       gonna hit performance.                                     
   *                                                                  
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
   42b32:	42a7           	clrl %sp@-                                  
   42b34:	2f0a           	movel %a2,%sp@-                             
   42b36:	42a7           	clrl %sp@-                                  
   42b38:	4878 0001      	pea 1 <ADD>                                 
   42b3c:	4879 0005 de9e 	pea 5de9e <IMFS_ops+0x48>                   
   42b42:	4e94           	jsr %a4@                                    
  rtems_filesystem_root        = loc;                                 
   42b44:	2079 0005 f4e4 	moveal 5f4e4 <rtems_current_user_env>,%a0   
   42b4a:	2163 0028      	movel %a3@-,%a0@(40)                        
   42b4e:	216e fff8 0024 	movel %fp@(-8),%a0@(36)                     
   42b54:	2152 0018      	movel %a2@,%a0@(24)                         
   42b58:	216e fff0 001c 	movel %fp@(-16),%a0@(28)                    
   42b5e:	216e fff4 0020 	movel %fp@(-12),%a0@(32)                    
  /* One more clone for the current node */                           
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
   42b64:	42a7           	clrl %sp@-                                  
   42b66:	2f0a           	movel %a2,%sp@-                             
   42b68:	42a7           	clrl %sp@-                                  
   42b6a:	4878 0001      	pea 1 <ADD>                                 
   42b6e:	4879 0005 de9e 	pea 5de9e <IMFS_ops+0x48>                   
   42b74:	4e94           	jsr %a4@                                    
  rtems_filesystem_current     = loc;                                 
   42b76:	2079 0005 f4e4 	moveal 5f4e4 <rtems_current_user_env>,%a0   
   42b7c:	5888           	addql #4,%a0                                
   *                                                                  
   *  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);                                      
   42b7e:	4fef 0028      	lea %sp@(40),%sp                            
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
  rtems_filesystem_root        = loc;                                 
  /* One more clone for the current node */                           
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
  rtems_filesystem_current     = loc;                                 
   42b82:	20d2           	movel %a2@,%a0@+                            
   42b84:	20ee fff0      	movel %fp@(-16),%a0@+                       
   42b88:	20ee fff4      	movel %fp@(-12),%a0@+                       
   42b8c:	20ee fff8      	movel %fp@(-8),%a0@+                        
   42b90:	2093           	movel %a3@,%a0@                             
   *                                                                  
   *  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);                                      
   42b92:	4878 01ff      	pea 1ff <DBL_MANT_DIG+0x1ca>                
   42b96:	4879 0005 dea0 	pea 5dea0 <IMFS_ops+0x4a>                   
   42b9c:	4eb9 0004 33e4 	jsr 433e4 <mkdir>                           
  if ( status != 0 )                                                  
   42ba2:	508f           	addql #8,%sp                                
   42ba4:	4a80           	tstl %d0                                    
   42ba6:	6616           	bnes 42bbe <rtems_filesystem_initialize+0xea><== NEVER TAKEN
   *  it will be mounted onto is created.  Moreover, if it is going to
   *  use a device, then it is REALLY unfair to attempt this          
   *  before device drivers are initialized.  So we return via a base 
   *  filesystem image and nothing auto-mounted at this point.        
   */                                                                 
}                                                                     
   42ba8:	4cee 1c00 ffe0 	moveml %fp@(-32),%a2-%a4                    
   42bae:	4e5e           	unlk %fp                                    
   42bb0:	4e75           	rts                                         
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
  if ( rtems_filesystem_mount_table_size == 0 )                       
    rtems_fatal_error_occurred( 0xABCD0001 );                         
   42bb2:	2f3c abcd 0001 	movel #-1412628479,%sp@-                    <== NOT EXECUTED
   42bb8:	4eb9 0004 6eb8 	jsr 46eb8 <rtems_fatal_error_occurred>      <== NOT EXECUTED
   *        created that way by the IMFS.                             
   */                                                                 
                                                                      
  status = mkdir( "/dev", 0777);                                      
  if ( status != 0 )                                                  
    rtems_fatal_error_occurred( 0xABCD0003 );                         
   42bbe:	2f3c abcd 0003 	movel #-1412628477,%sp@-                    <== NOT EXECUTED
   42bc4:	4eb9 0004 6eb8 	jsr 46eb8 <rtems_fatal_error_occurred>      <== NOT EXECUTED
                                                                      
  mt = &rtems_filesystem_mount_table[0];                              
                                                                      
  status = mount( mt->device, mt->mount_point, mt->type, mt->fsoptions, NULL );
  if ( status == -1 )                                                 
    rtems_fatal_error_occurred( 0xABCD0002 );                         
   42bca:	2f3c abcd 0002 	movel #-1412628478,%sp@-                    <== NOT EXECUTED
   42bd0:	4eb9 0004 6eb8 	jsr 46eb8 <rtems_fatal_error_occurred>      <== NOT EXECUTED
	...                                                                  
                                                                      

0004b702 <rtems_filesystem_iterate>: bool rtems_filesystem_iterate( rtems_per_filesystem_routine routine, void *routine_arg ) {
   4b702:	4e56 fff0      	linkw %fp,#-16                              
   4b706:	48d7 0c0c      	moveml %d2-%d3/%a2-%a3,%sp@                 
   4b70a:	266e 0008      	moveal %fp@(8),%a3                          
   4b70e:	262e 000c      	movel %fp@(12),%d3                          
  const rtems_filesystem_table_t *table_entry = &rtems_filesystem_table [0];
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  while ( table_entry->type && !stop ) {                              
   4b712:	4ab9 0005 d7ce 	tstl 5d7ce <rtems_filesystem_table>         
   4b718:	672a           	beqs 4b744 <rtems_filesystem_iterate+0x42>  <== NEVER TAKEN
   4b71a:	45f9 0005 d7ce 	lea 5d7ce <rtems_filesystem_table>,%a2      
    stop = (*routine)( table_entry, routine_arg );                    
   4b720:	2f03           	movel %d3,%sp@-                             
   4b722:	2f0a           	movel %a2,%sp@-                             
    ++table_entry;                                                    
   4b724:	508a           	addql #8,%a2                                
  const rtems_filesystem_table_t *table_entry = &rtems_filesystem_table [0];
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  while ( table_entry->type && !stop ) {                              
    stop = (*routine)( table_entry, routine_arg );                    
   4b726:	4e93           	jsr %a3@                                    
{                                                                     
  const rtems_filesystem_table_t *table_entry = &rtems_filesystem_table [0];
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  while ( table_entry->type && !stop ) {                              
   4b728:	508f           	addql #8,%sp                                
    stop = (*routine)( table_entry, routine_arg );                    
   4b72a:	1400           	moveb %d0,%d2                               
{                                                                     
  const rtems_filesystem_table_t *table_entry = &rtems_filesystem_table [0];
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  while ( table_entry->type && !stop ) {                              
   4b72c:	4a92           	tstl %a2@                                   
   4b72e:	6710           	beqs 4b740 <rtems_filesystem_iterate+0x3e>  
   4b730:	4a00           	tstb %d0                                    
   4b732:	67ec           	beqs 4b720 <rtems_filesystem_iterate+0x1e>  
    }                                                                 
    rtems_libio_unlock();                                             
  }                                                                   
                                                                      
  return stop;                                                        
}                                                                     
   4b734:	1002           	moveb %d2,%d0                               
   4b736:	4cee 0c0c fff0 	moveml %fp@(-16),%d2-%d3/%a2-%a3            
   4b73c:	4e5e           	unlk %fp                                    
   4b73e:	4e75           	rts                                         
  while ( table_entry->type && !stop ) {                              
    stop = (*routine)( table_entry, routine_arg );                    
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
   4b740:	4a00           	tstb %d0                                    
   4b742:	66f0           	bnes 4b734 <rtems_filesystem_iterate+0x32>  
rtems_status_code rtems_libio_set_private_env(void);                  
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;   
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
   4b744:	42a7           	clrl %sp@-                                  
   4b746:	42a7           	clrl %sp@-                                  
   4b748:	2f39 0006 0b1c 	movel 60b1c <rtems_libio_semaphore>,%sp@-   
   4b74e:	4eb9 0004 6768 	jsr 46768 <rtems_semaphore_obtain>          
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
   4b754:	2479 0005 f4ec 	moveal 5f4ec <filesystem_chain>,%a2         
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
    rtems_libio_lock();                                               
    for (                                                             
   4b75a:	4fef 000c      	lea %sp@(12),%sp                            
   4b75e:	b5fc 0005 f4f0 	cmpal #390384,%a2                           
   4b764:	6734           	beqs 4b79a <rtems_filesystem_iterate+0x98>  
      !rtems_chain_is_tail( &filesystem_chain, node ) && !stop;       
      node = rtems_chain_next( node )                                 
    ) {                                                               
      const filesystem_node *fsn = (filesystem_node *) node;          
                                                                      
      stop = (*routine)( &fsn->entry, routine_arg );                  
   4b766:	2f03           	movel %d3,%sp@-                             
   4b768:	486a 0008      	pea %a2@(8)                                 
   4b76c:	4e93           	jsr %a3@                                    
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
   4b76e:	2452           	moveal %a2@,%a2                             
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
    rtems_libio_lock();                                               
    for (                                                             
   4b770:	508f           	addql #8,%sp                                
      !rtems_chain_is_tail( &filesystem_chain, node ) && !stop;       
      node = rtems_chain_next( node )                                 
    ) {                                                               
      const filesystem_node *fsn = (filesystem_node *) node;          
                                                                      
      stop = (*routine)( &fsn->entry, routine_arg );                  
   4b772:	1400           	moveb %d0,%d2                               
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
    rtems_libio_lock();                                               
    for (                                                             
   4b774:	b5fc 0005 f4f0 	cmpal #390384,%a2                           
   4b77a:	6704           	beqs 4b780 <rtems_filesystem_iterate+0x7e>  
      node = rtems_chain_first( &filesystem_chain );                  
      !rtems_chain_is_tail( &filesystem_chain, node ) && !stop;       
   4b77c:	4a00           	tstb %d0                                    
   4b77e:	67e6           	beqs 4b766 <rtems_filesystem_iterate+0x64>  <== ALWAYS TAKEN
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
   4b780:	2f39 0006 0b1c 	movel 60b1c <rtems_libio_semaphore>,%sp@-   
   4b786:	4eb9 0004 68a8 	jsr 468a8 <rtems_semaphore_release>         
   4b78c:	588f           	addql #4,%sp                                
    }                                                                 
    rtems_libio_unlock();                                             
  }                                                                   
                                                                      
  return stop;                                                        
}                                                                     
   4b78e:	1002           	moveb %d2,%d0                               
   4b790:	4cee 0c0c fff0 	moveml %fp@(-16),%d2-%d3/%a2-%a3            
   4b796:	4e5e           	unlk %fp                                    
   4b798:	4e75           	rts                                         
   4b79a:	2f39 0006 0b1c 	movel 60b1c <rtems_libio_semaphore>,%sp@-   
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
    rtems_libio_lock();                                               
    for (                                                             
   4b7a0:	4202           	clrb %d2                                    
   4b7a2:	4eb9 0004 68a8 	jsr 468a8 <rtems_semaphore_release>         
   4b7a8:	588f           	addql #4,%sp                                
   4b7aa:	60e2           	bras 4b78e <rtems_filesystem_iterate+0x8c>  
                                                                      

000434f0 <rtems_filesystem_mount_iterate>: bool rtems_filesystem_mount_iterate( rtems_per_filesystem_mount_routine routine, void *routine_arg ) {
   434f0:	4e56 fff0      	linkw %fp,#-16                              
   434f4:	48d7 0c0c      	moveml %d2-%d3/%a2-%a3,%sp@                 
rtems_status_code rtems_libio_set_private_env(void);                  
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;   
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
   434f8:	42a7           	clrl %sp@-                                  
   434fa:	266e 0008      	moveal %fp@(8),%a3                          
   434fe:	42a7           	clrl %sp@-                                  
   43500:	2f39 0006 0b1c 	movel 60b1c <rtems_libio_semaphore>,%sp@-   
   43506:	262e 000c      	movel %fp@(12),%d3                          
   4350a:	4eb9 0004 6768 	jsr 46768 <rtems_semaphore_obtain>          
    stop = (*routine)( mt_entry, routine_arg );                       
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return stop;                                                        
}                                                                     
   43510:	2479 0005 f3c8 	moveal 5f3c8 <mount_chain>,%a2              
{                                                                     
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
   43516:	4fef 000c      	lea %sp@(12),%sp                            
   4351a:	b5fc 0005 f3cc 	cmpal #390092,%a2                           
   43520:	6730           	beqs 43552 <rtems_filesystem_mount_iterate+0x62><== NEVER TAKEN
    node = rtems_chain_next( node )                                   
  ) {                                                                 
    const rtems_filesystem_mount_table_entry_t *mt_entry =            
      (rtems_filesystem_mount_table_entry_t *) node;                  
                                                                      
    stop = (*routine)( mt_entry, routine_arg );                       
   43522:	2f03           	movel %d3,%sp@-                             
   43524:	2f0a           	movel %a2,%sp@-                             
   43526:	4e93           	jsr %a3@                                    
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return stop;                                                        
}                                                                     
   43528:	2452           	moveal %a2@,%a2                             
{                                                                     
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
   4352a:	508f           	addql #8,%sp                                
    node = rtems_chain_next( node )                                   
  ) {                                                                 
    const rtems_filesystem_mount_table_entry_t *mt_entry =            
      (rtems_filesystem_mount_table_entry_t *) node;                  
                                                                      
    stop = (*routine)( mt_entry, routine_arg );                       
   4352c:	1400           	moveb %d0,%d2                               
{                                                                     
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
   4352e:	b5fc 0005 f3cc 	cmpal #390092,%a2                           
   43534:	6704           	beqs 4353a <rtems_filesystem_mount_iterate+0x4a>
    node = rtems_chain_first( &mount_chain );                         
    !rtems_chain_is_tail( &mount_chain, node ) && !stop;              
   43536:	4a00           	tstb %d0                                    
   43538:	67e8           	beqs 43522 <rtems_filesystem_mount_iterate+0x32><== ALWAYS TAKEN
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
   4353a:	2f39 0006 0b1c 	movel 60b1c <rtems_libio_semaphore>,%sp@-   
   43540:	4eb9 0004 68a8 	jsr 468a8 <rtems_semaphore_release>         
    stop = (*routine)( mt_entry, routine_arg );                       
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return stop;                                                        
}                                                                     
   43546:	1002           	moveb %d2,%d0                               
   43548:	4cee 0c0c fff0 	moveml %fp@(-16),%d2-%d3/%a2-%a3            
   4354e:	4e5e           	unlk %fp                                    
   43550:	4e75           	rts                                         
   43552:	2f39 0006 0b1c 	movel 60b1c <rtems_libio_semaphore>,%sp@-   <== NOT EXECUTED
  rtems_per_filesystem_mount_routine routine,                         
  void *routine_arg                                                   
)                                                                     
{                                                                     
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
   43558:	4202           	clrb %d2                                    <== NOT EXECUTED
   4355a:	4eb9 0004 68a8 	jsr 468a8 <rtems_semaphore_release>         <== NOT EXECUTED
    stop = (*routine)( mt_entry, routine_arg );                       
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return stop;                                                        
}                                                                     
   43560:	1002           	moveb %d2,%d0                               <== NOT EXECUTED
   43562:	4cee 0c0c fff0 	moveml %fp@(-16),%d2-%d3/%a2-%a3            <== NOT EXECUTED
   43568:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042f7a <rtems_filesystem_prefix_separators>: int rtems_filesystem_prefix_separators( const char *pathname, int pathnamelen ) {
   42f7a:	4e56 fff0      	linkw %fp,#-16                              
   42f7e:	48d7 0c0c      	moveml %d2-%d3/%a2-%a3,%sp@                 
   42f82:	246e 0008      	moveal %fp@(8),%a2                          
  /*                                                                  
   * Eat any separators at start of the path.                         
   */                                                                 
  int stripped = 0;                                                   
  while ( *pathname && pathnamelen && rtems_filesystem_is_separator( *pathname ) )
   42f86:	1012           	moveb %a2@,%d0                              
                                                                      
int rtems_filesystem_prefix_separators(                               
  const char  *pathname,                                              
  int          pathnamelen                                            
)                                                                     
{                                                                     
   42f88:	262e 000c      	movel %fp@(12),%d3                          
  /*                                                                  
   * Eat any separators at start of the path.                         
   */                                                                 
  int stripped = 0;                                                   
  while ( *pathname && pathnamelen && rtems_filesystem_is_separator( *pathname ) )
   42f8c:	4a00           	tstb %d0                                    
   42f8e:	6730           	beqs 42fc0 <rtems_filesystem_prefix_separators+0x46><== NEVER TAKEN
   42f90:	4a83           	tstl %d3                                    
   42f92:	672c           	beqs 42fc0 <rtems_filesystem_prefix_separators+0x46><== NEVER TAKEN
  }                                                                   
                                                                      
  return len;                                                         
}                                                                     
                                                                      
int rtems_filesystem_prefix_separators(                               
   42f94:	528a           	addql #1,%a2                                
)                                                                     
{                                                                     
  /*                                                                  
   * Eat any separators at start of the path.                         
   */                                                                 
  int stripped = 0;                                                   
   42f96:	4282           	clrl %d2                                    
   42f98:	47f9 0004 3f3c 	lea 43f3c <rtems_filesystem_is_separator>,%a3
  while ( *pathname && pathnamelen && rtems_filesystem_is_separator( *pathname ) )
   42f9e:	49c0           	extbl %d0                                   
   42fa0:	2f00           	movel %d0,%sp@-                             
   42fa2:	4e93           	jsr %a3@                                    
   42fa4:	588f           	addql #4,%sp                                
   42fa6:	4a80           	tstl %d0                                    
   42fa8:	670a           	beqs 42fb4 <rtems_filesystem_prefix_separators+0x3a>
  {                                                                   
    pathname++;                                                       
    pathnamelen--;                                                    
    stripped++;                                                       
   42faa:	5282           	addql #1,%d2                                
{                                                                     
  /*                                                                  
   * Eat any separators at start of the path.                         
   */                                                                 
  int stripped = 0;                                                   
  while ( *pathname && pathnamelen && rtems_filesystem_is_separator( *pathname ) )
   42fac:	101a           	moveb %a2@+,%d0                             
   42fae:	6704           	beqs 42fb4 <rtems_filesystem_prefix_separators+0x3a><== NEVER TAKEN
   42fb0:	b483           	cmpl %d3,%d2                                
   42fb2:	66ea           	bnes 42f9e <rtems_filesystem_prefix_separators+0x24><== ALWAYS TAKEN
    pathname++;                                                       
    pathnamelen--;                                                    
    stripped++;                                                       
  }                                                                   
  return stripped;                                                    
}                                                                     
   42fb4:	2002           	movel %d2,%d0                               
   42fb6:	4cee 0c0c fff0 	moveml %fp@(-16),%d2-%d3/%a2-%a3            
   42fbc:	4e5e           	unlk %fp                                    
   42fbe:	4e75           	rts                                         
)                                                                     
{                                                                     
  /*                                                                  
   * Eat any separators at start of the path.                         
   */                                                                 
  int stripped = 0;                                                   
   42fc0:	4282           	clrl %d2                                    <== NOT EXECUTED
    pathname++;                                                       
    pathnamelen--;                                                    
    stripped++;                                                       
  }                                                                   
  return stripped;                                                    
}                                                                     
   42fc2:	2002           	movel %d2,%d0                               <== NOT EXECUTED
   42fc4:	4cee 0c0c fff0 	moveml %fp@(-16),%d2-%d3/%a2-%a3            <== NOT EXECUTED
   42fca:	4e5e           	unlk %fp                                    <== NOT EXECUTED
	...                                                                  
                                                                      

0004b8ba <rtems_filesystem_unregister>: int rtems_filesystem_unregister( const char *type ) {
   4b8ba:	4e56 fff4      	linkw %fp,#-12                              
   4b8be:	48d7 0c04      	moveml %d2/%a2-%a3,%sp@                     
   4b8c2:	242e 0008      	movel %fp@(8),%d2                           
  rtems_chain_node *node = NULL;                                      
                                                                      
  if ( type == NULL ) {                                               
   4b8c6:	6700 0094      	beqw 4b95c <rtems_filesystem_unregister+0xa2>
rtems_status_code rtems_libio_set_private_env(void);                  
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;   
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
   4b8ca:	42a7           	clrl %sp@-                                  
   4b8cc:	42a7           	clrl %sp@-                                  
   4b8ce:	2f39 0006 0b1c 	movel 60b1c <rtems_libio_semaphore>,%sp@-   
   4b8d4:	4eb9 0004 6768 	jsr 46768 <rtems_semaphore_obtain>          
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
   4b8da:	2479 0005 f4ec 	moveal 5f4ec <filesystem_chain>,%a2         
  if ( type == NULL ) {                                               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
   4b8e0:	4fef 000c      	lea %sp@(12),%sp                            
   4b8e4:	b5fc 0005 f4f0 	cmpal #390384,%a2                           
   4b8ea:	671e           	beqs 4b90a <rtems_filesystem_unregister+0x50>
   4b8ec:	47f9 0004 fad0 	lea 4fad0 <strcmp>,%a3                      
    !rtems_chain_is_tail( &filesystem_chain, node );                  
    node = rtems_chain_next( node )                                   
  ) {                                                                 
    filesystem_node *fsn = (filesystem_node *) node;                  
                                                                      
    if ( strcmp( fsn->entry.type, type ) == 0 ) {                     
   4b8f2:	2f02           	movel %d2,%sp@-                             
   4b8f4:	2f2a 0008      	movel %a2@(8),%sp@-                         
   4b8f8:	4e93           	jsr %a3@                                    
   4b8fa:	508f           	addql #8,%sp                                
   4b8fc:	4a80           	tstl %d0                                    
   4b8fe:	6730           	beqs 4b930 <rtems_filesystem_unregister+0x76>
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
   4b900:	2452           	moveal %a2@,%a2                             
  if ( type == NULL ) {                                               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
   4b902:	b5fc 0005 f4f0 	cmpal #390384,%a2                           
   4b908:	66e8           	bnes 4b8f2 <rtems_filesystem_unregister+0x38><== NEVER TAKEN
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
   4b90a:	2f39 0006 0b1c 	movel 60b1c <rtems_libio_semaphore>,%sp@-   
   4b910:	4eb9 0004 68a8 	jsr 468a8 <rtems_semaphore_release>         
      return 0;                                                       
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
   4b916:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         
   4b91c:	588f           	addql #4,%sp                                
   4b91e:	7202           	moveq #2,%d1                                
   4b920:	2040           	moveal %d0,%a0                              
   4b922:	70ff           	moveq #-1,%d0                               
}                                                                     
   4b924:	4cee 0c04 fff4 	moveml %fp@(-12),%d2/%a2-%a3                
      return 0;                                                       
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
   4b92a:	2081           	movel %d1,%a0@                              
}                                                                     
   4b92c:	4e5e           	unlk %fp                                    
   4b92e:	4e75           	rts                                         
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
   4b930:	2f0a           	movel %a2,%sp@-                             
   4b932:	4eb9 0004 7214 	jsr 47214 <_Chain_Extract>                  
  ) {                                                                 
    filesystem_node *fsn = (filesystem_node *) node;                  
                                                                      
    if ( strcmp( fsn->entry.type, type ) == 0 ) {                     
      rtems_chain_extract( node );                                    
      free( fsn );                                                    
   4b938:	2f0a           	movel %a2,%sp@-                             
   4b93a:	4eb9 0004 2fe4 	jsr 42fe4 <free>                            
   4b940:	2f39 0006 0b1c 	movel 60b1c <rtems_libio_semaphore>,%sp@-   
   4b946:	4eb9 0004 68a8 	jsr 468a8 <rtems_semaphore_release>         
   4b94c:	4fef 000c      	lea %sp@(12),%sp                            
      rtems_libio_unlock();                                           
                                                                      
      return 0;                                                       
   4b950:	4280           	clrl %d0                                    
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
   4b952:	4cee 0c04 fff4 	moveml %fp@(-12),%d2/%a2-%a3                
   4b958:	4e5e           	unlk %fp                                    
   4b95a:	4e75           	rts                                         
)                                                                     
{                                                                     
  rtems_chain_node *node = NULL;                                      
                                                                      
  if ( type == NULL ) {                                               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   4b95c:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         
   4b962:	7416           	moveq #22,%d2                               
   4b964:	2040           	moveal %d0,%a0                              
   4b966:	70ff           	moveq #-1,%d0                               
   4b968:	2082           	movel %d2,%a0@                              
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
   4b96a:	4cee 0c04 fff4 	moveml %fp@(-12),%d2/%a2-%a3                
   4b970:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00043b98 <rtems_gxx_key_create>: int rtems_gxx_key_create (__gthread_key_t *key, void (*dtor) (void *)) {
   43b98:	4e56 0000      	linkw %fp,#0                                
   43b9c:	2f0a           	movel %a2,%sp@-                             
   43b9e:	2f02           	movel %d2,%sp@-                             
   * pointer to the buffer that will hold the value of the key itself.
   * We have to to this, because the others functions on this interface
   * deal with the value of the key, as used with the POSIX API.      
   */                                                                 
   /* Do not pull your hair, trust me this works. :-) */              
  __gthread_key_t new_key = (__gthread_key_t) malloc( sizeof( *new_key ) );
   43ba0:	4878 0008      	pea 8 <DIVIDE_BY_ZERO>                      
  }                                                                   
  return 0;                                                           
}                                                                     
                                                                      
int rtems_gxx_key_create (__gthread_key_t *key, void (*dtor) (void *))
{                                                                     
   43ba4:	242e 000c      	movel %fp@(12),%d2                          
   * pointer to the buffer that will hold the value of the key itself.
   * We have to to this, because the others functions on this interface
   * deal with the value of the key, as used with the POSIX API.      
   */                                                                 
   /* Do not pull your hair, trust me this works. :-) */              
  __gthread_key_t new_key = (__gthread_key_t) malloc( sizeof( *new_key ) );
   43ba8:	4eb9 0004 3fcc 	jsr 43fcc <malloc>                          
  *key = new_key;                                                     
   43bae:	206e 0008      	moveal %fp@(8),%a0                          
   * pointer to the buffer that will hold the value of the key itself.
   * We have to to this, because the others functions on this interface
   * deal with the value of the key, as used with the POSIX API.      
   */                                                                 
   /* Do not pull your hair, trust me this works. :-) */              
  __gthread_key_t new_key = (__gthread_key_t) malloc( sizeof( *new_key ) );
   43bb2:	2440           	moveal %d0,%a2                              
      "gxx_wrappers: create key=%x, dtor=%x, new_key=%x\n", key, dtor, new_key
    );                                                                
  #endif                                                              
                                                                      
  /* register with RTEMS the buffer that will hold the key values */  
  status = rtems_task_variable_add( RTEMS_SELF, (void **)new_key, dtor );
   43bb4:	2f02           	movel %d2,%sp@-                             
   43bb6:	2f00           	movel %d0,%sp@-                             
   * We have to to this, because the others functions on this interface
   * deal with the value of the key, as used with the POSIX API.      
   */                                                                 
   /* Do not pull your hair, trust me this works. :-) */              
  __gthread_key_t new_key = (__gthread_key_t) malloc( sizeof( *new_key ) );
  *key = new_key;                                                     
   43bb8:	2080           	movel %d0,%a0@                              
      "gxx_wrappers: create key=%x, dtor=%x, new_key=%x\n", key, dtor, new_key
    );                                                                
  #endif                                                              
                                                                      
  /* register with RTEMS the buffer that will hold the key values */  
  status = rtems_task_variable_add( RTEMS_SELF, (void **)new_key, dtor );
   43bba:	42a7           	clrl %sp@-                                  
   * deal with the value of the key, as used with the POSIX API.      
   */                                                                 
   /* Do not pull your hair, trust me this works. :-) */              
  __gthread_key_t new_key = (__gthread_key_t) malloc( sizeof( *new_key ) );
  *key = new_key;                                                     
  new_key->val  = NULL;                                               
   43bbc:	4292           	clrl %a2@                                   
  new_key->dtor = dtor;                                               
   43bbe:	2542 0004      	movel %d2,%a2@(4)                           
      "gxx_wrappers: create key=%x, dtor=%x, new_key=%x\n", key, dtor, new_key
    );                                                                
  #endif                                                              
                                                                      
  /* register with RTEMS the buffer that will hold the key values */  
  status = rtems_task_variable_add( RTEMS_SELF, (void **)new_key, dtor );
   43bc2:	4eb9 0004 7abc 	jsr 47abc <rtems_task_variable_add>         
  if ( status == RTEMS_SUCCESSFUL )                                   
   43bc8:	4fef 0010      	lea %sp@(16),%sp                            
   43bcc:	4a80           	tstl %d0                                    
   43bce:	660e           	bnes 43bde <rtems_gxx_key_create+0x46>      <== NEVER TAKEN
    return 0;                                                         
                                                                      
  free( new_key );                                                    
  return -1;                                                          
}                                                                     
   43bd0:	242e fff8      	movel %fp@(-8),%d2                          
  #endif                                                              
                                                                      
  /* register with RTEMS the buffer that will hold the key values */  
  status = rtems_task_variable_add( RTEMS_SELF, (void **)new_key, dtor );
  if ( status == RTEMS_SUCCESSFUL )                                   
    return 0;                                                         
   43bd4:	4280           	clrl %d0                                    
                                                                      
  free( new_key );                                                    
  return -1;                                                          
}                                                                     
   43bd6:	246e fffc      	moveal %fp@(-4),%a2                         
   43bda:	4e5e           	unlk %fp                                    
   43bdc:	4e75           	rts                                         
  /* register with RTEMS the buffer that will hold the key values */  
  status = rtems_task_variable_add( RTEMS_SELF, (void **)new_key, dtor );
  if ( status == RTEMS_SUCCESSFUL )                                   
    return 0;                                                         
                                                                      
  free( new_key );                                                    
   43bde:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   43be0:	4eb9 0004 3a00 	jsr 43a00 <free>                            <== NOT EXECUTED
  return -1;                                                          
}                                                                     
   43be6:	242e fff8      	movel %fp@(-8),%d2                          <== NOT EXECUTED
  status = rtems_task_variable_add( RTEMS_SELF, (void **)new_key, dtor );
  if ( status == RTEMS_SUCCESSFUL )                                   
    return 0;                                                         
                                                                      
  free( new_key );                                                    
  return -1;                                                          
   43bea:	588f           	addql #4,%sp                                <== NOT EXECUTED
   43bec:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
}                                                                     
   43bee:	246e fffc      	moveal %fp@(-4),%a2                         <== NOT EXECUTED
   43bf2:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00043c06 <rtems_gxx_key_delete>: int rtems_gxx_key_delete (__gthread_key_t key) {
   43c06:	4e56 0000      	linkw %fp,#0                                
   43c0a:	2f0a           	movel %a2,%sp@-                             
   43c0c:	246e 0008      	moveal %fp@(8),%a2                          
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: delete key=%x\n", key );                   
  #endif                                                              
                                                                      
  /* register with RTEMS the buffer that will hold the key values */  
  status = rtems_task_variable_delete( RTEMS_SELF, (void **)key );    
   43c10:	2f0a           	movel %a2,%sp@-                             
   43c12:	42a7           	clrl %sp@-                                  
   43c14:	4eb9 0004 7b78 	jsr 47b78 <rtems_task_variable_delete>      
  if ( status == RTEMS_SUCCESSFUL ) {                                 
   43c1a:	508f           	addql #8,%sp                                
   43c1c:	4a80           	tstl %d0                                    
   43c1e:	660e           	bnes 43c2e <rtems_gxx_key_delete+0x28>      <== NEVER TAKEN
    /* Hmm - hopefully all tasks using this key have gone away... */  
    if ( key ) free( *(void **)key );                                 
   43c20:	4a8a           	tstl %a2                                    
   43c22:	670a           	beqs 43c2e <rtems_gxx_key_delete+0x28>      <== NEVER TAKEN
   43c24:	2f12           	movel %a2@,%sp@-                            
   43c26:	4eb9 0004 3a00 	jsr 43a00 <free>                            
   43c2c:	588f           	addql #4,%sp                                
    return 0;                                                         
  }                                                                   
  key = NULL;                                                         
  return 0;                                                           
}                                                                     
   43c2e:	246e fffc      	moveal %fp@(-4),%a2                         
   43c32:	4280           	clrl %d0                                    
   43c34:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00043b1c <rtems_gxx_once>: /* uncomment this if you need to debug this interface */ /*#define DEBUG_GXX_WRAPPERS 1*/ int rtems_gxx_once(__gthread_once_t *once, void (*func) (void)) {
   43b1c:	4e56 fff0      	linkw %fp,#-16                              
   43b20:	48d7 0c04      	moveml %d2/%a2-%a3,%sp@                     
   43b24:	246e 0008      	moveal %fp@(8),%a2                          
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: once=%x, func=%x\n", *once, func );        
  #endif                                                              
                                                                      
  if ( *(volatile __gthread_once_t *)once == 0 ) {                    
   43b28:	2012           	movel %a2@,%d0                              
   43b2a:	670c           	beqs 43b38 <rtems_gxx_once+0x1c>            
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
    if ( o == 0 )                                                     
      (*func)();                                                      
  }                                                                   
  return 0;                                                           
}                                                                     
   43b2c:	4280           	clrl %d0                                    
   43b2e:	4cee 0c04 fff0 	moveml %fp@(-16),%d2/%a2-%a3                
   43b34:	4e5e           	unlk %fp                                    
   43b36:	4e75           	rts                                         
                                                                      
  if ( *(volatile __gthread_once_t *)once == 0 ) {                    
    rtems_mode saveMode;                                              
    __gthread_once_t o;                                               
                                                                      
    rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode); 
   43b38:	240e           	movel %fp,%d2                               
   43b3a:	5982           	subql #4,%d2                                
   43b3c:	47f9 0004 787c 	lea 4787c <rtems_task_mode>,%a3             
   43b42:	2f02           	movel %d2,%sp@-                             
   43b44:	4878 0100      	pea 100 <DBL_MANT_DIG+0xcb>                 
   43b48:	4878 0100      	pea 100 <DBL_MANT_DIG+0xcb>                 
   43b4c:	4e93           	jsr %a3@                                    
    if ( (o = *(volatile __gthread_once_t *)once) == 0 ) {            
   43b4e:	2012           	movel %a2@,%d0                              
   43b50:	4fef 000c      	lea %sp@(12),%sp                            
   43b54:	6626           	bnes 43b7c <rtems_gxx_once+0x60>            <== NEVER TAKEN
      *(volatile __gthread_once_t *)once = 1;                         
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
   43b56:	2f02           	movel %d2,%sp@-                             
   43b58:	4878 0100      	pea 100 <DBL_MANT_DIG+0xcb>                 
    rtems_mode saveMode;                                              
    __gthread_once_t o;                                               
                                                                      
    rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode); 
    if ( (o = *(volatile __gthread_once_t *)once) == 0 ) {            
      *(volatile __gthread_once_t *)once = 1;                         
   43b5c:	7001           	moveq #1,%d0                                
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
   43b5e:	2f2e fffc      	movel %fp@(-4),%sp@-                        
    rtems_mode saveMode;                                              
    __gthread_once_t o;                                               
                                                                      
    rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode); 
    if ( (o = *(volatile __gthread_once_t *)once) == 0 ) {            
      *(volatile __gthread_once_t *)once = 1;                         
   43b62:	2480           	movel %d0,%a2@                              
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
   43b64:	4e93           	jsr %a3@                                    
    if ( o == 0 )                                                     
      (*func)();                                                      
   43b66:	206e 000c      	moveal %fp@(12),%a0                         
   43b6a:	4e90           	jsr %a0@                                    
   43b6c:	4fef 000c      	lea %sp@(12),%sp                            
  }                                                                   
  return 0;                                                           
}                                                                     
   43b70:	4280           	clrl %d0                                    
   43b72:	4cee 0c04 fff0 	moveml %fp@(-16),%d2/%a2-%a3                
   43b78:	4e5e           	unlk %fp                                    
   43b7a:	4e75           	rts                                         
                                                                      
    rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode); 
    if ( (o = *(volatile __gthread_once_t *)once) == 0 ) {            
      *(volatile __gthread_once_t *)once = 1;                         
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
   43b7c:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   43b7e:	4878 0100      	pea 100 <DBL_MANT_DIG+0xcb>                 <== NOT EXECUTED
   43b82:	2f2e fffc      	movel %fp@(-4),%sp@-                        <== NOT EXECUTED
   43b86:	4e93           	jsr %a3@                                    <== NOT EXECUTED
   43b88:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
    if ( o == 0 )                                                     
      (*func)();                                                      
  }                                                                   
  return 0;                                                           
}                                                                     
   43b8c:	4280           	clrl %d0                                    <== NOT EXECUTED
   43b8e:	4cee 0c04 fff0 	moveml %fp@(-16),%d2/%a2-%a3                <== NOT EXECUTED
   43b94:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00043daa <rtems_gxx_recursive_mutex_unlock>: } int rtems_gxx_recursive_mutex_unlock(__gthread_recursive_mutex_t *mutex) {
   43daa:	4e56 0000      	linkw %fp,#0                                
  return rtems_gxx_mutex_unlock(mutex);                               
}                                                                     
   43dae:	4e5e           	unlk %fp                                    
  return rtems_gxx_mutex_trylock(mutex);                              
}                                                                     
                                                                      
int rtems_gxx_recursive_mutex_unlock(__gthread_recursive_mutex_t *mutex)
{                                                                     
  return rtems_gxx_mutex_unlock(mutex);                               
   43db0:	4ef9 0004 3d6a 	jmp 43d6a <rtems_gxx_mutex_unlock>          
	...                                                                  
                                                                      

00043c98 <rtems_gxx_setspecific>: #endif return p; } int rtems_gxx_setspecific(__gthread_key_t key, const void *ptr) {
   43c98:	4e56 0000      	linkw %fp,#0                                
   43c9c:	2f0a           	movel %a2,%sp@-                             
   43c9e:	246e 0008      	moveal %fp@(8),%a2                          
      rtems_task_self()                                               
      );                                                              
  #endif                                                              
                                                                      
  /* register with RTEMS the buffer that will hold the key values */  
  status = rtems_task_variable_add( RTEMS_SELF, (void **)key, key->dtor );
   43ca2:	2f2a 0004      	movel %a2@(4),%sp@-                         
   43ca6:	2f0a           	movel %a2,%sp@-                             
   43ca8:	42a7           	clrl %sp@-                                  
   43caa:	4eb9 0004 7abc 	jsr 47abc <rtems_task_variable_add>         
  if ( status == RTEMS_SUCCESSFUL ) {                                 
   43cb0:	4fef 000c      	lea %sp@(12),%sp                            
   43cb4:	4a80           	tstl %d0                                    
   43cb6:	660c           	bnes 43cc4 <rtems_gxx_setspecific+0x2c>     <== NEVER TAKEN
    /* now let's set the proper value */                              
    key->val =  (void *)ptr;                                          
   43cb8:	24ae 000c      	movel %fp@(12),%a2@                         
    return 0;                                                         
  }                                                                   
  return -1;                                                          
}                                                                     
   43cbc:	246e fffc      	moveal %fp@(-4),%a2                         
   43cc0:	4e5e           	unlk %fp                                    
   43cc2:	4e75           	rts                                         
   43cc4:	246e fffc      	moveal %fp@(-4),%a2                         <== NOT EXECUTED
  if ( status == RTEMS_SUCCESSFUL ) {                                 
    /* now let's set the proper value */                              
    key->val =  (void *)ptr;                                          
    return 0;                                                         
  }                                                                   
  return -1;                                                          
   43cc8:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
}                                                                     
   43cca:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00047fd8 <rtems_heap_allocate_aligned_with_boundary>: size_t size, uintptr_t alignment, uintptr_t boundary ) { if (
   47fd8:	7003           	moveq #3,%d0                                
void *rtems_heap_allocate_aligned_with_boundary(                      
  size_t size,                                                        
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
   47fda:	4e56 0000      	linkw %fp,#0                                
  if (                                                                
   47fde:	b0b9 0006 7210 	cmpl 67210 <_System_state_Current>,%d0      
   47fe4:	6726           	beqs 4800c <rtems_heap_allocate_aligned_with_boundary+0x34>
      && !malloc_is_system_state_OK()                                 
  ) {                                                                 
    return NULL;                                                      
  }                                                                   
                                                                      
  malloc_deferred_frees_process();                                    
   47fe6:	4eb9 0004 6ef0 	jsr 46ef0 <malloc_deferred_frees_process>   
                                                                      
  /* FIXME: Statistics, boundary checks */                            
                                                                      
  return _Protected_heap_Allocate_aligned_with_boundary(              
   47fec:	2f2e 0010      	movel %fp@(16),%sp@-                        
   47ff0:	2f2e 000c      	movel %fp@(12),%sp@-                        
   47ff4:	2f2e 0008      	movel %fp@(8),%sp@-                         
   47ff8:	2f39 0006 4e50 	movel 64e50 <RTEMS_Malloc_Heap>,%sp@-       
   47ffe:	4eb9 0004 d224 	jsr 4d224 <_Protected_heap_Allocate_aligned_with_boundary>
   48004:	4fef 0010      	lea %sp@(16),%sp                            
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment,                                                        
    boundary                                                          
  );                                                                  
}                                                                     
   48008:	4e5e           	unlk %fp                                    
   4800a:	4e75           	rts                                         
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
  if (                                                                
    _System_state_Is_up( _System_state_Get() )                        
      && !malloc_is_system_state_OK()                                 
   4800c:	4eb9 0004 6eb0 	jsr 46eb0 <malloc_is_system_state_OK>       
   48012:	4a00           	tstb %d0                                    
   48014:	66d0           	bnes 47fe6 <rtems_heap_allocate_aligned_with_boundary+0xe><== NEVER TAKEN
  ) {                                                                 
    return NULL;                                                      
   48016:	4280           	clrl %d0                                    
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment,                                                        
    boundary                                                          
  );                                                                  
}                                                                     
   48018:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042a36 <rtems_io_lookup_name>: rtems_status_code rtems_io_lookup_name( const char *name, rtems_driver_name_t *device_info ) {
   42a36:	4e56 ffd8      	linkw %fp,#-40                              
   42a3a:	48d7 0c1c      	moveml %d2-%d4/%a2-%a3,%sp@                 
   42a3e:	262e 0008      	movel %fp@(8),%d3                           
  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(                            
   42a42:	45f9 0005 0028 	lea 50028 <strlen>,%a2                      
   42a48:	240e           	movel %fp,%d2                               
   42a4a:	0682 ffff ffec 	addil #-20,%d2                              
   42a50:	2f03           	movel %d3,%sp@-                             
   42a52:	4e92           	jsr %a2@                                    
   42a54:	7201           	moveq #1,%d1                                
   42a56:	2e81           	movel %d1,%sp@                              
   42a58:	2f02           	movel %d2,%sp@-                             
   42a5a:	42a7           	clrl %sp@-                                  
   42a5c:	2f00           	movel %d0,%sp@-                             
   42a5e:	2f03           	movel %d3,%sp@-                             
   42a60:	4eb9 0004 2eec 	jsr 42eec <rtems_filesystem_evaluate_path>  
      name, strlen( name ), 0x00, &loc, true );                       
  the_jnode = loc.node_access;                                        
                                                                      
  node_type = (*loc.ops->node_type_h)( &loc );                        
   42a66:	206e fff8      	moveal %fp@(-8),%a0                         
  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(                            
   42a6a:	2800           	movel %d0,%d4                               
      name, strlen( name ), 0x00, &loc, true );                       
  the_jnode = loc.node_access;                                        
                                                                      
  node_type = (*loc.ops->node_type_h)( &loc );                        
   42a6c:	2f02           	movel %d2,%sp@-                             
  int                                result;                          
  rtems_filesystem_node_types_t      node_type;                       
                                                                      
  result = rtems_filesystem_evaluate_path(                            
      name, strlen( name ), 0x00, &loc, true );                       
  the_jnode = loc.node_access;                                        
   42a6e:	266e ffec      	moveal %fp@(-20),%a3                        
                                                                      
  node_type = (*loc.ops->node_type_h)( &loc );                        
   42a72:	2068 0010      	moveal %a0@(16),%a0                         
   42a76:	4e90           	jsr %a0@                                    
                                                                      
  if ( (result != 0) || node_type != RTEMS_FILESYSTEM_DEVICE ) {      
   42a78:	4fef 0018      	lea %sp@(24),%sp                            
   42a7c:	4a84           	tstl %d4                                    
   42a7e:	6606           	bnes 42a86 <rtems_io_lookup_name+0x50>      <== NEVER TAKEN
   42a80:	7202           	moveq #2,%d1                                
   42a82:	b280           	cmpl %d0,%d1                                
   42a84:	6716           	beqs 42a9c <rtems_io_lookup_name+0x66>      
    rtems_filesystem_freenode( &loc );                                
   42a86:	2f02           	movel %d2,%sp@-                             
   42a88:	4eb9 0004 2fd0 	jsr 42fd0 <rtems_filesystem_freenode>       
    return RTEMS_UNSATISFIED;                                         
   42a8e:	588f           	addql #4,%sp                                
   42a90:	700d           	moveq #13,%d0                               
  device_info->minor              = the_jnode->info.device.minor;     
                                                                      
  rtems_filesystem_freenode( &loc );                                  
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   42a92:	4cee 0c1c ffd8 	moveml %fp@(-40),%d2-%d4/%a2-%a3            
   42a98:	4e5e           	unlk %fp                                    
   42a9a:	4e75           	rts                                         
  if ( (result != 0) || node_type != RTEMS_FILESYSTEM_DEVICE ) {      
    rtems_filesystem_freenode( &loc );                                
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  device_info->device_name        = (char *) name;                    
   42a9c:	206e 000c      	moveal %fp@(12),%a0                         
   42aa0:	2083           	movel %d3,%a0@                              
  device_info->device_name_length = strlen( name );                   
   42aa2:	2f03           	movel %d3,%sp@-                             
   42aa4:	4e92           	jsr %a2@                                    
   42aa6:	226e 000c      	moveal %fp@(12),%a1                         
  device_info->major              = the_jnode->info.device.major;     
   42aaa:	41eb 004c      	lea %a3@(76),%a0                            
  device_info->minor              = the_jnode->info.device.minor;     
   42aae:	47eb 0050      	lea %a3@(80),%a3                            
    rtems_filesystem_freenode( &loc );                                
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  device_info->device_name        = (char *) name;                    
  device_info->device_name_length = strlen( name );                   
   42ab2:	2340 0004      	movel %d0,%a1@(4)                           
  device_info->major              = the_jnode->info.device.major;     
   42ab6:	2350 0008      	movel %a0@,%a1@(8)                          
  device_info->minor              = the_jnode->info.device.minor;     
   42aba:	2353 000c      	movel %a3@,%a1@(12)                         
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   42abe:	2e82           	movel %d2,%sp@                              
   42ac0:	4eb9 0004 2fd0 	jsr 42fd0 <rtems_filesystem_freenode>       
                                                                      
  return RTEMS_SUCCESSFUL;                                            
   42ac6:	588f           	addql #4,%sp                                
   42ac8:	4280           	clrl %d0                                    
}                                                                     
   42aca:	4cee 0c1c ffd8 	moveml %fp@(-40),%d2-%d4/%a2-%a3            
   42ad0:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004838c <rtems_io_register_driver>: rtems_status_code rtems_io_register_driver( rtems_device_major_number major, const rtems_driver_address_table *driver_table, rtems_device_major_number *registered_major ) {
   4838c:	4e56 fff4      	linkw %fp,#-12                              
   48390:	226e 000c      	moveal %fp@(12),%a1                         
   48394:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
   48398:	242e 0008      	movel %fp@(8),%d2                           
   4839c:	246e 0010      	moveal %fp@(16),%a2                         
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
   483a0:	2039 0006 56ca 	movel 656ca <_IO_Number_of_drivers>,%d0     
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
   483a6:	4ab9 0006 52b6 	tstl 652b6 <_Per_CPU_Information+0x8>       
   483ac:	6600 009c      	bnew 4844a <rtems_io_register_driver+0xbe>  
    return RTEMS_CALLED_FROM_ISR;                                     
                                                                      
  if ( registered_major == NULL )                                     
   483b0:	4a8a           	tstl %a2                                    
   483b2:	6700 00ea      	beqw 4849e <rtems_io_register_driver+0x112> 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  /* Set it to an invalid value */                                    
  *registered_major = major_limit;                                    
   483b6:	2480           	movel %d0,%a2@                              
                                                                      
  if ( driver_table == NULL )                                         
   483b8:	4a89           	tstl %a1                                    
   483ba:	6700 00e2      	beqw 4849e <rtems_io_register_driver+0x112> 
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
   483be:	4a91           	tstl %a1@                                   
   483c0:	6700 00d4      	beqw 48496 <rtems_io_register_driver+0x10a> 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( rtems_io_is_empty_table( driver_table ) )                      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( major >= major_limit )                                         
   483c4:	b480           	cmpl %d0,%d2                                
   483c6:	6476           	bccs 4843e <rtems_io_register_driver+0xb2>  
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
   483c8:	2039 0006 4e50 	movel 64e50 <_Thread_Dispatch_disable_level>,%d0
   483ce:	5280           	addql #1,%d0                                
   483d0:	23c0 0006 4e50 	movel %d0,64e50 <_Thread_Dispatch_disable_level>
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( major == 0 ) {                                                 
   483d6:	4a82           	tstl %d2                                    
   483d8:	667c           	bnes 48456 <rtems_io_register_driver+0xca>  
                                                                      
static rtems_status_code rtems_io_obtain_major_number(                
  rtems_device_major_number *major                                    
)                                                                     
{                                                                     
  rtems_device_major_number n = _IO_Number_of_drivers;                
   483da:	2039 0006 56ca 	movel 656ca <_IO_Number_of_drivers>,%d0     
  rtems_device_major_number m = 0;                                    
                                                                      
  /* major is error checked by caller */                              
                                                                      
  for ( m = 0; m < n; ++m ) {                                         
   483e0:	6700 0106      	beqw 484e8 <rtems_io_register_driver+0x15c> 
   483e4:	2239 0006 56ce 	movel 656ce <_IO_Driver_address_table>,%d1  
   483ea:	2041           	moveal %d1,%a0                              
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
   483ec:	4a90           	tstl %a0@                                   
   483ee:	6700 008e      	beqw 4847e <rtems_io_register_driver+0xf2>  
  rtems_device_major_number n = _IO_Number_of_drivers;                
  rtems_device_major_number m = 0;                                    
                                                                      
  /* major is error checked by caller */                              
                                                                      
  for ( m = 0; m < n; ++m ) {                                         
   483f2:	5282           	addql #1,%d2                                
   483f4:	41e8 0018      	lea %a0@(24),%a0                            
   483f8:	b480           	cmpl %d0,%d2                                
   483fa:	65f0           	bcss 483ec <rtems_io_register_driver+0x60>  
    if ( rtems_io_is_empty_table( table ) )                           
      break;                                                          
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
   483fc:	2482           	movel %d2,%a2@                              
                                                                      
  if ( m != n )                                                       
   483fe:	b480           	cmpl %d0,%d2                                
   48400:	6700 00e8      	beqw 484ea <rtems_io_register_driver+0x15e> 
   48404:	2602           	movel %d2,%d3                               
   48406:	2002           	movel %d2,%d0                               
    }                                                                 
                                                                      
    *registered_major = major;                                        
  }                                                                   
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
   48408:	2041           	moveal %d1,%a0                              
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
                                                                      
  if ( m != n )                                                       
   4840a:	e78b           	lsll #3,%d3                                 
   4840c:	eb88           	lsll #5,%d0                                 
   4840e:	9083           	subl %d3,%d0                                
    }                                                                 
                                                                      
    *registered_major = major;                                        
  }                                                                   
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
   48410:	d1c0           	addal %d0,%a0                               
   48412:	20d9           	movel %a1@+,%a0@+                           
   48414:	20d9           	movel %a1@+,%a0@+                           
   48416:	20d9           	movel %a1@+,%a0@+                           
   48418:	20d9           	movel %a1@+,%a0@+                           
   4841a:	20d9           	movel %a1@+,%a0@+                           
   4841c:	2091           	movel %a1@,%a0@                             
                                                                      
  _Thread_Enable_dispatch();                                          
   4841e:	4eb9 0004 a34a 	jsr 4a34a <_Thread_Enable_dispatch>         
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
   48424:	2d42 0008      	movel %d2,%fp@(8)                           
}                                                                     
   48428:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
   4842e:	42ae 0010      	clrl %fp@(16)                               
   48432:	42ae 000c      	clrl %fp@(12)                               
}                                                                     
   48436:	4e5e           	unlk %fp                                    
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
   48438:	4ef9 0005 0b10 	jmp 50b10 <rtems_io_initialize>             
                                                                      
  if ( rtems_io_is_empty_table( driver_table ) )                      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( major >= major_limit )                                         
    return RTEMS_INVALID_NUMBER;                                      
   4843e:	700a           	moveq #10,%d0                               
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
}                                                                     
   48440:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
   48446:	4e5e           	unlk %fp                                    
   48448:	4e75           	rts                                         
)                                                                     
{                                                                     
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
    return RTEMS_CALLED_FROM_ISR;                                     
   4844a:	7012           	moveq #18,%d0                               
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
}                                                                     
   4844c:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
   48452:	4e5e           	unlk %fp                                    
   48454:	4e75           	rts                                         
      _Thread_Enable_dispatch();                                      
      return sc;                                                      
    }                                                                 
    major = *registered_major;                                        
  } else {                                                            
    rtems_driver_address_table *const table = _IO_Driver_address_table + major;
   48456:	2202           	movel %d2,%d1                               
   48458:	2002           	movel %d2,%d0                               
   4845a:	e789           	lsll #3,%d1                                 
   4845c:	eb88           	lsll #5,%d0                                 
   4845e:	2079 0006 56ce 	moveal 656ce <_IO_Driver_address_table>,%a0 
   48464:	9081           	subl %d1,%d0                                
   48466:	d1c0           	addal %d0,%a0                               
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
   48468:	4a90           	tstl %a0@                                   
   4846a:	673e           	beqs 484aa <rtems_io_register_driver+0x11e> 
    major = *registered_major;                                        
  } else {                                                            
    rtems_driver_address_table *const table = _IO_Driver_address_table + major;
                                                                      
    if ( !rtems_io_is_empty_table( table ) ) {                        
      _Thread_Enable_dispatch();                                      
   4846c:	4eb9 0004 a34a 	jsr 4a34a <_Thread_Enable_dispatch>         
      return RTEMS_RESOURCE_IN_USE;                                   
   48472:	700c           	moveq #12,%d0                               
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
}                                                                     
   48474:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
   4847a:	4e5e           	unlk %fp                                    
   4847c:	4e75           	rts                                         
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
   4847e:	4aa8 0004      	tstl %a0@(4)                                
   48482:	6700 ff78      	beqw 483fc <rtems_io_register_driver+0x70>  
  rtems_device_major_number n = _IO_Number_of_drivers;                
  rtems_device_major_number m = 0;                                    
                                                                      
  /* major is error checked by caller */                              
                                                                      
  for ( m = 0; m < n; ++m ) {                                         
   48486:	5282           	addql #1,%d2                                
   48488:	41e8 0018      	lea %a0@(24),%a0                            
   4848c:	b480           	cmpl %d0,%d2                                
   4848e:	6500 ff5c      	bcsw 483ec <rtems_io_register_driver+0x60>  
   48492:	6000 ff68      	braw 483fc <rtems_io_register_driver+0x70>  
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
   48496:	4aa9 0004      	tstl %a1@(4)                                
   4849a:	6600 ff28      	bnew 483c4 <rtems_io_register_driver+0x38>  
                                                                      
  if ( driver_table == NULL )                                         
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( rtems_io_is_empty_table( driver_table ) )                      
    return RTEMS_INVALID_ADDRESS;                                     
   4849e:	7009           	moveq #9,%d0                                
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
}                                                                     
   484a0:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
   484a6:	4e5e           	unlk %fp                                    
   484a8:	4e75           	rts                                         
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
   484aa:	4aa8 0004      	tstl %a0@(4)                                
   484ae:	66bc           	bnes 4846c <rtems_io_register_driver+0xe0>  
   484b0:	2239 0006 56ce 	movel 656ce <_IO_Driver_address_table>,%d1  
    }                                                                 
                                                                      
    *registered_major = major;                                        
  }                                                                   
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
   484b6:	2041           	moveal %d1,%a0                              
   484b8:	d1c0           	addal %d0,%a0                               
    if ( !rtems_io_is_empty_table( table ) ) {                        
      _Thread_Enable_dispatch();                                      
      return RTEMS_RESOURCE_IN_USE;                                   
    }                                                                 
                                                                      
    *registered_major = major;                                        
   484ba:	2482           	movel %d2,%a2@                              
  }                                                                   
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
   484bc:	20d9           	movel %a1@+,%a0@+                           
   484be:	20d9           	movel %a1@+,%a0@+                           
   484c0:	20d9           	movel %a1@+,%a0@+                           
   484c2:	20d9           	movel %a1@+,%a0@+                           
   484c4:	20d9           	movel %a1@+,%a0@+                           
   484c6:	2091           	movel %a1@,%a0@                             
                                                                      
  _Thread_Enable_dispatch();                                          
   484c8:	4eb9 0004 a34a 	jsr 4a34a <_Thread_Enable_dispatch>         
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
   484ce:	2d42 0008      	movel %d2,%fp@(8)                           
}                                                                     
   484d2:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
   484d8:	42ae 0010      	clrl %fp@(16)                               
   484dc:	42ae 000c      	clrl %fp@(12)                               
}                                                                     
   484e0:	4e5e           	unlk %fp                                    
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
   484e2:	4ef9 0005 0b10 	jmp 50b10 <rtems_io_initialize>             
    if ( rtems_io_is_empty_table( table ) )                           
      break;                                                          
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
   484e8:	4292           	clrl %a2@                                   <== NOT EXECUTED
                                                                      
  if ( major == 0 ) {                                                 
    rtems_status_code sc = rtems_io_obtain_major_number( registered_major );
                                                                      
    if ( sc != RTEMS_SUCCESSFUL ) {                                   
      _Thread_Enable_dispatch();                                      
   484ea:	4eb9 0004 a34a 	jsr 4a34a <_Thread_Enable_dispatch>         
  *major = m;                                                         
                                                                      
  if ( m != n )                                                       
    return RTEMS_SUCCESSFUL;                                          
                                                                      
  return RTEMS_TOO_MANY;                                              
   484f0:	7005           	moveq #5,%d0                                
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
}                                                                     
   484f2:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
   484f8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000495b8 <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) {
   495b8:	4e56 fff0      	linkw %fp,#-16                              
   495bc:	48d7 1c04      	moveml %d2/%a2-%a4,%sp@                     
   495c0:	266e 0008      	moveal %fp@(8),%a3                          
  uint32_t             i;                                             
  uint32_t             api_index;                                     
  Thread_Control      *the_thread;                                    
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
   495c4:	4a8b           	tstl %a3                                    
   495c6:	673e           	beqs 49606 <rtems_iterate_over_all_threads+0x4e><== NEVER TAKEN
   495c8:	49f9 0006 3768 	lea 63768 <_Objects_Information_table+0x4>,%a4
    #if !defined(RTEMS_POSIX_API) || defined(RTEMS_DEBUG)             
      if ( !_Objects_Information_table[ api_index ] )                 
        continue;                                                     
    #endif                                                            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
   495ce:	205c           	moveal %a4@+,%a0                            
   495d0:	2468 0004      	moveal %a0@(4),%a2                          
    if ( !information )                                               
   495d4:	4a8a           	tstl %a2                                    
   495d6:	6726           	beqs 495fe <rtems_iterate_over_all_threads+0x46>
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
   495d8:	4a6a 000e      	tstw %a2@(14)                               
   495dc:	6720           	beqs 495fe <rtems_iterate_over_all_threads+0x46>
   495de:	7401           	moveq #1,%d2                                
      the_thread = (Thread_Control *)information->local_table[ i ];   
   495e0:	206a 0018      	moveal %a2@(24),%a0                         
   495e4:	2030 2c00      	movel %a0@(00000000,%d2:l:4),%d0            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( !information )                                               
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
   495e8:	5282           	addql #1,%d2                                
      the_thread = (Thread_Control *)information->local_table[ i ];   
                                                                      
      if ( !the_thread )                                              
   495ea:	4a80           	tstl %d0                                    
   495ec:	6706           	beqs 495f4 <rtems_iterate_over_all_threads+0x3c><== NEVER TAKEN
	continue;                                                            
                                                                      
      (*routine)(the_thread);                                         
   495ee:	2f00           	movel %d0,%sp@-                             
   495f0:	4e93           	jsr %a3@                                    
   495f2:	588f           	addql #4,%sp                                
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( !information )                                               
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
   495f4:	4280           	clrl %d0                                    
   495f6:	302a 000e      	movew %a2@(14),%d0                          
   495fa:	b480           	cmpl %d0,%d2                                
   495fc:	63e2           	blss 495e0 <rtems_iterate_over_all_threads+0x28>
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
    return;                                                           
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
   495fe:	b9fc 0006 3774 	cmpal #407412,%a4                           
   49604:	66c8           	bnes 495ce <rtems_iterate_over_all_threads+0x16>
                                                                      
      (*routine)(the_thread);                                         
    }                                                                 
  }                                                                   
                                                                      
}                                                                     
   49606:	4cee 1c04 fff0 	moveml %fp@(-16),%d2/%a2-%a4                
   4960c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004b536 <rtems_libio_free>: */ void rtems_libio_free( rtems_libio_t *iop ) {
   4b536:	4e56 0000      	linkw %fp,#0                                
   4b53a:	2f0a           	movel %a2,%sp@-                             
   4b53c:	246e 0008      	moveal %fp@(8),%a2                          
rtems_status_code rtems_libio_set_private_env(void);                  
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;   
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
   4b540:	42a7           	clrl %sp@-                                  
   4b542:	42a7           	clrl %sp@-                                  
   4b544:	2f39 0006 0b1c 	movel 60b1c <rtems_libio_semaphore>,%sp@-   
   4b54a:	4eb9 0004 6768 	jsr 46768 <rtems_semaphore_obtain>          
  rtems_libio_lock();                                                 
                                                                      
    if (iop->sem)                                                     
   4b550:	202a 002c      	movel %a2@(44),%d0                          
   4b554:	4fef 000c      	lea %sp@(12),%sp                            
   4b558:	6630           	bnes 4b58a <rtems_libio_free+0x54>          <== ALWAYS TAKEN
      rtems_semaphore_delete(iop->sem);                               
                                                                      
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
    iop->data1 = rtems_libio_iop_freelist;                            
   4b55a:	41f9 0006 0b18 	lea 60b18 <rtems_libio_iop_freelist>,%a0    <== NOT EXECUTED
  rtems_libio_lock();                                                 
                                                                      
    if (iop->sem)                                                     
      rtems_semaphore_delete(iop->sem);                               
                                                                      
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
   4b560:	203c ffff feff 	movel #-257,%d0                             <== NOT EXECUTED
    iop->data1 = rtems_libio_iop_freelist;                            
   4b566:	2550 0034      	movel %a0@,%a2@(52)                         <== NOT EXECUTED
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
   4b56a:	41f9 0006 0b1c 	lea 60b1c <rtems_libio_semaphore>,%a0       <== NOT EXECUTED
   4b570:	2d50 0008      	movel %a0@,%fp@(8)                          <== NOT EXECUTED
  rtems_libio_lock();                                                 
                                                                      
    if (iop->sem)                                                     
      rtems_semaphore_delete(iop->sem);                               
                                                                      
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
   4b574:	c1aa 0014      	andl %d0,%a2@(20)                           <== NOT EXECUTED
    iop->data1 = rtems_libio_iop_freelist;                            
    rtems_libio_iop_freelist = iop;                                   
   4b578:	23ca 0006 0b18 	movel %a2,60b18 <rtems_libio_iop_freelist>  <== NOT EXECUTED
                                                                      
  rtems_libio_unlock();                                               
}                                                                     
   4b57e:	246e fffc      	moveal %fp@(-4),%a2                         <== NOT EXECUTED
   4b582:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   4b584:	4ef9 0004 68a8 	jmp 468a8 <rtems_semaphore_release>         <== NOT EXECUTED
)                                                                     
{                                                                     
  rtems_libio_lock();                                                 
                                                                      
    if (iop->sem)                                                     
      rtems_semaphore_delete(iop->sem);                               
   4b58a:	2f00           	movel %d0,%sp@-                             
   4b58c:	4eb9 0004 6690 	jsr 46690 <rtems_semaphore_delete>          
   4b592:	588f           	addql #4,%sp                                
                                                                      
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
    iop->data1 = rtems_libio_iop_freelist;                            
   4b594:	41f9 0006 0b18 	lea 60b18 <rtems_libio_iop_freelist>,%a0    
  rtems_libio_lock();                                                 
                                                                      
    if (iop->sem)                                                     
      rtems_semaphore_delete(iop->sem);                               
                                                                      
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
   4b59a:	203c ffff feff 	movel #-257,%d0                             
    iop->data1 = rtems_libio_iop_freelist;                            
   4b5a0:	2550 0034      	movel %a0@,%a2@(52)                         
   4b5a4:	41f9 0006 0b1c 	lea 60b1c <rtems_libio_semaphore>,%a0       
   4b5aa:	2d50 0008      	movel %a0@,%fp@(8)                          
  rtems_libio_lock();                                                 
                                                                      
    if (iop->sem)                                                     
      rtems_semaphore_delete(iop->sem);                               
                                                                      
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
   4b5ae:	c1aa 0014      	andl %d0,%a2@(20)                           
    iop->data1 = rtems_libio_iop_freelist;                            
    rtems_libio_iop_freelist = iop;                                   
   4b5b2:	23ca 0006 0b18 	movel %a2,60b18 <rtems_libio_iop_freelist>  
                                                                      
  rtems_libio_unlock();                                               
}                                                                     
   4b5b8:	246e fffc      	moveal %fp@(-4),%a2                         
   4b5bc:	4e5e           	unlk %fp                                    
   4b5be:	4ef9 0004 68a8 	jmp 468a8 <rtems_semaphore_release>         
                                                                      

00043100 <rtems_libio_init>: * * Called by BSP startup code to initialize the libio subsystem. */ void rtems_libio_init( void ) {
   43100:	4e56 0000      	linkw %fp,#0                                
   43104:	2f02           	movel %d2,%sp@-                             
    rtems_status_code rc;                                             
    uint32_t i;                                                       
    rtems_libio_t *iop;                                               
                                                                      
    if (rtems_libio_number_iops > 0)                                  
   43106:	2439 0005 f294 	movel 5f294 <rtems_libio_number_iops>,%d2   
   4310c:	674a           	beqs 43158 <rtems_libio_init+0x58>          <== NEVER TAKEN
    {                                                                 
        rtems_libio_iops = (rtems_libio_t *) calloc(rtems_libio_number_iops,
   4310e:	4878 0038      	pea 38 <DBL_MANT_DIG+0x3>                   
   43112:	2f02           	movel %d2,%sp@-                             
   43114:	4eb9 0004 2bd8 	jsr 42bd8 <calloc>                          
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
   4311a:	508f           	addql #8,%sp                                
    uint32_t i;                                                       
    rtems_libio_t *iop;                                               
                                                                      
    if (rtems_libio_number_iops > 0)                                  
    {                                                                 
        rtems_libio_iops = (rtems_libio_t *) calloc(rtems_libio_number_iops,
   4311c:	2040           	moveal %d0,%a0                              
   4311e:	23c0 0006 0b14 	movel %d0,60b14 <rtems_libio_iops>          
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
   43124:	6778           	beqs 4319e <rtems_libio_init+0x9e>          <== NEVER TAKEN
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
                                                                      
        iop = rtems_libio_iop_freelist = rtems_libio_iops;            
   43126:	23c0 0006 0b18 	movel %d0,60b18 <rtems_libio_iop_freelist>  
        for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)  
   4312c:	7201           	moveq #1,%d1                                
   4312e:	b282           	cmpl %d2,%d1                                
   43130:	6422           	bccs 43154 <rtems_libio_init+0x54>          <== NEVER TAKEN
 *  rtems_libio_init                                                  
 *                                                                    
 *  Called by BSP startup code to initialize the libio subsystem.     
 */                                                                   
                                                                      
void rtems_libio_init( void )                                         
   43132:	2040           	moveal %d0,%a0                              
   43134:	41e8 0038      	lea %a0@(56),%a0                            
        if (rtems_libio_iops == NULL)                                 
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
                                                                      
        iop = rtems_libio_iop_freelist = rtems_libio_iops;            
        for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)  
          iop->data1 = iop + 1;                                       
   43138:	2148 fffc      	movel %a0,%a0@(-4)                          
   4313c:	5281           	addql #1,%d1                                
   4313e:	41e8 0038      	lea %a0@(56),%a0                            
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
                                                                      
        iop = rtems_libio_iop_freelist = rtems_libio_iops;            
        for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)  
   43142:	b481           	cmpl %d1,%d2                                
   43144:	66f2           	bnes 43138 <rtems_libio_init+0x38>          
 *  rtems_libio_init                                                  
 *                                                                    
 *  Called by BSP startup code to initialize the libio subsystem.     
 */                                                                   
                                                                      
void rtems_libio_init( void )                                         
   43146:	5381           	subql #1,%d1                                
   43148:	2401           	movel %d1,%d2                               
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
                                                                      
        iop = rtems_libio_iop_freelist = rtems_libio_iops;            
        for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)  
   4314a:	2040           	moveal %d0,%a0                              
 *  rtems_libio_init                                                  
 *                                                                    
 *  Called by BSP startup code to initialize the libio subsystem.     
 */                                                                   
                                                                      
void rtems_libio_init( void )                                         
   4314c:	e78a           	lsll #3,%d2                                 
   4314e:	ed89           	lsll #6,%d1                                 
   43150:	9282           	subl %d2,%d1                                
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
                                                                      
        iop = rtems_libio_iop_freelist = rtems_libio_iops;            
        for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)  
   43152:	d1c1           	addal %d1,%a0                               
          iop->data1 = iop + 1;                                       
        iop->data1 = NULL;                                            
   43154:	42a8 0034      	clrl %a0@(52)                               
  /*                                                                  
   *  Create the binary semaphore used to provide mutual exclusion    
   *  on the IOP Table.                                               
   */                                                                 
                                                                      
  rc = rtems_semaphore_create(                                        
   43158:	4879 0006 0b1c 	pea 60b1c <rtems_libio_semaphore>           
   4315e:	42a7           	clrl %sp@-                                  
   43160:	4878 0054      	pea 54 <DBL_MANT_DIG+0x1f>                  
   43164:	4878 0001      	pea 1 <ADD>                                 
   43168:	2f3c 4c42 494f 	movel #1279412559,%sp@-                     
   4316e:	4eb9 0004 64cc 	jsr 464cc <rtems_semaphore_create>          
    1,                                                                
    RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY, 
    RTEMS_NO_PRIORITY,                                                
    &rtems_libio_semaphore                                            
  );                                                                  
  if ( rc != RTEMS_SUCCESSFUL )                                       
   43174:	4fef 0014      	lea %sp@(20),%sp                            
   43178:	4a80           	tstl %d0                                    
   4317a:	661a           	bnes 43196 <rtems_libio_init+0x96>          <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Initialize the base file system infrastructure.                 
   */                                                                 
                                                                      
  if (rtems_fs_init_helper)                                           
   4317c:	2279 0005 f290 	moveal 5f290 <rtems_fs_init_helper>,%a1     
   43182:	4a89           	tstl %a1                                    
   43184:	6708           	beqs 4318e <rtems_libio_init+0x8e>          <== NEVER TAKEN
     (* rtems_fs_init_helper)();                                      
}                                                                     
   43186:	242e fffc      	movel %fp@(-4),%d2                          
   4318a:	4e5e           	unlk %fp                                    
  /*                                                                  
   *  Initialize the base file system infrastructure.                 
   */                                                                 
                                                                      
  if (rtems_fs_init_helper)                                           
     (* rtems_fs_init_helper)();                                      
   4318c:	4ed1           	jmp %a1@                                    
}                                                                     
   4318e:	242e fffc      	movel %fp@(-4),%d2                          <== NOT EXECUTED
   43192:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   43194:	4e75           	rts                                         <== NOT EXECUTED
    RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY, 
    RTEMS_NO_PRIORITY,                                                
    &rtems_libio_semaphore                                            
  );                                                                  
  if ( rc != RTEMS_SUCCESSFUL )                                       
    rtems_fatal_error_occurred( rc );                                 
   43196:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   43198:	4eb9 0004 6eb8 	jsr 46eb8 <rtems_fatal_error_occurred>      <== NOT EXECUTED
    if (rtems_libio_number_iops > 0)                                  
    {                                                                 
        rtems_libio_iops = (rtems_libio_t *) calloc(rtems_libio_number_iops,
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
   4319e:	4878 001a      	pea 1a <OPER2+0x6>                          
   431a2:	4eb9 0004 6eb8 	jsr 46eb8 <rtems_fatal_error_occurred>      
                                                                      

0004b642 <rtems_libio_is_file_open>: */ int rtems_libio_is_file_open( void *node_access ) {
   4b642:	4e56 0000      	linkw %fp,#0                                
   4b646:	2f02           	movel %d2,%sp@-                             
   4b648:	242e 0008      	movel %fp@(8),%d2                           
rtems_status_code rtems_libio_set_private_env(void);                  
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;   
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
   4b64c:	42a7           	clrl %sp@-                                  
   4b64e:	42a7           	clrl %sp@-                                  
   4b650:	2f39 0006 0b1c 	movel 60b1c <rtems_libio_semaphore>,%sp@-   
   4b656:	4eb9 0004 6768 	jsr 46768 <rtems_semaphore_obtain>          
                                                                      
  /*                                                                  
   *  Look for any active file descriptor entry.                      
   */                                                                 
                                                                      
 for (iop=rtems_libio_iops,i=0; i < rtems_libio_number_iops; iop++, i++){
   4b65c:	2079 0006 0b14 	moveal 60b14 <rtems_libio_iops>,%a0         
   4b662:	4fef 000c      	lea %sp@(12),%sp                            
   4b666:	2279 0005 f294 	moveal 5f294 <rtems_libio_number_iops>,%a1  
   4b66c:	4a89           	tstl %a1                                    
   4b66e:	6720           	beqs 4b690 <rtems_libio_is_file_open+0x4e>  <== NEVER TAKEN
 *  given file refers to an active file descriptor.                   
 *                                                                    
 *  If the given file is open a 1 is returned, otherwise a 0 is returned.
 */                                                                   
                                                                      
int rtems_libio_is_file_open(                                         
   4b670:	41e8 0014      	lea %a0@(20),%a0                            
                                                                      
  /*                                                                  
   *  Look for any active file descriptor entry.                      
   */                                                                 
                                                                      
 for (iop=rtems_libio_iops,i=0; i < rtems_libio_number_iops; iop++, i++){
   4b674:	4280           	clrl %d0                                    
    if ((iop->flags & LIBIO_FLAGS_OPEN) != 0) {                       
   4b676:	2210           	movel %a0@,%d1                              
                                                                      
  /*                                                                  
   *  Look for any active file descriptor entry.                      
   */                                                                 
                                                                      
 for (iop=rtems_libio_iops,i=0; i < rtems_libio_number_iops; iop++, i++){
   4b678:	5280           	addql #1,%d0                                
    if ((iop->flags & LIBIO_FLAGS_OPEN) != 0) {                       
   4b67a:	0281 0000 0100 	andil #256,%d1                              
   4b680:	6706           	beqs 4b688 <rtems_libio_is_file_open+0x46>  
       /*                                                             
        *  Check if this node is under the file system that we        
        *  are trying to dismount.                                    
        */                                                            
                                                                      
       if ( iop->pathinfo.node_access == node_access ) {              
   4b682:	b4a8 0004      	cmpl %a0@(4),%d2                            
   4b686:	6720           	beqs 4b6a8 <rtems_libio_is_file_open+0x66>  
                                                                      
  /*                                                                  
   *  Look for any active file descriptor entry.                      
   */                                                                 
                                                                      
 for (iop=rtems_libio_iops,i=0; i < rtems_libio_number_iops; iop++, i++){
   4b688:	41e8 0038      	lea %a0@(56),%a0                            
   4b68c:	b3c0           	cmpal %d0,%a1                               
   4b68e:	62e6           	bhis 4b676 <rtems_libio_is_file_open+0x34>  
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
   4b690:	2f39 0006 0b1c 	movel 60b1c <rtems_libio_semaphore>,%sp@-   
int rtems_libio_is_file_open(                                         
  void         *node_access                                           
)                                                                     
{                                                                     
  rtems_libio_t     *iop;                                             
  int                result=0;                                        
   4b696:	4282           	clrl %d2                                    
   4b698:	4eb9 0004 68a8 	jsr 468a8 <rtems_semaphore_release>         
  }                                                                   
                                                                      
  rtems_libio_unlock();                                               
                                                                      
  return result;                                                      
}                                                                     
   4b69e:	2002           	movel %d2,%d0                               
   4b6a0:	242e fffc      	movel %fp@(-4),%d2                          
   4b6a4:	4e5e           	unlk %fp                                    
   4b6a6:	4e75           	rts                                         
   4b6a8:	2f39 0006 0b1c 	movel 60b1c <rtems_libio_semaphore>,%sp@-   
        *  Check if this node is under the file system that we        
        *  are trying to dismount.                                    
        */                                                            
                                                                      
       if ( iop->pathinfo.node_access == node_access ) {              
          result = 1;                                                 
   4b6ae:	7401           	moveq #1,%d2                                
   4b6b0:	4eb9 0004 68a8 	jsr 468a8 <rtems_semaphore_release>         
  }                                                                   
                                                                      
  rtems_libio_unlock();                                               
                                                                      
  return result;                                                      
}                                                                     
   4b6b6:	2002           	movel %d2,%d0                               
   4b6b8:	242e fffc      	movel %fp@(-4),%d2                          
   4b6bc:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004b5c4 <rtems_libio_is_open_files_in_fs>: */ int rtems_libio_is_open_files_in_fs( rtems_filesystem_mount_table_entry_t * fs_mt_entry ) {
   4b5c4:	4e56 0000      	linkw %fp,#0                                
   4b5c8:	2f02           	movel %d2,%sp@-                             
   4b5ca:	242e 0008      	movel %fp@(8),%d2                           
rtems_status_code rtems_libio_set_private_env(void);                  
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;   
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
   4b5ce:	42a7           	clrl %sp@-                                  
   4b5d0:	42a7           	clrl %sp@-                                  
   4b5d2:	2f39 0006 0b1c 	movel 60b1c <rtems_libio_semaphore>,%sp@-   
   4b5d8:	4eb9 0004 6768 	jsr 46768 <rtems_semaphore_obtain>          
                                                                      
  /*                                                                  
   *  Look for any active file descriptor entry.                      
   */                                                                 
                                                                      
  for (iop=rtems_libio_iops,i=0; i < rtems_libio_number_iops; iop++, i++){
   4b5de:	2079 0006 0b14 	moveal 60b14 <rtems_libio_iops>,%a0         
   4b5e4:	4fef 000c      	lea %sp@(12),%sp                            
   4b5e8:	2279 0005 f294 	moveal 5f294 <rtems_libio_number_iops>,%a1  
   4b5ee:	4a89           	tstl %a1                                    
   4b5f0:	6720           	beqs 4b612 <rtems_libio_is_open_files_in_fs+0x4e><== NEVER TAKEN
 *                                                                    
 *  If there is at least one node in the file system referenced by the mount
 *  table entry a 1 is returned, otherwise a 0 is returned.           
 */                                                                   
                                                                      
int rtems_libio_is_open_files_in_fs(                                  
   4b5f2:	41e8 0014      	lea %a0@(20),%a0                            
                                                                      
  /*                                                                  
   *  Look for any active file descriptor entry.                      
   */                                                                 
                                                                      
  for (iop=rtems_libio_iops,i=0; i < rtems_libio_number_iops; iop++, i++){
   4b5f6:	4280           	clrl %d0                                    
                                                                      
    if ((iop->flags & LIBIO_FLAGS_OPEN) != 0) {                       
   4b5f8:	2210           	movel %a0@,%d1                              
                                                                      
  /*                                                                  
   *  Look for any active file descriptor entry.                      
   */                                                                 
                                                                      
  for (iop=rtems_libio_iops,i=0; i < rtems_libio_number_iops; iop++, i++){
   4b5fa:	5280           	addql #1,%d0                                
                                                                      
    if ((iop->flags & LIBIO_FLAGS_OPEN) != 0) {                       
   4b5fc:	0281 0000 0100 	andil #256,%d1                              
   4b602:	6706           	beqs 4b60a <rtems_libio_is_open_files_in_fs+0x46>
       /*                                                             
        *  Check if this node is under the file system that we        
        *  are trying to dismount.                                    
        */                                                            
                                                                      
       if ( iop->pathinfo.mt_entry == fs_mt_entry ) {                 
   4b604:	b4a8 0014      	cmpl %a0@(20),%d2                           
   4b608:	6720           	beqs 4b62a <rtems_libio_is_open_files_in_fs+0x66>
                                                                      
  /*                                                                  
   *  Look for any active file descriptor entry.                      
   */                                                                 
                                                                      
  for (iop=rtems_libio_iops,i=0; i < rtems_libio_number_iops; iop++, i++){
   4b60a:	41e8 0038      	lea %a0@(56),%a0                            
   4b60e:	b3c0           	cmpal %d0,%a1                               
   4b610:	62e6           	bhis 4b5f8 <rtems_libio_is_open_files_in_fs+0x34>
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
   4b612:	2f39 0006 0b1c 	movel 60b1c <rtems_libio_semaphore>,%sp@-   
int rtems_libio_is_open_files_in_fs(                                  
  rtems_filesystem_mount_table_entry_t * fs_mt_entry                  
)                                                                     
{                                                                     
  rtems_libio_t     *iop;                                             
  int                result = 0;                                      
   4b618:	4282           	clrl %d2                                    
   4b61a:	4eb9 0004 68a8 	jsr 468a8 <rtems_semaphore_release>         
  }                                                                   
                                                                      
  rtems_libio_unlock();                                               
                                                                      
  return result;                                                      
}                                                                     
   4b620:	2002           	movel %d2,%d0                               
   4b622:	242e fffc      	movel %fp@(-4),%d2                          
   4b626:	4e5e           	unlk %fp                                    
   4b628:	4e75           	rts                                         
   4b62a:	2f39 0006 0b1c 	movel 60b1c <rtems_libio_semaphore>,%sp@-   
        *  Check if this node is under the file system that we        
        *  are trying to dismount.                                    
        */                                                            
                                                                      
       if ( iop->pathinfo.mt_entry == fs_mt_entry ) {                 
          result = 1;                                                 
   4b630:	7401           	moveq #1,%d2                                
   4b632:	4eb9 0004 68a8 	jsr 468a8 <rtems_semaphore_release>         
  }                                                                   
                                                                      
  rtems_libio_unlock();                                               
                                                                      
  return result;                                                      
}                                                                     
   4b638:	2002           	movel %d2,%d0                               
   4b63a:	242e fffc      	movel %fp@(-4),%d2                          
   4b63e:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00044754 <rtems_libio_set_private_env>: rtems_status_code rtems_libio_set_private_env(void) {
   44754:	4e56 ffc4      	linkw %fp,#-60                              
   44758:	48d7 1c0c      	moveml %d2-%d3/%a2-%a4,%sp@                 
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_id task_id = rtems_task_self();                               
   4475c:	4eb9 0004 76ac 	jsr 476ac <rtems_task_self>                 
  rtems_filesystem_location_info_t root_loc;                          
  rtems_filesystem_location_info_t current_loc;                       
  rtems_user_env_t *new_env = NULL;                                   
  int rv = 0;                                                         
                                                                      
  rv = rtems_filesystem_evaluate_path("/", 1, 0, &root_loc, 0);       
   44762:	45ee ffec      	lea %fp@(-20),%a2                           
   44766:	47f9 0004 3438 	lea 43438 <rtems_filesystem_evaluate_path>,%a3
}                                                                     
                                                                      
rtems_status_code rtems_libio_set_private_env(void)                   
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_id task_id = rtems_task_self();                               
   4476c:	2400           	movel %d0,%d2                               
  rtems_filesystem_location_info_t root_loc;                          
  rtems_filesystem_location_info_t current_loc;                       
  rtems_user_env_t *new_env = NULL;                                   
  int rv = 0;                                                         
                                                                      
  rv = rtems_filesystem_evaluate_path("/", 1, 0, &root_loc, 0);       
   4476e:	42a7           	clrl %sp@-                                  
   44770:	2f0a           	movel %a2,%sp@-                             
   44772:	42a7           	clrl %sp@-                                  
   44774:	4878 0001      	pea 1 <ADD>                                 
   44778:	4879 0005 e882 	pea 5e882 <IMFS_ops+0x48>                   
   4477e:	4e93           	jsr %a3@                                    
  if (rv != 0)                                                        
   44780:	4fef 0014      	lea %sp@(20),%sp                            
   44784:	4a80           	tstl %d0                                    
   44786:	670c           	beqs 44794 <rtems_libio_set_private_env+0x40><== ALWAYS TAKEN
                                                                      
error_1:                                                              
  rtems_filesystem_freenode(&root_loc);                               
                                                                      
error_0:                                                              
  return RTEMS_NO_MEMORY;                                             
   44788:	701a           	moveq #26,%d0                               <== NOT EXECUTED
}                                                                     
   4478a:	4cee 1c0c ffc4 	moveml %fp@(-60),%d2-%d3/%a2-%a4            <== NOT EXECUTED
   44790:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   44792:	4e75           	rts                                         <== NOT EXECUTED
                                                                      
  rv = rtems_filesystem_evaluate_path("/", 1, 0, &root_loc, 0);       
  if (rv != 0)                                                        
    goto error_0;                                                     
                                                                      
  rv = rtems_filesystem_evaluate_path("/", 1, 0, ¤t_loc, 0);    
   44794:	42a7           	clrl %sp@-                                  
   44796:	49ee ffd8      	lea %fp@(-40),%a4                           
   4479a:	2f0c           	movel %a4,%sp@-                             
   4479c:	42a7           	clrl %sp@-                                  
   4479e:	4878 0001      	pea 1 <ADD>                                 
   447a2:	4879 0005 e882 	pea 5e882 <IMFS_ops+0x48>                   
   447a8:	4e93           	jsr %a3@                                    
  if (rv != 0)                                                        
   447aa:	4fef 0014      	lea %sp@(20),%sp                            
   447ae:	47f9 0004 351c 	lea 4351c <rtems_filesystem_freenode>,%a3   
   447b4:	4a80           	tstl %d0                                    
   447b6:	6600 00b4      	bnew 4486c <rtems_libio_set_private_env+0x118>
   * Bharath: I'm not sure if the check can be reduced to             
   * if( rtems_current_user_env->task_id != task_id ) {               
   */                                                                 
                                                                      
  if (                                                                
    rtems_current_user_env == &rtems_global_user_env                  
   447ba:	2679 0005 febc 	moveal 5febc <rtems_current_user_env>,%a3   
  /*                                                                  
   * Bharath: I'm not sure if the check can be reduced to             
   * if( rtems_current_user_env->task_id != task_id ) {               
   */                                                                 
                                                                      
  if (                                                                
   447c0:	b7fc 0006 1534 	cmpal #398644,%a3                           
   447c6:	6704           	beqs 447cc <rtems_libio_set_private_env+0x78>
    rtems_current_user_env == &rtems_global_user_env                  
      || rtems_current_user_env->task_id != task_id                   
   447c8:	b493           	cmpl %a3@,%d2                               
   447ca:	6734           	beqs 44800 <rtems_libio_set_private_env+0xac><== NEVER TAKEN
  ) {                                                                 
    new_env = malloc(sizeof(rtems_user_env_t));                       
   447cc:	4878 0048      	pea 48 <DBL_MANT_DIG+0x13>                  
   447d0:	4eb9 0004 3b58 	jsr 43b58 <malloc>                          
    if (new_env == NULL)                                              
   447d6:	588f           	addql #4,%sp                                
                                                                      
  if (                                                                
    rtems_current_user_env == &rtems_global_user_env                  
      || rtems_current_user_env->task_id != task_id                   
  ) {                                                                 
    new_env = malloc(sizeof(rtems_user_env_t));                       
   447d8:	2640           	moveal %d0,%a3                              
    if (new_env == NULL)                                              
   447da:	4a80           	tstl %d0                                    
   447dc:	6700 0082      	beqw 44860 <rtems_libio_set_private_env+0x10c>
                                                                      
    #ifdef HAVE_USERENV_REFCNT                                        
      new_env->refcnt = 1;                                            
    #endif                                                            
                                                                      
    sc = rtems_task_variable_add(                                     
   447e0:	487a ff2a      	pea %pc@(4470c <free_user_env>)             
   447e4:	4879 0005 febc 	pea 5febc <rtems_current_user_env>          
   447ea:	42a7           	clrl %sp@-                                  
   447ec:	4eb9 0004 7780 	jsr 47780 <rtems_task_variable_add>         
      RTEMS_SELF,                                                     
      (void*)&rtems_current_user_env,                                 
      (void(*)(void *))free_user_env                                  
    );                                                                
    if (sc != RTEMS_SUCCESSFUL)                                       
   447f2:	4fef 000c      	lea %sp@(12),%sp                            
   447f6:	4a80           	tstl %d0                                    
   447f8:	665c           	bnes 44856 <rtems_libio_set_private_env+0x102>
      goto error_3;                                                   
                                                                      
    rtems_current_user_env = new_env;                                 
   447fa:	23cb 0005 febc 	movel %a3,5febc <rtems_current_user_env>    
  }                                                                   
                                                                      
  /* Inherit the global values */                                     
  *rtems_current_user_env = rtems_global_user_env;                    
   44800:	4878 0048      	pea 48 <DBL_MANT_DIG+0x13>                  
   44804:	4879 0006 1534 	pea 61534 <rtems_global_user_env>           
   4480a:	2f0b           	movel %a3,%sp@-                             
   4480c:	4eb9 0004 fdf0 	jsr 4fdf0 <memcpy>                          
   * Clone the pathlocs. In contrast to most other code we must _not_ free the
   * original locs because what we are trying to do here is forking off clones.
   * The reason is a pathloc can be allocated by the file system and needs to
   * be freed when deleting the environment.                          
   */                                                                 
  rtems_filesystem_root = root_loc;                                   
   44812:	276e fff4 0020 	movel %fp@(-12),%a3@(32)                    
  rtems_filesystem_current = current_loc;                             
   44818:	41eb 0004      	lea %a3@(4),%a0                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
   4481c:	4fef 000c      	lea %sp@(12),%sp                            
   44820:	4280           	clrl %d0                                    
   * Clone the pathlocs. In contrast to most other code we must _not_ free the
   * original locs because what we are trying to do here is forking off clones.
   * The reason is a pathloc can be allocated by the file system and needs to
   * be freed when deleting the environment.                          
   */                                                                 
  rtems_filesystem_root = root_loc;                                   
   44822:	276e fff8 0024 	movel %fp@(-8),%a3@(36)                     
   44828:	276e fffc 0028 	movel %fp@(-4),%a3@(40)                     
   4482e:	276e fff0 001c 	movel %fp@(-16),%a3@(28)                    
   44834:	2752 0018      	movel %a2@,%a3@(24)                         
  rtems_filesystem_current = current_loc;                             
   44838:	20d4           	movel %a4@,%a0@+                            
   4483a:	20ee ffdc      	movel %fp@(-36),%a0@+                       
   4483e:	20ee ffe0      	movel %fp@(-32),%a0@+                       
   44842:	20ee ffe4      	movel %fp@(-28),%a0@+                       
   44846:	20ae ffe8      	movel %fp@(-24),%a0@                        
  }                                                                   
                                                                      
  /* Inherit the global values */                                     
  *rtems_current_user_env = rtems_global_user_env;                    
                                                                      
  rtems_current_user_env->task_id = task_id;                          
   4484a:	2682           	movel %d2,%a3@                              
error_1:                                                              
  rtems_filesystem_freenode(&root_loc);                               
                                                                      
error_0:                                                              
  return RTEMS_NO_MEMORY;                                             
}                                                                     
   4484c:	4cee 1c0c ffc4 	moveml %fp@(-60),%d2-%d3/%a2-%a4            
   44852:	4e5e           	unlk %fp                                    
   44854:	4e75           	rts                                         
  rtems_filesystem_current = current_loc;                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
                                                                      
error_3:                                                              
  free(new_env);                                                      
   44856:	2f0b           	movel %a3,%sp@-                             
   44858:	4eb9 0004 3530 	jsr 43530 <free>                            
   4485e:	588f           	addql #4,%sp                                
                                                                      
error_2:                                                              
  rtems_filesystem_freenode(¤t_loc);                            
   44860:	2f0c           	movel %a4,%sp@-                             
   44862:	47f9 0004 351c 	lea 4351c <rtems_filesystem_freenode>,%a3   
   44868:	4e93           	jsr %a3@                                    
   4486a:	588f           	addql #4,%sp                                
                                                                      
error_1:                                                              
  rtems_filesystem_freenode(&root_loc);                               
   4486c:	2f0a           	movel %a2,%sp@-                             
   4486e:	4e93           	jsr %a3@                                    
   44870:	588f           	addql #4,%sp                                
                                                                      
error_0:                                                              
  return RTEMS_NO_MEMORY;                                             
   44872:	701a           	moveq #26,%d0                               
}                                                                     
   44874:	4cee 1c0c ffc4 	moveml %fp@(-60),%d2-%d3/%a2-%a4            
   4487a:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004487e <rtems_libio_share_private_env>: * b) mutex access to rtems_filesystem_current, rtems_filesytem_root * while changing any of those (chdir(), chroot()). */ rtems_status_code rtems_libio_share_private_env(rtems_id task_id) {
   4487e:	4e56 fff8      	linkw %fp,#-8                               
   44882:	2f03           	movel %d3,%sp@-                             
   44884:	2f02           	movel %d2,%sp@-                             
   44886:	242e 0008      	movel %fp@(8),%d2                           
  rtems_id           current_task_id;                                 
                                                                      
  /*                                                                  
   * get current task id                                              
   */                                                                 
  current_task_id = rtems_task_self();                                
   4488a:	4eb9 0004 76ac 	jsr 476ac <rtems_task_self>                 
   44890:	2600           	movel %d0,%d3                               
  /*                                                                  
   * If this was an attempt to share the task with self,              
   * if somebody wanted to do it... Lets tell them, its shared        
   */                                                                 
                                                                      
  if( task_id == current_task_id )                                    
   44892:	b082           	cmpl %d2,%d0                                
   44894:	673a           	beqs 448d0 <rtems_libio_share_private_env+0x52><== NEVER TAKEN
    return RTEMS_SUCCESSFUL;                                          
  /*                                                                  
   * Try to get the requested user environment                        
   */                                                                 
  sc = rtems_task_variable_get(                                       
   44896:	486e fffc      	pea %fp@(-4)                                
   4489a:	4879 0005 febc 	pea 5febc <rtems_current_user_env>          
   448a0:	2f02           	movel %d2,%sp@-                             
   448a2:	4eb9 0004 783c 	jsr 4783c <rtems_task_variable_get>         
	 (void*)&shared_user_env );                                          
                                                                      
  /*                                                                  
   * If it was not successful, return the error code                  
   */                                                                 
    if (sc != RTEMS_SUCCESSFUL)                                       
   448a8:	4fef 000c      	lea %sp@(12),%sp                            
   448ac:	4a80           	tstl %d0                                    
   448ae:	6614           	bnes 448c4 <rtems_libio_share_private_env+0x46>
     * If we have a current environment in place, we need to          
     * free it, since we will be sharing the variable with the        
     * shared_user_env                                                
     */                                                               
                                                                      
  if (rtems_current_user_env->task_id==current_task_id) {             
   448b0:	2079 0005 febc 	moveal 5febc <rtems_current_user_env>,%a0   
   448b6:	b690           	cmpl %a0@,%d3                               
   448b8:	6724           	beqs 448de <rtems_libio_share_private_env+0x60>
    rtems_user_env_t  *tmp = rtems_current_user_env;                  
    free_user_env( tmp );                                             
  }                                                                   
                                                                      
  /* the current_user_env is the same pointer that remote env */      
  rtems_current_user_env = shared_user_env;                           
   448ba:	41ee fffc      	lea %fp@(-4),%a0                            
   448be:	23d0 0005 febc 	movel %a0@,5febc <rtems_current_user_env>   
#ifdef HAVE_USERENV_REFCNT                                            
  rtems_current_user_env->refcnt++;                                   
#endif                                                                
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   448c4:	242e fff0      	movel %fp@(-16),%d2                         
   448c8:	262e fff4      	movel %fp@(-12),%d3                         
   448cc:	4e5e           	unlk %fp                                    
   448ce:	4e75           	rts                                         
   448d0:	242e fff0      	movel %fp@(-16),%d2                         <== NOT EXECUTED
   * If this was an attempt to share the task with self,              
   * if somebody wanted to do it... Lets tell them, its shared        
   */                                                                 
                                                                      
  if( task_id == current_task_id )                                    
    return RTEMS_SUCCESSFUL;                                          
   448d4:	4280           	clrl %d0                                    <== NOT EXECUTED
#ifdef HAVE_USERENV_REFCNT                                            
  rtems_current_user_env->refcnt++;                                   
#endif                                                                
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   448d6:	262e fff4      	movel %fp@(-12),%d3                         <== NOT EXECUTED
   448da:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   448dc:	4e75           	rts                                         <== NOT EXECUTED
     * shared_user_env                                                
     */                                                               
                                                                      
  if (rtems_current_user_env->task_id==current_task_id) {             
    rtems_user_env_t  *tmp = rtems_current_user_env;                  
    free_user_env( tmp );                                             
   448de:	2f08           	movel %a0,%sp@-                             
   448e0:	2d40 fff8      	movel %d0,%fp@(-8)                          
   448e4:	4eba fe26      	jsr %pc@(4470c <free_user_env>)             
   448e8:	202e fff8      	movel %fp@(-8),%d0                          
  }                                                                   
                                                                      
  /* the current_user_env is the same pointer that remote env */      
  rtems_current_user_env = shared_user_env;                           
   448ec:	41ee fffc      	lea %fp@(-4),%a0                            
     * shared_user_env                                                
     */                                                               
                                                                      
  if (rtems_current_user_env->task_id==current_task_id) {             
    rtems_user_env_t  *tmp = rtems_current_user_env;                  
    free_user_env( tmp );                                             
   448f0:	588f           	addql #4,%sp                                
  }                                                                   
                                                                      
  /* the current_user_env is the same pointer that remote env */      
  rtems_current_user_env = shared_user_env;                           
   448f2:	23d0 0005 febc 	movel %a0@,5febc <rtems_current_user_env>   
   448f8:	60ca           	bras 448c4 <rtems_libio_share_private_env+0x46>
	...                                                                  
                                                                      

0004b424 <rtems_libio_to_fcntl_flags>: uint32_t flags ) { uint32_t fcntl_flags = 0; if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) {
   4b424:	7006           	moveq #6,%d0                                
 */                                                                   
                                                                      
uint32_t   rtems_libio_to_fcntl_flags(                                
  uint32_t   flags                                                    
)                                                                     
{                                                                     
   4b426:	4e56 0000      	linkw %fp,#0                                
   4b42a:	222e 0008      	movel %fp@(8),%d1                           
  uint32_t   fcntl_flags = 0;                                         
                                                                      
  if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) { 
   4b42e:	c081           	andl %d1,%d0                                
 */                                                                   
                                                                      
uint32_t   rtems_libio_to_fcntl_flags(                                
  uint32_t   flags                                                    
)                                                                     
{                                                                     
   4b430:	2f02           	movel %d2,%sp@-                             
  uint32_t   fcntl_flags = 0;                                         
                                                                      
  if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) { 
   4b432:	7406           	moveq #6,%d2                                
   4b434:	b480           	cmpl %d0,%d2                                
   4b436:	6736           	beqs 4b46e <rtems_libio_to_fcntl_flags+0x4a>
    fcntl_flags |= O_RDWR;                                            
  } else if ( (flags & LIBIO_FLAGS_READ) == LIBIO_FLAGS_READ) {       
   4b438:	0801 0001      	btst #1,%d1                                 
   4b43c:	6726           	beqs 4b464 <rtems_libio_to_fcntl_flags+0x40><== NEVER TAKEN
    fcntl_flags |= O_RDONLY;                                          
   4b43e:	4280           	clrl %d0                                    
  } else if ( (flags & LIBIO_FLAGS_WRITE) == LIBIO_FLAGS_WRITE) {     
    fcntl_flags |= O_WRONLY;                                          
  }                                                                   
                                                                      
  if ( (flags & LIBIO_FLAGS_NO_DELAY) == LIBIO_FLAGS_NO_DELAY ) {     
   4b440:	0801 0000      	btst #0,%d1                                 
   4b444:	6704           	beqs 4b44a <rtems_libio_to_fcntl_flags+0x26>
    fcntl_flags |= O_NONBLOCK;                                        
   4b446:	08c0 000e      	bset #14,%d0                                
  }                                                                   
                                                                      
  if ( (flags & LIBIO_FLAGS_APPEND) == LIBIO_FLAGS_APPEND ) {         
   4b44a:	0801 0009      	btst #9,%d1                                 
   4b44e:	6704           	beqs 4b454 <rtems_libio_to_fcntl_flags+0x30>
    fcntl_flags |= O_APPEND;                                          
   4b450:	7408           	moveq #8,%d2                                
   4b452:	8082           	orl %d2,%d0                                 
  }                                                                   
                                                                      
  if ( (flags & LIBIO_FLAGS_CREATE) == LIBIO_FLAGS_CREATE ) {         
   4b454:	0801 000a      	btst #10,%d1                                
   4b458:	6704           	beqs 4b45e <rtems_libio_to_fcntl_flags+0x3a>
    fcntl_flags |= O_CREAT;                                           
   4b45a:	08c0 0009      	bset #9,%d0                                 
  }                                                                   
                                                                      
  return fcntl_flags;                                                 
}                                                                     
   4b45e:	241f           	movel %sp@+,%d2                             
   4b460:	4e5e           	unlk %fp                                    
   4b462:	4e75           	rts                                         
)                                                                     
{                                                                     
  uint32_t   fcntl_flags = 0;                                         
                                                                      
  if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) { 
    fcntl_flags |= O_RDWR;                                            
   4b464:	44c1           	movew %d1,%ccr                              <== NOT EXECUTED
   4b466:	57c0           	seq %d0                                     <== NOT EXECUTED
   4b468:	49c0           	extbl %d0                                   <== NOT EXECUTED
   4b46a:	4480           	negl %d0                                    <== NOT EXECUTED
   4b46c:	60d2           	bras 4b440 <rtems_libio_to_fcntl_flags+0x1c><== NOT EXECUTED
   4b46e:	7002           	moveq #2,%d0                                
   4b470:	60ce           	bras 4b440 <rtems_libio_to_fcntl_flags+0x1c>
                                                                      

00047250 <rtems_malloc_statistics_at_free>: * size and thus we skip updating the statistics. */ static void rtems_malloc_statistics_at_free( void *pointer ) {
   47250:	4e56 fffc      	linkw %fp,#-4                               
   47254:	2f03           	movel %d3,%sp@-                             
   47256:	2f02           	movel %d2,%sp@-                             
  uintptr_t size;                                                     
                                                                      
  if (_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &size) ) {
   47258:	486e fffc      	pea %fp@(-4)                                
   4725c:	2f2e 0008      	movel %fp@(8),%sp@-                         
   47260:	2f39 0006 4e50 	movel 64e50 <RTEMS_Malloc_Heap>,%sp@-       
   47266:	4eb9 0004 d2dc 	jsr 4d2dc <_Protected_heap_Get_block_size>  
   4726c:	4fef 000c      	lea %sp@(12),%sp                            
   47270:	4a00           	tstb %d0                                    
   47272:	671a           	beqs 4728e <rtems_malloc_statistics_at_free+0x3e><== NEVER TAKEN
    MSBUMP(lifetime_freed, size);                                     
   47274:	262e fffc      	movel %fp@(-4),%d3                          
   47278:	4282           	clrl %d2                                    
   4727a:	d7b9 0006 6fb0 	addl %d3,66fb0 <rtems_malloc_statistics+0x28>
   47280:	2039 0006 6fac 	movel 66fac <rtems_malloc_statistics+0x24>,%d0
   47286:	d182           	addxl %d2,%d0                               
   47288:	23c0 0006 6fac 	movel %d0,66fac <rtems_malloc_statistics+0x24>
  }                                                                   
}                                                                     
   4728e:	242e fff4      	movel %fp@(-12),%d2                         
   47292:	262e fff8      	movel %fp@(-8),%d3                          
   47296:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004729a <rtems_malloc_statistics_at_malloc>: } static void rtems_malloc_statistics_at_malloc( void *pointer ) {
   4729a:	4e56 fffc      	linkw %fp,#-4                               
   4729e:	202e 0008      	movel %fp@(8),%d0                           
   472a2:	2f03           	movel %d3,%sp@-                             
  uintptr_t actual_size = 0;                                          
   472a4:	42ae fffc      	clrl %fp@(-4)                               
}                                                                     
                                                                      
static void rtems_malloc_statistics_at_malloc(                        
  void *pointer                                                       
)                                                                     
{                                                                     
   472a8:	2f02           	movel %d2,%sp@-                             
  uintptr_t actual_size = 0;                                          
  uint32_t current_depth;                                             
  rtems_malloc_statistics_t *s = &rtems_malloc_statistics;            
                                                                      
  if ( !pointer )                                                     
   472aa:	4a80           	tstl %d0                                    
   472ac:	674c           	beqs 472fa <rtems_malloc_statistics_at_malloc+0x60><== NEVER TAKEN
    return;                                                           
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
   472ae:	486e fffc      	pea %fp@(-4)                                
                                                                      
  MSBUMP(lifetime_allocated, actual_size);                            
   472b2:	4282           	clrl %d2                                    
  rtems_malloc_statistics_t *s = &rtems_malloc_statistics;            
                                                                      
  if ( !pointer )                                                     
    return;                                                           
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
   472b4:	2f00           	movel %d0,%sp@-                             
   472b6:	2f39 0006 4e50 	movel 64e50 <RTEMS_Malloc_Heap>,%sp@-       
   472bc:	4eb9 0004 d2dc 	jsr 4d2dc <_Protected_heap_Get_block_size>  
                                                                      
  MSBUMP(lifetime_allocated, actual_size);                            
   472c2:	262e fffc      	movel %fp@(-4),%d3                          
                                                                      
  current_depth = (uint32_t) (s->lifetime_allocated - s->lifetime_freed);
  if (current_depth > s->max_depth)                                   
   472c6:	4fef 000c      	lea %sp@(12),%sp                            
  if ( !pointer )                                                     
    return;                                                           
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
                                                                      
  MSBUMP(lifetime_allocated, actual_size);                            
   472ca:	2039 0006 6fa4 	movel 66fa4 <rtems_malloc_statistics+0x1c>,%d0
   472d0:	d6b9 0006 6fa8 	addl 66fa8 <rtems_malloc_statistics+0x20>,%d3
   472d6:	d580           	addxl %d0,%d2                               
                                                                      
  current_depth = (uint32_t) (s->lifetime_allocated - s->lifetime_freed);
   472d8:	2003           	movel %d3,%d0                               
   472da:	90b9 0006 6fb0 	subl 66fb0 <rtems_malloc_statistics+0x28>,%d0
  if ( !pointer )                                                     
    return;                                                           
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
                                                                      
  MSBUMP(lifetime_allocated, actual_size);                            
   472e0:	23c2 0006 6fa4 	movel %d2,66fa4 <rtems_malloc_statistics+0x1c>
   472e6:	23c3 0006 6fa8 	movel %d3,66fa8 <rtems_malloc_statistics+0x20>
                                                                      
  current_depth = (uint32_t) (s->lifetime_allocated - s->lifetime_freed);
  if (current_depth > s->max_depth)                                   
   472ec:	b0b9 0006 6fa0 	cmpl 66fa0 <rtems_malloc_statistics+0x18>,%d0
   472f2:	6306           	blss 472fa <rtems_malloc_statistics_at_malloc+0x60>
      s->max_depth = current_depth;                                   
   472f4:	23c0 0006 6fa0 	movel %d0,66fa0 <rtems_malloc_statistics+0x18>
}                                                                     
   472fa:	242e fff4      	movel %fp@(-12),%d2                         
   472fe:	262e fff8      	movel %fp@(-8),%d3                          
   47302:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004fa90 <rtems_memalign>: int rtems_memalign( void **pointer, size_t alignment, size_t size ) {
   4fa90:	4e56 0000      	linkw %fp,#0                                
   4fa94:	2f0a           	movel %a2,%sp@-                             
   4fa96:	246e 0008      	moveal %fp@(8),%a2                          
   4fa9a:	2f02           	movel %d2,%sp@-                             
  void *return_this;                                                  
                                                                      
  /*                                                                  
   *  Parameter error checks                                          
   */                                                                 
  if ( !pointer )                                                     
   4fa9c:	4a8a           	tstl %a2                                    
   4fa9e:	675e           	beqs 4fafe <rtems_memalign+0x6e>            
    return EINVAL;                                                    
                                                                      
  *pointer = NULL;                                                    
   4faa0:	4292           	clrl %a2@                                   
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
   4faa2:	7003           	moveq #3,%d0                                
   4faa4:	b0b9 0006 4f9c 	cmpl 64f9c <_System_state_Current>,%d0      
   4faaa:	6748           	beqs 4faf4 <rtems_memalign+0x64>            <== ALWAYS TAKEN
    return EINVAL;                                                    
                                                                      
  /*                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  malloc_deferred_frees_process();                                    
   4faac:	4eb9 0004 4380 	jsr 44380 <malloc_deferred_frees_process>   
  Heap_Control *heap,                                                 
  uintptr_t size,                                                     
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return                                                              
   4fab2:	42a7           	clrl %sp@-                                  
   4fab4:	2f2e 000c      	movel %fp@(12),%sp@-                        
   4fab8:	2f2e 0010      	movel %fp@(16),%sp@-                        
   4fabc:	2f39 0006 3410 	movel 63410 <RTEMS_Malloc_Heap>,%sp@-       
   4fac2:	4eb9 0004 98c4 	jsr 498c4 <_Protected_heap_Allocate_aligned_with_boundary>
  return_this = _Protected_heap_Allocate_aligned(                     
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment                                                         
  );                                                                  
  if ( !return_this )                                                 
   4fac8:	4fef 0010      	lea %sp@(16),%sp                            
   4facc:	2400           	movel %d0,%d2                               
   4face:	673c           	beqs 4fb0c <rtems_memalign+0x7c>            
    return ENOMEM;                                                    
                                                                      
  /*                                                                  
   *  If configured, update the more involved statistics              
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
   4fad0:	2079 0006 3bf6 	moveal 63bf6 <rtems_malloc_statistics_helpers>,%a0
   4fad6:	4a88           	tstl %a0                                    
   4fad8:	670a           	beqs 4fae4 <rtems_memalign+0x54>            
    (*rtems_malloc_statistics_helpers->at_malloc)(pointer);           
   4fada:	2f0a           	movel %a2,%sp@-                             
   4fadc:	2068 0004      	moveal %a0@(4),%a0                          
   4fae0:	4e90           	jsr %a0@                                    
   4fae2:	588f           	addql #4,%sp                                
                                                                      
  *pointer = return_this;                                             
   4fae4:	2482           	movel %d2,%a2@                              
  return 0;                                                           
}                                                                     
   4fae6:	242e fff8      	movel %fp@(-8),%d2                          
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
    (*rtems_malloc_statistics_helpers->at_malloc)(pointer);           
                                                                      
  *pointer = return_this;                                             
  return 0;                                                           
   4faea:	4280           	clrl %d0                                    
}                                                                     
   4faec:	246e fffc      	moveal %fp@(-4),%a2                         
   4faf0:	4e5e           	unlk %fp                                    
   4faf2:	4e75           	rts                                         
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
       !malloc_is_system_state_OK() )                                 
   4faf4:	4eb9 0004 4340 	jsr 44340 <malloc_is_system_state_OK>       
  *pointer = NULL;                                                    
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
   4fafa:	4a00           	tstb %d0                                    
   4fafc:	66ae           	bnes 4faac <rtems_memalign+0x1c>            <== ALWAYS TAKEN
  if ( rtems_malloc_statistics_helpers )                              
    (*rtems_malloc_statistics_helpers->at_malloc)(pointer);           
                                                                      
  *pointer = return_this;                                             
  return 0;                                                           
}                                                                     
   4fafe:	242e fff8      	movel %fp@(-8),%d2                          
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
       !malloc_is_system_state_OK() )                                 
    return EINVAL;                                                    
   4fb02:	7016           	moveq #22,%d0                               
  if ( rtems_malloc_statistics_helpers )                              
    (*rtems_malloc_statistics_helpers->at_malloc)(pointer);           
                                                                      
  *pointer = return_this;                                             
  return 0;                                                           
}                                                                     
   4fb04:	246e fffc      	moveal %fp@(-4),%a2                         
   4fb08:	4e5e           	unlk %fp                                    
   4fb0a:	4e75           	rts                                         
   4fb0c:	242e fff8      	movel %fp@(-8),%d2                          
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment                                                         
  );                                                                  
  if ( !return_this )                                                 
    return ENOMEM;                                                    
   4fb10:	700c           	moveq #12,%d0                               
  if ( rtems_malloc_statistics_helpers )                              
    (*rtems_malloc_statistics_helpers->at_malloc)(pointer);           
                                                                      
  *pointer = return_this;                                             
  return 0;                                                           
}                                                                     
   4fb12:	246e fffc      	moveal %fp@(-4),%a2                         
   4fb16:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004de4c <rtems_mkdir>: return (retval); } int rtems_mkdir(const char *path, mode_t mode) {
   4de4c:	4e56 ff90      	linkw %fp,#-112                             
   4de50:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
  int success = 0;                                                    
  char *dup_path = strdup(path);                                      
   4de54:	2f2e 0008      	movel %fp@(8),%sp@-                         
  return (retval);                                                    
}                                                                     
                                                                      
int                                                                   
rtems_mkdir(const char *path, mode_t mode)                            
{                                                                     
   4de58:	2a2e 000c      	movel %fp@(12),%d5                          
  int success = 0;                                                    
  char *dup_path = strdup(path);                                      
   4de5c:	4eb9 0005 1a14 	jsr 51a14 <strdup>                          
                                                                      
  if (dup_path != NULL) {                                             
   4de62:	588f           	addql #4,%sp                                
                                                                      
int                                                                   
rtems_mkdir(const char *path, mode_t mode)                            
{                                                                     
  int success = 0;                                                    
  char *dup_path = strdup(path);                                      
   4de64:	2640           	moveal %d0,%a3                              
                                                                      
  if (dup_path != NULL) {                                             
   4de66:	4a80           	tstl %d0                                    
   4de68:	6700 0138      	beqw 4dfa2 <rtems_mkdir+0x156>              
  char *p;                                                            
                                                                      
  p = path;                                                           
  oumask = 0;                                                         
  retval = 1;                                                         
  if (p[0] == '/')    /* Skip leading '/'. */                         
   4de6c:	742f           	moveq #47,%d2                               
   4de6e:	1013           	moveb %a3@,%d0                              
   4de70:	1200           	moveb %d0,%d1                               
   4de72:	49c1           	extbl %d1                                   
   4de74:	b481           	cmpl %d1,%d2                                
   4de76:	6700 014a      	beqw 4dfc2 <rtems_mkdir+0x176>              
   4de7a:	244b           	moveal %a3,%a2                              
    (void)umask(oumask);                                              
  return (retval);                                                    
}                                                                     
                                                                      
int                                                                   
rtems_mkdir(const char *path, mode_t mode)                            
   4de7c:	49ea 0001      	lea %a2@(1),%a4                             
   4de80:	4283           	clrl %d3                                    
   4de82:	7201           	moveq #1,%d1                                
   4de84:	4bf9 0004 4ad8 	lea 44ad8 <mkdir>,%a5                       
      first = 0;                                                      
    }                                                                 
    if (last)                                                         
      (void)umask(oumask);                                            
    if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {
      if (errno == EEXIST || errno == EISDIR) {                       
   4de8a:	2e3c 0005 0a64 	movel #330340,%d7                           
      numask = oumask & ~(S_IWUSR | S_IXUSR);                         
      (void)umask(numask);                                            
      first = 0;                                                      
    }                                                                 
    if (last)                                                         
      (void)umask(oumask);                                            
   4de90:	283c 0004 e0b0 	movel #319664,%d4                           
  oumask = 0;                                                         
  retval = 1;                                                         
  if (p[0] == '/')    /* Skip leading '/'. */                         
    ++p;                                                              
  for (first = 1, last = 0; !last ; ++p) {                            
    if (p[0] == '\0')                                                 
   4de96:	4a00           	tstb %d0                                    
   4de98:	6710           	beqs 4deaa <rtems_mkdir+0x5e>               <== NEVER TAKEN
      last = 1;                                                       
    else if (p[0] != '/')                                             
   4de9a:	49c0           	extbl %d0                                   
   4de9c:	742f           	moveq #47,%d2                               
   4de9e:	b480           	cmpl %d0,%d2                                
   4dea0:	6738           	beqs 4deda <rtems_mkdir+0x8e>               
  p = path;                                                           
  oumask = 0;                                                         
  retval = 1;                                                         
  if (p[0] == '/')    /* Skip leading '/'. */                         
    ++p;                                                              
  for (first = 1, last = 0; !last ; ++p) {                            
   4dea2:	528a           	addql #1,%a2                                
   4dea4:	101c           	moveb %a4@+,%d0                             
    if (p[0] == '\0')                                                 
   4dea6:	4a00           	tstb %d0                                    
   4dea8:	66f0           	bnes 4de9a <rtems_mkdir+0x4e>               
      last = 1;                                                       
    else if (p[0] != '/')                                             
      continue;                                                       
    *p = '\0';                                                        
   4deaa:	7401           	moveq #1,%d2                                
   4deac:	4212           	clrb %a2@                                   
    if (!last && p[1] == '\0')                                        
      last = 1;                                                       
    if (first) {                                                      
   4deae:	4a81           	tstl %d1                                    
   4deb0:	6650           	bnes 4df02 <rtems_mkdir+0xb6>               
      (void)umask(numask);                                            
      first = 0;                                                      
    }                                                                 
    if (last)                                                         
      (void)umask(oumask);                                            
    if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {
   4deb2:	203c 0000 01ff 	movel #511,%d0                              
      oumask = umask(0);                                              
      numask = oumask & ~(S_IWUSR | S_IXUSR);                         
      (void)umask(numask);                                            
      first = 0;                                                      
    }                                                                 
    if (last)                                                         
   4deb8:	4a82           	tstl %d2                                    
   4deba:	662e           	bnes 4deea <rtems_mkdir+0x9e>               
      (void)umask(oumask);                                            
    if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {
   4debc:	2f00           	movel %d0,%sp@-                             
   4debe:	2f0b           	movel %a3,%sp@-                             
   4dec0:	4e95           	jsr %a5@                                    
   4dec2:	508f           	addql #8,%sp                                
   4dec4:	4a80           	tstl %d0                                    
   4dec6:	6d5c           	blts 4df24 <rtems_mkdir+0xd8>               
      } else {                                                        
        retval = 0;                                                   
        break;                                                        
      }                                                               
    }                                                                 
    if (!last)                                                        
   4dec8:	4a82           	tstl %d2                                    
   4deca:	6600 00c0      	bnew 4df8c <rtems_mkdir+0x140>              
        *p = '/';                                                     
   4dece:	4281           	clrl %d1                                    
   4ded0:	14bc 002f      	moveb #47,%a2@                              
  p = path;                                                           
  oumask = 0;                                                         
  retval = 1;                                                         
  if (p[0] == '/')    /* Skip leading '/'. */                         
    ++p;                                                              
  for (first = 1, last = 0; !last ; ++p) {                            
   4ded4:	528a           	addql #1,%a2                                
   4ded6:	101c           	moveb %a4@+,%d0                             
   4ded8:	60cc           	bras 4dea6 <rtems_mkdir+0x5a>               
    if (p[0] == '\0')                                                 
      last = 1;                                                       
    else if (p[0] != '/')                                             
      continue;                                                       
    *p = '\0';                                                        
   4deda:	4212           	clrb %a2@                                   
    if (!last && p[1] == '\0')                                        
   4dedc:	4a14           	tstb %a4@                                   
   4dede:	57c2           	seq %d2                                     
   4dee0:	49c2           	extbl %d2                                   
   4dee2:	4482           	negl %d2                                    
      last = 1;                                                       
    if (first) {                                                      
   4dee4:	4a81           	tstl %d1                                    
   4dee6:	67ca           	beqs 4deb2 <rtems_mkdir+0x66>               
   4dee8:	6018           	bras 4df02 <rtems_mkdir+0xb6>               
      numask = oumask & ~(S_IWUSR | S_IXUSR);                         
      (void)umask(numask);                                            
      first = 0;                                                      
    }                                                                 
    if (last)                                                         
      (void)umask(oumask);                                            
   4deea:	2f03           	movel %d3,%sp@-                             
   4deec:	2044           	moveal %d4,%a0                              
   4deee:	4e90           	jsr %a0@                                    
   4def0:	588f           	addql #4,%sp                                
    if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {
   4def2:	2005           	movel %d5,%d0                               
   4def4:	2f00           	movel %d0,%sp@-                             
   4def6:	2f0b           	movel %a3,%sp@-                             
   4def8:	4e95           	jsr %a5@                                    
   4defa:	508f           	addql #8,%sp                                
   4defc:	4a80           	tstl %d0                                    
   4defe:	6cc8           	bges 4dec8 <rtems_mkdir+0x7c>               
   4df00:	6022           	bras 4df24 <rtems_mkdir+0xd8>               
       *    mkdir [-m mode] dir                                       
       *                                                              
       * We change the user's umask and then restore it,              
       * instead of doing chmod's.                                    
       */                                                             
      oumask = umask(0);                                              
   4df02:	42a7           	clrl %sp@-                                  
   4df04:	2044           	moveal %d4,%a0                              
   4df06:	4e90           	jsr %a0@                                    
      numask = oumask & ~(S_IWUSR | S_IXUSR);                         
      (void)umask(numask);                                            
   4df08:	2044           	moveal %d4,%a0                              
       *    mkdir [-m mode] dir                                       
       *                                                              
       * We change the user's umask and then restore it,              
       * instead of doing chmod's.                                    
       */                                                             
      oumask = umask(0);                                              
   4df0a:	2600           	movel %d0,%d3                               
      numask = oumask & ~(S_IWUSR | S_IXUSR);                         
      (void)umask(numask);                                            
   4df0c:	0280 ffff ff3f 	andil #-193,%d0                             
   4df12:	2f00           	movel %d0,%sp@-                             
   4df14:	4e90           	jsr %a0@                                    
   4df16:	508f           	addql #8,%sp                                
      first = 0;                                                      
    }                                                                 
    if (last)                                                         
      (void)umask(oumask);                                            
    if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {
   4df18:	203c 0000 01ff 	movel #511,%d0                              
      oumask = umask(0);                                              
      numask = oumask & ~(S_IWUSR | S_IXUSR);                         
      (void)umask(numask);                                            
      first = 0;                                                      
    }                                                                 
    if (last)                                                         
   4df1e:	4a82           	tstl %d2                                    
   4df20:	679a           	beqs 4debc <rtems_mkdir+0x70>               
   4df22:	60c6           	bras 4deea <rtems_mkdir+0x9e>               
      (void)umask(oumask);                                            
    if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {
      if (errno == EEXIST || errno == EISDIR) {                       
   4df24:	2047           	moveal %d7,%a0                              
   4df26:	2c3c 0005 0a64 	movel #330340,%d6                           
   4df2c:	4e90           	jsr %a0@                                    
   4df2e:	7211           	moveq #17,%d1                               
   4df30:	2040           	moveal %d0,%a0                              
   4df32:	b290           	cmpl %a0@,%d1                               
   4df34:	670c           	beqs 4df42 <rtems_mkdir+0xf6>               
   4df36:	2046           	moveal %d6,%a0                              
   4df38:	4e90           	jsr %a0@                                    
   4df3a:	7215           	moveq #21,%d1                               
   4df3c:	2040           	moveal %d0,%a0                              
   4df3e:	b290           	cmpl %a0@,%d1                               
   4df40:	6664           	bnes 4dfa6 <rtems_mkdir+0x15a>              <== ALWAYS TAKEN
        if (stat(path, &sb) < 0) {                                    
   4df42:	486e ffba      	pea %fp@(-70)                               
   4df46:	2f0b           	movel %a3,%sp@-                             
   4df48:	4eb9 0004 dffc 	jsr 4dffc <stat>                            
   4df4e:	508f           	addql #8,%sp                                
   4df50:	4a80           	tstl %d0                                    
   4df52:	6d52           	blts 4dfa6 <rtems_mkdir+0x15a>              <== NEVER TAKEN
          retval = 0;                                                 
          break;                                                      
        } else if (!S_ISDIR(sb.st_mode)) {                            
   4df54:	202e ffc6      	movel %fp@(-58),%d0                         
   4df58:	0280 0000 f000 	andil #61440,%d0                            
   4df5e:	0c80 0000 4000 	cmpil #16384,%d0                            
   4df64:	6700 ff62      	beqw 4dec8 <rtems_mkdir+0x7c>               
          if (last)                                                   
   4df68:	4a82           	tstl %d2                                    
   4df6a:	677a           	beqs 4dfe6 <rtems_mkdir+0x19a>              
            errno = EEXIST;                                           
   4df6c:	2046           	moveal %d6,%a0                              
   4df6e:	4e90           	jsr %a0@                                    
   4df70:	7211           	moveq #17,%d1                               
   4df72:	2040           	moveal %d0,%a0                              
   4df74:	2081           	movel %d1,%a0@                              
  int success = 0;                                                    
  char *dup_path = strdup(path);                                      
                                                                      
  if (dup_path != NULL) {                                             
    success = build(dup_path, mode);                                  
    free(dup_path);                                                   
   4df76:	2f0b           	movel %a3,%sp@-                             
   4df78:	4eb9 0004 43b8 	jsr 443b8 <free>                            
   4df7e:	588f           	addql #4,%sp                                
  }                                                                   
                                                                      
  return success != 0 ? 0 : -1;                                       
   4df80:	70ff           	moveq #-1,%d0                               
}                                                                     
   4df82:	4cee 3cfc ff90 	moveml %fp@(-112),%d2-%d7/%a2-%a5           
   4df88:	4e5e           	unlk %fp                                    
   4df8a:	4e75           	rts                                         
  int success = 0;                                                    
  char *dup_path = strdup(path);                                      
                                                                      
  if (dup_path != NULL) {                                             
    success = build(dup_path, mode);                                  
    free(dup_path);                                                   
   4df8c:	2f0b           	movel %a3,%sp@-                             
   4df8e:	4eb9 0004 43b8 	jsr 443b8 <free>                            
   4df94:	588f           	addql #4,%sp                                
  }                                                                   
                                                                      
  return success != 0 ? 0 : -1;                                       
   4df96:	4280           	clrl %d0                                    
}                                                                     
   4df98:	4cee 3cfc ff90 	moveml %fp@(-112),%d2-%d7/%a2-%a5           
   4df9e:	4e5e           	unlk %fp                                    
   4dfa0:	4e75           	rts                                         
  if (dup_path != NULL) {                                             
    success = build(dup_path, mode);                                  
    free(dup_path);                                                   
  }                                                                   
                                                                      
  return success != 0 ? 0 : -1;                                       
   4dfa2:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
   4dfa4:	60dc           	bras 4df82 <rtems_mkdir+0x136>              <== NOT EXECUTED
      }                                                               
    }                                                                 
    if (!last)                                                        
        *p = '/';                                                     
  }                                                                   
  if (!first && !last)                                                
   4dfa6:	4a82           	tstl %d2                                    
   4dfa8:	66cc           	bnes 4df76 <rtems_mkdir+0x12a>              <== ALWAYS TAKEN
    (void)umask(oumask);                                              
   4dfaa:	2f03           	movel %d3,%sp@-                             <== NOT EXECUTED
   4dfac:	4eb9 0004 e0b0 	jsr 4e0b0 <umask>                           <== NOT EXECUTED
   4dfb2:	588f           	addql #4,%sp                                <== NOT EXECUTED
  int success = 0;                                                    
  char *dup_path = strdup(path);                                      
                                                                      
  if (dup_path != NULL) {                                             
    success = build(dup_path, mode);                                  
    free(dup_path);                                                   
   4dfb4:	2f0b           	movel %a3,%sp@-                             
   4dfb6:	4eb9 0004 43b8 	jsr 443b8 <free>                            
   4dfbc:	588f           	addql #4,%sp                                
  }                                                                   
                                                                      
  return success != 0 ? 0 : -1;                                       
   4dfbe:	70ff           	moveq #-1,%d0                               
   4dfc0:	60c0           	bras 4df82 <rtems_mkdir+0x136>              
                                                                      
  p = path;                                                           
  oumask = 0;                                                         
  retval = 1;                                                         
  if (p[0] == '/')    /* Skip leading '/'. */                         
    ++p;                                                              
   4dfc2:	45eb 0001      	lea %a3@(1),%a2                             
    (void)umask(oumask);                                              
  return (retval);                                                    
}                                                                     
                                                                      
int                                                                   
rtems_mkdir(const char *path, mode_t mode)                            
   4dfc6:	49ea 0001      	lea %a2@(1),%a4                             
   4dfca:	4283           	clrl %d3                                    
   4dfcc:	7201           	moveq #1,%d1                                
   4dfce:	4bf9 0004 4ad8 	lea 44ad8 <mkdir>,%a5                       
      first = 0;                                                      
    }                                                                 
    if (last)                                                         
      (void)umask(oumask);                                            
    if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {
      if (errno == EEXIST || errno == EISDIR) {                       
   4dfd4:	2e3c 0005 0a64 	movel #330340,%d7                           
      numask = oumask & ~(S_IWUSR | S_IXUSR);                         
      (void)umask(numask);                                            
      first = 0;                                                      
    }                                                                 
    if (last)                                                         
      (void)umask(oumask);                                            
   4dfda:	283c 0004 e0b0 	movel #319664,%d4                           
                                                                      
  p = path;                                                           
  oumask = 0;                                                         
  retval = 1;                                                         
  if (p[0] == '/')    /* Skip leading '/'. */                         
    ++p;                                                              
   4dfe0:	1012           	moveb %a2@,%d0                              
   4dfe2:	6000 feb2      	braw 4de96 <rtems_mkdir+0x4a>               
          break;                                                      
        } else if (!S_ISDIR(sb.st_mode)) {                            
          if (last)                                                   
            errno = EEXIST;                                           
          else                                                        
            errno = ENOTDIR;                                          
   4dfe6:	2046           	moveal %d6,%a0                              
   4dfe8:	4e90           	jsr %a0@                                    
   4dfea:	2040           	moveal %d0,%a0                              
   4dfec:	7014           	moveq #20,%d0                               
   4dfee:	2080           	movel %d0,%a0@                              
    }                                                                 
    if (!last)                                                        
        *p = '/';                                                     
  }                                                                   
  if (!first && !last)                                                
    (void)umask(oumask);                                              
   4dff0:	2f03           	movel %d3,%sp@-                             
   4dff2:	4eb9 0004 e0b0 	jsr 4e0b0 <umask>                           
   4dff8:	588f           	addql #4,%sp                                
   4dffa:	60b8           	bras 4dfb4 <rtems_mkdir+0x168>              
                                                                      

00046764 <rtems_object_get_api_class_name>: ) { const rtems_assoc_t *api_assoc; const rtems_assoc_t *class_assoc; if ( the_api == OBJECTS_INTERNAL_API )
   46764:	7001           	moveq #1,%d0                                
                                                                      
const char *rtems_object_get_api_class_name(                          
  int the_api,                                                        
  int the_class                                                       
)                                                                     
{                                                                     
   46766:	4e56 0000      	linkw %fp,#0                                
   4676a:	222e 0008      	movel %fp@(8),%d1                           
   4676e:	2f02           	movel %d2,%sp@-                             
  const rtems_assoc_t *api_assoc;                                     
  const rtems_assoc_t *class_assoc;                                   
                                                                      
  if ( the_api == OBJECTS_INTERNAL_API )                              
   46770:	b081           	cmpl %d1,%d0                                
   46772:	674e           	beqs 467c2 <rtems_object_get_api_class_name+0x5e>
    api_assoc = rtems_object_api_internal_assoc;                      
  else if ( the_api == OBJECTS_CLASSIC_API )                          
   46774:	7402           	moveq #2,%d2                                
   46776:	b481           	cmpl %d1,%d2                                
   46778:	6740           	beqs 467ba <rtems_object_get_api_class_name+0x56>
    api_assoc = rtems_object_api_classic_assoc;                       
#ifdef RTEMS_POSIX_API                                                
  else if ( the_api == OBJECTS_POSIX_API )                            
   4677a:	143c 0003      	moveb #3,%d2                                
    api_assoc = rtems_object_api_posix_assoc;                         
#endif                                                                
  else                                                                
    return "BAD API";                                                 
   4677e:	203c 0005 ee18 	movel #388632,%d0                           
  if ( the_api == OBJECTS_INTERNAL_API )                              
    api_assoc = rtems_object_api_internal_assoc;                      
  else if ( the_api == OBJECTS_CLASSIC_API )                          
    api_assoc = rtems_object_api_classic_assoc;                       
#ifdef RTEMS_POSIX_API                                                
  else if ( the_api == OBJECTS_POSIX_API )                            
   46784:	b481           	cmpl %d1,%d2                                
   46786:	6708           	beqs 46790 <rtems_object_get_api_class_name+0x2c>
    return "BAD API";                                                 
  class_assoc = rtems_assoc_ptr_by_local( api_assoc, the_class );     
  if ( class_assoc )                                                  
    return class_assoc->name;                                         
  return "BAD CLASS";                                                 
}                                                                     
   46788:	242e fffc      	movel %fp@(-4),%d2                          
   4678c:	4e5e           	unlk %fp                                    
   4678e:	4e75           	rts                                         
    api_assoc = rtems_object_api_internal_assoc;                      
  else if ( the_api == OBJECTS_CLASSIC_API )                          
    api_assoc = rtems_object_api_classic_assoc;                       
#ifdef RTEMS_POSIX_API                                                
  else if ( the_api == OBJECTS_POSIX_API )                            
    api_assoc = rtems_object_api_posix_assoc;                         
   46790:	203c 0006 005c 	movel #393308,%d0                           
#endif                                                                
  else                                                                
    return "BAD API";                                                 
  class_assoc = rtems_assoc_ptr_by_local( api_assoc, the_class );     
   46796:	2f2e 000c      	movel %fp@(12),%sp@-                        
   4679a:	2f00           	movel %d0,%sp@-                             
   4679c:	4eb9 0004 b610 	jsr 4b610 <rtems_assoc_ptr_by_local>        
  if ( class_assoc )                                                  
   467a2:	508f           	addql #8,%sp                                
  else if ( the_api == OBJECTS_POSIX_API )                            
    api_assoc = rtems_object_api_posix_assoc;                         
#endif                                                                
  else                                                                
    return "BAD API";                                                 
  class_assoc = rtems_assoc_ptr_by_local( api_assoc, the_class );     
   467a4:	2040           	moveal %d0,%a0                              
  if ( class_assoc )                                                  
    return class_assoc->name;                                         
  return "BAD CLASS";                                                 
   467a6:	203c 0005 ee20 	movel #388640,%d0                           
    api_assoc = rtems_object_api_posix_assoc;                         
#endif                                                                
  else                                                                
    return "BAD API";                                                 
  class_assoc = rtems_assoc_ptr_by_local( api_assoc, the_class );     
  if ( class_assoc )                                                  
   467ac:	4a88           	tstl %a0                                    
   467ae:	67d8           	beqs 46788 <rtems_object_get_api_class_name+0x24>
    return class_assoc->name;                                         
  return "BAD CLASS";                                                 
}                                                                     
   467b0:	242e fffc      	movel %fp@(-4),%d2                          
   467b4:	4e5e           	unlk %fp                                    
#endif                                                                
  else                                                                
    return "BAD API";                                                 
  class_assoc = rtems_assoc_ptr_by_local( api_assoc, the_class );     
  if ( class_assoc )                                                  
    return class_assoc->name;                                         
   467b6:	2010           	movel %a0@,%d0                              
  return "BAD CLASS";                                                 
}                                                                     
   467b8:	4e75           	rts                                         
  const rtems_assoc_t *class_assoc;                                   
                                                                      
  if ( the_api == OBJECTS_INTERNAL_API )                              
    api_assoc = rtems_object_api_internal_assoc;                      
  else if ( the_api == OBJECTS_CLASSIC_API )                          
    api_assoc = rtems_object_api_classic_assoc;                       
   467ba:	203c 0005 ffe4 	movel #393188,%d0                           
   467c0:	60d4           	bras 46796 <rtems_object_get_api_class_name+0x32>
{                                                                     
  const rtems_assoc_t *api_assoc;                                     
  const rtems_assoc_t *class_assoc;                                   
                                                                      
  if ( the_api == OBJECTS_INTERNAL_API )                              
    api_assoc = rtems_object_api_internal_assoc;                      
   467c2:	203c 0005 ffcc 	movel #393164,%d0                           
   467c8:	60cc           	bras 46796 <rtems_object_get_api_class_name+0x32>
	...                                                                  
                                                                      

00048380 <rtems_object_get_class_information>: rtems_status_code rtems_object_get_class_information( int the_api, int the_class, rtems_object_api_class_information *info ) {
   48380:	4e56 0000      	linkw %fp,#0                                
   48384:	2f0a           	movel %a2,%sp@-                             
   48386:	246e 0010      	moveal %fp@(16),%a2                         
   4838a:	2f02           	movel %d2,%sp@-                             
  int                  i;                                             
                                                                      
  /*                                                                  
   * Validate parameters and look up information structure.           
   */                                                                 
  if ( !info )                                                        
   4838c:	4a8a           	tstl %a2                                    
   4838e:	6768           	beqs 483f8 <rtems_object_get_class_information+0x78>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  obj_info = _Objects_Get_information( the_api, the_class );          
   48390:	3f2e 000e      	movew %fp@(14),%sp@-                        
   48394:	4267           	clrw %sp@-                                  
   48396:	2f2e 0008      	movel %fp@(8),%sp@-                         
   4839a:	4eb9 0004 a0b4 	jsr 4a0b4 <_Objects_Get_information>        
  if ( !obj_info )                                                    
   483a0:	508f           	addql #8,%sp                                
   * Validate parameters and look up information structure.           
   */                                                                 
  if ( !info )                                                        
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  obj_info = _Objects_Get_information( the_api, the_class );          
   483a2:	2040           	moveal %d0,%a0                              
  if ( !obj_info )                                                    
   483a4:	4a80           	tstl %d0                                    
   483a6:	675e           	beqs 48406 <rtems_object_get_class_information+0x86><== NEVER TAKEN
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  /*                                                                  
   * Return information about this object class to the user.          
   */                                                                 
  info->minimum_id  = obj_info->minimum_id;                           
   483a8:	24a8 0006      	movel %a0@(6),%a2@                          
  info->maximum_id  = obj_info->maximum_id;                           
  info->auto_extend = obj_info->auto_extend;                          
  info->maximum     = obj_info->maximum;                              
   483ac:	4282           	clrl %d2                                    
                                                                      
  /*                                                                  
   * Return information about this object class to the user.          
   */                                                                 
  info->minimum_id  = obj_info->minimum_id;                           
  info->maximum_id  = obj_info->maximum_id;                           
   483ae:	2568 000a 0004 	movel %a0@(10),%a2@(4)                      
  info->auto_extend = obj_info->auto_extend;                          
  info->maximum     = obj_info->maximum;                              
   483b4:	3428 000e      	movew %a0@(14),%d2                          
  /*                                                                  
   * Return information about this object class to the user.          
   */                                                                 
  info->minimum_id  = obj_info->minimum_id;                           
  info->maximum_id  = obj_info->maximum_id;                           
  info->auto_extend = obj_info->auto_extend;                          
   483b8:	1568 0010 000c 	moveb %a0@(16),%a2@(12)                     
  info->maximum     = obj_info->maximum;                              
   483be:	2542 0008      	movel %d2,%a2@(8)                           
                                                                      
  for ( unallocated=0, i=1 ; i <= info->maximum ; i++ )               
   483c2:	6750           	beqs 48414 <rtems_object_get_class_information+0x94><== NEVER TAKEN
   483c4:	2068 0018      	moveal %a0@(24),%a0                         
   483c8:	7201           	moveq #1,%d1                                
   483ca:	7001           	moveq #1,%d0                                
   483cc:	93c9           	subal %a1,%a1                               
   483ce:	5280           	addql #1,%d0                                
    if ( !obj_info->local_table[i] )                                  
   483d0:	4ab0 1c00      	tstl %a0@(00000000,%d1:l:4)                 
   483d4:	6718           	beqs 483ee <rtems_object_get_class_information+0x6e>
  info->minimum_id  = obj_info->minimum_id;                           
  info->maximum_id  = obj_info->maximum_id;                           
  info->auto_extend = obj_info->auto_extend;                          
  info->maximum     = obj_info->maximum;                              
                                                                      
  for ( unallocated=0, i=1 ; i <= info->maximum ; i++ )               
   483d6:	2200           	movel %d0,%d1                               
   483d8:	b082           	cmpl %d2,%d0                                
   483da:	63f2           	blss 483ce <rtems_object_get_class_information+0x4e><== ALWAYS TAKEN
    if ( !obj_info->local_table[i] )                                  
      unallocated++;                                                  
                                                                      
  info->unallocated = unallocated;                                    
   483dc:	2549 000e      	movel %a1,%a2@(14)                          
                                                                      
  return RTEMS_SUCCESSFUL;                                            
   483e0:	4280           	clrl %d0                                    
}                                                                     
   483e2:	242e fff8      	movel %fp@(-8),%d2                          
   483e6:	246e fffc      	moveal %fp@(-4),%a2                         
   483ea:	4e5e           	unlk %fp                                    
   483ec:	4e75           	rts                                         
  info->auto_extend = obj_info->auto_extend;                          
  info->maximum     = obj_info->maximum;                              
                                                                      
  for ( unallocated=0, i=1 ; i <= info->maximum ; i++ )               
    if ( !obj_info->local_table[i] )                                  
      unallocated++;                                                  
   483ee:	5289           	addql #1,%a1                                
  info->minimum_id  = obj_info->minimum_id;                           
  info->maximum_id  = obj_info->maximum_id;                           
  info->auto_extend = obj_info->auto_extend;                          
  info->maximum     = obj_info->maximum;                              
                                                                      
  for ( unallocated=0, i=1 ; i <= info->maximum ; i++ )               
   483f0:	2200           	movel %d0,%d1                               
   483f2:	b082           	cmpl %d2,%d0                                
   483f4:	63d8           	blss 483ce <rtems_object_get_class_information+0x4e><== NEVER TAKEN
   483f6:	60e4           	bras 483dc <rtems_object_get_class_information+0x5c>
      unallocated++;                                                  
                                                                      
  info->unallocated = unallocated;                                    
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   483f8:	242e fff8      	movel %fp@(-8),%d2                          
                                                                      
  /*                                                                  
   * Validate parameters and look up information structure.           
   */                                                                 
  if ( !info )                                                        
    return RTEMS_INVALID_ADDRESS;                                     
   483fc:	7009           	moveq #9,%d0                                
      unallocated++;                                                  
                                                                      
  info->unallocated = unallocated;                                    
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   483fe:	246e fffc      	moveal %fp@(-4),%a2                         
   48402:	4e5e           	unlk %fp                                    
   48404:	4e75           	rts                                         
   48406:	242e fff8      	movel %fp@(-8),%d2                          
  if ( !info )                                                        
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  obj_info = _Objects_Get_information( the_api, the_class );          
  if ( !obj_info )                                                    
    return RTEMS_INVALID_NUMBER;                                      
   4840a:	700a           	moveq #10,%d0                               
      unallocated++;                                                  
                                                                      
  info->unallocated = unallocated;                                    
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4840c:	246e fffc      	moveal %fp@(-4),%a2                         
   48410:	4e5e           	unlk %fp                                    
   48412:	4e75           	rts                                         
  info->minimum_id  = obj_info->minimum_id;                           
  info->maximum_id  = obj_info->maximum_id;                           
  info->auto_extend = obj_info->auto_extend;                          
  info->maximum     = obj_info->maximum;                              
                                                                      
  for ( unallocated=0, i=1 ; i <= info->maximum ; i++ )               
   48414:	93c9           	subal %a1,%a1                               <== NOT EXECUTED
    if ( !obj_info->local_table[i] )                                  
      unallocated++;                                                  
                                                                      
  info->unallocated = unallocated;                                    
                                                                      
  return RTEMS_SUCCESSFUL;                                            
   48416:	4280           	clrl %d0                                    <== NOT EXECUTED
                                                                      
  for ( unallocated=0, i=1 ; i <= info->maximum ; i++ )               
    if ( !obj_info->local_table[i] )                                  
      unallocated++;                                                  
                                                                      
  info->unallocated = unallocated;                                    
   48418:	2549 000e      	movel %a1,%a2@(14)                          <== NOT EXECUTED
   4841c:	60c4           	bras 483e2 <rtems_object_get_class_information+0x62><== NOT EXECUTED
	...                                                                  
                                                                      

00056b40 <rtems_partition_create>: uint32_t length, uint32_t buffer_size, rtems_attribute attribute_set, rtems_id *id ) {
   56b40:	4e56 ffe8      	linkw %fp,#-24                              
   56b44:	48d7 0c3c      	moveml %d2-%d5/%a2-%a3,%sp@                 
   56b48:	242e 0008      	movel %fp@(8),%d2                           
   56b4c:	2a2e 000c      	movel %fp@(12),%d5                          
   56b50:	282e 0010      	movel %fp@(16),%d4                          
   56b54:	262e 0014      	movel %fp@(20),%d3                          
   56b58:	246e 001c      	moveal %fp@(28),%a2                         
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
   56b5c:	4a82           	tstl %d2                                    
   56b5e:	673a           	beqs 56b9a <rtems_partition_create+0x5a>    
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !starting_address )                                            
   56b60:	4a85           	tstl %d5                                    
   56b62:	671e           	beqs 56b82 <rtems_partition_create+0x42>    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !id )                                                          
   56b64:	4a8a           	tstl %a2                                    
   56b66:	671a           	beqs 56b82 <rtems_partition_create+0x42>    <== NEVER TAKEN
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( length == 0 || buffer_size == 0 || length < buffer_size ||     
   56b68:	4a84           	tstl %d4                                    
   56b6a:	6722           	beqs 56b8e <rtems_partition_create+0x4e>    
   56b6c:	4a83           	tstl %d3                                    
   56b6e:	671e           	beqs 56b8e <rtems_partition_create+0x4e>    
   56b70:	b684           	cmpl %d4,%d3                                
   56b72:	621a           	bhis 56b8e <rtems_partition_create+0x4e>    
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Partition_Is_buffer_size_aligned (         
   uint32_t   buffer_size                                             
)                                                                     
{                                                                     
  return ((buffer_size % CPU_PARTITION_ALIGNMENT) == 0);              
   56b74:	7003           	moveq #3,%d0                                
   56b76:	c083           	andl %d3,%d0                                
   56b78:	6614           	bnes 56b8e <rtems_partition_create+0x4e>    
)                                                                     
{                                                                     
#if (CPU_ALIGNMENT == 0)                                              
    return true;                                                      
#else                                                                 
    return (((uintptr_t)address % CPU_ALIGNMENT) == 0);               
   56b7a:	103c 0003      	moveb #3,%d0                                
   56b7e:	c085           	andl %d5,%d0                                
         !_Partition_Is_buffer_size_aligned( buffer_size ) )          
    return RTEMS_INVALID_SIZE;                                        
                                                                      
  if ( !_Addresses_Is_aligned( starting_address ) )                   
   56b80:	6724           	beqs 56ba6 <rtems_partition_create+0x66>    
     return RTEMS_INVALID_ADDRESS;                                    
   56b82:	7009           	moveq #9,%d0                                
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   56b84:	4cee 0c3c ffe8 	moveml %fp@(-24),%d2-%d5/%a2-%a3            
   56b8a:	4e5e           	unlk %fp                                    
   56b8c:	4e75           	rts                                         
  if ( !id )                                                          
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( length == 0 || buffer_size == 0 || length < buffer_size ||     
         !_Partition_Is_buffer_size_aligned( buffer_size ) )          
    return RTEMS_INVALID_SIZE;                                        
   56b8e:	7008           	moveq #8,%d0                                
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   56b90:	4cee 0c3c ffe8 	moveml %fp@(-24),%d2-%d5/%a2-%a3            
   56b96:	4e5e           	unlk %fp                                    
   56b98:	4e75           	rts                                         
)                                                                     
{                                                                     
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
   56b9a:	7003           	moveq #3,%d0                                
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   56b9c:	4cee 0c3c ffe8 	moveml %fp@(-24),%d2-%d5/%a2-%a3            
   56ba2:	4e5e           	unlk %fp                                    
   56ba4:	4e75           	rts                                         
   56ba6:	2039 0007 fbec 	movel 7fbec <_Thread_Dispatch_disable_level>,%d0
   56bac:	5280           	addql #1,%d0                                
   56bae:	23c0 0007 fbec 	movel %d0,7fbec <_Thread_Dispatch_disable_level>
 *  This function allocates a partition control block from            
 *  the inactive chain of free partition control blocks.              
 */                                                                   
RTEMS_INLINE_ROUTINE Partition_Control *_Partition_Allocate ( void )  
{                                                                     
  return (Partition_Control *) _Objects_Allocate( &_Partition_Information );
   56bb4:	4879 0007 fa82 	pea 7fa82 <_Partition_Information>          
   56bba:	4eb9 0005 b7e8 	jsr 5b7e8 <_Objects_Allocate>               
                                                                      
  _Thread_Disable_dispatch();               /* prevents deletion */   
                                                                      
  the_partition = _Partition_Allocate();                              
                                                                      
  if ( !the_partition ) {                                             
   56bc0:	588f           	addql #4,%sp                                
   56bc2:	2640           	moveal %d0,%a3                              
   56bc4:	4a80           	tstl %d0                                    
   56bc6:	6758           	beqs 56c20 <rtems_partition_create+0xe0>    <== NEVER TAKEN
    return RTEMS_TOO_MANY;                                            
  }                                                                   
#endif                                                                
                                                                      
  the_partition->starting_address      = starting_address;            
  the_partition->length                = length;                      
   56bc8:	2744 0014      	movel %d4,%a3@(20)                          
  the_partition->buffer_size           = buffer_size;                 
  the_partition->attribute_set         = attribute_set;               
   56bcc:	276e 0018 001c 	movel %fp@(24),%a3@(28)                     
  the_partition->number_of_used_blocks = 0;                           
                                                                      
  _Chain_Initialize( &the_partition->Memory, starting_address,        
   56bd2:	4c43 4004      	remul %d3,%d4,%d4                           
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
#endif                                                                
                                                                      
  the_partition->starting_address      = starting_address;            
   56bd6:	2745 0010      	movel %d5,%a3@(16)                          
  the_partition->length                = length;                      
  the_partition->buffer_size           = buffer_size;                 
   56bda:	2743 0018      	movel %d3,%a3@(24)                          
  the_partition->attribute_set         = attribute_set;               
  the_partition->number_of_used_blocks = 0;                           
   56bde:	42ab 0020      	clrl %a3@(32)                               
                                                                      
  _Chain_Initialize( &the_partition->Memory, starting_address,        
   56be2:	2f03           	movel %d3,%sp@-                             
   56be4:	2f04           	movel %d4,%sp@-                             
   56be6:	2f05           	movel %d5,%sp@-                             
   56be8:	486b 0024      	pea %a3@(36)                                
   56bec:	4eb9 0005 a0b4 	jsr 5a0b4 <_Chain_Initialize>               
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
   56bf2:	202b 0008      	movel %a3@(8),%d0                           
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
   56bf6:	4281           	clrl %d1                                    
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
   56bf8:	2079 0007 fa9a 	moveal 7fa9a <_Partition_Information+0x18>,%a0
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
   56bfe:	3200           	movew %d0,%d1                               
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
   56c00:	218b 1c00      	movel %a3,%a0@(00000000,%d1:l:4)            
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
   56c04:	2742 000c      	movel %d2,%a3@(12)                          
    &_Partition_Information,                                          
    &the_partition->Object,                                           
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_partition->Object.id;                                     
   56c08:	2480           	movel %d0,%a2@                              
      name,                                                           
      0                  /* Not used */                               
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
   56c0a:	4eb9 0005 c9ce 	jsr 5c9ce <_Thread_Enable_dispatch>         
  return RTEMS_SUCCESSFUL;                                            
   56c10:	4fef 0010      	lea %sp@(16),%sp                            
   56c14:	4280           	clrl %d0                                    
}                                                                     
   56c16:	4cee 0c3c ffe8 	moveml %fp@(-24),%d2-%d5/%a2-%a3            
   56c1c:	4e5e           	unlk %fp                                    
   56c1e:	4e75           	rts                                         
  _Thread_Disable_dispatch();               /* prevents deletion */   
                                                                      
  the_partition = _Partition_Allocate();                              
                                                                      
  if ( !the_partition ) {                                             
    _Thread_Enable_dispatch();                                        
   56c20:	4eb9 0005 c9ce 	jsr 5c9ce <_Thread_Enable_dispatch>         
    return RTEMS_TOO_MANY;                                            
   56c26:	7005           	moveq #5,%d0                                
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   56c28:	4cee 0c3c ffe8 	moveml %fp@(-24),%d2-%d5/%a2-%a3            
   56c2e:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00056d54 <rtems_partition_return_buffer>: rtems_status_code rtems_partition_return_buffer( rtems_id id, void *buffer ) {
   56d54:	4e56 fffc      	linkw %fp,#-4                               
   56d58:	2f0a           	movel %a2,%sp@-                             
   56d5a:	2f02           	movel %d2,%sp@-                             
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Partition_Control *)                                        
    _Objects_Get( &_Partition_Information, id, location );            
   56d5c:	486e fffc      	pea %fp@(-4)                                
   56d60:	2f2e 0008      	movel %fp@(8),%sp@-                         
   56d64:	4879 0007 fa82 	pea 7fa82 <_Partition_Information>          
   56d6a:	242e 000c      	movel %fp@(12),%d2                          
   56d6e:	4eb9 0005 bcdc 	jsr 5bcdc <_Objects_Get>                    
  register Partition_Control *the_partition;                          
  Objects_Locations           location;                               
                                                                      
  the_partition = _Partition_Get( id, &location );                    
  switch ( location ) {                                               
   56d74:	4fef 000c      	lea %sp@(12),%sp                            
   56d78:	2440           	moveal %d0,%a2                              
   56d7a:	4aae fffc      	tstl %fp@(-4)                               
   56d7e:	670e           	beqs 56d8e <rtems_partition_return_buffer+0x3a>
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   56d80:	242e fff4      	movel %fp@(-12),%d2                         
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
   56d84:	7004           	moveq #4,%d0                                
}                                                                     
   56d86:	246e fff8      	moveal %fp@(-8),%a2                         
   56d8a:	4e5e           	unlk %fp                                    
   56d8c:	4e75           	rts                                         
)                                                                     
{                                                                     
  void *starting;                                                     
  void *ending;                                                       
                                                                      
  starting = the_partition->starting_address;                         
   56d8e:	202a 0010      	movel %a2@(16),%d0                          
  ending   = _Addresses_Add_offset( starting, the_partition->length );
   56d92:	222a 0014      	movel %a2@(20),%d1                          
  const void *address,                                                
  const void *base,                                                   
  const void *limit                                                   
)                                                                     
{                                                                     
  return (address >= base && address <= limit);                       
   56d96:	b082           	cmpl %d2,%d0                                
   56d98:	623c           	bhis 56dd6 <rtems_partition_return_buffer+0x82>
RTEMS_INLINE_ROUTINE void *_Addresses_Add_offset (                    
  const void *base,                                                   
  uintptr_t   offset                                                  
)                                                                     
{                                                                     
  return (void *)((uintptr_t)base + offset);                          
   56d9a:	d280           	addl %d0,%d1                                
  const void *address,                                                
  const void *base,                                                   
  const void *limit                                                   
)                                                                     
{                                                                     
  return (address >= base && address <= limit);                       
   56d9c:	b282           	cmpl %d2,%d1                                
   56d9e:	6536           	bcss 56dd6 <rtems_partition_return_buffer+0x82><== NEVER TAKEN
RTEMS_INLINE_ROUTINE int32_t _Addresses_Subtract (                    
  const void *left,                                                   
  const void *right                                                   
)                                                                     
{                                                                     
  return (int32_t) ((const char *) left - (const char *) right);      
   56da0:	2202           	movel %d2,%d1                               
   56da2:	9280           	subl %d0,%d1                                
   56da4:	2001           	movel %d1,%d0                               
  offset = (uint32_t) _Addresses_Subtract(                            
    the_buffer,                                                       
    the_partition->starting_address                                   
  );                                                                  
                                                                      
  return ((offset % the_partition->buffer_size) == 0);                
   56da6:	4c6a 0001 0018 	remul %a2@(24),%d1,%d0                      
                                                                      
  starting = the_partition->starting_address;                         
  ending   = _Addresses_Add_offset( starting, the_partition->length );
                                                                      
  return (                                                            
    _Addresses_Is_in_range( the_buffer, starting, ending ) &&         
   56dac:	4a81           	tstl %d1                                    
   56dae:	6626           	bnes 56dd6 <rtems_partition_return_buffer+0x82>
RTEMS_INLINE_ROUTINE void _Partition_Free_buffer (                    
  Partition_Control *the_partition,                                   
  Chain_Node        *the_buffer                                       
)                                                                     
{                                                                     
  _Chain_Append( &the_partition->Memory, the_buffer );                
   56db0:	2f02           	movel %d2,%sp@-                             
   56db2:	486a 0024      	pea %a2@(36)                                
   56db6:	4eb9 0005 a018 	jsr 5a018 <_Chain_Append>                   
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( _Partition_Is_buffer_valid( buffer, the_partition ) ) {    
        _Partition_Free_buffer( the_partition, buffer );              
        the_partition->number_of_used_blocks -= 1;                    
   56dbc:	53aa 0020      	subql #1,%a2@(32)                           
        _Thread_Enable_dispatch();                                    
   56dc0:	4eb9 0005 c9ce 	jsr 5c9ce <_Thread_Enable_dispatch>         
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   56dc6:	242e fff4      	movel %fp@(-12),%d2                         
    case OBJECTS_LOCAL:                                               
      if ( _Partition_Is_buffer_valid( buffer, the_partition ) ) {    
        _Partition_Free_buffer( the_partition, buffer );              
        the_partition->number_of_used_blocks -= 1;                    
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
   56dca:	508f           	addql #8,%sp                                
   56dcc:	4280           	clrl %d0                                    
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   56dce:	246e fff8      	moveal %fp@(-8),%a2                         
   56dd2:	4e5e           	unlk %fp                                    
   56dd4:	4e75           	rts                                         
        _Partition_Free_buffer( the_partition, buffer );              
        the_partition->number_of_used_blocks -= 1;                    
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
      _Thread_Enable_dispatch();                                      
   56dd6:	4eb9 0005 c9ce 	jsr 5c9ce <_Thread_Enable_dispatch>         
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   56ddc:	242e fff4      	movel %fp@(-12),%d2                         
        the_partition->number_of_used_blocks -= 1;                    
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
      _Thread_Enable_dispatch();                                      
      return RTEMS_INVALID_ADDRESS;                                   
   56de0:	7009           	moveq #9,%d0                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   56de2:	246e fff8      	moveal %fp@(-8),%a2                         
   56de6:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000423fc <rtems_print_buffer>: void rtems_print_buffer( const unsigned char *buffer, int length ) {
   423fc:	4e56 ff60      	linkw %fp,#-160                             
   42400:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
   42404:	2e2e 000c      	movel %fp@(12),%d7                          
                                                                      
  int i, mod, max;                                                    
                                                                      
  if ( !length ) return;                                              
   42408:	6700 00d2      	beqw 424dc <rtems_print_buffer+0xe0>        
                                                                      
  mod = length % 16;                                                  
   4240c:	2a07           	movel %d7,%d5                               
   4240e:	0285 8000 000f 	andil #-2147483633,%d5                      
   42414:	6d00 01ca      	bltw 425e0 <rtems_print_buffer+0x1e4>       
   42418:	2c05           	movel %d5,%d6                               
                                                                      
  max = length - mod;                                                 
   4241a:	9e85           	subl %d5,%d7                                
                                                                      
  for ( i=0 ; i<max ; i+=16 )                                         
   4241c:	4a87           	tstl %d7                                    
   4241e:	6f00 00b8      	blew 424d8 <rtems_print_buffer+0xdc>        
   42422:	262e 0008      	movel %fp@(8),%d3                           
   42426:	4284           	clrl %d4                                    
   42428:	45ee ff88      	lea %fp@(-120),%a2                          
   4242c:	49f9 0004 fa7c 	lea 4fa7c <sprintf>,%a4                     
   42432:	4bf9 0005 0198 	lea 50198 <strlen>,%a5                      
{                                                                     
                                                                      
  int  i;                                                             
  char line_buffer[120];                                              
                                                                      
  line_buffer[0] = '\0';                                              
   42438:	2643           	moveal %d3,%a3                              
                                                                      
  for( i=0 ; i<length ; i++ )                                         
   4243a:	4282           	clrl %d2                                    
{                                                                     
                                                                      
  int  i;                                                             
  char line_buffer[120];                                              
                                                                      
  line_buffer[0] = '\0';                                              
   4243c:	4201           	clrb %d1                                    
   4243e:	1d41 ff88      	moveb %d1,%fp@(-120)                        
                                                                      
  for( i=0 ; i<length ; i++ )                                         
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
   42442:	4280           	clrl %d0                                    
   42444:	101b           	moveb %a3@+,%d0                             
  int  i;                                                             
  char line_buffer[120];                                              
                                                                      
  line_buffer[0] = '\0';                                              
                                                                      
  for( i=0 ; i<length ; i++ )                                         
   42446:	5282           	addql #1,%d2                                
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
   42448:	2f00           	movel %d0,%sp@-                             
   4244a:	2f0a           	movel %a2,%sp@-                             
   4244c:	4879 0005 df6e 	pea 5df6e <IntUartPollCallbacks.6374+0x20>  
   42452:	2f0a           	movel %a2,%sp@-                             
   42454:	4e94           	jsr %a4@                                    
  int  i;                                                             
  char line_buffer[120];                                              
                                                                      
  line_buffer[0] = '\0';                                              
                                                                      
  for( i=0 ; i<length ; i++ )                                         
   42456:	4fef 0010      	lea %sp@(16),%sp                            
   4245a:	7010           	moveq #16,%d0                               
   4245c:	b082           	cmpl %d2,%d0                                
   4245e:	66e2           	bnes 42442 <rtems_print_buffer+0x46>        
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
   42460:	2f0a           	movel %a2,%sp@-                             
   42462:	2643           	moveal %d3,%a3                              
  for( i=0 ; i<length ; i++ )                                         
   42464:	4282           	clrl %d2                                    
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
   42466:	4e95           	jsr %a5@                                    
   42468:	588f           	addql #4,%sp                                
   4246a:	323c 7c00      	movew #31744,%d1                            
   4246e:	3581 0800      	movew %d1,%a2@(00000000,%d0:l)              
  for( i=0 ; i<length ; i++ )                                         
    sprintf( line_buffer, "%s%c", line_buffer,                        
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
   42472:	4280           	clrl %d0                                    
   42474:	101b           	moveb %a3@+,%d0                             
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
  for( i=0 ; i<length ; i++ )                                         
    sprintf( line_buffer, "%s%c", line_buffer,                        
   42476:	722e           	moveq #46,%d1                               
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
   42478:	2040           	moveal %d0,%a0                              
   4247a:	2279 0005 f700 	moveal 5f700 <__ctype_ptr__>,%a1            
   42480:	1031 8801      	moveb %a1@(00000001,%a0:l),%d0              
   42484:	49c0           	extbl %d0                                   
   42486:	0280 0000 0097 	andil #151,%d0                              
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
  for( i=0 ; i<length ; i++ )                                         
    sprintf( line_buffer, "%s%c", line_buffer,                        
   4248c:	6702           	beqs 42490 <rtems_print_buffer+0x94>        
   4248e:	2208           	movel %a0,%d1                               
   42490:	2f01           	movel %d1,%sp@-                             
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
  for( i=0 ; i<length ; i++ )                                         
   42492:	5282           	addql #1,%d2                                
    sprintf( line_buffer, "%s%c", line_buffer,                        
   42494:	2f0a           	movel %a2,%sp@-                             
   42496:	4879 0005 df76 	pea 5df76 <IntUartPollCallbacks.6374+0x28>  
   4249c:	2f0a           	movel %a2,%sp@-                             
   4249e:	4e94           	jsr %a4@                                    
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
  for( i=0 ; i<length ; i++ )                                         
   424a0:	4fef 0010      	lea %sp@(16),%sp                            
   424a4:	7210           	moveq #16,%d1                               
   424a6:	b282           	cmpl %d2,%d1                                
   424a8:	66c8           	bnes 42472 <rtems_print_buffer+0x76>        
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, " " );                                       
                                                                      
  strcat( line_buffer, "|\n" );                                       
   424aa:	2f0a           	movel %a2,%sp@-                             
                                                                      
  mod = length % 16;                                                  
                                                                      
  max = length - mod;                                                 
                                                                      
  for ( i=0 ; i<max ; i+=16 )                                         
   424ac:	0684 0000 0010 	addil #16,%d4                               
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, " " );                                       
                                                                      
  strcat( line_buffer, "|\n" );                                       
   424b2:	4e95           	jsr %a5@                                    
                                                                      
  mod = length % 16;                                                  
                                                                      
  max = length - mod;                                                 
                                                                      
  for ( i=0 ; i<max ; i+=16 )                                         
   424b4:	0683 0000 0010 	addil #16,%d3                               
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, " " );                                       
                                                                      
  strcat( line_buffer, "|\n" );                                       
   424ba:	41f2 0800      	lea %a2@(00000000,%d0:l),%a0                
   424be:	4200           	clrb %d0                                    
   424c0:	30bc 7c0a      	movew #31754,%a0@                           
   424c4:	1140 0002      	moveb %d0,%a0@(2)                           
                                                                      
  printk( line_buffer );                                              
   424c8:	2e8a           	movel %a2,%sp@                              
   424ca:	4eb9 0004 4108 	jsr 44108 <printk>                          
                                                                      
  mod = length % 16;                                                  
                                                                      
  max = length - mod;                                                 
                                                                      
  for ( i=0 ; i<max ; i+=16 )                                         
   424d0:	588f           	addql #4,%sp                                
   424d2:	b887           	cmpl %d7,%d4                                
   424d4:	6d00 ff62      	bltw 42438 <rtems_print_buffer+0x3c>        
    Dump_Line( &buffer[ i ], 16 );                                    
                                                                      
  if ( mod )                                                          
   424d8:	4a85           	tstl %d5                                    
   424da:	660a           	bnes 424e6 <rtems_print_buffer+0xea>        
    Dump_Line( &buffer[ max ], mod );                                 
}                                                                     
   424dc:	4cee 3cfc ff60 	moveml %fp@(-160),%d2-%d7/%a2-%a5           
   424e2:	4e5e           	unlk %fp                                    
   424e4:	4e75           	rts                                         
                                                                      
  for ( i=0 ; i<max ; i+=16 )                                         
    Dump_Line( &buffer[ i ], 16 );                                    
                                                                      
  if ( mod )                                                          
    Dump_Line( &buffer[ max ], mod );                                 
   424e6:	266e 0008      	moveal %fp@(8),%a3                          
   424ea:	d7c7           	addal %d7,%a3                               
{                                                                     
                                                                      
  int  i;                                                             
  char line_buffer[120];                                              
                                                                      
  line_buffer[0] = '\0';                                              
   424ec:	4200           	clrb %d0                                    
   424ee:	1d40 ff88      	moveb %d0,%fp@(-120)                        
                                                                      
  for( i=0 ; i<length ; i++ )                                         
   424f2:	4a85           	tstl %d5                                    
   424f4:	6f00 0110      	blew 42606 <rtems_print_buffer+0x20a>       
   424f8:	2a4b           	moveal %a3,%a5                              
   424fa:	4282           	clrl %d2                                    
   424fc:	45ee ff88      	lea %fp@(-120),%a2                          
   42500:	49f9 0004 fa7c 	lea 4fa7c <sprintf>,%a4                     
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
   42506:	4280           	clrl %d0                                    
   42508:	101d           	moveb %a5@+,%d0                             
  int  i;                                                             
  char line_buffer[120];                                              
                                                                      
  line_buffer[0] = '\0';                                              
                                                                      
  for( i=0 ; i<length ; i++ )                                         
   4250a:	5282           	addql #1,%d2                                
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
   4250c:	2f00           	movel %d0,%sp@-                             
   4250e:	2f0a           	movel %a2,%sp@-                             
   42510:	4879 0005 df6e 	pea 5df6e <IntUartPollCallbacks.6374+0x20>  
   42516:	2f0a           	movel %a2,%sp@-                             
   42518:	4e94           	jsr %a4@                                    
  int  i;                                                             
  char line_buffer[120];                                              
                                                                      
  line_buffer[0] = '\0';                                              
                                                                      
  for( i=0 ; i<length ; i++ )                                         
   4251a:	4fef 0010      	lea %sp@(16),%sp                            
   4251e:	b485           	cmpl %d5,%d2                                
   42520:	6de4           	blts 42506 <rtems_print_buffer+0x10a>       
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
                                                                      
  for( ; i<16 ; i++ )                                                 
   42522:	720f           	moveq #15,%d1                               
   42524:	b285           	cmpl %d5,%d1                                
   42526:	6d00 0108      	bltw 42630 <rtems_print_buffer+0x234>       
   4252a:	2405           	movel %d5,%d2                               
   4252c:	4bf9 0005 0198 	lea 50198 <strlen>,%a5                      
    strcat( line_buffer, "   " );                                     
   42532:	2f0a           	movel %a2,%sp@-                             
  line_buffer[0] = '\0';                                              
                                                                      
  for( i=0 ; i<length ; i++ )                                         
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
                                                                      
  for( ; i<16 ; i++ )                                                 
   42534:	5282           	addql #1,%d2                                
    strcat( line_buffer, "   " );                                     
   42536:	4e95           	jsr %a5@                                    
   42538:	588f           	addql #4,%sp                                
   4253a:	223c 2020 2000 	movel #538976256,%d1                        
   42540:	2581 0800      	movel %d1,%a2@(00000000,%d0:l)              
  line_buffer[0] = '\0';                                              
                                                                      
  for( i=0 ; i<length ; i++ )                                         
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
                                                                      
  for( ; i<16 ; i++ )                                                 
   42544:	700f           	moveq #15,%d0                               
   42546:	b082           	cmpl %d2,%d0                                
   42548:	6ce8           	bges 42532 <rtems_print_buffer+0x136>       
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
   4254a:	2f0a           	movel %a2,%sp@-                             
   4254c:	49f9 0004 fa7c 	lea 4fa7c <sprintf>,%a4                     
   42552:	4eb9 0005 0198 	jsr 50198 <strlen>                          
   42558:	588f           	addql #4,%sp                                
   4255a:	323c 7c00      	movew #31744,%d1                            
   4255e:	3581 0800      	movew %d1,%a2@(00000000,%d0:l)              
  for( i=0 ; i<length ; i++ )                                         
   42562:	4a85           	tstl %d5                                    
   42564:	6f00 0086      	blew 425ec <rtems_print_buffer+0x1f0>       
   42568:	4282           	clrl %d2                                    
    sprintf( line_buffer, "%s%c", line_buffer,                        
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
   4256a:	4283           	clrl %d3                                    
   4256c:	161b           	moveb %a3@+,%d3                             
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
  for( i=0 ; i<length ; i++ )                                         
    sprintf( line_buffer, "%s%c", line_buffer,                        
   4256e:	722e           	moveq #46,%d1                               
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
   42570:	2079 0005 f700 	moveal 5f700 <__ctype_ptr__>,%a0            
   42576:	1030 3801      	moveb %a0@(00000001,%d3:l),%d0              
   4257a:	49c0           	extbl %d0                                   
   4257c:	0280 0000 0097 	andil #151,%d0                              
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
  for( i=0 ; i<length ; i++ )                                         
    sprintf( line_buffer, "%s%c", line_buffer,                        
   42582:	6702           	beqs 42586 <rtems_print_buffer+0x18a>       
   42584:	2203           	movel %d3,%d1                               
   42586:	2f01           	movel %d1,%sp@-                             
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
  for( i=0 ; i<length ; i++ )                                         
   42588:	5282           	addql #1,%d2                                
    sprintf( line_buffer, "%s%c", line_buffer,                        
   4258a:	2f0a           	movel %a2,%sp@-                             
   4258c:	4879 0005 df76 	pea 5df76 <IntUartPollCallbacks.6374+0x28>  
   42592:	2f0a           	movel %a2,%sp@-                             
   42594:	4e94           	jsr %a4@                                    
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
  for( i=0 ; i<length ; i++ )                                         
   42596:	4fef 0010      	lea %sp@(16),%sp                            
   4259a:	b485           	cmpl %d5,%d2                                
   4259c:	6dcc           	blts 4256a <rtems_print_buffer+0x16e>       
    sprintf( line_buffer, "%s%c", line_buffer,                        
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
                                                                      
  for( ; i<16 ; i++ )                                                 
   4259e:	700f           	moveq #15,%d0                               
   425a0:	b085           	cmpl %d5,%d0                                
   425a2:	6d16           	blts 425ba <rtems_print_buffer+0x1be>       <== NEVER TAKEN
    strcat( line_buffer, " " );                                       
   425a4:	2f0a           	movel %a2,%sp@-                             
  strcat( line_buffer, "|" );                                         
  for( i=0 ; i<length ; i++ )                                         
    sprintf( line_buffer, "%s%c", line_buffer,                        
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
                                                                      
  for( ; i<16 ; i++ )                                                 
   425a6:	5286           	addql #1,%d6                                
    strcat( line_buffer, " " );                                       
   425a8:	4e95           	jsr %a5@                                    
   425aa:	588f           	addql #4,%sp                                
   425ac:	323c 2000      	movew #8192,%d1                             
   425b0:	3581 0800      	movew %d1,%a2@(00000000,%d0:l)              
  strcat( line_buffer, "|" );                                         
  for( i=0 ; i<length ; i++ )                                         
    sprintf( line_buffer, "%s%c", line_buffer,                        
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
                                                                      
  for( ; i<16 ; i++ )                                                 
   425b4:	700f           	moveq #15,%d0                               
   425b6:	b086           	cmpl %d6,%d0                                
   425b8:	6cea           	bges 425a4 <rtems_print_buffer+0x1a8>       
    strcat( line_buffer, " " );                                       
                                                                      
  strcat( line_buffer, "|\n" );                                       
   425ba:	2f0a           	movel %a2,%sp@-                             
   425bc:	4e95           	jsr %a5@                                    
   425be:	4201           	clrb %d1                                    
   425c0:	41f2 0800      	lea %a2@(00000000,%d0:l),%a0                
   425c4:	30bc 7c0a      	movew #31754,%a0@                           
   425c8:	1141 0002      	moveb %d1,%a0@(2)                           
                                                                      
  printk( line_buffer );                                              
   425cc:	2e8a           	movel %a2,%sp@                              
   425ce:	4eb9 0004 4108 	jsr 44108 <printk>                          
   425d4:	588f           	addql #4,%sp                                
  for ( i=0 ; i<max ; i+=16 )                                         
    Dump_Line( &buffer[ i ], 16 );                                    
                                                                      
  if ( mod )                                                          
    Dump_Line( &buffer[ max ], mod );                                 
}                                                                     
   425d6:	4cee 3cfc ff60 	moveml %fp@(-160),%d2-%d7/%a2-%a5           
   425dc:	4e5e           	unlk %fp                                    
   425de:	4e75           	rts                                         
                                                                      
  int i, mod, max;                                                    
                                                                      
  if ( !length ) return;                                              
                                                                      
  mod = length % 16;                                                  
   425e0:	5385           	subql #1,%d5                                
   425e2:	70f0           	moveq #-16,%d0                              
   425e4:	8a80           	orl %d0,%d5                                 
   425e6:	5285           	addql #1,%d5                                
   425e8:	6000 fe2e      	braw 42418 <rtems_print_buffer+0x1c>        
  for( i=0 ; i<length ; i++ )                                         
    sprintf( line_buffer, "%s%c", line_buffer,                        
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, " " );                                       
   425ec:	2f0a           	movel %a2,%sp@-                             
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
  for( i=0 ; i<length ; i++ )                                         
   425ee:	4286           	clrl %d6                                    
    sprintf( line_buffer, "%s%c", line_buffer,                        
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
                                                                      
  for( ; i<16 ; i++ )                                                 
   425f0:	5286           	addql #1,%d6                                
    strcat( line_buffer, " " );                                       
   425f2:	4e95           	jsr %a5@                                    
   425f4:	588f           	addql #4,%sp                                
   425f6:	323c 2000      	movew #8192,%d1                             
   425fa:	3581 0800      	movew %d1,%a2@(00000000,%d0:l)              
  strcat( line_buffer, "|" );                                         
  for( i=0 ; i<length ; i++ )                                         
    sprintf( line_buffer, "%s%c", line_buffer,                        
             isprint( buffer[ i ] ) ? buffer[ i ] : '.' );            
                                                                      
  for( ; i<16 ; i++ )                                                 
   425fe:	700f           	moveq #15,%d0                               
   42600:	b086           	cmpl %d6,%d0                                
   42602:	6ca0           	bges 425a4 <rtems_print_buffer+0x1a8>       <== ALWAYS TAKEN
   42604:	60b4           	bras 425ba <rtems_print_buffer+0x1be>       <== NOT EXECUTED
   42606:	45ee ff88      	lea %fp@(-120),%a2                          
   4260a:	4bf9 0005 0198 	lea 50198 <strlen>,%a5                      
  int  i;                                                             
  char line_buffer[120];                                              
                                                                      
  line_buffer[0] = '\0';                                              
                                                                      
  for( i=0 ; i<length ; i++ )                                         
   42610:	4282           	clrl %d2                                    
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
                                                                      
  for( ; i<16 ; i++ )                                                 
   42612:	5282           	addql #1,%d2                                
    strcat( line_buffer, "   " );                                     
   42614:	2f0a           	movel %a2,%sp@-                             
   42616:	4e95           	jsr %a5@                                    
   42618:	588f           	addql #4,%sp                                
   4261a:	223c 2020 2000 	movel #538976256,%d1                        
   42620:	2581 0800      	movel %d1,%a2@(00000000,%d0:l)              
  line_buffer[0] = '\0';                                              
                                                                      
  for( i=0 ; i<length ; i++ )                                         
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
                                                                      
  for( ; i<16 ; i++ )                                                 
   42624:	700f           	moveq #15,%d0                               
   42626:	b082           	cmpl %d2,%d0                                
   42628:	6c00 ff08      	bgew 42532 <rtems_print_buffer+0x136>       
   4262c:	6000 ff1c      	braw 4254a <rtems_print_buffer+0x14e>       <== NOT EXECUTED
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
   42630:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   42632:	4bf9 0005 0198 	lea 50198 <strlen>,%a5                      <== NOT EXECUTED
  for( i=0 ; i<length ; i++ )                                         
   42638:	4282           	clrl %d2                                    <== NOT EXECUTED
    sprintf( line_buffer, "%s%02x ", line_buffer, buffer[ i ] );      
                                                                      
  for( ; i<16 ; i++ )                                                 
    strcat( line_buffer, "   " );                                     
                                                                      
  strcat( line_buffer, "|" );                                         
   4263a:	4e95           	jsr %a5@                                    <== NOT EXECUTED
   4263c:	588f           	addql #4,%sp                                <== NOT EXECUTED
   4263e:	323c 7c00      	movew #31744,%d1                            <== NOT EXECUTED
   42642:	3581 0800      	movew %d1,%a2@(00000000,%d0:l)              <== NOT EXECUTED
   42646:	6000 ff22      	braw 4256a <rtems_print_buffer+0x16e>       <== NOT EXECUTED
	...                                                                  
                                                                      

00047800 <rtems_rate_monotonic_period>: rtems_status_code rtems_rate_monotonic_period( rtems_id id, rtems_interval length ) {
   47800:	4e56 fff8      	linkw %fp,#-8                               
   47804:	2f03           	movel %d3,%sp@-                             
   47806:	2f02           	movel %d2,%sp@-                             
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Rate_monotonic_Control *)                                   
    _Objects_Get( &_Rate_monotonic_Information, id, location );       
   47808:	486e fffc      	pea %fp@(-4)                                
   4780c:	242e 0008      	movel %fp@(8),%d2                           
   47810:	2f02           	movel %d2,%sp@-                             
   47812:	4879 0006 2c7c 	pea 62c7c <_Rate_monotonic_Information>     
   47818:	4eb9 0004 9bd4 	jsr 49bd4 <_Objects_Get>                    
  rtems_rate_monotonic_period_states   local_state;                   
  ISR_Level                            level;                         
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
                                                                      
  switch ( location ) {                                               
   4781e:	4fef 000c      	lea %sp@(12),%sp                            
   47822:	4aae fffc      	tstl %fp@(-4)                               
   47826:	6624           	bnes 4784c <rtems_rate_monotonic_period+0x4c><== NEVER TAKEN
    case OBJECTS_LOCAL:                                               
      if ( !_Thread_Is_executing( the_period->owner ) ) {             
   47828:	2279 0006 31dc 	moveal 631dc <_Per_CPU_Information+0xc>,%a1 
   4782e:	2040           	moveal %d0,%a0                              
   47830:	b3e8 0040      	cmpal %a0@(64),%a1                          
   47834:	6726           	beqs 4785c <rtems_rate_monotonic_period+0x5c>
        _Thread_Enable_dispatch();                                    
   47836:	4eb9 0004 a8c6 	jsr 4a8c6 <_Thread_Enable_dispatch>         
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
   4783c:	7617           	moveq #23,%d3                               
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   4783e:	2003           	movel %d3,%d0                               
   47840:	242e fff0      	movel %fp@(-16),%d2                         
   47844:	262e fff4      	movel %fp@(-12),%d3                         
   47848:	4e5e           	unlk %fp                                    
   4784a:	4e75           	rts                                         
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
   4784c:	7604           	moveq #4,%d3                                
}                                                                     
   4784e:	2003           	movel %d3,%d0                               
   47850:	242e fff0      	movel %fp@(-16),%d2                         
   47854:	262e fff4      	movel %fp@(-12),%d3                         
   47858:	4e5e           	unlk %fp                                    
   4785a:	4e75           	rts                                         
      if ( !_Thread_Is_executing( the_period->owner ) ) {             
        _Thread_Enable_dispatch();                                    
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
      }                                                               
                                                                      
      if ( length == RTEMS_PERIOD_STATUS ) {                          
   4785c:	4aae 000c      	tstl %fp@(12)                               
   47860:	6624           	bnes 47886 <rtems_rate_monotonic_period+0x86>
        switch ( the_period->state ) {                                
   47862:	2040           	moveal %d0,%a0                              
   47864:	7204           	moveq #4,%d1                                
   47866:	2028 0038      	movel %a0@(56),%d0                          
   4786a:	b280           	cmpl %d0,%d1                                
   4786c:	6400 008a      	bccw 478f8 <rtems_rate_monotonic_period+0xf8>
   47870:	4283           	clrl %d3                                    <== NOT EXECUTED
          case RATE_MONOTONIC_ACTIVE:                                 
          default:              /* unreached -- only to remove warnings */
            return_value = RTEMS_SUCCESSFUL;                          
            break;                                                    
        }                                                             
        _Thread_Enable_dispatch();                                    
   47872:	4eb9 0004 a8c6 	jsr 4a8c6 <_Thread_Enable_dispatch>         <== NOT EXECUTED
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   47878:	2003           	movel %d3,%d0                               
   4787a:	242e fff0      	movel %fp@(-16),%d2                         
   4787e:	262e fff4      	movel %fp@(-12),%d3                         
   47882:	4e5e           	unlk %fp                                    
   47884:	4e75           	rts                                         
        }                                                             
        _Thread_Enable_dispatch();                                    
        return( return_value );                                       
      }                                                               
                                                                      
      _ISR_Disable( level );                                          
   47886:	223c 0000 0700 	movel #1792,%d1                             
   4788c:	40c3           	movew %sr,%d3                               
   4788e:	8283           	orl %d3,%d1                                 
   47890:	46c1           	movew %d1,%sr                               
      if ( the_period->state == RATE_MONOTONIC_INACTIVE ) {           
   47892:	2040           	moveal %d0,%a0                              
   47894:	2228 0038      	movel %a0@(56),%d1                          
   47898:	6772           	beqs 4790c <rtems_rate_monotonic_period+0x10c>
        _Watchdog_Insert_ticks( &the_period->Timer, length );         
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
                                                                      
      if ( the_period->state == RATE_MONOTONIC_ACTIVE ) {             
   4789a:	7402           	moveq #2,%d2                                
   4789c:	b481           	cmpl %d1,%d2                                
   4789e:	6700 00d2      	beqw 47972 <rtems_rate_monotonic_period+0x172>
                                                                      
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
                                                                      
      if ( the_period->state == RATE_MONOTONIC_EXPIRED ) {            
   478a2:	7404           	moveq #4,%d2                                
   478a4:	b481           	cmpl %d1,%d2                                
   478a6:	66a4           	bnes 4784c <rtems_rate_monotonic_period+0x4c><== NEVER TAKEN
        /*                                                            
         *  Update statistics from the concluding period              
         */                                                           
        _Rate_monotonic_Update_statistics( the_period );              
   478a8:	2f00           	movel %d0,%sp@-                             
   478aa:	2d40 fff8      	movel %d0,%fp@(-8)                          
   478ae:	4eb9 0004 76e6 	jsr 476e6 <_Rate_monotonic_Update_statistics>
                                                                      
        _ISR_Enable( level );                                         
   478b4:	46c3           	movew %d3,%sr                               
                                                                      
        the_period->state = RATE_MONOTONIC_ACTIVE;                    
   478b6:	7202           	moveq #2,%d1                                
        the_period->next_length = length;                             
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, length );         
        _Thread_Enable_dispatch();                                    
        return RTEMS_TIMEOUT;                                         
   478b8:	7606           	moveq #6,%d3                                
         */                                                           
        _Rate_monotonic_Update_statistics( the_period );              
                                                                      
        _ISR_Enable( level );                                         
                                                                      
        the_period->state = RATE_MONOTONIC_ACTIVE;                    
   478ba:	202e fff8      	movel %fp@(-8),%d0                          
   478be:	2040           	moveal %d0,%a0                              
        the_period->next_length = length;                             
   478c0:	226e 000c      	moveal %fp@(12),%a1                         
         */                                                           
        _Rate_monotonic_Update_statistics( the_period );              
                                                                      
        _ISR_Enable( level );                                         
                                                                      
        the_period->state = RATE_MONOTONIC_ACTIVE;                    
   478c4:	2141 0038      	movel %d1,%a0@(56)                          
        the_period->next_length = length;                             
   478c8:	2149 003c      	movel %a1,%a0@(60)                          
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
   478cc:	2149 001c      	movel %a1,%a0@(28)                          
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
   478d0:	4868 0010      	pea %a0@(16)                                
   478d4:	4879 0006 2e32 	pea 62e32 <_Watchdog_Ticks_chain>           
   478da:	4eb9 0004 b880 	jsr 4b880 <_Watchdog_Insert>                
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, length );         
        _Thread_Enable_dispatch();                                    
   478e0:	4eb9 0004 a8c6 	jsr 4a8c6 <_Thread_Enable_dispatch>         
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   478e6:	242e fff0      	movel %fp@(-16),%d2                         
   478ea:	2003           	movel %d3,%d0                               
        the_period->state = RATE_MONOTONIC_ACTIVE;                    
        the_period->next_length = length;                             
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, length );         
        _Thread_Enable_dispatch();                                    
        return RTEMS_TIMEOUT;                                         
   478ec:	4fef 000c      	lea %sp@(12),%sp                            
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   478f0:	262e fff4      	movel %fp@(-12),%d3                         
   478f4:	4e5e           	unlk %fp                                    
   478f6:	4e75           	rts                                         
        _Thread_Enable_dispatch();                                    
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
      }                                                               
                                                                      
      if ( length == RTEMS_PERIOD_STATUS ) {                          
        switch ( the_period->state ) {                                
   478f8:	41f9 0006 02d6 	lea 602d6 <CSWTCH.2>,%a0                    
   478fe:	2630 0c00      	movel %a0@(00000000,%d0:l:4),%d3            
          case RATE_MONOTONIC_ACTIVE:                                 
          default:              /* unreached -- only to remove warnings */
            return_value = RTEMS_SUCCESSFUL;                          
            break;                                                    
        }                                                             
        _Thread_Enable_dispatch();                                    
   47902:	4eb9 0004 a8c6 	jsr 4a8c6 <_Thread_Enable_dispatch>         
   47908:	6000 ff6e      	braw 47878 <rtems_rate_monotonic_period+0x78>
        return( return_value );                                       
      }                                                               
                                                                      
      _ISR_Disable( level );                                          
      if ( the_period->state == RATE_MONOTONIC_INACTIVE ) {           
        _ISR_Enable( level );                                         
   4790c:	46c3           	movew %d3,%sr                               
                                                                      
        /*                                                            
         *  Baseline statistics information for the beginning of a period.
         */                                                           
        _Rate_monotonic_Initiate_statistics( the_period );            
   4790e:	2f00           	movel %d0,%sp@-                             
                                                                      
        the_period->next_length = length;                             
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, length );         
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
   47910:	4283           	clrl %d3                                    
        _ISR_Enable( level );                                         
                                                                      
        /*                                                            
         *  Baseline statistics information for the beginning of a period.
         */                                                           
        _Rate_monotonic_Initiate_statistics( the_period );            
   47912:	2d40 fff8      	movel %d0,%fp@(-8)                          
   47916:	4eb9 0004 7668 	jsr 47668 <_Rate_monotonic_Initiate_statistics>
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
   4791c:	202e fff8      	movel %fp@(-8),%d0                          
   47920:	2240           	moveal %d0,%a1                              
   47922:	223c 0004 7c84 	movel #294020,%d1                           
  the_watchdog->id        = id;                                       
   47928:	2342 0030      	movel %d2,%a1@(48)                          
          _Rate_monotonic_Timeout,                                    
          id,                                                         
          NULL                                                        
        );                                                            
                                                                      
        the_period->next_length = length;                             
   4792c:	242e 000c      	movel %fp@(12),%d2                          
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
   47930:	2341 002c      	movel %d1,%a1@(44)                          
        /*                                                            
         *  Baseline statistics information for the beginning of a period.
         */                                                           
        _Rate_monotonic_Initiate_statistics( the_period );            
                                                                      
        the_period->state = RATE_MONOTONIC_ACTIVE;                    
   47934:	7202           	moveq #2,%d1                                
          _Rate_monotonic_Timeout,                                    
          id,                                                         
          NULL                                                        
        );                                                            
                                                                      
        the_period->next_length = length;                             
   47936:	2342 003c      	movel %d2,%a1@(60)                          
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
   4793a:	2342 001c      	movel %d2,%a1@(28)                          
        /*                                                            
         *  Baseline statistics information for the beginning of a period.
         */                                                           
        _Rate_monotonic_Initiate_statistics( the_period );            
                                                                      
        the_period->state = RATE_MONOTONIC_ACTIVE;                    
   4793e:	2341 0038      	movel %d1,%a1@(56)                          
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
   47942:	42a9 0018      	clrl %a1@(24)                               
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
   47946:	42a9 0034      	clrl %a1@(52)                               
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
   4794a:	4869 0010      	pea %a1@(16)                                
   4794e:	4879 0006 2e32 	pea 62e32 <_Watchdog_Ticks_chain>           
   47954:	4eb9 0004 b880 	jsr 4b880 <_Watchdog_Insert>                
        );                                                            
                                                                      
        the_period->next_length = length;                             
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, length );         
        _Thread_Enable_dispatch();                                    
   4795a:	4eb9 0004 a8c6 	jsr 4a8c6 <_Thread_Enable_dispatch>         
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   47960:	242e fff0      	movel %fp@(-16),%d2                         
   47964:	2003           	movel %d3,%d0                               
                                                                      
        the_period->next_length = length;                             
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, length );         
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
   47966:	4fef 000c      	lea %sp@(12),%sp                            
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   4796a:	262e fff4      	movel %fp@(-12),%d3                         
   4796e:	4e5e           	unlk %fp                                    
   47970:	4e75           	rts                                         
                                                                      
      if ( the_period->state == RATE_MONOTONIC_ACTIVE ) {             
        /*                                                            
         *  Update statistics from the concluding period.             
         */                                                           
        _Rate_monotonic_Update_statistics( the_period );              
   47972:	2f00           	movel %d0,%sp@-                             
   47974:	2d40 fff8      	movel %d0,%fp@(-8)                          
   47978:	4eb9 0004 76e6 	jsr 476e6 <_Rate_monotonic_Update_statistics>
        /*                                                            
         *  This tells the _Rate_monotonic_Timeout that this task is  
         *  in the process of blocking on the period and that we      
         *  may be changing the length of the next period.            
         */                                                           
        the_period->state = RATE_MONOTONIC_OWNER_IS_BLOCKING;         
   4797e:	202e fff8      	movel %fp@(-8),%d0                          
   47982:	7201           	moveq #1,%d1                                
   47984:	2040           	moveal %d0,%a0                              
        the_period->next_length = length;                             
   47986:	226e 000c      	moveal %fp@(12),%a1                         
        /*                                                            
         *  This tells the _Rate_monotonic_Timeout that this task is  
         *  in the process of blocking on the period and that we      
         *  may be changing the length of the next period.            
         */                                                           
        the_period->state = RATE_MONOTONIC_OWNER_IS_BLOCKING;         
   4798a:	2141 0038      	movel %d1,%a0@(56)                          
        the_period->next_length = length;                             
   4798e:	2149 003c      	movel %a1,%a0@(60)                          
                                                                      
        _ISR_Enable( level );                                         
   47992:	46c3           	movew %d3,%sr                               
                                                                      
        _Thread_Executing->Wait.id = the_period->Object.id;           
   47994:	2079 0006 31dc 	moveal 631dc <_Per_CPU_Information+0xc>,%a0 
   4799a:	2240           	moveal %d0,%a1                              
   4799c:	5089           	addql #8,%a1                                
   4799e:	2151 0020      	movel %a1@,%a0@(32)                         
        _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
   479a2:	4878 4000      	pea 4000 <D_MAX_EXP+0x3801>                 
   479a6:	2d40 fff8      	movel %d0,%fp@(-8)                          
   479aa:	2f08           	movel %a0,%sp@-                             
   479ac:	4eb9 0004 b1e0 	jsr 4b1e0 <_Thread_Set_state>               
                                                                      
        /*                                                            
         *  Did the watchdog timer expire while we were actually blocking
         *  on it?                                                    
         */                                                           
        _ISR_Disable( level );                                        
   479b2:	223c 0000 0700 	movel #1792,%d1                             
   479b8:	40c2           	movew %sr,%d2                               
   479ba:	8282           	orl %d2,%d1                                 
   479bc:	46c1           	movew %d1,%sr                               
          local_state = the_period->state;                            
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
   479be:	7602           	moveq #2,%d3                                
        /*                                                            
         *  Did the watchdog timer expire while we were actually blocking
         *  on it?                                                    
         */                                                           
        _ISR_Disable( level );                                        
          local_state = the_period->state;                            
   479c0:	202e fff8      	movel %fp@(-8),%d0                          
   479c4:	2040           	moveal %d0,%a0                              
   479c6:	2228 0038      	movel %a0@(56),%d1                          
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
   479ca:	2143 0038      	movel %d3,%a0@(56)                          
        _ISR_Enable( level );                                         
   479ce:	46c2           	movew %d2,%sr                               
                                                                      
        /*                                                            
         *  If it did, then we want to unblock ourself and continue as
         *  if nothing happen.  The period was reset in the timeout routine.
         */                                                           
        if ( local_state == RATE_MONOTONIC_EXPIRED_WHILE_BLOCKING )   
   479d0:	7003           	moveq #3,%d0                                
   479d2:	4fef 000c      	lea %sp@(12),%sp                            
   479d6:	b081           	cmpl %d1,%d0                                
   479d8:	6716           	beqs 479f0 <rtems_rate_monotonic_period+0x1f0>
          _Thread_Clear_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
                                                                      
        _Thread_Enable_dispatch();                                    
   479da:	4eb9 0004 a8c6 	jsr 4a8c6 <_Thread_Enable_dispatch>         
        return RTEMS_SUCCESSFUL;                                      
   479e0:	4283           	clrl %d3                                    
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   479e2:	2003           	movel %d3,%d0                               
   479e4:	242e fff0      	movel %fp@(-16),%d2                         
   479e8:	262e fff4      	movel %fp@(-12),%d3                         
   479ec:	4e5e           	unlk %fp                                    
   479ee:	4e75           	rts                                         
        /*                                                            
         *  If it did, then we want to unblock ourself and continue as
         *  if nothing happen.  The period was reset in the timeout routine.
         */                                                           
        if ( local_state == RATE_MONOTONIC_EXPIRED_WHILE_BLOCKING )   
          _Thread_Clear_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
   479f0:	4878 4000      	pea 4000 <D_MAX_EXP+0x3801>                 
                                                                      
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
   479f4:	4283           	clrl %d3                                    
        /*                                                            
         *  If it did, then we want to unblock ourself and continue as
         *  if nothing happen.  The period was reset in the timeout routine.
         */                                                           
        if ( local_state == RATE_MONOTONIC_EXPIRED_WHILE_BLOCKING )   
          _Thread_Clear_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
   479f6:	2f39 0006 31dc 	movel 631dc <_Per_CPU_Information+0xc>,%sp@-
   479fc:	4eb9 0004 a4f8 	jsr 4a4f8 <_Thread_Clear_state>             
   47a02:	508f           	addql #8,%sp                                
                                                                      
        _Thread_Enable_dispatch();                                    
   47a04:	4eb9 0004 a8c6 	jsr 4a8c6 <_Thread_Enable_dispatch>         
   47a0a:	60d6           	bras 479e2 <rtems_rate_monotonic_period+0x1e2>
                                                                      

00047a0c <rtems_rate_monotonic_report_statistics_with_plugin>: */ void rtems_rate_monotonic_report_statistics_with_plugin( void *context, rtems_printk_plugin_t print ) {
   47a0c:	4e56 ff78      	linkw %fp,#-136                             
   47a10:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
   47a14:	262e 0008      	movel %fp@(8),%d3                           
   47a18:	246e 000c      	moveal %fp@(12),%a2                         
  rtems_id                               id;                          
  rtems_rate_monotonic_period_statistics the_stats;                   
  rtems_rate_monotonic_period_status     the_status;                  
  char                                   name[5];                     
                                                                      
  if ( !print )                                                       
   47a1c:	4a8a           	tstl %a2                                    
   47a1e:	6700 0082      	beqw 47aa2 <rtems_rate_monotonic_report_statistics_with_plugin+0x96>
    return;                                                           
                                                                      
  (*print)( context, "Period information by period\n" );              
   47a22:	4879 0006 02ea 	pea 602ea <CSWTCH.2+0x14>                   
   47a28:	2f03           	movel %d3,%sp@-                             
   47a2a:	4e92           	jsr %a2@                                    
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    (*print)( context, "--- CPU times are in seconds ---\n" );        
   47a2c:	4879 0006 0308 	pea 60308 <CSWTCH.2+0x32>                   
   47a32:	2f03           	movel %d3,%sp@-                             
   47a34:	4e92           	jsr %a2@                                    
    (*print)( context, "--- Wall times are in seconds ---\n" );       
   47a36:	4879 0006 032a 	pea 6032a <CSWTCH.2+0x54>                   
   47a3c:	2f03           	movel %d3,%sp@-                             
   47a3e:	4e92           	jsr %a2@                                    
  Be sure to test the various cases.                                  
  (*print)( context,"\                                                
1234567890123456789012345678901234567890123456789012345678901234567890123456789\
\n");                                                                 
*/                                                                    
  (*print)( context, "   ID     OWNER COUNT MISSED     "              
   47a40:	4879 0006 034d 	pea 6034d <CSWTCH.2+0x77>                   
   47a46:	2f03           	movel %d3,%sp@-                             
   47a48:	4e92           	jsr %a2@                                    
       #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                     
          "          "                                                
       #endif                                                         
          "   WALL TIME\n"                                            
  );                                                                  
  (*print)( context, "                               "                
   47a4a:	4fef 001c      	lea %sp@(28),%sp                            
   47a4e:	2ebc 0006 0398 	movel #394136,%sp@                          
   47a54:	2f03           	movel %d3,%sp@-                             
   47a56:	4e92           	jsr %a2@                                    
                                                                      
  /*                                                                  
   * 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 ;                   
   47a58:	2439 0006 2c82 	movel 62c82 <_Rate_monotonic_Information+0x6>,%d2
   47a5e:	508f           	addql #8,%sp                                
   47a60:	b4b9 0006 2c86 	cmpl 62c86 <_Rate_monotonic_Information+0xa>,%d2
   47a66:	623a           	bhis 47aa2 <rtems_rate_monotonic_report_statistics_with_plugin+0x96><== NEVER TAKEN
   47a68:	280e           	movel %fp,%d4                               
        continue;                                                     
    #else                                                             
      (void) rtems_rate_monotonic_get_status( id, &the_status );      
    #endif                                                            
                                                                      
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
   47a6a:	2a0e           	movel %fp,%d5                               
   47a6c:	0684 ffff ffa2 	addil #-94,%d4                              
   47a72:	47f9 0004 e03c 	lea 4e03c <rtems_rate_monotonic_get_statistics>,%a3
    #if defined(RTEMS_DEBUG)                                          
      status = rtems_rate_monotonic_get_status( id, &the_status );    
      if ( status != RTEMS_SUCCESSFUL )                               
        continue;                                                     
    #else                                                             
      (void) rtems_rate_monotonic_get_status( id, &the_status );      
   47a78:	4bf9 0004 e0fc 	lea 4e0fc <rtems_rate_monotonic_get_status>,%a5
    #endif                                                            
                                                                      
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
   47a7e:	5b85           	subql #5,%d5                                
   47a80:	49f9 0004 7d64 	lea 47d64 <rtems_object_get_name>,%a4       
      struct timespec  cpu_average;                                   
      struct timespec *min_cpu = &the_stats.min_cpu_time;             
      struct timespec *max_cpu = &the_stats.max_cpu_time;             
      struct timespec *total_cpu = &the_stats.total_cpu_time;         
                                                                      
      _Timespec_Divide_by_integer( total_cpu, the_stats.count, &cpu_average );
   47a86:	2e3c 0004 b480 	movel #308352,%d7                           
   * 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 );   
   47a8c:	2f04           	movel %d4,%sp@-                             
   47a8e:	2f02           	movel %d2,%sp@-                             
   47a90:	4e93           	jsr %a3@                                    
    if ( status != RTEMS_SUCCESSFUL )                                 
   47a92:	508f           	addql #8,%sp                                
   47a94:	4a80           	tstl %d0                                    
   47a96:	6714           	beqs 47aac <rtems_rate_monotonic_report_statistics_with_plugin+0xa0>
   * 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++ ) {                                                      
   47a98:	5282           	addql #1,%d2                                
                                                                      
  /*                                                                  
   * 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 ;                   
   47a9a:	b4b9 0006 2c86 	cmpl 62c86 <_Rate_monotonic_Information+0xa>,%d2
   47aa0:	63ea           	blss 47a8c <rtems_rate_monotonic_report_statistics_with_plugin+0x80>
        the_stats.min_wall_time, the_stats.max_wall_time, ival_wall, fval_wall
      );                                                              
    #endif                                                            
    }                                                                 
  }                                                                   
}                                                                     
   47aa2:	4cee 3cfc ff78 	moveml %fp@(-136),%d2-%d7/%a2-%a5           
   47aa8:	4e5e           	unlk %fp                                    
   47aaa:	4e75           	rts                                         
    #if defined(RTEMS_DEBUG)                                          
      status = rtems_rate_monotonic_get_status( id, &the_status );    
      if ( status != RTEMS_SUCCESSFUL )                               
        continue;                                                     
    #else                                                             
      (void) rtems_rate_monotonic_get_status( id, &the_status );      
   47aac:	486e ffda      	pea %fp@(-38)                               
   47ab0:	2f02           	movel %d2,%sp@-                             
   47ab2:	4e95           	jsr %a5@                                    
    #endif                                                            
                                                                      
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
   47ab4:	2f05           	movel %d5,%sp@-                             
   47ab6:	4878 0005      	pea 5 <COMPARE>                             
   47aba:	2f2e ffda      	movel %fp@(-38),%sp@-                       
   47abe:	4e94           	jsr %a4@                                    
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
   47ac0:	2f2e ffa6      	movel %fp@(-90),%sp@-                       
   47ac4:	2f2e ffa2      	movel %fp@(-94),%sp@-                       
   47ac8:	2f05           	movel %d5,%sp@-                             
   47aca:	2f02           	movel %d2,%sp@-                             
   47acc:	4879 0006 03e4 	pea 603e4 <CSWTCH.2+0x10e>                  
   47ad2:	2f03           	movel %d3,%sp@-                             
   47ad4:	4e92           	jsr %a2@                                    
    );                                                                
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
   47ad6:	202e ffa2      	movel %fp@(-94),%d0                         
   47ada:	4fef 002c      	lea %sp@(44),%sp                            
   47ade:	6618           	bnes 47af8 <rtems_rate_monotonic_report_statistics_with_plugin+0xec>
      (*print)( context, "\n" );                                      
   47ae0:	4879 0005 f9a6 	pea 5f9a6 <rtems_filesystem_mount_table_size+0x542>
   * 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++ ) {                                                      
   47ae6:	5282           	addql #1,%d2                                
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
      (*print)( context, "\n" );                                      
   47ae8:	2f03           	movel %d3,%sp@-                             
   47aea:	4e92           	jsr %a2@                                    
      continue;                                                       
   47aec:	508f           	addql #8,%sp                                
                                                                      
  /*                                                                  
   * 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 ;                   
   47aee:	b4b9 0006 2c86 	cmpl 62c86 <_Rate_monotonic_Information+0xa>,%d2
   47af4:	6396           	blss 47a8c <rtems_rate_monotonic_report_statistics_with_plugin+0x80><== ALWAYS TAKEN
   47af6:	60aa           	bras 47aa2 <rtems_rate_monotonic_report_statistics_with_plugin+0x96><== NOT EXECUTED
      struct timespec  cpu_average;                                   
      struct timespec *min_cpu = &the_stats.min_cpu_time;             
      struct timespec *max_cpu = &the_stats.max_cpu_time;             
      struct timespec *total_cpu = &the_stats.total_cpu_time;         
                                                                      
      _Timespec_Divide_by_integer( total_cpu, the_stats.count, &cpu_average );
   47af8:	486e fff2      	pea %fp@(-14)                               
   47afc:	2047           	moveal %d7,%a0                              
   * 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++ ) {                                                      
   47afe:	5282           	addql #1,%d2                                
      struct timespec  cpu_average;                                   
      struct timespec *min_cpu = &the_stats.min_cpu_time;             
      struct timespec *max_cpu = &the_stats.max_cpu_time;             
      struct timespec *total_cpu = &the_stats.total_cpu_time;         
                                                                      
      _Timespec_Divide_by_integer( total_cpu, the_stats.count, &cpu_average );
   47b00:	2f00           	movel %d0,%sp@-                             
   47b02:	486e ffba      	pea %fp@(-70)                               
   47b06:	4e90           	jsr %a0@                                    
      (*print)( context,                                              
   47b08:	202e fff6      	movel %fp@(-10),%d0                         
   47b0c:	223c 0000 03e8 	movel #1000,%d1                             
   47b12:	4c41 0800      	remsl %d1,%d0,%d0                           
   47b16:	2c2e ffb6      	movel %fp@(-74),%d6                         
   47b1a:	2f00           	movel %d0,%sp@-                             
   47b1c:	2001           	movel %d1,%d0                               
   47b1e:	2f2e fff2      	movel %fp@(-14),%sp@-                       
   47b22:	4c40 6806      	remsl %d0,%d6,%d6                           
   47b26:	202e ffae      	movel %fp@(-82),%d0                         
   47b2a:	2246           	moveal %d6,%a1                              
   47b2c:	223c 0000 03e8 	movel #1000,%d1                             
   47b32:	2f09           	movel %a1,%sp@-                             
   47b34:	2f2e ffb2      	movel %fp@(-78),%sp@-                       
   47b38:	4c41 0800      	remsl %d1,%d0,%d0                           
      struct timespec *min_wall = &the_stats.min_wall_time;           
      struct timespec *max_wall = &the_stats.max_wall_time;           
      struct timespec *total_wall = &the_stats.total_wall_time;       
                                                                      
      _Timespec_Divide_by_integer(total_wall, the_stats.count, &wall_average);
      (*print)( context,                                              
   47b3c:	2c3c 0000 03e8 	movel #1000,%d6                             
      struct timespec *min_cpu = &the_stats.min_cpu_time;             
      struct timespec *max_cpu = &the_stats.max_cpu_time;             
      struct timespec *total_cpu = &the_stats.total_cpu_time;         
                                                                      
      _Timespec_Divide_by_integer( total_cpu, the_stats.count, &cpu_average );
      (*print)( context,                                              
   47b42:	2f00           	movel %d0,%sp@-                             
   47b44:	2f2e ffaa      	movel %fp@(-86),%sp@-                       
   47b48:	4879 0006 03fb 	pea 603fb <CSWTCH.2+0x125>                  
   47b4e:	2f03           	movel %d3,%sp@-                             
   47b50:	4e92           	jsr %a2@                                    
      struct timespec  wall_average;                                  
      struct timespec *min_wall = &the_stats.min_wall_time;           
      struct timespec *max_wall = &the_stats.max_wall_time;           
      struct timespec *total_wall = &the_stats.total_wall_time;       
                                                                      
      _Timespec_Divide_by_integer(total_wall, the_stats.count, &wall_average);
   47b52:	4fef 002c      	lea %sp@(44),%sp                            
   47b56:	2047           	moveal %d7,%a0                              
   47b58:	486e fff2      	pea %fp@(-14)                               
   47b5c:	2f2e ffa2      	movel %fp@(-94),%sp@-                       
   47b60:	486e ffd2      	pea %fp@(-46)                               
   47b64:	4e90           	jsr %a0@                                    
      (*print)( context,                                              
   47b66:	202e fff6      	movel %fp@(-10),%d0                         
   47b6a:	4c46 0800      	remsl %d6,%d0,%d0                           
   47b6e:	222e ffce      	movel %fp@(-50),%d1                         
   47b72:	2f00           	movel %d0,%sp@-                             
   47b74:	2f2e fff2      	movel %fp@(-14),%sp@-                       
   47b78:	4c46 1801      	remsl %d6,%d1,%d1                           
   47b7c:	202e ffc6      	movel %fp@(-58),%d0                         
   47b80:	2241           	moveal %d1,%a1                              
   47b82:	2f09           	movel %a1,%sp@-                             
   47b84:	2f2e ffca      	movel %fp@(-54),%sp@-                       
   47b88:	4c46 0800      	remsl %d6,%d0,%d0                           
   47b8c:	2f00           	movel %d0,%sp@-                             
   47b8e:	2f2e ffc2      	movel %fp@(-62),%sp@-                       
   47b92:	4879 0006 041a 	pea 6041a <CSWTCH.2+0x144>                  
   47b98:	2f03           	movel %d3,%sp@-                             
   47b9a:	4e92           	jsr %a2@                                    
   47b9c:	4fef 002c      	lea %sp@(44),%sp                            
                                                                      
  /*                                                                  
   * 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 ;                   
   47ba0:	b4b9 0006 2c86 	cmpl 62c86 <_Rate_monotonic_Information+0xa>,%d2
   47ba6:	6300 fee4      	blsw 47a8c <rtems_rate_monotonic_report_statistics_with_plugin+0x80>
   47baa:	6000 fef6      	braw 47aa2 <rtems_rate_monotonic_report_statistics_with_plugin+0x96><== NOT EXECUTED
                                                                      

00047bc8 <rtems_rate_monotonic_reset_all_statistics>: /* * rtems_rate_monotonic_reset_all_statistics */ void rtems_rate_monotonic_reset_all_statistics( void ) {
   47bc8:	4e56 0000      	linkw %fp,#0                                
   47bcc:	2039 0006 2d72 	movel 62d72 <_Thread_Dispatch_disable_level>,%d0
   47bd2:	5280           	addql #1,%d0                                
   47bd4:	2f0a           	movel %a2,%sp@-                             
   47bd6:	23c0 0006 2d72 	movel %d0,62d72 <_Thread_Dispatch_disable_level>
   47bdc:	2f02           	movel %d2,%sp@-                             
                                                                      
    /*                                                                
     * 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 ;                 
   47bde:	2439 0006 2c82 	movel 62c82 <_Rate_monotonic_Information+0x6>,%d2
   47be4:	b4b9 0006 2c86 	cmpl 62c86 <_Rate_monotonic_Information+0xa>,%d2
   47bea:	6216           	bhis 47c02 <rtems_rate_monotonic_reset_all_statistics+0x3a><== NEVER TAKEN
   47bec:	45f9 0004 7c14 	lea 47c14 <rtems_rate_monotonic_reset_statistics>,%a2
          id <= _Rate_monotonic_Information.maximum_id ;              
          id++ ) {                                                    
      (void) rtems_rate_monotonic_reset_statistics( id );             
   47bf2:	2f02           	movel %d2,%sp@-                             
     * 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++ ) {                                                    
   47bf4:	5282           	addql #1,%d2                                
      (void) rtems_rate_monotonic_reset_statistics( id );             
   47bf6:	4e92           	jsr %a2@                                    
                                                                      
    /*                                                                
     * 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 ;                 
   47bf8:	588f           	addql #4,%sp                                
   47bfa:	b4b9 0006 2c86 	cmpl 62c86 <_Rate_monotonic_Information+0xa>,%d2
   47c00:	63f0           	blss 47bf2 <rtems_rate_monotonic_reset_all_statistics+0x2a>
                                                                      
  /*                                                                  
   *  Done so exit thread dispatching disabled critical section.      
   */                                                                 
  _Thread_Enable_dispatch();                                          
}                                                                     
   47c02:	242e fff8      	movel %fp@(-8),%d2                          
   47c06:	246e fffc      	moveal %fp@(-4),%a2                         
   47c0a:	4e5e           	unlk %fp                                    
    }                                                                 
                                                                      
  /*                                                                  
   *  Done so exit thread dispatching disabled critical section.      
   */                                                                 
  _Thread_Enable_dispatch();                                          
   47c0c:	4ef9 0004 a8c6 	jmp 4a8c6 <_Thread_Enable_dispatch>         
	...                                                                  
                                                                      

000576a4 <rtems_region_create>: uintptr_t length, uintptr_t page_size, rtems_attribute attribute_set, rtems_id *id ) {
   576a4:	4e56 ffe4      	linkw %fp,#-28                              
   576a8:	48d7 0c7c      	moveml %d2-%d6/%a2-%a3,%sp@                 
   576ac:	262e 0008      	movel %fp@(8),%d3                           
   576b0:	242e 000c      	movel %fp@(12),%d2                          
   576b4:	2a2e 0010      	movel %fp@(16),%d5                          
   576b8:	282e 0014      	movel %fp@(20),%d4                          
   576bc:	2c2e 0018      	movel %fp@(24),%d6                          
   576c0:	266e 001c      	moveal %fp@(28),%a3                         
  rtems_status_code  return_status;                                   
  Region_Control    *the_region;                                      
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
   576c4:	4a83           	tstl %d3                                    
   576c6:	6774           	beqs 5773c <rtems_region_create+0x98>       
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !starting_address )                                            
   576c8:	4a82           	tstl %d2                                    
   576ca:	6700 00dc      	beqw 577a8 <rtems_region_create+0x104>      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !id )                                                          
   576ce:	4a8b           	tstl %a3                                    
   576d0:	6700 00d6      	beqw 577a8 <rtems_region_create+0x104>      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  _RTEMS_Lock_allocator();                      /* to prevent deletion */
   576d4:	2f39 0007 fc8c 	movel 7fc8c <_RTEMS_Allocator_Mutex>,%sp@-  
   576da:	4eb9 0005 9f84 	jsr 59f84 <_API_Mutex_Lock>                 
 *  This function allocates a region control block from               
 *  the inactive chain of free region control blocks.                 
 */                                                                   
RTEMS_INLINE_ROUTINE Region_Control *_Region_Allocate( void )         
{                                                                     
  return (Region_Control *) _Objects_Allocate( &_Region_Information );
   576e0:	4879 0007 faf6 	pea 7faf6 <_Region_Information>             
   576e6:	4eb9 0005 b7e8 	jsr 5b7e8 <_Objects_Allocate>               
                                                                      
    the_region = _Region_Allocate();                                  
                                                                      
    if ( !the_region )                                                
   576ec:	508f           	addql #8,%sp                                
   576ee:	2440           	moveal %d0,%a2                              
   576f0:	4a80           	tstl %d0                                    
   576f2:	6700 00c2      	beqw 577b6 <rtems_region_create+0x112>      
      return_status = RTEMS_TOO_MANY;                                 
                                                                      
    else {                                                            
                                                                      
      the_region->maximum_segment_size = _Heap_Initialize(            
   576f6:	2f04           	movel %d4,%sp@-                             
   576f8:	2f05           	movel %d5,%sp@-                             
   576fa:	2f02           	movel %d2,%sp@-                             
   576fc:	486a 0068      	pea %a2@(104)                               
   57700:	4eb9 0005 b372 	jsr 5b372 <_Heap_Initialize>                
        &the_region->Memory, starting_address, length, page_size      
      );                                                              
                                                                      
      if ( !the_region->maximum_segment_size ) {                      
   57706:	4fef 0010      	lea %sp@(16),%sp                            
    if ( !the_region )                                                
      return_status = RTEMS_TOO_MANY;                                 
                                                                      
    else {                                                            
                                                                      
      the_region->maximum_segment_size = _Heap_Initialize(            
   5770a:	2540 005c      	movel %d0,%a2@(92)                          
        &the_region->Memory, starting_address, length, page_size      
      );                                                              
                                                                      
      if ( !the_region->maximum_segment_size ) {                      
   5770e:	663a           	bnes 5774a <rtems_region_create+0xa6>       
 */                                                                   
RTEMS_INLINE_ROUTINE void _Region_Free (                              
  Region_Control *the_region                                          
)                                                                     
{                                                                     
  _Objects_Free( &_Region_Information, &the_region->Object );         
   57710:	2f0a           	movel %a2,%sp@-                             
   57712:	4879 0007 faf6 	pea 7faf6 <_Region_Information>             
        _Region_Free( the_region );                                   
        return_status = RTEMS_INVALID_SIZE;                           
   57718:	7408           	moveq #8,%d2                                
   5771a:	4eb9 0005 bb34 	jsr 5bb34 <_Objects_Free>                   
   57720:	508f           	addql #8,%sp                                
        *id = the_region->Object.id;                                  
        return_status = RTEMS_SUCCESSFUL;                             
      }                                                               
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
   57722:	2f39 0007 fc8c 	movel 7fc8c <_RTEMS_Allocator_Mutex>,%sp@-  
   57728:	4eb9 0005 9fe4 	jsr 59fe4 <_API_Mutex_Unlock>               
  return return_status;                                               
   5772e:	588f           	addql #4,%sp                                
}                                                                     
   57730:	2002           	movel %d2,%d0                               
   57732:	4cee 0c7c ffe4 	moveml %fp@(-28),%d2-%d6/%a2-%a3            
   57738:	4e5e           	unlk %fp                                    
   5773a:	4e75           	rts                                         
{                                                                     
  rtems_status_code  return_status;                                   
  Region_Control    *the_region;                                      
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
   5773c:	7403           	moveq #3,%d2                                
      }                                                               
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return return_status;                                               
}                                                                     
   5773e:	2002           	movel %d2,%d0                               
   57740:	4cee 0c7c ffe4 	moveml %fp@(-28),%d2-%d6/%a2-%a3            
   57746:	4e5e           	unlk %fp                                    
   57748:	4e75           	rts                                         
        return_status = RTEMS_INVALID_SIZE;                           
      }                                                               
                                                                      
      else {                                                          
                                                                      
        the_region->starting_address      = starting_address;         
   5774a:	2542 0050      	movel %d2,%a2@(80)                          
          &the_region->Object,                                        
          (Objects_Name) name                                         
        );                                                            
                                                                      
        *id = the_region->Object.id;                                  
        return_status = RTEMS_SUCCESSFUL;                             
   5774e:	4282           	clrl %d2                                    
      }                                                               
                                                                      
      else {                                                          
                                                                      
        the_region->starting_address      = starting_address;         
        the_region->length                = length;                   
   57750:	2545 0054      	movel %d5,%a2@(84)                          
        the_region->page_size             = page_size;                
        the_region->attribute_set         = attribute_set;            
        the_region->number_of_used_blocks = 0;                        
                                                                      
        _Thread_queue_Initialize(                                     
   57754:	44c6           	movew %d6,%ccr                              
   57756:	57c0           	seq %d0                                     
                                                                      
      else {                                                          
                                                                      
        the_region->starting_address      = starting_address;         
        the_region->length                = length;                   
        the_region->page_size             = page_size;                
   57758:	2544 0058      	movel %d4,%a2@(88)                          
        the_region->attribute_set         = attribute_set;            
        the_region->number_of_used_blocks = 0;                        
                                                                      
        _Thread_queue_Initialize(                                     
   5775c:	49c0           	extbl %d0                                   
   5775e:	4480           	negl %d0                                    
      else {                                                          
                                                                      
        the_region->starting_address      = starting_address;         
        the_region->length                = length;                   
        the_region->page_size             = page_size;                
        the_region->attribute_set         = attribute_set;            
   57760:	2546 0060      	movel %d6,%a2@(96)                          
        the_region->number_of_used_blocks = 0;                        
   57764:	42aa 0064      	clrl %a2@(100)                              
                                                                      
        _Thread_queue_Initialize(                                     
   57768:	4878 0006      	pea 6 <EXTENDSFDF>                          
   5776c:	4878 0040      	pea 40 <DBL_MANT_DIG+0xb>                   
   57770:	2f00           	movel %d0,%sp@-                             
   57772:	486a 0010      	pea %a2@(16)                                
   57776:	4eb9 0005 d18c 	jsr 5d18c <_Thread_queue_Initialize>        
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
   5777c:	202a 0008      	movel %a2@(8),%d0                           
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
   57780:	4281           	clrl %d1                                    
          &_Region_Information,                                       
          &the_region->Object,                                        
          (Objects_Name) name                                         
        );                                                            
                                                                      
        *id = the_region->Object.id;                                  
   57782:	4fef 0010      	lea %sp@(16),%sp                            
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
   57786:	2079 0007 fb0e 	moveal 7fb0e <_Region_Information+0x18>,%a0 
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
   5778c:	3200           	movew %d0,%d1                               
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
   5778e:	218a 1c00      	movel %a2,%a0@(00000000,%d1:l:4)            
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
   57792:	2543 000c      	movel %d3,%a2@(12)                          
   57796:	2680           	movel %d0,%a3@                              
        return_status = RTEMS_SUCCESSFUL;                             
      }                                                               
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
   57798:	2f39 0007 fc8c 	movel 7fc8c <_RTEMS_Allocator_Mutex>,%sp@-  
   5779e:	4eb9 0005 9fe4 	jsr 59fe4 <_API_Mutex_Unlock>               
  return return_status;                                               
   577a4:	588f           	addql #4,%sp                                
   577a6:	6088           	bras 57730 <rtems_region_create+0x8c>       
                                                                      
  if ( !starting_address )                                            
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !id )                                                          
    return RTEMS_INVALID_ADDRESS;                                     
   577a8:	7409           	moveq #9,%d2                                
      }                                                               
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return return_status;                                               
}                                                                     
   577aa:	2002           	movel %d2,%d0                               
   577ac:	4cee 0c7c ffe4 	moveml %fp@(-28),%d2-%d6/%a2-%a3            
   577b2:	4e5e           	unlk %fp                                    
   577b4:	4e75           	rts                                         
        *id = the_region->Object.id;                                  
        return_status = RTEMS_SUCCESSFUL;                             
      }                                                               
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
   577b6:	2f39 0007 fc8c 	movel 7fc8c <_RTEMS_Allocator_Mutex>,%sp@-  
  _RTEMS_Lock_allocator();                      /* to prevent deletion */
                                                                      
    the_region = _Region_Allocate();                                  
                                                                      
    if ( !the_region )                                                
      return_status = RTEMS_TOO_MANY;                                 
   577bc:	7405           	moveq #5,%d2                                
        *id = the_region->Object.id;                                  
        return_status = RTEMS_SUCCESSFUL;                             
      }                                                               
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
   577be:	4eb9 0005 9fe4 	jsr 59fe4 <_API_Mutex_Unlock>               
  return return_status;                                               
   577c4:	588f           	addql #4,%sp                                
   577c6:	6000 ff68      	braw 57730 <rtems_region_create+0x8c>       
	...                                                                  
                                                                      

0005787c <rtems_region_extend>: rtems_status_code rtems_region_extend( rtems_id id, void *starting_address, uintptr_t length ) {
   5787c:	4e56 fff8      	linkw %fp,#-8                               
   57880:	2f0a           	movel %a2,%sp@-                             
   57882:	2f02           	movel %d2,%sp@-                             
   57884:	242e 000c      	movel %fp@(12),%d2                          
  bool                extend_ok;                                      
  Objects_Locations   location;                                       
  rtems_status_code   return_status;                                  
  Region_Control     *the_region;                                     
                                                                      
  if ( !starting_address )                                            
   57888:	6700 0086      	beqw 57910 <rtems_region_extend+0x94>       
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  _RTEMS_Lock_allocator();                      /* to prevent deletion */
   5788c:	2f39 0007 fc8c 	movel 7fc8c <_RTEMS_Allocator_Mutex>,%sp@-  
   57892:	4eb9 0005 9f84 	jsr 59f84 <_API_Mutex_Lock>                 
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Region_Control *)                                           
    _Objects_Get_no_protection( &_Region_Information, id, location ); 
   57898:	486e fff8      	pea %fp@(-8)                                
   5789c:	2f2e 0008      	movel %fp@(8),%sp@-                         
   578a0:	4879 0007 faf6 	pea 7faf6 <_Region_Information>             
   578a6:	4eb9 0005 bca0 	jsr 5bca0 <_Objects_Get_no_protection>      
                                                                      
    the_region = _Region_Get( id, &location );                        
    switch ( location ) {                                             
   578ac:	4fef 0010      	lea %sp@(16),%sp                            
   578b0:	2440           	moveal %d0,%a2                              
   578b2:	4aae fff8      	tstl %fp@(-8)                               
   578b6:	6646           	bnes 578fe <rtems_region_extend+0x82>       
                                                                      
      case OBJECTS_LOCAL:                                             
                                                                      
        extend_ok = _Heap_Extend(                                     
   578b8:	486e fffc      	pea %fp@(-4)                                
   578bc:	2f2e 0010      	movel %fp@(16),%sp@-                        
   578c0:	2f02           	movel %d2,%sp@-                             
   578c2:	486a 0068      	pea %a2@(104)                               
   578c6:	4eb9 0005 ad70 	jsr 5ad70 <_Heap_Extend>                    
          starting_address,                                           
          length,                                                     
          &amount_extended                                            
        );                                                            
                                                                      
        if ( extend_ok ) {                                            
   578cc:	4fef 0010      	lea %sp@(16),%sp                            
   578d0:	4a00           	tstb %d0                                    
   578d2:	674c           	beqs 57920 <rtems_region_extend+0xa4>       
          the_region->length                += amount_extended;       
   578d4:	202e fffc      	movel %fp@(-4),%d0                          
   578d8:	d1aa 0054      	addl %d0,%a2@(84)                           
          the_region->maximum_segment_size  += amount_extended;       
          return_status = RTEMS_SUCCESSFUL;                           
   578dc:	4282           	clrl %d2                                    
          &amount_extended                                            
        );                                                            
                                                                      
        if ( extend_ok ) {                                            
          the_region->length                += amount_extended;       
          the_region->maximum_segment_size  += amount_extended;       
   578de:	d1aa 005c      	addl %d0,%a2@(92)                           
      default:                                                        
        return_status = RTEMS_INVALID_ID;                             
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
   578e2:	2f39 0007 fc8c 	movel 7fc8c <_RTEMS_Allocator_Mutex>,%sp@-  
   578e8:	4eb9 0005 9fe4 	jsr 59fe4 <_API_Mutex_Unlock>               
  return return_status;                                               
   578ee:	588f           	addql #4,%sp                                
}                                                                     
   578f0:	2002           	movel %d2,%d0                               
   578f2:	242e fff0      	movel %fp@(-16),%d2                         
   578f6:	246e fff4      	moveal %fp@(-12),%a2                        
   578fa:	4e5e           	unlk %fp                                    
   578fc:	4e75           	rts                                         
      default:                                                        
        return_status = RTEMS_INVALID_ID;                             
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
   578fe:	2f39 0007 fc8c 	movel 7fc8c <_RTEMS_Allocator_Mutex>,%sp@-  
        break;                                                        
#endif                                                                
                                                                      
      case OBJECTS_ERROR:                                             
      default:                                                        
        return_status = RTEMS_INVALID_ID;                             
   57904:	7404           	moveq #4,%d2                                
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
   57906:	4eb9 0005 9fe4 	jsr 59fe4 <_API_Mutex_Unlock>               
  return return_status;                                               
   5790c:	588f           	addql #4,%sp                                
   5790e:	60e0           	bras 578f0 <rtems_region_extend+0x74>       
  Objects_Locations   location;                                       
  rtems_status_code   return_status;                                  
  Region_Control     *the_region;                                     
                                                                      
  if ( !starting_address )                                            
    return RTEMS_INVALID_ADDRESS;                                     
   57910:	7409           	moveq #9,%d2                                
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return return_status;                                               
}                                                                     
   57912:	2002           	movel %d2,%d0                               
   57914:	242e fff0      	movel %fp@(-16),%d2                         
   57918:	246e fff4      	moveal %fp@(-12),%a2                        
   5791c:	4e5e           	unlk %fp                                    
   5791e:	4e75           	rts                                         
      default:                                                        
        return_status = RTEMS_INVALID_ID;                             
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
   57920:	2f39 0007 fc8c 	movel 7fc8c <_RTEMS_Allocator_Mutex>,%sp@-  
        if ( extend_ok ) {                                            
          the_region->length                += amount_extended;       
          the_region->maximum_segment_size  += amount_extended;       
          return_status = RTEMS_SUCCESSFUL;                           
        } else {                                                      
          return_status = RTEMS_INVALID_ADDRESS;                      
   57926:	7409           	moveq #9,%d2                                
      default:                                                        
        return_status = RTEMS_INVALID_ID;                             
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
   57928:	4eb9 0005 9fe4 	jsr 59fe4 <_API_Mutex_Unlock>               
  return return_status;                                               
   5792e:	588f           	addql #4,%sp                                
   57930:	60be           	bras 578f0 <rtems_region_extend+0x74>       
	...                                                                  
                                                                      

00057bb8 <rtems_region_get_segment_size>: rtems_status_code rtems_region_get_segment_size( rtems_id id, void *segment, uintptr_t *size ) {
   57bb8:	4e56 fffc      	linkw %fp,#-4                               
   57bbc:	2f03           	movel %d3,%sp@-                             
   57bbe:	262e 0010      	movel %fp@(16),%d3                          
   57bc2:	2f02           	movel %d2,%sp@-                             
   57bc4:	242e 000c      	movel %fp@(12),%d2                          
  Objects_Locations        location;                                  
  rtems_status_code        return_status = RTEMS_SUCCESSFUL;          
  register Region_Control *the_region;                                
                                                                      
  if ( !segment )                                                     
   57bc8:	6700 0092      	beqw 57c5c <rtems_region_get_segment_size+0xa4>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !size )                                                        
   57bcc:	4a83           	tstl %d3                                    
   57bce:	6700 008c      	beqw 57c5c <rtems_region_get_segment_size+0xa4>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  _RTEMS_Lock_allocator();                                            
   57bd2:	2f39 0007 fc8c 	movel 7fc8c <_RTEMS_Allocator_Mutex>,%sp@-  
   57bd8:	4eb9 0005 9f84 	jsr 59f84 <_API_Mutex_Lock>                 
   57bde:	486e fffc      	pea %fp@(-4)                                
   57be2:	2f2e 0008      	movel %fp@(8),%sp@-                         
   57be6:	4879 0007 faf6 	pea 7faf6 <_Region_Information>             
   57bec:	4eb9 0005 bca0 	jsr 5bca0 <_Objects_Get_no_protection>      
                                                                      
    the_region = _Region_Get( id, &location );                        
    switch ( location ) {                                             
   57bf2:	222e fffc      	movel %fp@(-4),%d1                          
   57bf6:	4fef 0010      	lea %sp@(16),%sp                            
   57bfa:	6636           	bnes 57c32 <rtems_region_get_segment_size+0x7a><== NEVER TAKEN
                                                                      
      case OBJECTS_LOCAL:                                             
        if ( !_Heap_Size_of_alloc_area( &the_region->Memory, segment, size ) )
   57bfc:	2f03           	movel %d3,%sp@-                             
   57bfe:	2040           	moveal %d0,%a0                              
   57c00:	2f02           	movel %d2,%sp@-                             
   57c02:	4868 0068      	pea %a0@(104)                               
   57c06:	4eb9 0005 b6c0 	jsr 5b6c0 <_Heap_Size_of_alloc_area>        
   57c0c:	4fef 000c      	lea %sp@(12),%sp                            
   57c10:	4a00           	tstb %d0                                    
   57c12:	6624           	bnes 57c38 <rtems_region_get_segment_size+0x80><== ALWAYS TAKEN
      case OBJECTS_ERROR:                                             
        return_status = RTEMS_INVALID_ID;                             
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
   57c14:	2f39 0007 fc8c 	movel 7fc8c <_RTEMS_Allocator_Mutex>,%sp@-  <== NOT EXECUTED
    the_region = _Region_Get( id, &location );                        
    switch ( location ) {                                             
                                                                      
      case OBJECTS_LOCAL:                                             
        if ( !_Heap_Size_of_alloc_area( &the_region->Memory, segment, size ) )
          return_status = RTEMS_INVALID_ADDRESS;                      
   57c1a:	7409           	moveq #9,%d2                                <== NOT EXECUTED
      case OBJECTS_ERROR:                                             
        return_status = RTEMS_INVALID_ID;                             
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
   57c1c:	4eb9 0005 9fe4 	jsr 59fe4 <_API_Mutex_Unlock>               <== NOT EXECUTED
  return return_status;                                               
   57c22:	588f           	addql #4,%sp                                <== NOT EXECUTED
}                                                                     
   57c24:	2002           	movel %d2,%d0                               
   57c26:	242e fff4      	movel %fp@(-12),%d2                         
   57c2a:	262e fff8      	movel %fp@(-8),%d3                          
   57c2e:	4e5e           	unlk %fp                                    
   57c30:	4e75           	rts                                         
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  _RTEMS_Lock_allocator();                                            
                                                                      
    the_region = _Region_Get( id, &location );                        
    switch ( location ) {                                             
   57c32:	7001           	moveq #1,%d0                                
   57c34:	b081           	cmpl %d1,%d0                                
   57c36:	6712           	beqs 57c4a <rtems_region_get_segment_size+0x92><== ALWAYS TAKEN
      case OBJECTS_ERROR:                                             
        return_status = RTEMS_INVALID_ID;                             
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
   57c38:	2f39 0007 fc8c 	movel 7fc8c <_RTEMS_Allocator_Mutex>,%sp@-  
  void      *segment,                                                 
  uintptr_t *size                                                     
)                                                                     
{                                                                     
  Objects_Locations        location;                                  
  rtems_status_code        return_status = RTEMS_SUCCESSFUL;          
   57c3e:	4282           	clrl %d2                                    
      case OBJECTS_ERROR:                                             
        return_status = RTEMS_INVALID_ID;                             
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
   57c40:	4eb9 0005 9fe4 	jsr 59fe4 <_API_Mutex_Unlock>               
  return return_status;                                               
   57c46:	588f           	addql #4,%sp                                
   57c48:	60da           	bras 57c24 <rtems_region_get_segment_size+0x6c>
      case OBJECTS_ERROR:                                             
        return_status = RTEMS_INVALID_ID;                             
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
   57c4a:	2f39 0007 fc8c 	movel 7fc8c <_RTEMS_Allocator_Mutex>,%sp@-  
      case OBJECTS_REMOTE:        /* this error cannot be returned */ 
        break;                                                        
#endif                                                                
                                                                      
      case OBJECTS_ERROR:                                             
        return_status = RTEMS_INVALID_ID;                             
   57c50:	7404           	moveq #4,%d2                                
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
   57c52:	4eb9 0005 9fe4 	jsr 59fe4 <_API_Mutex_Unlock>               
  return return_status;                                               
   57c58:	588f           	addql #4,%sp                                
   57c5a:	60c8           	bras 57c24 <rtems_region_get_segment_size+0x6c>
                                                                      
  if ( !segment )                                                     
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !size )                                                        
    return RTEMS_INVALID_ADDRESS;                                     
   57c5c:	7409           	moveq #9,%d2                                
        break;                                                        
    }                                                                 
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return return_status;                                               
}                                                                     
   57c5e:	2002           	movel %d2,%d0                               
   57c60:	242e fff4      	movel %fp@(-12),%d2                         
   57c64:	262e fff8      	movel %fp@(-8),%d3                          
   57c68:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00046690 <rtems_semaphore_delete>: #endif rtems_status_code rtems_semaphore_delete( rtems_id id ) {
   46690:	4e56 fffc      	linkw %fp,#-4                               
   46694:	2f0a           	movel %a2,%sp@-                             
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Semaphore_Control *)                                        
    _Objects_Get( &_Semaphore_Information, id, location );            
   46696:	486e fffc      	pea %fp@(-4)                                
   4669a:	2f2e 0008      	movel %fp@(8),%sp@-                         
   4669e:	4879 0006 0bac 	pea 60bac <_Semaphore_Information>          
   466a4:	4eb9 0004 8098 	jsr 48098 <_Objects_Get>                    
  register Semaphore_Control *the_semaphore;                          
  Objects_Locations           location;                               
                                                                      
  the_semaphore = _Semaphore_Get( id, &location );                    
  switch ( location ) {                                               
   466aa:	4fef 000c      	lea %sp@(12),%sp                            
   466ae:	2440           	moveal %d0,%a2                              
   466b0:	4aae fffc      	tstl %fp@(-4)                               
   466b4:	670a           	beqs 466c0 <rtems_semaphore_delete+0x30>    
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   466b6:	246e fff8      	moveal %fp@(-8),%a2                         
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
   466ba:	7004           	moveq #4,%d0                                
}                                                                     
   466bc:	4e5e           	unlk %fp                                    
   466be:	4e75           	rts                                         
   466c0:	7030           	moveq #48,%d0                               
   466c2:	c0aa 0010      	andl %a2@(16),%d0                           
                                                                      
  the_semaphore = _Semaphore_Get( id, &location );                    
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Attributes_Is_counting_semaphore(the_semaphore->attribute_set) ) {
   466c6:	6760           	beqs 46728 <rtems_semaphore_delete+0x98>    
        if ( _CORE_mutex_Is_locked( &the_semaphore->Core_control.mutex ) &&
   466c8:	4aaa 0062      	tstl %a2@(98)                               
   466cc:	6616           	bnes 466e4 <rtems_semaphore_delete+0x54>    
   466ce:	7220           	moveq #32,%d1                               
   466d0:	b280           	cmpl %d0,%d1                                
   466d2:	6710           	beqs 466e4 <rtems_semaphore_delete+0x54>    
             !_Attributes_Is_simple_binary_semaphore(                 
                 the_semaphore->attribute_set ) ) {                   
          _Thread_Enable_dispatch();                                  
   466d4:	4eb9 0004 8d8a 	jsr 48d8a <_Thread_Enable_dispatch>         
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   466da:	246e fff8      	moveal %fp@(-8),%a2                         
      if ( !_Attributes_Is_counting_semaphore(the_semaphore->attribute_set) ) {
        if ( _CORE_mutex_Is_locked( &the_semaphore->Core_control.mutex ) &&
             !_Attributes_Is_simple_binary_semaphore(                 
                 the_semaphore->attribute_set ) ) {                   
          _Thread_Enable_dispatch();                                  
          return RTEMS_RESOURCE_IN_USE;                               
   466de:	700c           	moveq #12,%d0                               
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   466e0:	4e5e           	unlk %fp                                    
   466e2:	4e75           	rts                                         
             !_Attributes_Is_simple_binary_semaphore(                 
                 the_semaphore->attribute_set ) ) {                   
          _Thread_Enable_dispatch();                                  
          return RTEMS_RESOURCE_IN_USE;                               
        }                                                             
        _CORE_mutex_Flush(                                            
   466e4:	4878 0004      	pea 4 <CONTEXT_ARG>                         
   466e8:	42a7           	clrl %sp@-                                  
   466ea:	486a 0014      	pea %a2@(20)                                
   466ee:	4eb9 0004 7278 	jsr 47278 <_CORE_mutex_Flush>               
   466f4:	4fef 000c      	lea %sp@(12),%sp                            
          SEMAPHORE_MP_OBJECT_WAS_DELETED,                            
          CORE_SEMAPHORE_WAS_DELETED                                  
        );                                                            
     }                                                                
                                                                      
      _Objects_Close( &_Semaphore_Information, &the_semaphore->Object );
   466f8:	2f0a           	movel %a2,%sp@-                             
   466fa:	4879 0006 0bac 	pea 60bac <_Semaphore_Information>          
   46700:	4eb9 0004 7c70 	jsr 47c70 <_Objects_Close>                  
 */                                                                   
RTEMS_INLINE_ROUTINE void _Semaphore_Free (                           
  Semaphore_Control *the_semaphore                                    
)                                                                     
{                                                                     
  _Objects_Free( &_Semaphore_Information, &the_semaphore->Object );   
   46706:	2f0a           	movel %a2,%sp@-                             
   46708:	4879 0006 0bac 	pea 60bac <_Semaphore_Information>          
   4670e:	4eb9 0004 7f2c 	jsr 47f2c <_Objects_Free>                   
          0,                         /* Not used */                   
          0                          /* Not used */                   
        );                                                            
      }                                                               
#endif                                                                
      _Thread_Enable_dispatch();                                      
   46714:	4eb9 0004 8d8a 	jsr 48d8a <_Thread_Enable_dispatch>         
      return RTEMS_SUCCESSFUL;                                        
   4671a:	4fef 0010      	lea %sp@(16),%sp                            
   4671e:	4280           	clrl %d0                                    
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   46720:	246e fff8      	moveal %fp@(-8),%a2                         
   46724:	4e5e           	unlk %fp                                    
   46726:	4e75           	rts                                         
          &the_semaphore->Core_control.mutex,                         
          SEMAPHORE_MP_OBJECT_WAS_DELETED,                            
          CORE_MUTEX_WAS_DELETED                                      
        );                                                            
      } else {                                                        
        _CORE_semaphore_Flush(                                        
   46728:	4878 0002      	pea 2 <DOUBLE_FLOAT>                        
   4672c:	42a7           	clrl %sp@-                                  
   4672e:	486a 0014      	pea %a2@(20)                                
   46732:	4eb9 0004 75b0 	jsr 475b0 <_CORE_semaphore_Flush>           
   46738:	4fef 000c      	lea %sp@(12),%sp                            
          SEMAPHORE_MP_OBJECT_WAS_DELETED,                            
          CORE_SEMAPHORE_WAS_DELETED                                  
        );                                                            
     }                                                                
                                                                      
      _Objects_Close( &_Semaphore_Information, &the_semaphore->Object );
   4673c:	2f0a           	movel %a2,%sp@-                             
   4673e:	4879 0006 0bac 	pea 60bac <_Semaphore_Information>          
   46744:	4eb9 0004 7c70 	jsr 47c70 <_Objects_Close>                  
   4674a:	2f0a           	movel %a2,%sp@-                             
   4674c:	4879 0006 0bac 	pea 60bac <_Semaphore_Information>          
   46752:	4eb9 0004 7f2c 	jsr 47f2c <_Objects_Free>                   
          0,                         /* Not used */                   
          0                          /* Not used */                   
        );                                                            
      }                                                               
#endif                                                                
      _Thread_Enable_dispatch();                                      
   46758:	4eb9 0004 8d8a 	jsr 48d8a <_Thread_Enable_dispatch>         
      return RTEMS_SUCCESSFUL;                                        
   4675e:	4fef 0010      	lea %sp@(16),%sp                            
   46762:	4280           	clrl %d0                                    
   46764:	60ba           	bras 46720 <rtems_semaphore_delete+0x90>    
	...                                                                  
                                                                      

00050630 <rtems_semaphore_flush>: #endif rtems_status_code rtems_semaphore_flush( rtems_id id ) {
   50630:	4e56 fffc      	linkw %fp,#-4                               
   50634:	486e fffc      	pea %fp@(-4)                                
   50638:	2f2e 0008      	movel %fp@(8),%sp@-                         
   5063c:	4879 0006 4d94 	pea 64d94 <_Semaphore_Information>          
   50642:	4eb9 0004 9650 	jsr 49650 <_Objects_Get>                    
  register Semaphore_Control *the_semaphore;                          
  Objects_Locations           location;                               
                                                                      
  the_semaphore = _Semaphore_Get( id, &location );                    
  switch ( location ) {                                               
   50648:	4fef 000c      	lea %sp@(12),%sp                            
   5064c:	4aae fffc      	tstl %fp@(-4)                               
   50650:	6706           	beqs 50658 <rtems_semaphore_flush+0x28>     
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
   50652:	7004           	moveq #4,%d0                                
}                                                                     
   50654:	4e5e           	unlk %fp                                    
   50656:	4e75           	rts                                         
   50658:	7230           	moveq #48,%d1                               
   5065a:	2040           	moveal %d0,%a0                              
   5065c:	c2a8 0010      	andl %a0@(16),%d1                           
                                                                      
  the_semaphore = _Semaphore_Get( id, &location );                    
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Attributes_Is_counting_semaphore(the_semaphore->attribute_set) ) {
   50660:	6720           	beqs 50682 <rtems_semaphore_flush+0x52>     
        _CORE_mutex_Flush(                                            
   50662:	4878 0001      	pea 1 <ADD>                                 
   50666:	42a7           	clrl %sp@-                                  
   50668:	4868 0014      	pea %a0@(20)                                
   5066c:	4eb9 0004 8830 	jsr 48830 <_CORE_mutex_Flush>               
   50672:	4fef 000c      	lea %sp@(12),%sp                            
          &the_semaphore->Core_control.semaphore,                     
          SEND_OBJECT_WAS_DELETED,                                    
          CORE_SEMAPHORE_STATUS_UNSATISFIED_NOWAIT                    
        );                                                            
      }                                                               
      _Thread_Enable_dispatch();                                      
   50676:	4eb9 0004 a34a 	jsr 4a34a <_Thread_Enable_dispatch>         
      return RTEMS_SUCCESSFUL;                                        
   5067c:	4280           	clrl %d0                                    
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   5067e:	4e5e           	unlk %fp                                    
   50680:	4e75           	rts                                         
          &the_semaphore->Core_control.mutex,                         
          SEND_OBJECT_WAS_DELETED,                                    
          CORE_MUTEX_STATUS_UNSATISFIED_NOWAIT                        
        );                                                            
      } else {                                                        
        _CORE_semaphore_Flush(                                        
   50682:	4878 0001      	pea 1 <ADD>                                 
   50686:	2040           	moveal %d0,%a0                              
   50688:	42a7           	clrl %sp@-                                  
   5068a:	4868 0014      	pea %a0@(20)                                
   5068e:	4eb9 0004 8b68 	jsr 48b68 <_CORE_semaphore_Flush>           
   50694:	4fef 000c      	lea %sp@(12),%sp                            
          &the_semaphore->Core_control.semaphore,                     
          SEND_OBJECT_WAS_DELETED,                                    
          CORE_SEMAPHORE_STATUS_UNSATISFIED_NOWAIT                    
        );                                                            
      }                                                               
      _Thread_Enable_dispatch();                                      
   50698:	4eb9 0004 a34a 	jsr 4a34a <_Thread_Enable_dispatch>         
      return RTEMS_SUCCESSFUL;                                        
   5069e:	4280           	clrl %d0                                    
   506a0:	60dc           	bras 5067e <rtems_semaphore_flush+0x4e>     
	...                                                                  
                                                                      

00046768 <rtems_semaphore_obtain>: rtems_status_code rtems_semaphore_obtain( rtems_id id, rtems_option option_set, rtems_interval timeout ) {
   46768:	4e56 ffec      	linkw %fp,#-20                              
   4676c:	48d7 001c      	moveml %d2-%d4,%sp@                         
  Objects_Locations *location,                                        
  ISR_Level         *level                                            
)                                                                     
{                                                                     
  return (Semaphore_Control *)                                        
    _Objects_Get_isr_disable( &_Semaphore_Information, id, location, level );
   46770:	486e fff8      	pea %fp@(-8)                                
   46774:	486e fffc      	pea %fp@(-4)                                
   46778:	242e 0008      	movel %fp@(8),%d2                           
   4677c:	2f02           	movel %d2,%sp@-                             
   4677e:	4879 0006 0bac 	pea 60bac <_Semaphore_Information>          
   46784:	262e 000c      	movel %fp@(12),%d3                          
   46788:	282e 0010      	movel %fp@(16),%d4                          
   4678c:	4eb9 0004 8038 	jsr 48038 <_Objects_Get_isr_disable>        
  register Semaphore_Control     *the_semaphore;                      
  Objects_Locations               location;                           
  ISR_Level                       level;                              
                                                                      
  the_semaphore = _Semaphore_Get_interrupt_disable( id, &location, &level );
  switch ( location ) {                                               
   46792:	4fef 0010      	lea %sp@(16),%sp                            
   46796:	4aae fffc      	tstl %fp@(-4)                               
   4679a:	670c           	beqs 467a8 <rtems_semaphore_obtain+0x40>    
    case OBJECTS_ERROR:                                               
      break;                                                          
                                                                      
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
   4679c:	7004           	moveq #4,%d0                                
}                                                                     
   4679e:	4cee 001c ffec 	moveml %fp@(-20),%d2-%d4                    
   467a4:	4e5e           	unlk %fp                                    
   467a6:	4e75           	rts                                         
   467a8:	7230           	moveq #48,%d1                               
   467aa:	2040           	moveal %d0,%a0                              
   467ac:	c2a8 0010      	andl %a0@(16),%d1                           
                                                                      
  the_semaphore = _Semaphore_Get_interrupt_disable( id, &location, &level );
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Attributes_Is_counting_semaphore(the_semaphore->attribute_set) ) {
   467b0:	6738           	beqs 467ea <rtems_semaphore_obtain+0x82>    
        _CORE_mutex_Seize(                                            
   467b2:	2f2e fff8      	movel %fp@(-8),%sp@-                        
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Options_Is_no_wait (                       
  rtems_option option_set                                             
)                                                                     
{                                                                     
   return (option_set & RTEMS_NO_WAIT) ? true : false;                
   467b6:	7201           	moveq #1,%d1                                
   467b8:	c681           	andl %d1,%d3                                
   467ba:	2f04           	movel %d4,%sp@-                             
   467bc:	b781           	eorl %d3,%d1                                
   467be:	2f01           	movel %d1,%sp@-                             
   467c0:	2f02           	movel %d2,%sp@-                             
   467c2:	4868 0014      	pea %a0@(20)                                
   467c6:	4eb9 0004 7400 	jsr 47400 <_CORE_mutex_Seize>               
          ((_Options_Is_no_wait( option_set )) ? false : true),       
          timeout,                                                    
          level                                                       
        );                                                            
        return _Semaphore_Translate_core_mutex_return_code(           
                  _Thread_Executing->Wait.return_code );              
   467cc:	2079 0006 10d2 	moveal 610d2 <_Per_CPU_Information+0xc>,%a0 
          id,                                                         
          ((_Options_Is_no_wait( option_set )) ? false : true),       
          timeout,                                                    
          level                                                       
        );                                                            
        return _Semaphore_Translate_core_mutex_return_code(           
   467d2:	2f28 0034      	movel %a0@(52),%sp@-                        
   467d6:	4eb9 0004 6938 	jsr 46938 <_Semaphore_Translate_core_mutex_return_code>
   467dc:	4fef 0018      	lea %sp@(24),%sp                            
      break;                                                          
                                                                      
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   467e0:	4cee 001c ffec 	moveml %fp@(-20),%d2-%d4                    
   467e6:	4e5e           	unlk %fp                                    
   467e8:	4e75           	rts                                         
                                                                      
  /* disabled when you get here */                                    
                                                                      
  executing = _Thread_Executing;                                      
  executing->Wait.return_code = CORE_SEMAPHORE_STATUS_SUCCESSFUL;     
  if ( the_semaphore->count != 0 ) {                                  
   467ea:	2240           	moveal %d0,%a1                              
{                                                                     
  Thread_Control *executing;                                          
                                                                      
  /* disabled when you get here */                                    
                                                                      
  executing = _Thread_Executing;                                      
   467ec:	2079 0006 10d2 	moveal 610d2 <_Per_CPU_Information+0xc>,%a0 
  executing->Wait.return_code = CORE_SEMAPHORE_STATUS_SUCCESSFUL;     
  if ( the_semaphore->count != 0 ) {                                  
   467f2:	2229 005c      	movel %a1@(92),%d1                          
  Thread_Control *executing;                                          
                                                                      
  /* disabled when you get here */                                    
                                                                      
  executing = _Thread_Executing;                                      
  executing->Wait.return_code = CORE_SEMAPHORE_STATUS_SUCCESSFUL;     
   467f6:	42a8 0034      	clrl %a0@(52)                               
  if ( the_semaphore->count != 0 ) {                                  
   467fa:	4a81           	tstl %d1                                    
   467fc:	662e           	bnes 4682c <rtems_semaphore_obtain+0xc4>    
    the_semaphore->count -= 1;                                        
    _ISR_Enable( *level_p );                                          
    return;                                                           
  }                                                                   
                                                                      
  if ( !wait ) {                                                      
   467fe:	0803 0000      	btst #0,%d3                                 
   46802:	6748           	beqs 4684c <rtems_semaphore_obtain+0xe4>    
    _ISR_Enable( *level_p );                                          
   46804:	202e fff8      	movel %fp@(-8),%d0                          
   46808:	46c0           	movew %d0,%sr                               
    executing->Wait.return_code = CORE_SEMAPHORE_STATUS_UNSATISFIED_NOWAIT;
   4680a:	7001           	moveq #1,%d0                                
   4680c:	2140 0034      	movel %d0,%a0@(52)                          
        ((_Options_Is_no_wait( option_set )) ? false : true),         
        timeout,                                                      
        &level                                                        
      );                                                              
      return _Semaphore_Translate_core_semaphore_return_code(         
                  _Thread_Executing->Wait.return_code );              
   46810:	2079 0006 10d2 	moveal 610d2 <_Per_CPU_Information+0xc>,%a0 
        id,                                                           
        ((_Options_Is_no_wait( option_set )) ? false : true),         
        timeout,                                                      
        &level                                                        
      );                                                              
      return _Semaphore_Translate_core_semaphore_return_code(         
   46816:	2f28 0034      	movel %a0@(52),%sp@-                        
   4681a:	4eb9 0004 694e 	jsr 4694e <_Semaphore_Translate_core_semaphore_return_code>
   46820:	588f           	addql #4,%sp                                
      break;                                                          
                                                                      
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   46822:	4cee 001c ffec 	moveml %fp@(-20),%d2-%d4                    
   46828:	4e5e           	unlk %fp                                    
   4682a:	4e75           	rts                                         
  /* disabled when you get here */                                    
                                                                      
  executing = _Thread_Executing;                                      
  executing->Wait.return_code = CORE_SEMAPHORE_STATUS_SUCCESSFUL;     
  if ( the_semaphore->count != 0 ) {                                  
    the_semaphore->count -= 1;                                        
   4682c:	5381           	subql #1,%d1                                
   4682e:	2341 005c      	movel %d1,%a1@(92)                          
    _ISR_Enable( *level_p );                                          
   46832:	202e fff8      	movel %fp@(-8),%d0                          
   46836:	46c0           	movew %d0,%sr                               
        ((_Options_Is_no_wait( option_set )) ? false : true),         
        timeout,                                                      
        &level                                                        
      );                                                              
      return _Semaphore_Translate_core_semaphore_return_code(         
                  _Thread_Executing->Wait.return_code );              
   46838:	2079 0006 10d2 	moveal 610d2 <_Per_CPU_Information+0xc>,%a0 
        id,                                                           
        ((_Options_Is_no_wait( option_set )) ? false : true),         
        timeout,                                                      
        &level                                                        
      );                                                              
      return _Semaphore_Translate_core_semaphore_return_code(         
   4683e:	2f28 0034      	movel %a0@(52),%sp@-                        
   46842:	4eb9 0004 694e 	jsr 4694e <_Semaphore_Translate_core_semaphore_return_code>
   46848:	588f           	addql #4,%sp                                
   4684a:	60d6           	bras 46822 <rtems_semaphore_obtain+0xba>    
   4684c:	2239 0006 0c68 	movel 60c68 <_Thread_Dispatch_disable_level>,%d1
   46852:	5281           	addql #1,%d1                                
   46854:	23c1 0006 0c68 	movel %d1,60c68 <_Thread_Dispatch_disable_level>
                                                                      
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;
   4685a:	7201           	moveq #1,%d1                                
   4685c:	2240           	moveal %d0,%a1                              
    return;                                                           
  }                                                                   
                                                                      
  _Thread_Disable_dispatch();                                         
  _Thread_queue_Enter_critical_section( &the_semaphore->Wait_queue ); 
  executing->Wait.queue          = &the_semaphore->Wait_queue;        
   4685e:	0680 0000 0014 	addil #20,%d0                               
   46864:	2341 0044      	movel %d1,%a1@(68)                          
  executing->Wait.id             = id;                                
   46868:	2142 0020      	movel %d2,%a0@(32)                          
    return;                                                           
  }                                                                   
                                                                      
  _Thread_Disable_dispatch();                                         
  _Thread_queue_Enter_critical_section( &the_semaphore->Wait_queue ); 
  executing->Wait.queue          = &the_semaphore->Wait_queue;        
   4686c:	2140 0044      	movel %d0,%a0@(68)                          
  executing->Wait.id             = id;                                
  _ISR_Enable( *level_p );                                            
   46870:	222e fff8      	movel %fp@(-8),%d1                          
   46874:	46c1           	movew %d1,%sr                               
                                                                      
  _Thread_queue_Enqueue( &the_semaphore->Wait_queue, timeout );       
   46876:	4879 0004 9654 	pea 49654 <_Thread_queue_Timeout>           
   4687c:	2f04           	movel %d4,%sp@-                             
   4687e:	2f00           	movel %d0,%sp@-                             
   46880:	4eb9 0004 9290 	jsr 49290 <_Thread_queue_Enqueue_with_handler>
  _Thread_Enable_dispatch();                                          
   46886:	4eb9 0004 8d8a 	jsr 48d8a <_Thread_Enable_dispatch>         
                  _Thread_Executing->Wait.return_code );              
   4688c:	2079 0006 10d2 	moveal 610d2 <_Per_CPU_Information+0xc>,%a0 
   46892:	4fef 000c      	lea %sp@(12),%sp                            
        id,                                                           
        ((_Options_Is_no_wait( option_set )) ? false : true),         
        timeout,                                                      
        &level                                                        
      );                                                              
      return _Semaphore_Translate_core_semaphore_return_code(         
   46896:	2f28 0034      	movel %a0@(52),%sp@-                        
   4689a:	4eb9 0004 694e 	jsr 4694e <_Semaphore_Translate_core_semaphore_return_code>
   468a0:	588f           	addql #4,%sp                                
   468a2:	6000 ff7e      	braw 46822 <rtems_semaphore_obtain+0xba>    
	...                                                                  
                                                                      

00046e40 <rtems_shutdown_executive>: void rtems_shutdown_executive( uint32_t result ) { if ( _System_state_Is_up( _System_state_Get() ) ) {
   46e40:	7003           	moveq #3,%d0                                
 */                                                                   
                                                                      
void rtems_shutdown_executive(                                        
   uint32_t   result                                                  
)                                                                     
{                                                                     
   46e42:	4e56 0000      	linkw %fp,#0                                
  if ( _System_state_Is_up( _System_state_Get() ) ) {                 
   46e46:	b0b9 0006 0db4 	cmpl 60db4 <_System_state_Current>,%d0      
   46e4c:	6710           	beqs 46e5e <rtems_shutdown_executive+0x1e>  
    _System_state_Set( SYSTEM_STATE_SHUTDOWN );                       
    _Thread_Stop_multitasking();                                      
  }                                                                   
  _Internal_error_Occurred(                                           
   46e4e:	4878 0014      	pea 14 <OPER2>                              
   46e52:	4878 0001      	pea 1 <ADD>                                 
   46e56:	42a7           	clrl %sp@-                                  
   46e58:	4eb9 0004 7b1c 	jsr 47b1c <_Internal_error_Occurred>        
   *  if we were running within the same context, it would work.      
   *                                                                  
   *  And we will not return to this thread, so there is no point of  
   *  saving the context.                                             
   */                                                                 
  _Context_Restart_self( &_Thread_BSP_context );                      
   46e5e:	4879 0006 0c34 	pea 60c34 <_Thread_BSP_context>             
   46e64:	103c 0004      	moveb #4,%d0                                
   46e68:	23c0 0006 0db4 	movel %d0,60db4 <_System_state_Current>     
   46e6e:	4eb9 0004 9fa2 	jsr 49fa2 <_CPU_Context_Restart_self>       
   46e74:	588f           	addql #4,%sp                                <== NOT EXECUTED
   46e76:	4878 0014      	pea 14 <OPER2>                              <== NOT EXECUTED
   46e7a:	4878 0001      	pea 1 <ADD>                                 <== NOT EXECUTED
   46e7e:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   46e80:	4eb9 0004 7b1c 	jsr 47b1c <_Internal_error_Occurred>        <== NOT EXECUTED
	...                                                                  
                                                                      

00058338 <rtems_signal_send>: rtems_status_code rtems_signal_send( rtems_id id, rtems_signal_set signal_set ) {
   58338:	4e56 fffc      	linkw %fp,#-4                               
   5833c:	2f03           	movel %d3,%sp@-                             
   5833e:	2f02           	movel %d2,%sp@-                             
   58340:	242e 000c      	movel %fp@(12),%d2                          
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
   58344:	660e           	bnes 58354 <rtems_signal_send+0x1c>         
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   58346:	242e fff4      	movel %fp@(-12),%d2                         
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
    return RTEMS_INVALID_NUMBER;                                      
   5834a:	700a           	moveq #10,%d0                               
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   5834c:	262e fff8      	movel %fp@(-8),%d3                          
   58350:	4e5e           	unlk %fp                                    
   58352:	4e75           	rts                                         
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  the_thread = _Thread_Get( id, &location );                          
   58354:	486e fffc      	pea %fp@(-4)                                
   58358:	2f2e 0008      	movel %fp@(8),%sp@-                         
   5835c:	4eb9 0005 c9f4 	jsr 5c9f4 <_Thread_Get>                     
  switch ( location ) {                                               
   58362:	508f           	addql #8,%sp                                
   58364:	4aae fffc      	tstl %fp@(-4)                               
   58368:	670e           	beqs 58378 <rtems_signal_send+0x40>         
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   5836a:	242e fff4      	movel %fp@(-12),%d2                         
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
   5836e:	7004           	moveq #4,%d0                                
}                                                                     
   58370:	262e fff8      	movel %fp@(-8),%d3                          
   58374:	4e5e           	unlk %fp                                    
   58376:	4e75           	rts                                         
                                                                      
  the_thread = _Thread_Get( id, &location );                          
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_RTEMS ];           
   58378:	2240           	moveal %d0,%a1                              
   5837a:	2069 00fe      	moveal %a1@(254),%a0                        
      asr = &api->Signal;                                             
                                                                      
      if ( ! _ASR_Is_null_handler( asr->handler ) ) {                 
   5837e:	4aa8 000a      	tstl %a0@(10)                               
   58382:	676a           	beqs 583ee <rtems_signal_send+0xb6>         
        if ( asr->is_enabled ) {                                      
   58384:	4a28 0008      	tstb %a0@(8)                                
   58388:	6736           	beqs 583c0 <rtems_signal_send+0x88>         
  rtems_signal_set *signal_set                                        
)                                                                     
{                                                                     
  ISR_Level              _level;                                      
                                                                      
  _ISR_Disable( _level );                                             
   5838a:	223c 0000 0700 	movel #1792,%d1                             
   58390:	40c3           	movew %sr,%d3                               
   58392:	8283           	orl %d3,%d1                                 
   58394:	46c1           	movew %d1,%sr                               
    *signal_set |= signals;                                           
   58396:	85a8 0012      	orl %d2,%a0@(18)                            
  _ISR_Enable( _level );                                              
   5839a:	46c3           	movew %d3,%sr                               
          _ASR_Post_signals( signal_set, &asr->signals_posted );      
                                                                      
          if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
   5839c:	4ab9 0008 005a 	tstl 8005a <_Per_CPU_Information+0x8>       
   583a2:	6708           	beqs 583ac <rtems_signal_send+0x74>         
   583a4:	b0b9 0008 005e 	cmpl 8005e <_Per_CPU_Information+0xc>,%d0   
   583aa:	6730           	beqs 583dc <rtems_signal_send+0xa4>         <== ALWAYS TAKEN
            _Thread_Dispatch_necessary = true;                        
        } else {                                                      
          _ASR_Post_signals( signal_set, &asr->signals_pending );     
        }                                                             
        _Thread_Enable_dispatch();                                    
   583ac:	4eb9 0005 c9ce 	jsr 5c9ce <_Thread_Enable_dispatch>         
        return RTEMS_SUCCESSFUL;                                      
   583b2:	4280           	clrl %d0                                    
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   583b4:	242e fff4      	movel %fp@(-12),%d2                         
   583b8:	262e fff8      	movel %fp@(-8),%d3                          
   583bc:	4e5e           	unlk %fp                                    
   583be:	4e75           	rts                                         
  rtems_signal_set *signal_set                                        
)                                                                     
{                                                                     
  ISR_Level              _level;                                      
                                                                      
  _ISR_Disable( _level );                                             
   583c0:	203c 0000 0700 	movel #1792,%d0                             
   583c6:	40c1           	movew %sr,%d1                               
   583c8:	8081           	orl %d1,%d0                                 
   583ca:	46c0           	movew %d0,%sr                               
    *signal_set |= signals;                                           
   583cc:	85a8 0016      	orl %d2,%a0@(22)                            
  _ISR_Enable( _level );                                              
   583d0:	46c1           	movew %d1,%sr                               
          if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
            _Thread_Dispatch_necessary = true;                        
        } else {                                                      
          _ASR_Post_signals( signal_set, &asr->signals_pending );     
        }                                                             
        _Thread_Enable_dispatch();                                    
   583d2:	4eb9 0005 c9ce 	jsr 5c9ce <_Thread_Enable_dispatch>         
        return RTEMS_SUCCESSFUL;                                      
   583d8:	4280           	clrl %d0                                    
   583da:	60d8           	bras 583b4 <rtems_signal_send+0x7c>         
      if ( ! _ASR_Is_null_handler( asr->handler ) ) {                 
        if ( asr->is_enabled ) {                                      
          _ASR_Post_signals( signal_set, &asr->signals_posted );      
                                                                      
          if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
            _Thread_Dispatch_necessary = true;                        
   583dc:	7001           	moveq #1,%d0                                
   583de:	13c0 0008 006a 	moveb %d0,8006a <_Per_CPU_Information+0x18> 
        } else {                                                      
          _ASR_Post_signals( signal_set, &asr->signals_pending );     
        }                                                             
        _Thread_Enable_dispatch();                                    
   583e4:	4eb9 0005 c9ce 	jsr 5c9ce <_Thread_Enable_dispatch>         
        return RTEMS_SUCCESSFUL;                                      
   583ea:	4280           	clrl %d0                                    
   583ec:	60c6           	bras 583b4 <rtems_signal_send+0x7c>         
      }                                                               
      _Thread_Enable_dispatch();                                      
   583ee:	4eb9 0005 c9ce 	jsr 5c9ce <_Thread_Enable_dispatch>         
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   583f4:	242e fff4      	movel %fp@(-12),%d2                         
        }                                                             
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
      _Thread_Enable_dispatch();                                      
      return RTEMS_NOT_DEFINED;                                       
   583f8:	700b           	moveq #11,%d0                               
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   583fa:	262e fff8      	movel %fp@(-8),%d3                          
   583fe:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00042d86 <rtems_stack_checker_begin_extension>: * rtems_stack_checker_Begin_extension */ void rtems_stack_checker_begin_extension( Thread_Control *the_thread ) {
   42d86:	4e56 0000      	linkw %fp,#0                                
   42d8a:	206e 0008      	moveal %fp@(8),%a0                          
  Stack_check_Control  *the_pattern;                                  
                                                                      
  if ( the_thread->Object.id == 0 )        /* skip system tasks */    
   42d8e:	4aa8 0008      	tstl %a0@(8)                                
   42d92:	672c           	beqs 42dc0 <rtems_stack_checker_begin_extension+0x3a><== NEVER TAKEN
    return;                                                           
                                                                      
  the_pattern = Stack_check_Get_pattern_area(&the_thread->Start.Initial_stack);
                                                                      
  *the_pattern = Stack_check_Pattern;                                 
   42d94:	2068 00b6      	moveal %a0@(182),%a0                        
   42d98:	43f9 0006 3d64 	lea 63d64 <Stack_check_Pattern>,%a1         
   42d9e:	2151 0008      	movel %a1@,%a0@(8)                          
   42da2:	43f9 0006 3d68 	lea 63d68 <Stack_check_Pattern+0x4>,%a1     
   42da8:	2151 000c      	movel %a1@,%a0@(12)                         
   42dac:	43f9 0006 3d6c 	lea 63d6c <Stack_check_Pattern+0x8>,%a1     
   42db2:	2151 0010      	movel %a1@,%a0@(16)                         
   42db6:	43f9 0006 3d70 	lea 63d70 <Stack_check_Pattern+0xc>,%a1     
   42dbc:	2151 0014      	movel %a1@,%a0@(20)                         
}                                                                     
   42dc0:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042d52 <rtems_stack_checker_create_extension>: */ bool rtems_stack_checker_create_extension( Thread_Control *running __attribute__((unused)), Thread_Control *the_thread ) {
   42d52:	4e56 0000      	linkw %fp,#0                                
   42d56:	2f0a           	movel %a2,%sp@-                             
   42d58:	246e 000c      	moveal %fp@(12),%a2                         
  Stack_check_Initialize();                                           
   42d5c:	4eb9 0004 2cd8 	jsr 42cd8 <Stack_check_Initialize>          
                                                                      
  if (the_thread)                                                     
   42d62:	4a8a           	tstl %a2                                    
   42d64:	6716           	beqs 42d7c <rtems_stack_checker_create_extension+0x2a><== NEVER TAKEN
    Stack_check_Dope_stack(&the_thread->Start.Initial_stack);         
   42d66:	2f2a 00b2      	movel %a2@(178),%sp@-                       
   42d6a:	4878 00a5      	pea a5 <DBL_MANT_DIG+0x70>                  
   42d6e:	2f2a 00b6      	movel %a2@(182),%sp@-                       
   42d72:	4eb9 0005 23cc 	jsr 523cc <memset>                          
   42d78:	4fef 000c      	lea %sp@(12),%sp                            
                                                                      
  return true;                                                        
}                                                                     
   42d7c:	246e fffc      	moveal %fp@(-4),%a2                         
   42d80:	4e5e           	unlk %fp                                    
   42d82:	7001           	moveq #1,%d0                                <== NOT EXECUTED
                                                                      

00042ef4 <rtems_stack_checker_is_blown>: /* * Check if blown */ bool rtems_stack_checker_is_blown( void ) {
   42ef4:	4e56 0000      	linkw %fp,#0                                
  Stack_Control *the_stack = &_Thread_Executing->Start.Initial_stack; 
   42ef8:	2279 0006 43aa 	moveal 643aa <_Per_CPU_Information+0xc>,%a1 
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
   42efe:	2069 00b6      	moveal %a1@(182),%a0                        
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
{                                                                     
   42f02:	2f02           	movel %d2,%sp@-                             
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
   42f04:	b1ce           	cmpal %fp,%a0                               
   42f06:	6248           	bhis 42f50 <rtems_stack_checker_is_blown+0x5c><== NEVER TAKEN
      return false;                                                   
    }                                                                 
    if ( sp > (the_stack->area + the_stack->size) ) {                 
   42f08:	2008           	movel %a0,%d0                               
   42f0a:	d0a9 00b2      	addl %a1@(178),%d0                          
}                                                                     
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
   42f0e:	b08e           	cmpl %fp,%d0                                
   42f10:	54c2           	scc %d2                                     
   42f12:	4482           	negl %d2                                    
                                                                      
  /*                                                                  
   * The stack checker must be initialized before the pattern is there
   * to check.                                                        
   */                                                                 
  if ( Stack_check_Initialized ) {                                    
   42f14:	4ab9 0006 3560 	tstl 63560 <Stack_check_Initialized>        
   42f1a:	6730           	beqs 42f4c <rtems_stack_checker_is_blown+0x58><== NEVER TAKEN
    pattern_ok = (!memcmp(                                            
   42f1c:	4878 0010      	pea 10 <INVALID_OPERATION>                  
   42f20:	4879 0006 3d64 	pea 63d64 <Stack_check_Pattern>             
   42f26:	4868 0008      	pea %a0@(8)                                 
   42f2a:	4eb9 0005 22dc 	jsr 522dc <memcmp>                          
   42f30:	4fef 000c      	lea %sp@(12),%sp                            
   42f34:	4a80           	tstl %d0                                    
   42f36:	57c0           	seq %d0                                     
   42f38:	4480           	negl %d0                                    
                                                                      
                                                                      
  /*                                                                  
   * Let's report as much as we can.                                  
   */                                                                 
  if ( !sp_ok || !pattern_ok ) {                                      
   42f3a:	4a02           	tstb %d2                                    
   42f3c:	6716           	beqs 42f54 <rtems_stack_checker_is_blown+0x60><== NEVER TAKEN
   42f3e:	4a00           	tstb %d0                                    
   42f40:	6712           	beqs 42f54 <rtems_stack_checker_is_blown+0x60><== NEVER TAKEN
                                                                      
  /*                                                                  
   * The Stack Pointer and the Pattern Area are OK so return false.   
   */                                                                 
  return false;                                                       
}                                                                     
   42f42:	242e fffc      	movel %fp@(-4),%d2                          
   42f46:	4e5e           	unlk %fp                                    
   42f48:	4200           	clrb %d0                                    
   42f4a:	4e75           	rts                                         
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
{                                                                     
  Stack_Control *the_stack = &_Thread_Executing->Start.Initial_stack; 
  bool           sp_ok;                                               
  bool           pattern_ok = true;                                   
   42f4c:	7001           	moveq #1,%d0                                <== NOT EXECUTED
   42f4e:	60ea           	bras 42f3a <rtems_stack_checker_is_blown+0x46><== NOT EXECUTED
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
      return false;                                                   
   42f50:	4202           	clrb %d2                                    <== NOT EXECUTED
   42f52:	60c0           	bras 42f14 <rtems_stack_checker_is_blown+0x20><== NOT EXECUTED
                                                                      
  /*                                                                  
   * Let's report as much as we can.                                  
   */                                                                 
  if ( !sp_ok || !pattern_ok ) {                                      
    Stack_check_report_blown_task( _Thread_Executing, pattern_ok );   
   42f54:	0280 0000 00ff 	andil #255,%d0                              <== NOT EXECUTED
   42f5a:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   42f5c:	2f39 0006 43aa 	movel 643aa <_Per_CPU_Information+0xc>,%sp@-<== NOT EXECUTED
   42f62:	4eb9 0004 2dc4 	jsr 42dc4 <Stack_check_report_blown_task>   <== NOT EXECUTED
                                                                      

00042fce <rtems_stack_checker_report_usage>: void rtems_stack_checker_report_usage( void ) {
   42fce:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
  rtems_stack_checker_report_usage_with_plugin( NULL, printk_plugin );
   42fd2:	4879 0004 4f20 	pea 44f20 <printk_plugin>                   <== NOT EXECUTED
   42fd8:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   42fda:	4eb9 0004 2f68 	jsr 42f68 <rtems_stack_checker_report_usage_with_plugin><== NOT EXECUTED
   42fe0:	508f           	addql #8,%sp                                <== NOT EXECUTED
}                                                                     
   42fe2:	4e5e           	unlk %fp                                    <== NOT EXECUTED
	...                                                                  
                                                                      

00042f68 <rtems_stack_checker_report_usage_with_plugin>: void rtems_stack_checker_report_usage_with_plugin( void *context, rtems_printk_plugin_t print ) {
   42f68:	4e56 0000      	linkw %fp,#0                                <== NOT EXECUTED
   42f6c:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   42f6e:	246e 000c      	moveal %fp@(12),%a2                         <== NOT EXECUTED
   42f72:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   42f74:	242e 0008      	movel %fp@(8),%d2                           <== NOT EXECUTED
  if ( !print )                                                       
   42f78:	4a8a           	tstl %a2                                    <== NOT EXECUTED
   42f7a:	6746           	beqs 42fc2 <rtems_stack_checker_report_usage_with_plugin+0x5a><== NOT EXECUTED
    return;                                                           
                                                                      
  print_context = context;                                            
  print_handler = print;                                              
                                                                      
  (*print)( context, "Stack usage by thread\n");                      
   42f7c:	4879 0006 0ffc 	pea 60ffc <IntUartPollCallbacks.6374+0x13c> <== NOT EXECUTED
)                                                                     
{                                                                     
  if ( !print )                                                       
    return;                                                           
                                                                      
  print_context = context;                                            
   42f82:	23c2 0006 3558 	movel %d2,63558 <print_context>             <== NOT EXECUTED
  print_handler = print;                                              
                                                                      
  (*print)( context, "Stack usage by thread\n");                      
   42f88:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
{                                                                     
  if ( !print )                                                       
    return;                                                           
                                                                      
  print_context = context;                                            
  print_handler = print;                                              
   42f8a:	23ca 0006 355c 	movel %a2,6355c <print_handler>             <== NOT EXECUTED
                                                                      
  (*print)( context, "Stack usage by thread\n");                      
   42f90:	4e92           	jsr %a2@                                    <== NOT EXECUTED
  (*print)( context,                                                  
   42f92:	4879 0006 1013 	pea 61013 <IntUartPollCallbacks.6374+0x153> <== NOT EXECUTED
   42f98:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   42f9a:	4e92           	jsr %a2@                                    <== 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 );   
   42f9c:	4879 0004 2b48 	pea 42b48 <Stack_check_Dump_threads_usage>  <== NOT EXECUTED
   42fa2:	4eb9 0004 aad8 	jsr 4aad8 <rtems_iterate_over_all_threads>  <== NOT EXECUTED
                                                                      
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    /* dump interrupt stack info if any */                            
    Stack_check_Dump_threads_usage((Thread_Control *) -1);            
   42fa8:	4878 ffff      	pea ffffffff <LESS>                         <== NOT EXECUTED
   42fac:	4eb9 0004 2b48 	jsr 42b48 <Stack_check_Dump_threads_usage>  <== NOT EXECUTED
  #endif                                                              
                                                                      
  print_context = NULL;                                               
  print_handler = NULL;                                               
   42fb2:	4fef 0018      	lea %sp@(24),%sp                            <== NOT EXECUTED
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    /* dump interrupt stack info if any */                            
    Stack_check_Dump_threads_usage((Thread_Control *) -1);            
  #endif                                                              
                                                                      
  print_context = NULL;                                               
   42fb6:	42b9 0006 3558 	clrl 63558 <print_context>                  <== NOT EXECUTED
  print_handler = NULL;                                               
   42fbc:	42b9 0006 355c 	clrl 6355c <print_handler>                  <== NOT EXECUTED
}                                                                     
   42fc2:	242e fff8      	movel %fp@(-8),%d2                          <== NOT EXECUTED
   42fc6:	246e fffc      	moveal %fp@(-4),%a2                         <== NOT EXECUTED
   42fca:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00042e74 <rtems_stack_checker_switch_extension>: */ void rtems_stack_checker_switch_extension( Thread_Control *running __attribute__((unused)), Thread_Control *heir __attribute__((unused)) ) {
   42e74:	4e56 0000      	linkw %fp,#0                                
   42e78:	2f0a           	movel %a2,%sp@-                             
   42e7a:	246e 0008      	moveal %fp@(8),%a2                          
  Stack_Control *the_stack = &running->Start.Initial_stack;           
  void          *pattern;                                             
  bool           sp_ok;                                               
  bool           pattern_ok = true;                                   
                                                                      
  pattern = Stack_check_Get_pattern_area(the_stack);                  
   42e7e:	222a 00b6      	movel %a2@(182),%d1                         
   42e82:	5081           	addql #8,%d1                                
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
   42e84:	202a 00b6      	movel %a2@(182),%d0                         
   42e88:	b08e           	cmpl %fp,%d0                                
   42e8a:	622a           	bhis 42eb6 <rtems_stack_checker_switch_extension+0x42><== NEVER TAKEN
      return false;                                                   
    }                                                                 
    if ( sp > (the_stack->area + the_stack->size) ) {                 
   42e8c:	d0aa 00b2      	addl %a2@(178),%d0                          
   42e90:	b08e           	cmpl %fp,%d0                                
   42e92:	6522           	bcss 42eb6 <rtems_stack_checker_switch_extension+0x42><== NEVER TAKEN
  /*                                                                  
   *  Check for an out of bounds stack pointer or an overwrite        
   */                                                                 
  sp_ok = Stack_check_Frame_pointer_in_range( the_stack );            
                                                                      
  pattern_ok = (!memcmp( pattern,                                     
   42e94:	4878 0010      	pea 10 <INVALID_OPERATION>                  
   42e98:	4879 0006 3d64 	pea 63d64 <Stack_check_Pattern>             
   42e9e:	2f01           	movel %d1,%sp@-                             
   42ea0:	4eb9 0005 22dc 	jsr 522dc <memcmp>                          
   42ea6:	4fef 000c      	lea %sp@(12),%sp                            
            (void *) Stack_check_Pattern.pattern, PATTERN_SIZE_BYTES));
                                                                      
  if ( !sp_ok || !pattern_ok ) {                                      
   42eaa:	4a80           	tstl %d0                                    
   42eac:	6634           	bnes 42ee2 <rtems_stack_checker_switch_extension+0x6e><== NEVER TAKEN
    Stack_check_report_blown_task( running, pattern_ok );             
  }                                                                   
}                                                                     
   42eae:	246e fffc      	moveal %fp@(-4),%a2                         
   42eb2:	4e5e           	unlk %fp                                    
   42eb4:	4e75           	rts                                         
  /*                                                                  
   *  Check for an out of bounds stack pointer or an overwrite        
   */                                                                 
  sp_ok = Stack_check_Frame_pointer_in_range( the_stack );            
                                                                      
  pattern_ok = (!memcmp( pattern,                                     
   42eb6:	4878 0010      	pea 10 <INVALID_OPERATION>                  <== NOT EXECUTED
   42eba:	4879 0006 3d64 	pea 63d64 <Stack_check_Pattern>             <== NOT EXECUTED
   42ec0:	2f01           	movel %d1,%sp@-                             <== NOT EXECUTED
   42ec2:	4eb9 0005 22dc 	jsr 522dc <memcmp>                          <== NOT EXECUTED
   42ec8:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   42ecc:	4a80           	tstl %d0                                    <== NOT EXECUTED
   42ece:	57c0           	seq %d0                                     <== NOT EXECUTED
   42ed0:	4480           	negl %d0                                    <== NOT EXECUTED
            (void *) Stack_check_Pattern.pattern, PATTERN_SIZE_BYTES));
                                                                      
  if ( !sp_ok || !pattern_ok ) {                                      
    Stack_check_report_blown_task( running, pattern_ok );             
   42ed2:	0280 0000 00ff 	andil #255,%d0                              <== NOT EXECUTED
   42ed8:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   42eda:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   42edc:	4eb9 0004 2dc4 	jsr 42dc4 <Stack_check_report_blown_task>   <== NOT EXECUTED
  sp_ok = Stack_check_Frame_pointer_in_range( the_stack );            
                                                                      
  pattern_ok = (!memcmp( pattern,                                     
            (void *) Stack_check_Pattern.pattern, PATTERN_SIZE_BYTES));
                                                                      
  if ( !sp_ok || !pattern_ok ) {                                      
   42ee2:	4200           	clrb %d0                                    <== NOT EXECUTED
    Stack_check_report_blown_task( running, pattern_ok );             
   42ee4:	0280 0000 00ff 	andil #255,%d0                              <== NOT EXECUTED
   42eea:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   42eec:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   42eee:	4eb9 0004 2dc4 	jsr 42dc4 <Stack_check_report_blown_task>   <== NOT EXECUTED
                                                                      

0004da04 <rtems_string_to_double>: rtems_status_code rtems_string_to_double ( const char *s, double *n, char **endptr ) {
   4da04:	4e56 ffe4      	linkw %fp,#-28                              <== NOT EXECUTED
   4da08:	48d7 1c1c      	moveml %d2-%d4/%a2-%a4,%sp@                 <== NOT EXECUTED
   4da0c:	242e 0008      	movel %fp@(8),%d2                           <== NOT EXECUTED
   4da10:	246e 000c      	moveal %fp@(12),%a2                         <== NOT EXECUTED
   4da14:	266e 0010      	moveal %fp@(16),%a3                         <== NOT EXECUTED
  double result;                                                      
  char *end;                                                          
                                                                      
  if ( !n )                                                           
   4da18:	4a8a           	tstl %a2                                    <== NOT EXECUTED
   4da1a:	6700 00bc      	beqw 4dad8 <rtems_string_to_double+0xd4>    <== NOT EXECUTED
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
   4da1e:	49f9 0005 0e54 	lea 50e54 <__errno>,%a4                     <== NOT EXECUTED
   4da24:	4e94           	jsr %a4@                                    <== NOT EXECUTED
  *n = 0;                                                             
   4da26:	4281           	clrl %d1                                    <== NOT EXECUTED
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
   4da28:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
  *n = 0;                                                             
   4da2a:	4280           	clrl %d0                                    <== NOT EXECUTED
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
   4da2c:	4290           	clrl %a0@                                   <== NOT EXECUTED
  *n = 0;                                                             
                                                                      
  result = strtod( s, &end );                                         
   4da2e:	486e fffc      	pea %fp@(-4)                                <== NOT EXECUTED
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
   4da32:	2480           	movel %d0,%a2@                              <== NOT EXECUTED
   4da34:	2541 0004      	movel %d1,%a2@(4)                           <== NOT EXECUTED
                                                                      
  result = strtod( s, &end );                                         
   4da38:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   4da3a:	4eb9 0005 3776 	jsr 53776 <strtod>                          <== NOT EXECUTED
                                                                      
  if ( endptr )                                                       
   4da40:	508f           	addql #8,%sp                                <== NOT EXECUTED
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtod( s, &end );                                         
   4da42:	2600           	movel %d0,%d3                               <== NOT EXECUTED
   4da44:	2801           	movel %d1,%d4                               <== NOT EXECUTED
                                                                      
  if ( endptr )                                                       
   4da46:	4a8b           	tstl %a3                                    <== NOT EXECUTED
   4da48:	6700 009a      	beqw 4dae4 <rtems_string_to_double+0xe0>    <== NOT EXECUTED
    *endptr = end;                                                    
   4da4c:	202e fffc      	movel %fp@(-4),%d0                          <== NOT EXECUTED
   4da50:	2680           	movel %d0,%a3@                              <== NOT EXECUTED
                                                                      
  if ( end == s )                                                     
   4da52:	b082           	cmpl %d2,%d0                                <== NOT EXECUTED
   4da54:	6776           	beqs 4dacc <rtems_string_to_double+0xc8>    <== NOT EXECUTED
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
   4da56:	4e94           	jsr %a4@                                    <== NOT EXECUTED
   4da58:	7222           	moveq #34,%d1                               <== NOT EXECUTED
   4da5a:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
   4da5c:	b290           	cmpl %a0@,%d1                               <== NOT EXECUTED
   4da5e:	6712           	beqs 4da72 <rtems_string_to_double+0x6e>    <== NOT EXECUTED
    (( result == 0 ) || ( result == HUGE_VAL ) || ( result == -HUGE_VAL )))
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
   4da60:	2483           	movel %d3,%a2@                              <== NOT EXECUTED
                                                                      
  return RTEMS_SUCCESSFUL;                                            
   4da62:	4280           	clrl %d0                                    <== NOT EXECUTED
                                                                      
  if ( ( errno == ERANGE ) &&                                         
    (( result == 0 ) || ( result == HUGE_VAL ) || ( result == -HUGE_VAL )))
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
   4da64:	2544 0004      	movel %d4,%a2@(4)                           <== NOT EXECUTED
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4da68:	4cee 1c1c ffe4 	moveml %fp@(-28),%d2-%d4/%a2-%a4            <== NOT EXECUTED
   4da6e:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   4da70:	4e75           	rts                                         <== NOT EXECUTED
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
   4da72:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   4da74:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   4da76:	2f04           	movel %d4,%sp@-                             <== NOT EXECUTED
   4da78:	2f03           	movel %d3,%sp@-                             <== NOT EXECUTED
   4da7a:	4eb9 0004 3128 	jsr 43128 <__eqdf2>                         <== NOT EXECUTED
   4da80:	4fef 0010      	lea %sp@(16),%sp                            <== NOT EXECUTED
   4da84:	4a80           	tstl %d0                                    <== NOT EXECUTED
   4da86:	6738           	beqs 4dac0 <rtems_string_to_double+0xbc>    <== NOT EXECUTED
    (( result == 0 ) || ( result == HUGE_VAL ) || ( result == -HUGE_VAL )))
   4da88:	4878 ffff      	pea ffffffff <LESS>                         <== NOT EXECUTED
   4da8c:	2f3c 7fef ffff 	movel #2146435071,%sp@-                     <== NOT EXECUTED
   4da92:	2f04           	movel %d4,%sp@-                             <== NOT EXECUTED
   4da94:	2f03           	movel %d3,%sp@-                             <== NOT EXECUTED
   4da96:	4eb9 0005 f2a8 	jsr 5f2a8 <__gtdf2>                         <== NOT EXECUTED
   4da9c:	4fef 0010      	lea %sp@(16),%sp                            <== NOT EXECUTED
   4daa0:	4a80           	tstl %d0                                    <== NOT EXECUTED
   4daa2:	6e1c           	bgts 4dac0 <rtems_string_to_double+0xbc>    <== NOT EXECUTED
   4daa4:	4878 ffff      	pea ffffffff <LESS>                         <== NOT EXECUTED
   4daa8:	2f3c ffef ffff 	movel #-1048577,%sp@-                       <== NOT EXECUTED
   4daae:	2f04           	movel %d4,%sp@-                             <== NOT EXECUTED
   4dab0:	2f03           	movel %d3,%sp@-                             <== NOT EXECUTED
   4dab2:	4eb9 0005 f2f0 	jsr 5f2f0 <__ltdf2>                         <== NOT EXECUTED
   4dab8:	4fef 0010      	lea %sp@(16),%sp                            <== NOT EXECUTED
   4dabc:	4a80           	tstl %d0                                    <== NOT EXECUTED
   4dabe:	6ca0           	bges 4da60 <rtems_string_to_double+0x5c>    <== NOT EXECUTED
      return RTEMS_INVALID_NUMBER;                                    
   4dac0:	700a           	moveq #10,%d0                               <== NOT EXECUTED
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4dac2:	4cee 1c1c ffe4 	moveml %fp@(-28),%d2-%d4/%a2-%a4            <== NOT EXECUTED
   4dac8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   4daca:	4e75           	rts                                         <== NOT EXECUTED
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
   4dacc:	700b           	moveq #11,%d0                               <== NOT EXECUTED
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4dace:	4cee 1c1c ffe4 	moveml %fp@(-28),%d2-%d4/%a2-%a4            <== NOT EXECUTED
   4dad4:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   4dad6:	4e75           	rts                                         <== NOT EXECUTED
{                                                                     
  double result;                                                      
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
   4dad8:	7009           	moveq #9,%d0                                <== NOT EXECUTED
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4dada:	4cee 1c1c ffe4 	moveml %fp@(-28),%d2-%d4/%a2-%a4            <== NOT EXECUTED
   4dae0:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   4dae2:	4e75           	rts                                         <== NOT EXECUTED
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtod( s, &end );                                         
                                                                      
  if ( endptr )                                                       
   4dae4:	202e fffc      	movel %fp@(-4),%d0                          <== NOT EXECUTED
   4dae8:	6000 ff68      	braw 4da52 <rtems_string_to_double+0x4e>    <== NOT EXECUTED
                                                                      

0004daec <rtems_string_to_float>: rtems_status_code rtems_string_to_float ( const char *s, float *n, char **endptr ) {
   4daec:	4e56 ffe8      	linkw %fp,#-24                              
   4daf0:	48d7 1c0c      	moveml %d2-%d3/%a2-%a4,%sp@                 
   4daf4:	242e 0008      	movel %fp@(8),%d2                           
   4daf8:	246e 000c      	moveal %fp@(12),%a2                         
   4dafc:	266e 0010      	moveal %fp@(16),%a3                         
  float result;                                                       
  char *end;                                                          
                                                                      
  if ( !n )                                                           
   4db00:	4a8a           	tstl %a2                                    
   4db02:	6700 00a0      	beqw 4dba4 <rtems_string_to_float+0xb8>     
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
   4db06:	49f9 0005 0e54 	lea 50e54 <__errno>,%a4                     
   4db0c:	4e94           	jsr %a4@                                    
   4db0e:	2040           	moveal %d0,%a0                              
   4db10:	4290           	clrl %a0@                                   
  *n = 0;                                                             
                                                                      
  result = strtof( s, &end );                                         
   4db12:	486e fffc      	pea %fp@(-4)                                
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
   4db16:	24bc 0000 0000 	movel #0,%a2@                               
                                                                      
  result = strtof( s, &end );                                         
   4db1c:	2f02           	movel %d2,%sp@-                             
   4db1e:	4eb9 0005 3796 	jsr 53796 <strtof>                          
                                                                      
  if ( endptr )                                                       
   4db24:	508f           	addql #8,%sp                                
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtof( s, &end );                                         
   4db26:	2600           	movel %d0,%d3                               
                                                                      
  if ( endptr )                                                       
   4db28:	4a8b           	tstl %a3                                    
   4db2a:	6700 0084      	beqw 4dbb0 <rtems_string_to_float+0xc4>     
    *endptr = end;                                                    
   4db2e:	202e fffc      	movel %fp@(-4),%d0                          
   4db32:	2680           	movel %d0,%a3@                              
                                                                      
  if ( end == s )                                                     
   4db34:	b082           	cmpl %d2,%d0                                
   4db36:	6760           	beqs 4db98 <rtems_string_to_float+0xac>     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
   4db38:	4e94           	jsr %a4@                                    
   4db3a:	7222           	moveq #34,%d1                               
   4db3c:	2040           	moveal %d0,%a0                              
   4db3e:	b290           	cmpl %a0@,%d1                               
   4db40:	670e           	beqs 4db50 <rtems_string_to_float+0x64>     
    (( result == 0 ) || ( result == HUGE_VALF ) || ( result == -HUGE_VALF )))
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
   4db42:	2483           	movel %d3,%a2@                              
                                                                      
  return RTEMS_SUCCESSFUL;                                            
   4db44:	4280           	clrl %d0                                    
}                                                                     
   4db46:	4cee 1c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a4            
   4db4c:	4e5e           	unlk %fp                                    
   4db4e:	4e75           	rts                                         
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
   4db50:	2f3c 0000 0000 	movel #0,%sp@-                              
   4db56:	2f03           	movel %d3,%sp@-                             
   4db58:	4eb9 0004 314c 	jsr 4314c <__eqsf2>                         
   4db5e:	508f           	addql #8,%sp                                
   4db60:	4a80           	tstl %d0                                    
   4db62:	6728           	beqs 4db8c <rtems_string_to_float+0xa0>     <== NEVER TAKEN
    (( result == 0 ) || ( result == HUGE_VALF ) || ( result == -HUGE_VALF )))
   4db64:	2f3c 7f7f ffff 	movel #2139095039,%sp@-                     
   4db6a:	2f03           	movel %d3,%sp@-                             
   4db6c:	4eb9 0005 f338 	jsr 5f338 <__gtsf2>                         
   4db72:	508f           	addql #8,%sp                                
   4db74:	4a80           	tstl %d0                                    
   4db76:	6e14           	bgts 4db8c <rtems_string_to_float+0xa0>     <== NEVER TAKEN
   4db78:	2f3c ff7f ffff 	movel #-8388609,%sp@-                       
   4db7e:	2f03           	movel %d3,%sp@-                             
   4db80:	4eb9 0005 f354 	jsr 5f354 <__ltsf2>                         
   4db86:	508f           	addql #8,%sp                                
   4db88:	4a80           	tstl %d0                                    
   4db8a:	6cb6           	bges 4db42 <rtems_string_to_float+0x56>     <== ALWAYS TAKEN
      return RTEMS_INVALID_NUMBER;                                    
   4db8c:	700a           	moveq #10,%d0                               <== NOT EXECUTED
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4db8e:	4cee 1c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a4            <== NOT EXECUTED
   4db94:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   4db96:	4e75           	rts                                         <== NOT EXECUTED
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
   4db98:	700b           	moveq #11,%d0                               
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4db9a:	4cee 1c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a4            
   4dba0:	4e5e           	unlk %fp                                    
   4dba2:	4e75           	rts                                         
{                                                                     
  float result;                                                       
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
   4dba4:	7009           	moveq #9,%d0                                
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4dba6:	4cee 1c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a4            
   4dbac:	4e5e           	unlk %fp                                    
   4dbae:	4e75           	rts                                         
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtof( s, &end );                                         
                                                                      
  if ( endptr )                                                       
   4dbb0:	202e fffc      	movel %fp@(-4),%d0                          
   4dbb4:	6000 ff7e      	braw 4db34 <rtems_string_to_float+0x48>     
                                                                      

0004dbb8 <rtems_string_to_int>: const char *s, int *n, char **endptr, int base ) {
   4dbb8:	4e56 ffe8      	linkw %fp,#-24                              
   4dbbc:	48d7 1c0c      	moveml %d2-%d3/%a2-%a4,%sp@                 
   4dbc0:	242e 0008      	movel %fp@(8),%d2                           
   4dbc4:	246e 000c      	moveal %fp@(12),%a2                         
   4dbc8:	266e 0010      	moveal %fp@(16),%a3                         
  long result;                                                        
  char *end;                                                          
                                                                      
  if ( !n )                                                           
   4dbcc:	4a8a           	tstl %a2                                    
   4dbce:	6776           	beqs 4dc46 <rtems_string_to_int+0x8e>       <== NEVER TAKEN
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
   4dbd0:	49f9 0005 0e54 	lea 50e54 <__errno>,%a4                     
   4dbd6:	4e94           	jsr %a4@                                    
   4dbd8:	2040           	moveal %d0,%a0                              
   4dbda:	4290           	clrl %a0@                                   
  *n = 0;                                                             
                                                                      
  result = strtol( s, &end, base );                                   
   4dbdc:	2f2e 0014      	movel %fp@(20),%sp@-                        
   4dbe0:	486e fffc      	pea %fp@(-4)                                
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
   4dbe4:	4292           	clrl %a2@                                   
                                                                      
  result = strtol( s, &end, base );                                   
   4dbe6:	2f02           	movel %d2,%sp@-                             
   4dbe8:	4eb9 0005 3952 	jsr 53952 <strtol>                          
                                                                      
  if ( endptr )                                                       
   4dbee:	4fef 000c      	lea %sp@(12),%sp                            
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtol( s, &end, base );                                   
   4dbf2:	2600           	movel %d0,%d3                               
                                                                      
  if ( endptr )                                                       
   4dbf4:	4a8b           	tstl %a3                                    
   4dbf6:	675a           	beqs 4dc52 <rtems_string_to_int+0x9a>       <== NEVER TAKEN
    *endptr = end;                                                    
   4dbf8:	202e fffc      	movel %fp@(-4),%d0                          
   4dbfc:	2680           	movel %d0,%a3@                              
                                                                      
  if ( end == s )                                                     
   4dbfe:	b082           	cmpl %d2,%d0                                
   4dc00:	6738           	beqs 4dc3a <rtems_string_to_int+0x82>       
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
   4dc02:	4e94           	jsr %a4@                                    
   4dc04:	7222           	moveq #34,%d1                               
   4dc06:	2040           	moveal %d0,%a0                              
   4dc08:	b290           	cmpl %a0@,%d1                               
   4dc0a:	670e           	beqs 4dc1a <rtems_string_to_int+0x62>       
    errno = ERANGE;                                                   
    return RTEMS_INVALID_NUMBER;                                      
  }                                                                   
#endif                                                                
                                                                      
  *n = result;                                                        
   4dc0c:	2483           	movel %d3,%a2@                              
                                                                      
  return RTEMS_SUCCESSFUL;                                            
   4dc0e:	4280           	clrl %d0                                    
}                                                                     
   4dc10:	4cee 1c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a4            
   4dc16:	4e5e           	unlk %fp                                    
   4dc18:	4e75           	rts                                         
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
   4dc1a:	4a83           	tstl %d3                                    
   4dc1c:	6710           	beqs 4dc2e <rtems_string_to_int+0x76>       <== NEVER TAKEN
    (( result == 0 ) || ( result == LONG_MAX ) || ( result == LONG_MIN )))
   4dc1e:	0c83 7fff ffff 	cmpil #2147483647,%d3                       
   4dc24:	6708           	beqs 4dc2e <rtems_string_to_int+0x76>       <== ALWAYS TAKEN
   4dc26:	0c83 8000 0000 	cmpil #-2147483648,%d3                      <== NOT EXECUTED
   4dc2c:	66de           	bnes 4dc0c <rtems_string_to_int+0x54>       <== NOT EXECUTED
      return RTEMS_INVALID_NUMBER;                                    
   4dc2e:	700a           	moveq #10,%d0                               
#endif                                                                
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4dc30:	4cee 1c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a4            
   4dc36:	4e5e           	unlk %fp                                    
   4dc38:	4e75           	rts                                         
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
   4dc3a:	700b           	moveq #11,%d0                               
#endif                                                                
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4dc3c:	4cee 1c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a4            
   4dc42:	4e5e           	unlk %fp                                    
   4dc44:	4e75           	rts                                         
{                                                                     
  long result;                                                        
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
   4dc46:	7009           	moveq #9,%d0                                
#endif                                                                
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4dc48:	4cee 1c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a4            
   4dc4e:	4e5e           	unlk %fp                                    
   4dc50:	4e75           	rts                                         
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtol( s, &end, base );                                   
                                                                      
  if ( endptr )                                                       
   4dc52:	202e fffc      	movel %fp@(-4),%d0                          
   4dc56:	60a6           	bras 4dbfe <rtems_string_to_int+0x46>       
                                                                      

0004dd18 <rtems_string_to_long>: const char *s, long *n, char **endptr, int base ) {
   4dd18:	4e56 ffe8      	linkw %fp,#-24                              
   4dd1c:	48d7 1c0c      	moveml %d2-%d3/%a2-%a4,%sp@                 
   4dd20:	242e 0008      	movel %fp@(8),%d2                           
   4dd24:	246e 000c      	moveal %fp@(12),%a2                         
   4dd28:	266e 0010      	moveal %fp@(16),%a3                         
  long result;                                                        
  char *end;                                                          
                                                                      
  if ( !n )                                                           
   4dd2c:	4a8a           	tstl %a2                                    
   4dd2e:	6776           	beqs 4dda6 <rtems_string_to_long+0x8e>      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
   4dd30:	49f9 0005 0e54 	lea 50e54 <__errno>,%a4                     
   4dd36:	4e94           	jsr %a4@                                    
   4dd38:	2040           	moveal %d0,%a0                              
   4dd3a:	4290           	clrl %a0@                                   
  *n = 0;                                                             
                                                                      
  result = strtol( s, &end, base );                                   
   4dd3c:	2f2e 0014      	movel %fp@(20),%sp@-                        
   4dd40:	486e fffc      	pea %fp@(-4)                                
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
   4dd44:	4292           	clrl %a2@                                   
                                                                      
  result = strtol( s, &end, base );                                   
   4dd46:	2f02           	movel %d2,%sp@-                             
   4dd48:	4eb9 0005 3952 	jsr 53952 <strtol>                          
                                                                      
  if ( endptr )                                                       
   4dd4e:	4fef 000c      	lea %sp@(12),%sp                            
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtol( s, &end, base );                                   
   4dd52:	2600           	movel %d0,%d3                               
                                                                      
  if ( endptr )                                                       
   4dd54:	4a8b           	tstl %a3                                    
   4dd56:	675a           	beqs 4ddb2 <rtems_string_to_long+0x9a>      
    *endptr = end;                                                    
   4dd58:	202e fffc      	movel %fp@(-4),%d0                          
   4dd5c:	2680           	movel %d0,%a3@                              
                                                                      
  if ( end == s )                                                     
   4dd5e:	b082           	cmpl %d2,%d0                                
   4dd60:	6738           	beqs 4dd9a <rtems_string_to_long+0x82>      
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
   4dd62:	4e94           	jsr %a4@                                    
   4dd64:	7222           	moveq #34,%d1                               
   4dd66:	2040           	moveal %d0,%a0                              
   4dd68:	b290           	cmpl %a0@,%d1                               
   4dd6a:	670e           	beqs 4dd7a <rtems_string_to_long+0x62>      
    (( result == 0 ) || ( result == LONG_MAX ) || ( result == LONG_MIN )))
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
   4dd6c:	2483           	movel %d3,%a2@                              
                                                                      
  return RTEMS_SUCCESSFUL;                                            
   4dd6e:	4280           	clrl %d0                                    
}                                                                     
   4dd70:	4cee 1c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a4            
   4dd76:	4e5e           	unlk %fp                                    
   4dd78:	4e75           	rts                                         
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
   4dd7a:	4a83           	tstl %d3                                    
   4dd7c:	6710           	beqs 4dd8e <rtems_string_to_long+0x76>      <== NEVER TAKEN
    (( result == 0 ) || ( result == LONG_MAX ) || ( result == LONG_MIN )))
   4dd7e:	0c83 7fff ffff 	cmpil #2147483647,%d3                       
   4dd84:	6708           	beqs 4dd8e <rtems_string_to_long+0x76>      
   4dd86:	0c83 8000 0000 	cmpil #-2147483648,%d3                      
   4dd8c:	66de           	bnes 4dd6c <rtems_string_to_long+0x54>      <== NEVER TAKEN
      return RTEMS_INVALID_NUMBER;                                    
   4dd8e:	700a           	moveq #10,%d0                               
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4dd90:	4cee 1c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a4            
   4dd96:	4e5e           	unlk %fp                                    
   4dd98:	4e75           	rts                                         
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
   4dd9a:	700b           	moveq #11,%d0                               
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4dd9c:	4cee 1c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a4            
   4dda2:	4e5e           	unlk %fp                                    
   4dda4:	4e75           	rts                                         
{                                                                     
  long result;                                                        
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
   4dda6:	7009           	moveq #9,%d0                                
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4dda8:	4cee 1c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a4            
   4ddae:	4e5e           	unlk %fp                                    
   4ddb0:	4e75           	rts                                         
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtol( s, &end, base );                                   
                                                                      
  if ( endptr )                                                       
   4ddb2:	202e fffc      	movel %fp@(-4),%d0                          
   4ddb6:	60a6           	bras 4dd5e <rtems_string_to_long+0x46>      
                                                                      

0004dc58 <rtems_string_to_long_long>: const char *s, long long *n, char **endptr, int base ) {
   4dc58:	4e56 ffe4      	linkw %fp,#-28                              
   4dc5c:	48d7 1c1c      	moveml %d2-%d4/%a2-%a4,%sp@                 
   4dc60:	242e 0008      	movel %fp@(8),%d2                           
   4dc64:	246e 000c      	moveal %fp@(12),%a2                         
   4dc68:	266e 0010      	moveal %fp@(16),%a3                         
  long long result;                                                   
  char *end;                                                          
                                                                      
  if ( !n )                                                           
   4dc6c:	4a8a           	tstl %a2                                    
   4dc6e:	6700 0094      	beqw 4dd04 <rtems_string_to_long_long+0xac> 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
   4dc72:	49f9 0005 0e54 	lea 50e54 <__errno>,%a4                     
   4dc78:	4e94           	jsr %a4@                                    
   4dc7a:	2040           	moveal %d0,%a0                              
  *n = 0;                                                             
   4dc7c:	4280           	clrl %d0                                    
   4dc7e:	4281           	clrl %d1                                    
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
   4dc80:	4290           	clrl %a0@                                   
  *n = 0;                                                             
   4dc82:	2480           	movel %d0,%a2@                              
   4dc84:	2541 0004      	movel %d1,%a2@(4)                           
                                                                      
  result = strtoll( s, &end, base );                                  
   4dc88:	2f2e 0014      	movel %fp@(20),%sp@-                        
   4dc8c:	486e fffc      	pea %fp@(-4)                                
   4dc90:	2f02           	movel %d2,%sp@-                             
   4dc92:	4eb9 0005 3974 	jsr 53974 <strtoll>                         
                                                                      
  if ( endptr )                                                       
   4dc98:	4fef 000c      	lea %sp@(12),%sp                            
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoll( s, &end, base );                                  
   4dc9c:	2600           	movel %d0,%d3                               
   4dc9e:	2801           	movel %d1,%d4                               
                                                                      
  if ( endptr )                                                       
   4dca0:	4a8b           	tstl %a3                                    
   4dca2:	676c           	beqs 4dd10 <rtems_string_to_long_long+0xb8> 
    *endptr = end;                                                    
   4dca4:	202e fffc      	movel %fp@(-4),%d0                          
   4dca8:	2680           	movel %d0,%a3@                              
                                                                      
  if ( end == s )                                                     
   4dcaa:	b082           	cmpl %d2,%d0                                
   4dcac:	674a           	beqs 4dcf8 <rtems_string_to_long_long+0xa0> 
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
   4dcae:	4e94           	jsr %a4@                                    
   4dcb0:	7222           	moveq #34,%d1                               
   4dcb2:	2040           	moveal %d0,%a0                              
   4dcb4:	b290           	cmpl %a0@,%d1                               
   4dcb6:	6712           	beqs 4dcca <rtems_string_to_long_long+0x72> 
    (( result == 0 ) || ( result == LONG_LONG_MAX ) || ( result == LONG_LONG_MIN )))
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
   4dcb8:	4280           	clrl %d0                                    
                                                                      
  if ( ( errno == ERANGE ) &&                                         
    (( result == 0 ) || ( result == LONG_LONG_MAX ) || ( result == LONG_LONG_MIN )))
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
   4dcba:	2483           	movel %d3,%a2@                              
   4dcbc:	2544 0004      	movel %d4,%a2@(4)                           
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4dcc0:	4cee 1c1c ffe4 	moveml %fp@(-28),%d2-%d4/%a2-%a4            
   4dcc6:	4e5e           	unlk %fp                                    
   4dcc8:	4e75           	rts                                         
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
   4dcca:	2003           	movel %d3,%d0                               
   4dccc:	8084           	orl %d4,%d0                                 
   4dcce:	671c           	beqs 4dcec <rtems_string_to_long_long+0x94> <== NEVER TAKEN
    (( result == 0 ) || ( result == LONG_LONG_MAX ) || ( result == LONG_LONG_MIN )))
   4dcd0:	203c 7fff ffff 	movel #2147483647,%d0                       
   4dcd6:	72ff           	moveq #-1,%d1                               
   4dcd8:	9284           	subl %d4,%d1                                
   4dcda:	9183           	subxl %d3,%d0                               
   4dcdc:	670e           	beqs 4dcec <rtems_string_to_long_long+0x94> 
   4dcde:	203c 8000 0000 	movel #-2147483648,%d0                      
   4dce4:	4281           	clrl %d1                                    
   4dce6:	9284           	subl %d4,%d1                                
   4dce8:	9183           	subxl %d3,%d0                               
   4dcea:	66cc           	bnes 4dcb8 <rtems_string_to_long_long+0x60> <== NEVER TAKEN
      return RTEMS_INVALID_NUMBER;                                    
   4dcec:	700a           	moveq #10,%d0                               
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4dcee:	4cee 1c1c ffe4 	moveml %fp@(-28),%d2-%d4/%a2-%a4            
   4dcf4:	4e5e           	unlk %fp                                    
   4dcf6:	4e75           	rts                                         
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
   4dcf8:	700b           	moveq #11,%d0                               
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4dcfa:	4cee 1c1c ffe4 	moveml %fp@(-28),%d2-%d4/%a2-%a4            
   4dd00:	4e5e           	unlk %fp                                    
   4dd02:	4e75           	rts                                         
{                                                                     
  long long result;                                                   
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
   4dd04:	7009           	moveq #9,%d0                                
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4dd06:	4cee 1c1c ffe4 	moveml %fp@(-28),%d2-%d4/%a2-%a4            
   4dd0c:	4e5e           	unlk %fp                                    
   4dd0e:	4e75           	rts                                         
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoll( s, &end, base );                                  
                                                                      
  if ( endptr )                                                       
   4dd10:	202e fffc      	movel %fp@(-4),%d0                          
   4dd14:	6094           	bras 4dcaa <rtems_string_to_long_long+0x52> 
	...                                                                  
                                                                      

0004ddd4 <rtems_string_to_unsigned_char>: const char *s, unsigned char *n, char **endptr, int base ) {
   4ddd4:	4e56 ffe8      	linkw %fp,#-24                              
   4ddd8:	48d7 1c0c      	moveml %d2-%d3/%a2-%a4,%sp@                 
   4dddc:	242e 0008      	movel %fp@(8),%d2                           
   4dde0:	246e 000c      	moveal %fp@(12),%a2                         
   4dde4:	286e 0010      	moveal %fp@(16),%a4                         
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
   4dde8:	4a8a           	tstl %a2                                    
   4ddea:	6700 008a      	beqw 4de76 <rtems_string_to_unsigned_char+0xa2>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
   4ddee:	47f9 0005 0e54 	lea 50e54 <__errno>,%a3                     
   4ddf4:	4e93           	jsr %a3@                                    
   4ddf6:	2040           	moveal %d0,%a0                              
   4ddf8:	4290           	clrl %a0@                                   
  *n = 0;                                                             
   4ddfa:	4212           	clrb %a2@                                   
                                                                      
  result = strtoul( s, &end, base );                                  
   4ddfc:	2f2e 0014      	movel %fp@(20),%sp@-                        
   4de00:	486e fffc      	pea %fp@(-4)                                
   4de04:	2f02           	movel %d2,%sp@-                             
   4de06:	4eb9 0005 3d96 	jsr 53d96 <strtoul>                         
                                                                      
  if ( endptr )                                                       
   4de0c:	4fef 000c      	lea %sp@(12),%sp                            
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
   4de10:	2600           	movel %d0,%d3                               
                                                                      
  if ( endptr )                                                       
   4de12:	4a8c           	tstl %a4                                    
   4de14:	676c           	beqs 4de82 <rtems_string_to_unsigned_char+0xae>
    *endptr = end;                                                    
   4de16:	202e fffc      	movel %fp@(-4),%d0                          
   4de1a:	2880           	movel %d0,%a4@                              
                                                                      
  if ( end == s )                                                     
   4de1c:	b082           	cmpl %d2,%d0                                
   4de1e:	674a           	beqs 4de6a <rtems_string_to_unsigned_char+0x96>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
   4de20:	4e93           	jsr %a3@                                    
   4de22:	7222           	moveq #34,%d1                               
   4de24:	2040           	moveal %d0,%a0                              
   4de26:	b290           	cmpl %a0@,%d1                               
   4de28:	6716           	beqs 4de40 <rtems_string_to_unsigned_char+0x6c><== NEVER TAKEN
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
#if (UCHAR_MAX < ULONG_MAX)                                           
  if ( result > UCHAR_MAX ) {                                         
   4de2a:	0c83 0000 00ff 	cmpil #255,%d3                              
   4de30:	6224           	bhis 4de56 <rtems_string_to_unsigned_char+0x82><== NEVER TAKEN
  }                                                                   
#endif                                                                
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
   4de32:	4280           	clrl %d0                                    
    errno = ERANGE;                                                   
    return RTEMS_INVALID_NUMBER;                                      
  }                                                                   
#endif                                                                
                                                                      
  *n = result;                                                        
   4de34:	1483           	moveb %d3,%a2@                              
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4de36:	4cee 1c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a4            
   4de3c:	4e5e           	unlk %fp                                    
   4de3e:	4e75           	rts                                         
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
    (( result == 0 ) || ( result == ULONG_MAX )))                     
   4de40:	2003           	movel %d3,%d0                               <== NOT EXECUTED
   4de42:	5380           	subql #1,%d0                                <== NOT EXECUTED
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
   4de44:	72fd           	moveq #-3,%d1                               <== NOT EXECUTED
   4de46:	b280           	cmpl %d0,%d1                                <== NOT EXECUTED
   4de48:	64e0           	bccs 4de2a <rtems_string_to_unsigned_char+0x56><== NOT EXECUTED
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      return RTEMS_INVALID_NUMBER;                                    
   4de4a:	700a           	moveq #10,%d0                               <== NOT EXECUTED
#endif                                                                
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4de4c:	4cee 1c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a4            <== NOT EXECUTED
   4de52:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   4de54:	4e75           	rts                                         <== NOT EXECUTED
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
#if (UCHAR_MAX < ULONG_MAX)                                           
  if ( result > UCHAR_MAX ) {                                         
    errno = ERANGE;                                                   
   4de56:	4e93           	jsr %a3@                                    <== NOT EXECUTED
   4de58:	7222           	moveq #34,%d1                               <== NOT EXECUTED
   4de5a:	2040           	moveal %d0,%a0                              <== NOT EXECUTED
    return RTEMS_INVALID_NUMBER;                                      
   4de5c:	700a           	moveq #10,%d0                               <== NOT EXECUTED
#endif                                                                
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4de5e:	4cee 1c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a4            <== NOT EXECUTED
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
#if (UCHAR_MAX < ULONG_MAX)                                           
  if ( result > UCHAR_MAX ) {                                         
    errno = ERANGE;                                                   
   4de64:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
#endif                                                                
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4de66:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   4de68:	4e75           	rts                                         <== NOT EXECUTED
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
   4de6a:	700b           	moveq #11,%d0                               
#endif                                                                
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4de6c:	4cee 1c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a4            
   4de72:	4e5e           	unlk %fp                                    
   4de74:	4e75           	rts                                         
{                                                                     
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
   4de76:	7009           	moveq #9,%d0                                
#endif                                                                
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4de78:	4cee 1c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a4            
   4de7e:	4e5e           	unlk %fp                                    
   4de80:	4e75           	rts                                         
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
                                                                      
  if ( endptr )                                                       
   4de82:	202e fffc      	movel %fp@(-4),%d0                          
   4de86:	6094           	bras 4de1c <rtems_string_to_unsigned_char+0x48>
                                                                      

0004de88 <rtems_string_to_unsigned_int>: const char *s, unsigned int *n, char **endptr, int base ) {
   4de88:	4e56 ffe8      	linkw %fp,#-24                              
   4de8c:	48d7 1c0c      	moveml %d2-%d3/%a2-%a4,%sp@                 
   4de90:	242e 0008      	movel %fp@(8),%d2                           
   4de94:	246e 000c      	moveal %fp@(12),%a2                         
   4de98:	266e 0010      	moveal %fp@(16),%a3                         
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
   4de9c:	4a8a           	tstl %a2                                    
   4de9e:	676c           	beqs 4df0c <rtems_string_to_unsigned_int+0x84>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
   4dea0:	49f9 0005 0e54 	lea 50e54 <__errno>,%a4                     
   4dea6:	4e94           	jsr %a4@                                    
   4dea8:	2040           	moveal %d0,%a0                              
   4deaa:	4290           	clrl %a0@                                   
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
   4deac:	2f2e 0014      	movel %fp@(20),%sp@-                        
   4deb0:	486e fffc      	pea %fp@(-4)                                
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
   4deb4:	4292           	clrl %a2@                                   
                                                                      
  result = strtoul( s, &end, base );                                  
   4deb6:	2f02           	movel %d2,%sp@-                             
   4deb8:	4eb9 0005 3d96 	jsr 53d96 <strtoul>                         
                                                                      
  if ( endptr )                                                       
   4debe:	4fef 000c      	lea %sp@(12),%sp                            
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
   4dec2:	2600           	movel %d0,%d3                               
                                                                      
  if ( endptr )                                                       
   4dec4:	4a8b           	tstl %a3                                    
   4dec6:	6750           	beqs 4df18 <rtems_string_to_unsigned_int+0x90>
    *endptr = end;                                                    
   4dec8:	202e fffc      	movel %fp@(-4),%d0                          
   4decc:	2680           	movel %d0,%a3@                              
                                                                      
  if ( end == s )                                                     
   4dece:	b082           	cmpl %d2,%d0                                
   4ded0:	672e           	beqs 4df00 <rtems_string_to_unsigned_int+0x78>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
   4ded2:	4e94           	jsr %a4@                                    
   4ded4:	7222           	moveq #34,%d1                               
   4ded6:	2040           	moveal %d0,%a0                              
   4ded8:	b290           	cmpl %a0@,%d1                               
   4deda:	670e           	beqs 4deea <rtems_string_to_unsigned_int+0x62>
    errno = ERANGE;                                                   
    return RTEMS_INVALID_NUMBER;                                      
  }                                                                   
#endif                                                                
                                                                      
  *n = result;                                                        
   4dedc:	2483           	movel %d3,%a2@                              
                                                                      
  return RTEMS_SUCCESSFUL;                                            
   4dede:	4280           	clrl %d0                                    
}                                                                     
   4dee0:	4cee 1c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a4            
   4dee6:	4e5e           	unlk %fp                                    
   4dee8:	4e75           	rts                                         
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
    (( result == 0 ) || ( result == ULONG_MAX )))                     
   4deea:	2003           	movel %d3,%d0                               
   4deec:	5380           	subql #1,%d0                                
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
   4deee:	72fd           	moveq #-3,%d1                               
   4def0:	b280           	cmpl %d0,%d1                                
   4def2:	64e8           	bccs 4dedc <rtems_string_to_unsigned_int+0x54><== NEVER TAKEN
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      return RTEMS_INVALID_NUMBER;                                    
   4def4:	700a           	moveq #10,%d0                               
#endif                                                                
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4def6:	4cee 1c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a4            
   4defc:	4e5e           	unlk %fp                                    
   4defe:	4e75           	rts                                         
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
   4df00:	700b           	moveq #11,%d0                               
#endif                                                                
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4df02:	4cee 1c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a4            
   4df08:	4e5e           	unlk %fp                                    
   4df0a:	4e75           	rts                                         
{                                                                     
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
   4df0c:	7009           	moveq #9,%d0                                
#endif                                                                
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4df0e:	4cee 1c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a4            
   4df14:	4e5e           	unlk %fp                                    
   4df16:	4e75           	rts                                         
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
                                                                      
  if ( endptr )                                                       
   4df18:	202e fffc      	movel %fp@(-4),%d0                          
   4df1c:	60b0           	bras 4dece <rtems_string_to_unsigned_int+0x46>
	...                                                                  
                                                                      

0004dfd0 <rtems_string_to_unsigned_long>: const char *s, unsigned long *n, char **endptr, int base ) {
   4dfd0:	4e56 ffe8      	linkw %fp,#-24                              
   4dfd4:	48d7 1c0c      	moveml %d2-%d3/%a2-%a4,%sp@                 
   4dfd8:	242e 0008      	movel %fp@(8),%d2                           
   4dfdc:	246e 000c      	moveal %fp@(12),%a2                         
   4dfe0:	266e 0010      	moveal %fp@(16),%a3                         
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
   4dfe4:	4a8a           	tstl %a2                                    
   4dfe6:	676c           	beqs 4e054 <rtems_string_to_unsigned_long+0x84><== NEVER TAKEN
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
   4dfe8:	49f9 0005 0e54 	lea 50e54 <__errno>,%a4                     
   4dfee:	4e94           	jsr %a4@                                    
   4dff0:	2040           	moveal %d0,%a0                              
   4dff2:	4290           	clrl %a0@                                   
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
   4dff4:	2f2e 0014      	movel %fp@(20),%sp@-                        
   4dff8:	486e fffc      	pea %fp@(-4)                                
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
   4dffc:	4292           	clrl %a2@                                   
                                                                      
  result = strtoul( s, &end, base );                                  
   4dffe:	2f02           	movel %d2,%sp@-                             
   4e000:	4eb9 0005 3d96 	jsr 53d96 <strtoul>                         
                                                                      
  if ( endptr )                                                       
   4e006:	4fef 000c      	lea %sp@(12),%sp                            
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
   4e00a:	2600           	movel %d0,%d3                               
                                                                      
  if ( endptr )                                                       
   4e00c:	4a8b           	tstl %a3                                    
   4e00e:	6750           	beqs 4e060 <rtems_string_to_unsigned_long+0x90>
    *endptr = end;                                                    
   4e010:	202e fffc      	movel %fp@(-4),%d0                          
   4e014:	2680           	movel %d0,%a3@                              
                                                                      
  if ( end == s )                                                     
   4e016:	b082           	cmpl %d2,%d0                                
   4e018:	672e           	beqs 4e048 <rtems_string_to_unsigned_long+0x78>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
   4e01a:	4e94           	jsr %a4@                                    
   4e01c:	7222           	moveq #34,%d1                               
   4e01e:	2040           	moveal %d0,%a0                              
   4e020:	b290           	cmpl %a0@,%d1                               
   4e022:	670e           	beqs 4e032 <rtems_string_to_unsigned_long+0x62>
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
   4e024:	2483           	movel %d3,%a2@                              
                                                                      
  return RTEMS_SUCCESSFUL;                                            
   4e026:	4280           	clrl %d0                                    
}                                                                     
   4e028:	4cee 1c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a4            
   4e02e:	4e5e           	unlk %fp                                    
   4e030:	4e75           	rts                                         
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
    (( result == 0 ) || ( result == ULONG_MAX )))                     
   4e032:	2003           	movel %d3,%d0                               
   4e034:	5380           	subql #1,%d0                                
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
   4e036:	72fd           	moveq #-3,%d1                               
   4e038:	b280           	cmpl %d0,%d1                                
   4e03a:	64e8           	bccs 4e024 <rtems_string_to_unsigned_long+0x54><== NEVER TAKEN
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      return RTEMS_INVALID_NUMBER;                                    
   4e03c:	700a           	moveq #10,%d0                               
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4e03e:	4cee 1c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a4            
   4e044:	4e5e           	unlk %fp                                    
   4e046:	4e75           	rts                                         
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
   4e048:	700b           	moveq #11,%d0                               
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4e04a:	4cee 1c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a4            
   4e050:	4e5e           	unlk %fp                                    
   4e052:	4e75           	rts                                         
{                                                                     
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
   4e054:	7009           	moveq #9,%d0                                
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4e056:	4cee 1c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a4            
   4e05c:	4e5e           	unlk %fp                                    
   4e05e:	4e75           	rts                                         
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
                                                                      
  if ( endptr )                                                       
   4e060:	202e fffc      	movel %fp@(-4),%d0                          
   4e064:	60b0           	bras 4e016 <rtems_string_to_unsigned_long+0x46>
	...                                                                  
                                                                      

0004df20 <rtems_string_to_unsigned_long_long>: const char *s, unsigned long long *n, char **endptr, int base ) {
   4df20:	4e56 ffdc      	linkw %fp,#-36                              
   4df24:	48d7 1c7c      	moveml %d2-%d6/%a2-%a4,%sp@                 
   4df28:	242e 0008      	movel %fp@(8),%d2                           
   4df2c:	246e 000c      	moveal %fp@(12),%a2                         
   4df30:	266e 0010      	moveal %fp@(16),%a3                         
  unsigned long long result;                                          
  char *end;                                                          
                                                                      
  if ( !n )                                                           
   4df34:	4a8a           	tstl %a2                                    
   4df36:	6700 0084      	beqw 4dfbc <rtems_string_to_unsigned_long_long+0x9c>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
   4df3a:	49f9 0005 0e54 	lea 50e54 <__errno>,%a4                     
   4df40:	4e94           	jsr %a4@                                    
   4df42:	2040           	moveal %d0,%a0                              
  *n = 0;                                                             
   4df44:	4280           	clrl %d0                                    
   4df46:	4281           	clrl %d1                                    
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
   4df48:	4290           	clrl %a0@                                   
  *n = 0;                                                             
   4df4a:	2480           	movel %d0,%a2@                              
   4df4c:	2541 0004      	movel %d1,%a2@(4)                           
                                                                      
  result = strtoull( s, &end, base );                                 
   4df50:	2f2e 0014      	movel %fp@(20),%sp@-                        
   4df54:	486e fffc      	pea %fp@(-4)                                
   4df58:	2f02           	movel %d2,%sp@-                             
   4df5a:	4eb9 0005 3db8 	jsr 53db8 <strtoull>                        
                                                                      
  if ( endptr )                                                       
   4df60:	4fef 000c      	lea %sp@(12),%sp                            
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoull( s, &end, base );                                 
   4df64:	2600           	movel %d0,%d3                               
   4df66:	2801           	movel %d1,%d4                               
                                                                      
  if ( endptr )                                                       
   4df68:	4a8b           	tstl %a3                                    
   4df6a:	675c           	beqs 4dfc8 <rtems_string_to_unsigned_long_long+0xa8>
    *endptr = end;                                                    
   4df6c:	202e fffc      	movel %fp@(-4),%d0                          
   4df70:	2680           	movel %d0,%a3@                              
                                                                      
  if ( end == s )                                                     
   4df72:	b082           	cmpl %d2,%d0                                
   4df74:	673a           	beqs 4dfb0 <rtems_string_to_unsigned_long_long+0x90>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
   4df76:	4e94           	jsr %a4@                                    
   4df78:	7222           	moveq #34,%d1                               
   4df7a:	2040           	moveal %d0,%a0                              
   4df7c:	b290           	cmpl %a0@,%d1                               
   4df7e:	6712           	beqs 4df92 <rtems_string_to_unsigned_long_long+0x72>
    (( result == 0 ) || ( result == ULONG_LONG_MAX )))                
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
   4df80:	4280           	clrl %d0                                    
                                                                      
  if ( ( errno == ERANGE ) &&                                         
    (( result == 0 ) || ( result == ULONG_LONG_MAX )))                
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
   4df82:	2483           	movel %d3,%a2@                              
   4df84:	2544 0004      	movel %d4,%a2@(4)                           
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4df88:	4cee 1c7c ffdc 	moveml %fp@(-36),%d2-%d6/%a2-%a4            
   4df8e:	4e5e           	unlk %fp                                    
   4df90:	4e75           	rts                                         
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
    (( result == 0 ) || ( result == ULONG_LONG_MAX )))                
   4df92:	70ff           	moveq #-1,%d0                               
   4df94:	72ff           	moveq #-1,%d1                               
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
   4df96:	7aff           	moveq #-1,%d5                               
   4df98:	7cfd           	moveq #-3,%d6                               
    (( result == 0 ) || ( result == ULONG_LONG_MAX )))                
   4df9a:	d284           	addl %d4,%d1                                
   4df9c:	d183           	addxl %d3,%d0                               
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
   4df9e:	9c81           	subl %d1,%d6                                
   4dfa0:	9b80           	subxl %d0,%d5                               
   4dfa2:	64dc           	bccs 4df80 <rtems_string_to_unsigned_long_long+0x60><== NEVER TAKEN
    (( result == 0 ) || ( result == ULONG_LONG_MAX )))                
      return RTEMS_INVALID_NUMBER;                                    
   4dfa4:	700a           	moveq #10,%d0                               
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4dfa6:	4cee 1c7c ffdc 	moveml %fp@(-36),%d2-%d6/%a2-%a4            
   4dfac:	4e5e           	unlk %fp                                    
   4dfae:	4e75           	rts                                         
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
   4dfb0:	700b           	moveq #11,%d0                               
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4dfb2:	4cee 1c7c ffdc 	moveml %fp@(-36),%d2-%d6/%a2-%a4            
   4dfb8:	4e5e           	unlk %fp                                    
   4dfba:	4e75           	rts                                         
{                                                                     
  unsigned long long result;                                          
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
   4dfbc:	7009           	moveq #9,%d0                                
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4dfbe:	4cee 1c7c ffdc 	moveml %fp@(-36),%d2-%d6/%a2-%a4            
   4dfc4:	4e5e           	unlk %fp                                    
   4dfc6:	4e75           	rts                                         
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoull( s, &end, base );                                 
                                                                      
  if ( endptr )                                                       
   4dfc8:	202e fffc      	movel %fp@(-4),%d0                          
   4dfcc:	60a4           	bras 4df72 <rtems_string_to_unsigned_long_long+0x52>
	...                                                                  
                                                                      

00042b8c <rtems_tarfs_load>: int rtems_tarfs_load( char *mountpoint, uint8_t *tar_image, size_t tar_size ) {
   42b8c:	4e56 fe44      	linkw %fp,#-444                             
   42b90:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
   int                              offset;                           
   unsigned long                    nblocks;                          
   IMFS_jnode_t                    *node;                             
   int                              status;                           
                                                                      
   status = rtems_filesystem_evaluate_path(                           
   42b94:	2f2e 0008      	movel %fp@(8),%sp@-                         
int rtems_tarfs_load(                                                 
  char    *mountpoint,                                                
  uint8_t *tar_image,                                                 
  size_t   tar_size                                                   
)                                                                     
{                                                                     
   42b98:	2a2e 000c      	movel %fp@(12),%d5                          
   int                              offset;                           
   unsigned long                    nblocks;                          
   IMFS_jnode_t                    *node;                             
   int                              status;                           
                                                                      
   status = rtems_filesystem_evaluate_path(                           
   42b9c:	4eb9 0005 3834 	jsr 53834 <strlen>                          
int rtems_tarfs_load(                                                 
  char    *mountpoint,                                                
  uint8_t *tar_image,                                                 
  size_t   tar_size                                                   
)                                                                     
{                                                                     
   42ba2:	2c2e 0010      	movel %fp@(16),%d6                          
   int                              offset;                           
   unsigned long                    nblocks;                          
   IMFS_jnode_t                    *node;                             
   int                              status;                           
                                                                      
   status = rtems_filesystem_evaluate_path(                           
   42ba6:	4297           	clrl %sp@                                   
   42ba8:	486e ffe8      	pea %fp@(-24)                               
   42bac:	42a7           	clrl %sp@-                                  
   42bae:	2f00           	movel %d0,%sp@-                             
   42bb0:	2f2e 0008      	movel %fp@(8),%sp@-                         
   42bb4:	4eb9 0004 36e4 	jsr 436e4 <rtems_filesystem_evaluate_path>  
      strlen(mountpoint),                                             
      0,                                                              
      &root_loc,                                                      
      0                                                               
   );                                                                 
   if (status != 0)                                                   
   42bba:	4fef 0014      	lea %sp@(20),%sp                            
   int                              offset;                           
   unsigned long                    nblocks;                          
   IMFS_jnode_t                    *node;                             
   int                              status;                           
                                                                      
   status = rtems_filesystem_evaluate_path(                           
   42bbe:	2d40 fe6c      	movel %d0,%fp@(-404)                        
      strlen(mountpoint),                                             
      0,                                                              
      &root_loc,                                                      
      0                                                               
   );                                                                 
   if (status != 0)                                                   
   42bc2:	6600 0168      	bnew 42d2c <rtems_tarfs_load+0x1a0>         
     return -1;                                                       
                                                                      
   if (root_loc.ops != &IMFS_ops && root_loc.ops != &fifoIMFS_ops)    
   42bc6:	202e fff4      	movel %fp@(-12),%d0                         
   42bca:	0c80 0006 3280 	cmpil #406144,%d0                           
   42bd0:	6600 01b8      	bnew 42d8a <rtems_tarfs_load+0x1fe>         
   42bd4:	95ca           	subal %a2,%a2                               
    hdr_ptr = (char *) &tar_image[offset];                            
    offset += 512;                                                    
    if (strncmp(&hdr_ptr[257], "ustar", 5))                           
      break;                                                          
                                                                      
    strncpy(filename, hdr_ptr, MAX_NAME_FIELD_SIZE);                  
   42bd6:	280e           	movel %fp,%d4                               
   /*                                                                 
    * Create an IMFS node structure pointing to tar image memory.     
    */                                                                
   offset = 0;                                                        
   while (1) {                                                        
    if (offset + 512 > tar_size)                                      
   42bd8:	240a           	movel %a2,%d2                               
    hdr_ptr = (char *) &tar_image[offset];                            
    offset += 512;                                                    
    if (strncmp(&hdr_ptr[257], "ustar", 5))                           
      break;                                                          
                                                                      
    strncpy(filename, hdr_ptr, MAX_NAME_FIELD_SIZE);                  
   42bda:	0684 ffff ff70 	addil #-144,%d4                             
     * - For directories, just create directories as usual.  IMFS     
     *   will take care of the rest.                                  
     * - For files, create a file node with special tarfs properties. 
     */                                                               
    if (linkflag == DIRTYPE) {                                        
      strcpy(full_filename, mountpoint);                              
   42be0:	4bee fe70      	lea %fp@(-400),%a5                          
   /*                                                                 
    * Create an IMFS node structure pointing to tar image memory.     
    */                                                                
   offset = 0;                                                        
   while (1) {                                                        
    if (offset + 512 > tar_size)                                      
   42be4:	0682 0000 0200 	addil #512,%d2                              
   42bea:	bc82           	cmpl %d2,%d6                                
   42bec:	6500 0098      	bcsw 42c86 <rtems_tarfs_load+0xfa>          
    /*                                                                
     * Read a header.                                                 
     */                                                               
    hdr_ptr = (char *) &tar_image[offset];                            
    offset += 512;                                                    
    if (strncmp(&hdr_ptr[257], "ustar", 5))                           
   42bf0:	4878 0005      	pea 5 <COMPARE>                             
      break;                                                          
                                                                      
    /*                                                                
     * Read a header.                                                 
     */                                                               
    hdr_ptr = (char *) &tar_image[offset];                            
   42bf4:	45f2 5800      	lea %a2@(00000000,%d5:l),%a2                
    offset += 512;                                                    
    if (strncmp(&hdr_ptr[257], "ustar", 5))                           
   42bf8:	4879 0006 32c8 	pea 632c8 <IMFS_ops+0x48>                   
   42bfe:	486a 0101      	pea %a2@(257)                               
   42c02:	4eb9 0005 384c 	jsr 5384c <strncmp>                         
   42c08:	4fef 000c      	lea %sp@(12),%sp                            
   42c0c:	4a80           	tstl %d0                                    
   42c0e:	6676           	bnes 42c86 <rtems_tarfs_load+0xfa>          
      break;                                                          
                                                                      
    strncpy(filename, hdr_ptr, MAX_NAME_FIELD_SIZE);                  
   42c10:	4878 0063      	pea 63 <DBL_MANT_DIG+0x2e>                  
    filename[MAX_NAME_FIELD_SIZE] = '\0';                             
                                                                      
    linkflag   = hdr_ptr[156];                                        
    file_mode  = _rtems_octal2ulong(&hdr_ptr[100], 8);                
   42c14:	47f9 0004 ad88 	lea 4ad88 <_rtems_octal2ulong>,%a3          
    hdr_ptr = (char *) &tar_image[offset];                            
    offset += 512;                                                    
    if (strncmp(&hdr_ptr[257], "ustar", 5))                           
      break;                                                          
                                                                      
    strncpy(filename, hdr_ptr, MAX_NAME_FIELD_SIZE);                  
   42c1a:	2f0a           	movel %a2,%sp@-                             
   42c1c:	2f04           	movel %d4,%sp@-                             
   42c1e:	4eb9 0005 393c 	jsr 5393c <strncpy>                         
    filename[MAX_NAME_FIELD_SIZE] = '\0';                             
                                                                      
    linkflag   = hdr_ptr[156];                                        
    file_mode  = _rtems_octal2ulong(&hdr_ptr[100], 8);                
   42c24:	4878 0008      	pea 8 <DIVIDE_BY_ZERO>                      
   42c28:	486a 0064      	pea %a2@(100)                               
    offset += 512;                                                    
    if (strncmp(&hdr_ptr[257], "ustar", 5))                           
      break;                                                          
                                                                      
    strncpy(filename, hdr_ptr, MAX_NAME_FIELD_SIZE);                  
    filename[MAX_NAME_FIELD_SIZE] = '\0';                             
   42c2c:	4200           	clrb %d0                                    
   42c2e:	1d40 ffd3      	moveb %d0,%fp@(-45)                         
                                                                      
    linkflag   = hdr_ptr[156];                                        
   42c32:	162a 009c      	moveb %a2@(156),%d3                         
    file_mode  = _rtems_octal2ulong(&hdr_ptr[100], 8);                
   42c36:	4e93           	jsr %a3@                                    
    file_size  = _rtems_octal2ulong(&hdr_ptr[124], 12);               
   42c38:	4878 000c      	pea c <OPER1>                               
                                                                      
    strncpy(filename, hdr_ptr, MAX_NAME_FIELD_SIZE);                  
    filename[MAX_NAME_FIELD_SIZE] = '\0';                             
                                                                      
    linkflag   = hdr_ptr[156];                                        
    file_mode  = _rtems_octal2ulong(&hdr_ptr[100], 8);                
   42c3c:	2840           	moveal %d0,%a4                              
    file_size  = _rtems_octal2ulong(&hdr_ptr[124], 12);               
   42c3e:	486a 007c      	pea %a2@(124)                               
   42c42:	4e93           	jsr %a3@                                    
    hdr_chksum = _rtems_octal2ulong(&hdr_ptr[148], 8);                
   42c44:	4878 0008      	pea 8 <DIVIDE_BY_ZERO>                      
    strncpy(filename, hdr_ptr, MAX_NAME_FIELD_SIZE);                  
    filename[MAX_NAME_FIELD_SIZE] = '\0';                             
                                                                      
    linkflag   = hdr_ptr[156];                                        
    file_mode  = _rtems_octal2ulong(&hdr_ptr[100], 8);                
    file_size  = _rtems_octal2ulong(&hdr_ptr[124], 12);               
   42c48:	2e00           	movel %d0,%d7                               
    hdr_chksum = _rtems_octal2ulong(&hdr_ptr[148], 8);                
   42c4a:	486a 0094      	pea %a2@(148)                               
   42c4e:	4e93           	jsr %a3@                                    
                                                                      
    if (_rtems_tar_header_checksum(hdr_ptr) != hdr_chksum)            
   42c50:	4fef 0020      	lea %sp@(32),%sp                            
    filename[MAX_NAME_FIELD_SIZE] = '\0';                             
                                                                      
    linkflag   = hdr_ptr[156];                                        
    file_mode  = _rtems_octal2ulong(&hdr_ptr[100], 8);                
    file_size  = _rtems_octal2ulong(&hdr_ptr[124], 12);               
    hdr_chksum = _rtems_octal2ulong(&hdr_ptr[148], 8);                
   42c54:	2640           	moveal %d0,%a3                              
                                                                      
    if (_rtems_tar_header_checksum(hdr_ptr) != hdr_chksum)            
   42c56:	2e8a           	movel %a2,%sp@                              
   42c58:	4eb9 0004 b236 	jsr 4b236 <_rtems_tar_header_checksum>      
   42c5e:	588f           	addql #4,%sp                                
   42c60:	b7c0           	cmpal %d0,%a3                               
   42c62:	6622           	bnes 42c86 <rtems_tarfs_load+0xfa>          <== NEVER TAKEN
     * Generate an IMFS node depending on the file type.              
     * - For directories, just create directories as usual.  IMFS     
     *   will take care of the rest.                                  
     * - For files, create a file node with special tarfs properties. 
     */                                                               
    if (linkflag == DIRTYPE) {                                        
   42c64:	7235           	moveq #53,%d1                               
   42c66:	0283 0000 00ff 	andil #255,%d3                              
   42c6c:	b283           	cmpl %d3,%d1                                
   42c6e:	676c           	beqs 42cdc <rtems_tarfs_load+0x150>         
     *        IMFS_create_node was ONLY passed a NULL when we created the
     *        root node.  We added a new IMFS_create_root_node() so this
     *        path no longer existed.  The result was simpler code which
     *        should not have this path.                              
     */                                                               
    else if (linkflag == REGTYPE) {                                   
   42c70:	7030           	moveq #48,%d0                               
   42c72:	b083           	cmpl %d3,%d0                                
   42c74:	671e           	beqs 42c94 <rtems_tarfs_load+0x108>         
      0                                                               
   );                                                                 
   if (status != 0)                                                   
     return -1;                                                       
                                                                      
   if (root_loc.ops != &IMFS_ops && root_loc.ops != &fifoIMFS_ops)    
   42c76:	2442           	moveal %d2,%a2                              
   /*                                                                 
    * Create an IMFS node structure pointing to tar image memory.     
    */                                                                
   offset = 0;                                                        
   while (1) {                                                        
    if (offset + 512 > tar_size)                                      
   42c78:	240a           	movel %a2,%d2                               
   42c7a:	0682 0000 0200 	addil #512,%d2                              
   42c80:	bc82           	cmpl %d2,%d6                                
   42c82:	6400 ff6c      	bccw 42bf0 <rtems_tarfs_load+0x64>          
      nblocks = (((file_size) + 511) & ~511) / 512;                   
      offset += 512 * nblocks;                                        
    }                                                                 
  }                                                                   
  return status;                                                      
}                                                                     
   42c86:	202e fe6c      	movel %fp@(-404),%d0                        
   42c8a:	4cee 3cfc fe44 	moveml %fp@(-444),%d2-%d7/%a2-%a5           
   42c90:	4e5e           	unlk %fp                                    
   42c92:	4e75           	rts                                         
     */                                                               
    else if (linkflag == REGTYPE) {                                   
      const char  *name;                                              
                                                                      
      loc = root_loc;                                                 
      if (IMFS_evaluate_for_make(filename, &loc, &name) == 0) {       
   42c94:	486e fffc      	pea %fp@(-4)                                
   42c98:	486e ffd4      	pea %fp@(-44)                               
     *        should not have this path.                              
     */                                                               
    else if (linkflag == REGTYPE) {                                   
      const char  *name;                                              
                                                                      
      loc = root_loc;                                                 
   42c9c:	2d6e ffe8 ffd4 	movel %fp@(-24),%fp@(-44)                   
   42ca2:	2d6e ffec ffd8 	movel %fp@(-20),%fp@(-40)                   
   42ca8:	2d6e fff0 ffdc 	movel %fp@(-16),%fp@(-36)                   
   42cae:	2d6e fff4 ffe0 	movel %fp@(-12),%fp@(-32)                   
   42cb4:	2d6e fff8 ffe4 	movel %fp@(-8),%fp@(-28)                    
      if (IMFS_evaluate_for_make(filename, &loc, &name) == 0) {       
   42cba:	2f04           	movel %d4,%sp@-                             
   42cbc:	4eb9 0004 bbca 	jsr 4bbca <IMFS_evaluate_for_make>          
   42cc2:	4fef 000c      	lea %sp@(12),%sp                            
   42cc6:	4a80           	tstl %d0                                    
   42cc8:	6776           	beqs 42d40 <rtems_tarfs_load+0x1b4>         <== ALWAYS TAKEN
        );                                                            
        node->info.linearfile.size   = file_size;                     
        node->info.linearfile.direct = &tar_image[offset];            
      }                                                               
                                                                      
      nblocks = (((file_size) + 511) & ~511) / 512;                   
   42cca:	0687 0000 01ff 	addil #511,%d7                              <== NOT EXECUTED
      offset += 512 * nblocks;                                        
   42cd0:	0287 ffff fe00 	andil #-512,%d7                             <== NOT EXECUTED
   42cd6:	d487           	addl %d7,%d2                                <== NOT EXECUTED
      0                                                               
   );                                                                 
   if (status != 0)                                                   
     return -1;                                                       
                                                                      
   if (root_loc.ops != &IMFS_ops && root_loc.ops != &fifoIMFS_ops)    
   42cd8:	2442           	moveal %d2,%a2                              
   42cda:	609c           	bras 42c78 <rtems_tarfs_load+0xec>          
     * - For directories, just create directories as usual.  IMFS     
     *   will take care of the rest.                                  
     * - For files, create a file node with special tarfs properties. 
     */                                                               
    if (linkflag == DIRTYPE) {                                        
      strcpy(full_filename, mountpoint);                              
   42cdc:	2f2e 0008      	movel %fp@(8),%sp@-                         
      if (full_filename[strlen(full_filename)-1] != '/')              
   42ce0:	762f           	moveq #47,%d3                               
     * - For directories, just create directories as usual.  IMFS     
     *   will take care of the rest.                                  
     * - For files, create a file node with special tarfs properties. 
     */                                                               
    if (linkflag == DIRTYPE) {                                        
      strcpy(full_filename, mountpoint);                              
   42ce2:	2f0d           	movel %a5,%sp@-                             
   42ce4:	4eb9 0005 3388 	jsr 53388 <strcpy>                          
      if (full_filename[strlen(full_filename)-1] != '/')              
   42cea:	2f0d           	movel %a5,%sp@-                             
   42cec:	4eb9 0005 3834 	jsr 53834 <strlen>                          
   42cf2:	4fef 000c      	lea %sp@(12),%sp                            
   42cf6:	41f6 0800      	lea %fp@(00000000,%d0:l),%a0                
   42cfa:	1228 fe6f      	moveb %a0@(-401),%d1                        
   42cfe:	49c1           	extbl %d1                                   
   42d00:	b681           	cmpl %d1,%d3                                
   42d02:	6708           	beqs 42d0c <rtems_tarfs_load+0x180>         <== ALWAYS TAKEN
        strcat(full_filename, "/");                                   
   42d04:	323c 2f00      	movew #12032,%d1                            <== NOT EXECUTED
   42d08:	3b81 0800      	movew %d1,%a5@(00000000,%d0:l)              <== NOT EXECUTED
      strcat(full_filename, filename);                                
   42d0c:	2f04           	movel %d4,%sp@-                             
      0                                                               
   );                                                                 
   if (status != 0)                                                   
     return -1;                                                       
                                                                      
   if (root_loc.ops != &IMFS_ops && root_loc.ops != &fifoIMFS_ops)    
   42d0e:	2442           	moveal %d2,%a2                              
     */                                                               
    if (linkflag == DIRTYPE) {                                        
      strcpy(full_filename, mountpoint);                              
      if (full_filename[strlen(full_filename)-1] != '/')              
        strcat(full_filename, "/");                                   
      strcat(full_filename, filename);                                
   42d10:	2f0d           	movel %a5,%sp@-                             
   42d12:	4eb9 0005 3270 	jsr 53270 <strcat>                          
      mkdir(full_filename, S_IRWXU | S_IRWXG | S_IRWXO);              
   42d18:	4878 01ff      	pea 1ff <DBL_MANT_DIG+0x1ca>                
   42d1c:	2f0d           	movel %a5,%sp@-                             
   42d1e:	4eb9 0004 4040 	jsr 44040 <mkdir>                           
   42d24:	4fef 0010      	lea %sp@(16),%sp                            
   42d28:	6000 ff4e      	braw 42c78 <rtems_tarfs_load+0xec>          
      0,                                                              
      &root_loc,                                                      
      0                                                               
   );                                                                 
   if (status != 0)                                                   
     return -1;                                                       
   42d2c:	76ff           	moveq #-1,%d3                               
   42d2e:	2d43 fe6c      	movel %d3,%fp@(-404)                        
      nblocks = (((file_size) + 511) & ~511) / 512;                   
      offset += 512 * nblocks;                                        
    }                                                                 
  }                                                                   
  return status;                                                      
}                                                                     
   42d32:	202e fe6c      	movel %fp@(-404),%d0                        
   42d36:	4cee 3cfc fe44 	moveml %fp@(-444),%d2-%d7/%a2-%a5           
   42d3c:	4e5e           	unlk %fp                                    
   42d3e:	4e75           	rts                                         
      loc = root_loc;                                                 
      if (IMFS_evaluate_for_make(filename, &loc, &name) == 0) {       
        node = IMFS_create_node(                                      
          &loc,                                                       
          IMFS_LINEAR_FILE, (char *)name,                             
          (file_mode & (S_IRWXU | S_IRWXG | S_IRWXO)) | S_IFREG,      
   42d40:	200c           	movel %a4,%d0                               
   42d42:	0280 0000 01ff 	andil #511,%d0                              
    else if (linkflag == REGTYPE) {                                   
      const char  *name;                                              
                                                                      
      loc = root_loc;                                                 
      if (IMFS_evaluate_for_make(filename, &loc, &name) == 0) {       
        node = IMFS_create_node(                                      
   42d48:	42a7           	clrl %sp@-                                  
   42d4a:	08c0 000f      	bset #15,%d0                                
   42d4e:	2f00           	movel %d0,%sp@-                             
   42d50:	2f2e fffc      	movel %fp@(-4),%sp@-                        
   42d54:	4878 0006      	pea 6 <EXTENDSFDF>                          
   42d58:	486e ffd4      	pea %fp@(-44)                               
   42d5c:	4eb9 0004 b44e 	jsr 4b44e <IMFS_create_node>                
          IMFS_LINEAR_FILE, (char *)name,                             
          (file_mode & (S_IRWXU | S_IRWXG | S_IRWXO)) | S_IFREG,      
          NULL                                                        
        );                                                            
        node->info.linearfile.size   = file_size;                     
        node->info.linearfile.direct = &tar_image[offset];            
   42d62:	4fef 0014      	lea %sp@(20),%sp                            
   42d66:	2205           	movel %d5,%d1                               
    else if (linkflag == REGTYPE) {                                   
      const char  *name;                                              
                                                                      
      loc = root_loc;                                                 
      if (IMFS_evaluate_for_make(filename, &loc, &name) == 0) {       
        node = IMFS_create_node(                                      
   42d68:	2040           	moveal %d0,%a0                              
          IMFS_LINEAR_FILE, (char *)name,                             
          (file_mode & (S_IRWXU | S_IRWXG | S_IRWXO)) | S_IFREG,      
          NULL                                                        
        );                                                            
        node->info.linearfile.size   = file_size;                     
        node->info.linearfile.direct = &tar_image[offset];            
   42d6a:	d282           	addl %d2,%d1                                
          &loc,                                                       
          IMFS_LINEAR_FILE, (char *)name,                             
          (file_mode & (S_IRWXU | S_IRWXG | S_IRWXO)) | S_IFREG,      
          NULL                                                        
        );                                                            
        node->info.linearfile.size   = file_size;                     
   42d6c:	2147 0050      	movel %d7,%a0@(80)                          
        node->info.linearfile.direct = &tar_image[offset];            
      }                                                               
                                                                      
      nblocks = (((file_size) + 511) & ~511) / 512;                   
   42d70:	0687 0000 01ff 	addil #511,%d7                              
      offset += 512 * nblocks;                                        
   42d76:	0287 ffff fe00 	andil #-512,%d7                             
          IMFS_LINEAR_FILE, (char *)name,                             
          (file_mode & (S_IRWXU | S_IRWXG | S_IRWXO)) | S_IFREG,      
          NULL                                                        
        );                                                            
        node->info.linearfile.size   = file_size;                     
        node->info.linearfile.direct = &tar_image[offset];            
   42d7c:	2141 0054      	movel %d1,%a0@(84)                          
      }                                                               
                                                                      
      nblocks = (((file_size) + 511) & ~511) / 512;                   
      offset += 512 * nblocks;                                        
   42d80:	d487           	addl %d7,%d2                                
          &loc,                                                       
          IMFS_LINEAR_FILE, (char *)name,                             
          (file_mode & (S_IRWXU | S_IRWXG | S_IRWXO)) | S_IFREG,      
          NULL                                                        
        );                                                            
        node->info.linearfile.size   = file_size;                     
   42d82:	42a8 004c      	clrl %a0@(76)                               
   42d86:	6000 ff50      	braw 42cd8 <rtems_tarfs_load+0x14c>         
      0                                                               
   );                                                                 
   if (status != 0)                                                   
     return -1;                                                       
                                                                      
   if (root_loc.ops != &IMFS_ops && root_loc.ops != &fifoIMFS_ops)    
   42d8a:	0c80 0006 3ad4 	cmpil #408276,%d0                           
   42d90:	6700 fe42      	beqw 42bd4 <rtems_tarfs_load+0x48>          
     return -1;                                                       
   42d94:	70ff           	moveq #-1,%d0                               
   42d96:	2d40 fe6c      	movel %d0,%fp@(-404)                        
      nblocks = (((file_size) + 511) & ~511) / 512;                   
      offset += 512 * nblocks;                                        
    }                                                                 
  }                                                                   
  return status;                                                      
}                                                                     
   42d9a:	202e fe6c      	movel %fp@(-404),%d0                        
   42d9e:	4cee 3cfc fe44 	moveml %fp@(-444),%d2-%d7/%a2-%a5           
   42da4:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004e674 <rtems_task_mode>: rtems_status_code rtems_task_mode( rtems_mode mode_set, rtems_mode mask, rtems_mode *previous_mode_set ) {
   4e674:	4e56 ffe4      	linkw %fp,#-28                              
   4e678:	48d7 1c3c      	moveml %d2-%d5/%a2-%a4,%sp@                 
   4e67c:	2a2e 0008      	movel %fp@(8),%d5                           
   4e680:	242e 000c      	movel %fp@(12),%d2                          
   4e684:	286e 0010      	moveal %fp@(16),%a4                         
  ASR_Information    *asr;                                            
  bool                is_asr_enabled = false;                         
  bool                needs_asr_dispatching = false;                  
  rtems_mode          old_mode;                                       
                                                                      
  if ( !previous_mode_set )                                           
   4e688:	4a8c           	tstl %a4                                    
   4e68a:	6700 015a      	beqw 4e7e6 <rtems_task_mode+0x172>          
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
   4e68e:	2479 0006 10d2 	moveal 610d2 <_Per_CPU_Information+0xc>,%a2 
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
   4e694:	4a2a 0074      	tstb %a2@(116)                              
   4e698:	57c3           	seq %d3                                     
                                                                      
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
   4e69a:	266a 00fe      	moveal %a2@(254),%a3                        
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
   4e69e:	49c3           	extbl %d3                                   
   4e6a0:	0283 0000 0100 	andil #256,%d3                              
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
   4e6a6:	4aaa 007a      	tstl %a2@(122)                              
   4e6aa:	6600 00cc      	bnew 4e778 <rtems_task_mode+0x104>          
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
   4e6ae:	4a2b 0008      	tstb %a3@(8)                                
   4e6b2:	57c4           	seq %d4                                     
  old_mode |= _ISR_Get_level();                                       
   4e6b4:	4eb9 0004 a048 	jsr 4a048 <_CPU_ISR_Get_level>              
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
   4e6ba:	49c4           	extbl %d4                                   
   4e6bc:	0284 0000 0400 	andil #1024,%d4                             
   4e6c2:	8084           	orl %d4,%d0                                 
  old_mode |= _ISR_Get_level();                                       
   4e6c4:	8083           	orl %d3,%d0                                 
   4e6c6:	2880           	movel %d0,%a4@                              
  *previous_mode_set = old_mode;                                      
                                                                      
  /*                                                                  
   *  These are generic thread scheduling characteristics.            
   */                                                                 
  if ( mask & RTEMS_PREEMPT_MASK )                                    
   4e6c8:	0802 0008      	btst #8,%d2                                 
   4e6cc:	670c           	beqs 4e6da <rtems_task_mode+0x66>           
    executing->is_preemptible = _Modes_Is_preempt(mode_set) ? true : false;
   4e6ce:	0805 0008      	btst #8,%d5                                 
   4e6d2:	57c0           	seq %d0                                     
   4e6d4:	4480           	negl %d0                                    
   4e6d6:	1540 0074      	moveb %d0,%a2@(116)                         
                                                                      
  if ( mask & RTEMS_TIMESLICE_MASK ) {                                
   4e6da:	0802 0009      	btst #9,%d2                                 
   4e6de:	6718           	beqs 4e6f8 <rtems_task_mode+0x84>           
    if ( _Modes_Is_timeslice(mode_set) ) {                            
   4e6e0:	0805 0009      	btst #9,%d5                                 
   4e6e4:	6700 00ee      	beqw 4e7d4 <rtems_task_mode+0x160>          
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;
   4e6e8:	7001           	moveq #1,%d0                                
      executing->cpu_time_budget  = _Thread_Ticks_per_timeslice;      
   4e6ea:	41f9 0006 0c20 	lea 60c20 <_Thread_Ticks_per_timeslice>,%a0 
  if ( mask & RTEMS_PREEMPT_MASK )                                    
    executing->is_preemptible = _Modes_Is_preempt(mode_set) ? true : false;
                                                                      
  if ( mask & RTEMS_TIMESLICE_MASK ) {                                
    if ( _Modes_Is_timeslice(mode_set) ) {                            
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;
   4e6f0:	2540 007a      	movel %d0,%a2@(122)                         
      executing->cpu_time_budget  = _Thread_Ticks_per_timeslice;      
   4e6f4:	2550 0076      	movel %a0@,%a2@(118)                        
  }                                                                   
                                                                      
  /*                                                                  
   *  Set the new interrupt level                                     
   */                                                                 
  if ( mask & RTEMS_INTERRUPT_MASK )                                  
   4e6f8:	7007           	moveq #7,%d0                                
   4e6fa:	c082           	andl %d2,%d0                                
   4e6fc:	6712           	beqs 4e710 <rtems_task_mode+0x9c>           
 */                                                                   
RTEMS_INLINE_ROUTINE void _Modes_Set_interrupt_level (                
  Modes_Control mode_set                                              
)                                                                     
{                                                                     
  _ISR_Set_level( _Modes_Get_interrupt_level( mode_set ) );           
   4e6fe:	40c0           	movew %sr,%d0                               
 */                                                                   
RTEMS_INLINE_ROUTINE ISR_Level _Modes_Get_interrupt_level (           
  Modes_Control mode_set                                              
)                                                                     
{                                                                     
  return ( mode_set & RTEMS_INTERRUPT_MASK );                         
   4e700:	7207           	moveq #7,%d1                                
   4e702:	c285           	andl %d5,%d1                                
 */                                                                   
RTEMS_INLINE_ROUTINE void _Modes_Set_interrupt_level (                
  Modes_Control mode_set                                              
)                                                                     
{                                                                     
  _ISR_Set_level( _Modes_Get_interrupt_level( mode_set ) );           
   4e704:	0280 0000 f8ff 	andil #63743,%d0                            
   4e70a:	e189           	lsll #8,%d1                                 
   4e70c:	8081           	orl %d1,%d0                                 
   4e70e:	46c0           	movew %d0,%sr                               
   *  This is specific to the RTEMS API                               
   */                                                                 
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
   4e710:	0802 000a      	btst #10,%d2                                
   4e714:	6754           	beqs 4e76a <rtems_task_mode+0xf6>           
    is_asr_enabled = _Modes_Is_asr_disabled( mode_set ) ? false : true;
    if ( is_asr_enabled != asr->is_enabled ) {                        
   4e716:	4282           	clrl %d2                                    
   4e718:	142b 0008      	moveb %a3@(8),%d2                           
   4e71c:	4280           	clrl %d0                                    
 *  Output:                                                           
 *    *previous_mode_set - previous mode set                          
 *     always return RTEMS_SUCCESSFUL;                                
 */                                                                   
                                                                      
rtems_status_code rtems_task_mode(                                    
   4e71e:	0805 000a      	btst #10,%d5                                
   4e722:	57c1           	seq %d1                                     
   4e724:	4481           	negl %d1                                    
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
    is_asr_enabled = _Modes_Is_asr_disabled( mode_set ) ? false : true;
    if ( is_asr_enabled != asr->is_enabled ) {                        
   4e726:	1001           	moveb %d1,%d0                               
   4e728:	b082           	cmpl %d2,%d0                                
   4e72a:	673e           	beqs 4e76a <rtems_task_mode+0xf6>           
)                                                                     
{                                                                     
  rtems_signal_set _signals;                                          
  ISR_Level        _level;                                            
                                                                      
  _ISR_Disable( _level );                                             
   4e72c:	203c 0000 0700 	movel #1792,%d0                             
      asr->is_enabled = is_asr_enabled;                               
   4e732:	1741 0008      	moveb %d1,%a3@(8)                           
   4e736:	40c1           	movew %sr,%d1                               
   4e738:	8081           	orl %d1,%d0                                 
   4e73a:	46c0           	movew %d0,%sr                               
    _signals                     = information->signals_pending;      
   4e73c:	202b 0016      	movel %a3@(22),%d0                          
    information->signals_pending = information->signals_posted;       
   4e740:	276b 0012 0016 	movel %a3@(18),%a3@(22)                     
    information->signals_posted  = _signals;                          
   4e746:	2740 0012      	movel %d0,%a3@(18)                          
  _ISR_Enable( _level );                                              
   4e74a:	46c1           	movew %d1,%sr                               
                                                                      
  /*                                                                  
   *  This is specific to the RTEMS API                               
   */                                                                 
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
   4e74c:	4aab 0012      	tstl %a3@(18)                               
   4e750:	56c0           	sne %d0                                     
        needs_asr_dispatching = true;                                 
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) ) {                 
   4e752:	7203           	moveq #3,%d1                                
                                                                      
  /*                                                                  
   *  This is specific to the RTEMS API                               
   */                                                                 
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
   4e754:	4480           	negl %d0                                    
        needs_asr_dispatching = true;                                 
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) ) {                 
   4e756:	b2b9 0006 0db4 	cmpl 60db4 <_System_state_Current>,%d1      
   4e75c:	6744           	beqs 4e7a2 <rtems_task_mode+0x12e>          <== ALWAYS TAKEN
     if (_Thread_Evaluate_is_dispatch_needed( needs_asr_dispatching ) )
      _Thread_Dispatch();                                             
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
   4e75e:	4280           	clrl %d0                                    
}                                                                     
   4e760:	4cee 1c3c ffe4 	moveml %fp@(-28),%d2-%d5/%a2-%a4            
   4e766:	4e5e           	unlk %fp                                    
   4e768:	4e75           	rts                                         
        needs_asr_dispatching = true;                                 
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) ) {                 
   4e76a:	7203           	moveq #3,%d1                                
                                                                      
  /*                                                                  
   *  This is specific to the RTEMS API                               
   */                                                                 
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
   4e76c:	4200           	clrb %d0                                    
        needs_asr_dispatching = true;                                 
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) ) {                 
   4e76e:	b2b9 0006 0db4 	cmpl 60db4 <_System_state_Current>,%d1      
   4e774:	66e8           	bnes 4e75e <rtems_task_mode+0xea>           
   4e776:	602a           	bras 4e7a2 <rtems_task_mode+0x12e>          
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
   4e778:	4a2b 0008      	tstb %a3@(8)                                
   4e77c:	57c4           	seq %d4                                     
  old_mode |= _ISR_Get_level();                                       
   4e77e:	4eb9 0004 a048 	jsr 4a048 <_CPU_ISR_Get_level>              
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
   4e784:	49c4           	extbl %d4                                   
   4e786:	0284 0000 0400 	andil #1024,%d4                             
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
   4e78c:	08c3 0009      	bset #9,%d3                                 
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
   4e790:	8084           	orl %d4,%d0                                 
  old_mode |= _ISR_Get_level();                                       
   4e792:	8083           	orl %d3,%d0                                 
   4e794:	2880           	movel %d0,%a4@                              
  *previous_mode_set = old_mode;                                      
                                                                      
  /*                                                                  
   *  These are generic thread scheduling characteristics.            
   */                                                                 
  if ( mask & RTEMS_PREEMPT_MASK )                                    
   4e796:	0802 0008      	btst #8,%d2                                 
   4e79a:	6700 ff3e      	beqw 4e6da <rtems_task_mode+0x66>           
   4e79e:	6000 ff2e      	braw 4e6ce <rtems_task_mode+0x5a>           
  bool are_signals_pending                                            
)                                                                     
{                                                                     
  Thread_Control     *executing;                                      
                                                                      
  executing = _Thread_Executing;                                      
   4e7a2:	2079 0006 10d2 	moveal 610d2 <_Per_CPU_Information+0xc>,%a0 
                                                                      
  if ( are_signals_pending ||                                         
   4e7a8:	4a00           	tstb %d0                                    
   4e7aa:	660e           	bnes 4e7ba <rtems_task_mode+0x146>          
   4e7ac:	b1f9 0006 10d6 	cmpal 610d6 <_Per_CPU_Information+0x10>,%a0 
   4e7b2:	67aa           	beqs 4e75e <rtems_task_mode+0xea>           
       (!_Thread_Is_heir( executing ) && executing->is_preemptible) ) {
   4e7b4:	4a28 0074      	tstb %a0@(116)                              
   4e7b8:	67a4           	beqs 4e75e <rtems_task_mode+0xea>           <== NEVER TAKEN
    _Thread_Dispatch_necessary = true;                                
   4e7ba:	7001           	moveq #1,%d0                                
   4e7bc:	13c0 0006 10de 	moveb %d0,610de <_Per_CPU_Information+0x18> 
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) ) {                 
     if (_Thread_Evaluate_is_dispatch_needed( needs_asr_dispatching ) )
      _Thread_Dispatch();                                             
   4e7c2:	4eb9 0004 8c20 	jsr 48c20 <_Thread_Dispatch>                
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4e7c8:	4cee 1c3c ffe4 	moveml %fp@(-28),%d2-%d5/%a2-%a4            
  if ( _System_state_Is_up( _System_state_Get() ) ) {                 
     if (_Thread_Evaluate_is_dispatch_needed( needs_asr_dispatching ) )
      _Thread_Dispatch();                                             
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
   4e7ce:	4280           	clrl %d0                                    
}                                                                     
   4e7d0:	4e5e           	unlk %fp                                    
   4e7d2:	4e75           	rts                                         
  }                                                                   
                                                                      
  /*                                                                  
   *  Set the new interrupt level                                     
   */                                                                 
  if ( mask & RTEMS_INTERRUPT_MASK )                                  
   4e7d4:	7007           	moveq #7,%d0                                
   4e7d6:	c082           	andl %d2,%d0                                
  if ( mask & RTEMS_TIMESLICE_MASK ) {                                
    if ( _Modes_Is_timeslice(mode_set) ) {                            
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;
      executing->cpu_time_budget  = _Thread_Ticks_per_timeslice;      
    } else                                                            
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE; 
   4e7d8:	42aa 007a      	clrl %a2@(122)                              
  }                                                                   
                                                                      
  /*                                                                  
   *  Set the new interrupt level                                     
   */                                                                 
  if ( mask & RTEMS_INTERRUPT_MASK )                                  
   4e7dc:	4a80           	tstl %d0                                    
   4e7de:	6700 ff30      	beqw 4e710 <rtems_task_mode+0x9c>           
   4e7e2:	6000 ff1a      	braw 4e6fe <rtems_task_mode+0x8a>           
  bool                is_asr_enabled = false;                         
  bool                needs_asr_dispatching = false;                  
  rtems_mode          old_mode;                                       
                                                                      
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
   4e7e6:	7009           	moveq #9,%d0                                
     if (_Thread_Evaluate_is_dispatch_needed( needs_asr_dispatching ) )
      _Thread_Dispatch();                                             
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4e7e8:	4cee 1c3c ffe4 	moveml %fp@(-28),%d2-%d5/%a2-%a4            
   4e7ee:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

0004b00c <rtems_task_set_priority>: rtems_status_code rtems_task_set_priority( rtems_id id, rtems_task_priority new_priority, rtems_task_priority *old_priority ) {
   4b00c:	4e56 fffc      	linkw %fp,#-4                               
   4b010:	2f0a           	movel %a2,%sp@-                             
   4b012:	246e 0010      	moveal %fp@(16),%a2                         
   4b016:	2f02           	movel %d2,%sp@-                             
   4b018:	242e 000c      	movel %fp@(12),%d2                          
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
   4b01c:	670c           	beqs 4b02a <rtems_task_set_priority+0x1e>   
RTEMS_INLINE_ROUTINE bool _RTEMS_tasks_Priority_is_valid (            
  rtems_task_priority the_priority                                    
)                                                                     
{                                                                     
  return (  ( the_priority >= RTEMS_MINIMUM_PRIORITY ) &&             
            ( the_priority <= RTEMS_MAXIMUM_PRIORITY ) );             
   4b01e:	4280           	clrl %d0                                    
   4b020:	1039 0006 3712 	moveb 63712 <rtems_maximum_priority>,%d0    
 */                                                                   
RTEMS_INLINE_ROUTINE bool _RTEMS_tasks_Priority_is_valid (            
  rtems_task_priority the_priority                                    
)                                                                     
{                                                                     
  return (  ( the_priority >= RTEMS_MINIMUM_PRIORITY ) &&             
   4b026:	b082           	cmpl %d2,%d0                                
   4b028:	6566           	bcss 4b090 <rtems_task_set_priority+0x84>   
       !_RTEMS_tasks_Priority_is_valid( new_priority ) )              
    return RTEMS_INVALID_PRIORITY;                                    
                                                                      
  if ( !old_priority )                                                
   4b02a:	4a8a           	tstl %a2                                    
   4b02c:	6770           	beqs 4b09e <rtems_task_set_priority+0x92>   
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
   4b02e:	486e fffc      	pea %fp@(-4)                                
   4b032:	2f2e 0008      	movel %fp@(8),%sp@-                         
   4b036:	4eb9 0004 d3f0 	jsr 4d3f0 <_Thread_Get>                     
  switch ( location ) {                                               
   4b03c:	508f           	addql #8,%sp                                
   4b03e:	4aae fffc      	tstl %fp@(-4)                               
   4b042:	663e           	bnes 4b082 <rtems_task_set_priority+0x76>   
                                                                      
    case OBJECTS_LOCAL:                                               
      /* XXX need helper to "convert" from core priority */           
      *old_priority = the_thread->current_priority;                   
   4b044:	2040           	moveal %d0,%a0                              
   4b046:	24a8 0014      	movel %a0@(20),%a2@                         
      if ( new_priority != RTEMS_CURRENT_PRIORITY ) {                 
   4b04a:	4a82           	tstl %d2                                    
   4b04c:	6720           	beqs 4b06e <rtems_task_set_priority+0x62>   
        the_thread->real_priority = new_priority;                     
   4b04e:	2142 0018      	movel %d2,%a0@(24)                          
        if ( the_thread->resource_count == 0 ||                       
   4b052:	4aa8 001c      	tstl %a0@(28)                               
   4b056:	6706           	beqs 4b05e <rtems_task_set_priority+0x52>   
   4b058:	b4a8 0014      	cmpl %a0@(20),%d2                           
   4b05c:	6410           	bccs 4b06e <rtems_task_set_priority+0x62>   <== ALWAYS TAKEN
             the_thread->current_priority > new_priority )            
          _Thread_Change_priority( the_thread, new_priority, false ); 
   4b05e:	42a7           	clrl %sp@-                                  
   4b060:	2f02           	movel %d2,%sp@-                             
   4b062:	2f00           	movel %d0,%sp@-                             
   4b064:	4eb9 0004 cf18 	jsr 4cf18 <_Thread_Change_priority>         
   4b06a:	4fef 000c      	lea %sp@(12),%sp                            
      }                                                               
      _Thread_Enable_dispatch();                                      
   4b06e:	4eb9 0004 d3ca 	jsr 4d3ca <_Thread_Enable_dispatch>         
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   4b074:	242e fff4      	movel %fp@(-12),%d2                         
        if ( the_thread->resource_count == 0 ||                       
             the_thread->current_priority > new_priority )            
          _Thread_Change_priority( the_thread, new_priority, false ); 
      }                                                               
      _Thread_Enable_dispatch();                                      
      return RTEMS_SUCCESSFUL;                                        
   4b078:	4280           	clrl %d0                                    
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   4b07a:	246e fff8      	moveal %fp@(-8),%a2                         
   4b07e:	4e5e           	unlk %fp                                    
   4b080:	4e75           	rts                                         
   4b082:	242e fff4      	movel %fp@(-12),%d2                         
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
   4b086:	7004           	moveq #4,%d0                                
}                                                                     
   4b088:	246e fff8      	moveal %fp@(-8),%a2                         
   4b08c:	4e5e           	unlk %fp                                    
   4b08e:	4e75           	rts                                         
   4b090:	242e fff4      	movel %fp@(-12),%d2                         
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
       !_RTEMS_tasks_Priority_is_valid( new_priority ) )              
    return RTEMS_INVALID_PRIORITY;                                    
   4b094:	7013           	moveq #19,%d0                               
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   4b096:	246e fff8      	moveal %fp@(-8),%a2                         
   4b09a:	4e5e           	unlk %fp                                    
   4b09c:	4e75           	rts                                         
   4b09e:	242e fff4      	movel %fp@(-12),%d2                         
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
       !_RTEMS_tasks_Priority_is_valid( new_priority ) )              
    return RTEMS_INVALID_PRIORITY;                                    
                                                                      
  if ( !old_priority )                                                
    return RTEMS_INVALID_ADDRESS;                                     
   4b0a2:	7009           	moveq #9,%d0                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   4b0a4:	246e fff8      	moveal %fp@(-8),%a2                         
   4b0a8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00047b78 <rtems_task_variable_delete>: rtems_status_code rtems_task_variable_delete( rtems_id tid, void **ptr ) {
   47b78:	4e56 fffc      	linkw %fp,#-4                               
   47b7c:	2f02           	movel %d2,%sp@-                             
   47b7e:	242e 000c      	movel %fp@(12),%d2                          
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp, *prev;                                  
                                                                      
  if ( !ptr )                                                         
   47b82:	6772           	beqs 47bf6 <rtems_task_variable_delete+0x7e>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  prev = NULL;                                                        
                                                                      
  the_thread = _Thread_Get (tid, &location);                          
   47b84:	486e fffc      	pea %fp@(-4)                                
   47b88:	2f2e 0008      	movel %fp@(8),%sp@-                         
   47b8c:	4eb9 0004 9d4c 	jsr 49d4c <_Thread_Get>                     
  switch (location) {                                                 
   47b92:	508f           	addql #8,%sp                                
   47b94:	4aae fffc      	tstl %fp@(-4)                               
   47b98:	6634           	bnes 47bce <rtems_task_variable_delete+0x56>
                                                                      
    case OBJECTS_LOCAL:                                               
      tvp = the_thread->task_variables;                               
   47b9a:	2040           	moveal %d0,%a0                              
   47b9c:	2268 010a      	moveal %a0@(266),%a1                        
      while (tvp) {                                                   
   47ba0:	4a89           	tstl %a1                                    
   47ba2:	671a           	beqs 47bbe <rtems_task_variable_delete+0x46>
        if (tvp->ptr == ptr) {                                        
   47ba4:	b4a9 0004      	cmpl %a1@(4),%d2                            
   47ba8:	6756           	beqs 47c00 <rtems_task_variable_delete+0x88>
          _RTEMS_Tasks_Invoke_task_variable_dtor( the_thread, tvp );  
          _Thread_Enable_dispatch();                                  
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        prev = tvp;                                                   
        tvp = (rtems_task_variable_t *)tvp->next;                     
   47baa:	2051           	moveal %a1@,%a0                             
  the_thread = _Thread_Get (tid, &location);                          
  switch (location) {                                                 
                                                                      
    case OBJECTS_LOCAL:                                               
      tvp = the_thread->task_variables;                               
      while (tvp) {                                                   
   47bac:	4a88           	tstl %a0                                    
   47bae:	670e           	beqs 47bbe <rtems_task_variable_delete+0x46><== NEVER TAKEN
        if (tvp->ptr == ptr) {                                        
   47bb0:	b4a8 0004      	cmpl %a0@(4),%d2                            
   47bb4:	6722           	beqs 47bd8 <rtems_task_variable_delete+0x60>
   47bb6:	2248           	moveal %a0,%a1                              
          _RTEMS_Tasks_Invoke_task_variable_dtor( the_thread, tvp );  
          _Thread_Enable_dispatch();                                  
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        prev = tvp;                                                   
        tvp = (rtems_task_variable_t *)tvp->next;                     
   47bb8:	2051           	moveal %a1@,%a0                             
  the_thread = _Thread_Get (tid, &location);                          
  switch (location) {                                                 
                                                                      
    case OBJECTS_LOCAL:                                               
      tvp = the_thread->task_variables;                               
      while (tvp) {                                                   
   47bba:	4a88           	tstl %a0                                    
   47bbc:	66f2           	bnes 47bb0 <rtems_task_variable_delete+0x38><== ALWAYS TAKEN
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        prev = tvp;                                                   
        tvp = (rtems_task_variable_t *)tvp->next;                     
      }                                                               
      _Thread_Enable_dispatch();                                      
   47bbe:	4eb9 0004 9d26 	jsr 49d26 <_Thread_Enable_dispatch>         
    case OBJECTS_ERROR:                                               
        break;                                                        
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   47bc4:	242e fff8      	movel %fp@(-8),%d2                          
        }                                                             
        prev = tvp;                                                   
        tvp = (rtems_task_variable_t *)tvp->next;                     
      }                                                               
      _Thread_Enable_dispatch();                                      
      return RTEMS_INVALID_ADDRESS;                                   
   47bc8:	7009           	moveq #9,%d0                                
    case OBJECTS_ERROR:                                               
        break;                                                        
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   47bca:	4e5e           	unlk %fp                                    
   47bcc:	4e75           	rts                                         
   47bce:	242e fff8      	movel %fp@(-8),%d2                          
                                                                      
    case OBJECTS_ERROR:                                               
        break;                                                        
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
   47bd2:	7004           	moveq #4,%d0                                
}                                                                     
   47bd4:	4e5e           	unlk %fp                                    
   47bd6:	4e75           	rts                                         
    case OBJECTS_LOCAL:                                               
      tvp = the_thread->task_variables;                               
      while (tvp) {                                                   
        if (tvp->ptr == ptr) {                                        
          if (prev)                                                   
            prev->next = tvp->next;                                   
   47bd8:	2290           	movel %a0@,%a1@                             
          else                                                        
            the_thread->task_variables = (rtems_task_variable_t *)tvp->next;
                                                                      
          _RTEMS_Tasks_Invoke_task_variable_dtor( the_thread, tvp );  
   47bda:	2f08           	movel %a0,%sp@-                             
   47bdc:	2f00           	movel %d0,%sp@-                             
   47bde:	4eb9 0004 7cac 	jsr 47cac <_RTEMS_Tasks_Invoke_task_variable_dtor>
          _Thread_Enable_dispatch();                                  
   47be4:	4eb9 0004 9d26 	jsr 49d26 <_Thread_Enable_dispatch>         
          return RTEMS_SUCCESSFUL;                                    
   47bea:	508f           	addql #8,%sp                                
   47bec:	4280           	clrl %d0                                    
    case OBJECTS_ERROR:                                               
        break;                                                        
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   47bee:	242e fff8      	movel %fp@(-8),%d2                          
   47bf2:	4e5e           	unlk %fp                                    
   47bf4:	4e75           	rts                                         
   47bf6:	242e fff8      	movel %fp@(-8),%d2                          
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp, *prev;                                  
                                                                      
  if ( !ptr )                                                         
    return RTEMS_INVALID_ADDRESS;                                     
   47bfa:	7009           	moveq #9,%d0                                
    case OBJECTS_ERROR:                                               
        break;                                                        
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   47bfc:	4e5e           	unlk %fp                                    
   47bfe:	4e75           	rts                                         
      while (tvp) {                                                   
        if (tvp->ptr == ptr) {                                        
          if (prev)                                                   
            prev->next = tvp->next;                                   
          else                                                        
            the_thread->task_variables = (rtems_task_variable_t *)tvp->next;
   47c00:	2040           	moveal %d0,%a0                              
   47c02:	2151 010a      	movel %a1@,%a0@(266)                        
   47c06:	2049           	moveal %a1,%a0                              
                                                                      
          _RTEMS_Tasks_Invoke_task_variable_dtor( the_thread, tvp );  
   47c08:	2f08           	movel %a0,%sp@-                             
   47c0a:	2f00           	movel %d0,%sp@-                             
   47c0c:	4eb9 0004 7cac 	jsr 47cac <_RTEMS_Tasks_Invoke_task_variable_dtor>
          _Thread_Enable_dispatch();                                  
   47c12:	4eb9 0004 9d26 	jsr 49d26 <_Thread_Enable_dispatch>         
          return RTEMS_SUCCESSFUL;                                    
   47c18:	508f           	addql #8,%sp                                
   47c1a:	4280           	clrl %d0                                    
   47c1c:	60d0           	bras 47bee <rtems_task_variable_delete+0x76>
	...                                                                  
                                                                      

00047c20 <rtems_task_variable_get>: rtems_status_code rtems_task_variable_get( rtems_id tid, void **ptr, void **result ) {
   47c20:	4e56 fffc      	linkw %fp,#-4                               
   47c24:	2f0a           	movel %a2,%sp@-                             
   47c26:	246e 0010      	moveal %fp@(16),%a2                         
   47c2a:	2f02           	movel %d2,%sp@-                             
   47c2c:	242e 000c      	movel %fp@(12),%d2                          
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp;                                         
                                                                      
  if ( !ptr )                                                         
   47c30:	6752           	beqs 47c84 <rtems_task_variable_get+0x64>   
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !result )                                                      
   47c32:	4a8a           	tstl %a2                                    
   47c34:	674e           	beqs 47c84 <rtems_task_variable_get+0x64>   
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get (tid, &location);                          
   47c36:	486e fffc      	pea %fp@(-4)                                
   47c3a:	2f2e 0008      	movel %fp@(8),%sp@-                         
   47c3e:	4eb9 0004 9d4c 	jsr 49d4c <_Thread_Get>                     
  switch (location) {                                                 
   47c44:	508f           	addql #8,%sp                                
   47c46:	4aae fffc      	tstl %fp@(-4)                               
   47c4a:	662a           	bnes 47c76 <rtems_task_variable_get+0x56>   
                                                                      
    case OBJECTS_LOCAL:                                               
      /*                                                              
       *  Figure out if the variable is in this task's list.          
       */                                                             
      tvp = the_thread->task_variables;                               
   47c4c:	2240           	moveal %d0,%a1                              
   47c4e:	2069 010a      	moveal %a1@(266),%a0                        
      while (tvp) {                                                   
   47c52:	4a88           	tstl %a0                                    
   47c54:	670c           	beqs 47c62 <rtems_task_variable_get+0x42>   
        if (tvp->ptr == ptr) {                                        
   47c56:	b4a8 0004      	cmpl %a0@(4),%d2                            
   47c5a:	6736           	beqs 47c92 <rtems_task_variable_get+0x72>   
	   */                                                                
          *result = tvp->tval;                                        
          _Thread_Enable_dispatch();                                  
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        tvp = (rtems_task_variable_t *)tvp->next;                     
   47c5c:	2050           	moveal %a0@,%a0                             
    case OBJECTS_LOCAL:                                               
      /*                                                              
       *  Figure out if the variable is in this task's list.          
       */                                                             
      tvp = the_thread->task_variables;                               
      while (tvp) {                                                   
   47c5e:	4a88           	tstl %a0                                    
   47c60:	66f4           	bnes 47c56 <rtems_task_variable_get+0x36>   <== ALWAYS TAKEN
          _Thread_Enable_dispatch();                                  
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        tvp = (rtems_task_variable_t *)tvp->next;                     
      }                                                               
      _Thread_Enable_dispatch();                                      
   47c62:	4eb9 0004 9d26 	jsr 49d26 <_Thread_Enable_dispatch>         
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
   47c68:	242e fff4      	movel %fp@(-12),%d2                         
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        tvp = (rtems_task_variable_t *)tvp->next;                     
      }                                                               
      _Thread_Enable_dispatch();                                      
      return RTEMS_INVALID_ADDRESS;                                   
   47c6c:	7009           	moveq #9,%d0                                
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
   47c6e:	246e fff8      	moveal %fp@(-8),%a2                         
   47c72:	4e5e           	unlk %fp                                    
   47c74:	4e75           	rts                                         
   47c76:	242e fff4      	movel %fp@(-12),%d2                         
#endif                                                                
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
   47c7a:	7004           	moveq #4,%d0                                
}                                                                     
   47c7c:	246e fff8      	moveal %fp@(-8),%a2                         
   47c80:	4e5e           	unlk %fp                                    
   47c82:	4e75           	rts                                         
   47c84:	242e fff4      	movel %fp@(-12),%d2                         
                                                                      
  if ( !ptr )                                                         
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !result )                                                      
    return RTEMS_INVALID_ADDRESS;                                     
   47c88:	7009           	moveq #9,%d0                                
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
   47c8a:	246e fff8      	moveal %fp@(-8),%a2                         
   47c8e:	4e5e           	unlk %fp                                    
   47c90:	4e75           	rts                                         
        if (tvp->ptr == ptr) {                                        
	  /*                                                                 
	   * Should this return the current (i.e not the                     
	   * saved) value if `tid' is the current task?                      
	   */                                                                
          *result = tvp->tval;                                        
   47c92:	24a8 000c      	movel %a0@(12),%a2@                         
          _Thread_Enable_dispatch();                                  
   47c96:	4eb9 0004 9d26 	jsr 49d26 <_Thread_Enable_dispatch>         
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
   47c9c:	242e fff4      	movel %fp@(-12),%d2                         
	   * Should this return the current (i.e not the                     
	   * saved) value if `tid' is the current task?                      
	   */                                                                
          *result = tvp->tval;                                        
          _Thread_Enable_dispatch();                                  
          return RTEMS_SUCCESSFUL;                                    
   47ca0:	4280           	clrl %d0                                    
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
   47ca2:	246e fff8      	moveal %fp@(-8),%a2                         
   47ca6:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00045ad4 <rtems_termios_baud_to_index>: rtems_termios_baud_t termios_baud ) { int baud_index; switch (termios_baud) {
   45ad4:	7209           	moveq #9,%d1                                
#include <rtems/termiostypes.h>                                       
                                                                      
int rtems_termios_baud_to_index(                                      
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
   45ad6:	4e56 0000      	linkw %fp,#0                                
   45ada:	202e 0008      	movel %fp@(8),%d0                           
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
   45ade:	b280           	cmpl %d0,%d1                                
   45ae0:	6700 010a      	beqw 45bec <rtems_termios_baud_to_index+0x118>
   45ae4:	6c32           	bges 45b18 <rtems_termios_baud_to_index+0x44>
   45ae6:	720e           	moveq #14,%d1                               
   45ae8:	b280           	cmpl %d0,%d1                                
   45aea:	6700 00d6      	beqw 45bc2 <rtems_termios_baud_to_index+0xee>
   45aee:	6c56           	bges 45b46 <rtems_termios_baud_to_index+0x72>
   45af0:	0c80 0000 1002 	cmpil #4098,%d0                             
   45af6:	6700 00e2      	beqw 45bda <rtems_termios_baud_to_index+0x106>
   45afa:	6f00 0098      	blew 45b94 <rtems_termios_baud_to_index+0xc0>
   45afe:	0c80 0000 1003 	cmpil #4099,%d0                             
   45b04:	6700 00b6      	beqw 45bbc <rtems_termios_baud_to_index+0xe8>
   45b08:	0c80 0000 1004 	cmpil #4100,%d0                             
   45b0e:	6700 009a      	beqw 45baa <rtems_termios_baud_to_index+0xd6>
    case B38400:    baud_index = 15;  break;                          
    case B57600:    baud_index = 16;  break;                          
    case B115200:   baud_index = 17;  break;                          
    case B230400:   baud_index = 18;  break;                          
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
   45b12:	70ff           	moveq #-1,%d0                               
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
   45b14:	4e5e           	unlk %fp                                    
   45b16:	4e75           	rts                                         
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
   45b18:	123c 0004      	moveb #4,%d1                                
   45b1c:	b280           	cmpl %d0,%d1                                
   45b1e:	6700 00d2      	beqw 45bf2 <rtems_termios_baud_to_index+0x11e>
   45b22:	6d46           	blts 45b6a <rtems_termios_baud_to_index+0x96>
   45b24:	123c 0001      	moveb #1,%d1                                
   45b28:	b280           	cmpl %d0,%d1                                
   45b2a:	6700 00a2      	beqw 45bce <rtems_termios_baud_to_index+0xfa>
   45b2e:	6c00 00c8      	bgew 45bf8 <rtems_termios_baud_to_index+0x124>
   45b32:	7202           	moveq #2,%d1                                
   45b34:	b280           	cmpl %d0,%d1                                
   45b36:	677e           	beqs 45bb6 <rtems_termios_baud_to_index+0xe2>
   45b38:	123c 0003      	moveb #3,%d1                                
   45b3c:	b280           	cmpl %d0,%d1                                
   45b3e:	66d2           	bnes 45b12 <rtems_termios_baud_to_index+0x3e><== NEVER TAKEN
    case B0:        baud_index =  0;  break;                          
    case B50:       baud_index =  1;  break;                          
    case B75:       baud_index =  2;  break;                          
    case B110:      baud_index =  3;  break;                          
   45b40:	7003           	moveq #3,%d0                                
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
   45b42:	4e5e           	unlk %fp                                    
   45b44:	4e75           	rts                                         
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
   45b46:	123c 000b      	moveb #11,%d1                               
   45b4a:	b280           	cmpl %d0,%d1                                
   45b4c:	6700 0086      	beqw 45bd4 <rtems_termios_baud_to_index+0x100>
   45b50:	6e3c           	bgts 45b8e <rtems_termios_baud_to_index+0xba>
   45b52:	123c 000c      	moveb #12,%d1                               
   45b56:	b280           	cmpl %d0,%d1                                
   45b58:	6700 008c      	beqw 45be6 <rtems_termios_baud_to_index+0x112>
   45b5c:	123c 000d      	moveb #13,%d1                               
   45b60:	b280           	cmpl %d0,%d1                                
   45b62:	66ae           	bnes 45b12 <rtems_termios_baud_to_index+0x3e><== NEVER TAKEN
    case B600:      baud_index =  8;  break;                          
    case B1200:     baud_index =  9;  break;                          
    case B1800:     baud_index = 10;  break;                          
    case B2400:     baud_index = 11;  break;                          
    case B4800:     baud_index = 12;  break;                          
    case B9600:     baud_index = 13;  break;                          
   45b64:	700d           	moveq #13,%d0                               
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
   45b66:	4e5e           	unlk %fp                                    
   45b68:	4e75           	rts                                         
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
   45b6a:	7206           	moveq #6,%d1                                
   45b6c:	b280           	cmpl %d0,%d1                                
   45b6e:	6758           	beqs 45bc8 <rtems_termios_baud_to_index+0xf4>
   45b70:	6e16           	bgts 45b88 <rtems_termios_baud_to_index+0xb4>
   45b72:	123c 0007      	moveb #7,%d1                                
   45b76:	b280           	cmpl %d0,%d1                                
   45b78:	6766           	beqs 45be0 <rtems_termios_baud_to_index+0x10c>
   45b7a:	123c 0008      	moveb #8,%d1                                
   45b7e:	b280           	cmpl %d0,%d1                                
   45b80:	6690           	bnes 45b12 <rtems_termios_baud_to_index+0x3e><== NEVER TAKEN
    case B110:      baud_index =  3;  break;                          
    case B134:      baud_index =  4;  break;                          
    case B150:      baud_index =  5;  break;                          
    case B200:      baud_index =  6;  break;                          
    case B300:      baud_index =  7;  break;                          
    case B600:      baud_index =  8;  break;                          
   45b82:	7008           	moveq #8,%d0                                
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
   45b84:	4e5e           	unlk %fp                                    
   45b86:	4e75           	rts                                         
    case B0:        baud_index =  0;  break;                          
    case B50:       baud_index =  1;  break;                          
    case B75:       baud_index =  2;  break;                          
    case B110:      baud_index =  3;  break;                          
    case B134:      baud_index =  4;  break;                          
    case B150:      baud_index =  5;  break;                          
   45b88:	7005           	moveq #5,%d0                                
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
   45b8a:	4e5e           	unlk %fp                                    
   45b8c:	4e75           	rts                                         
    case B150:      baud_index =  5;  break;                          
    case B200:      baud_index =  6;  break;                          
    case B300:      baud_index =  7;  break;                          
    case B600:      baud_index =  8;  break;                          
    case B1200:     baud_index =  9;  break;                          
    case B1800:     baud_index = 10;  break;                          
   45b8e:	700a           	moveq #10,%d0                               
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
   45b90:	4e5e           	unlk %fp                                    
   45b92:	4e75           	rts                                         
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
   45b94:	720f           	moveq #15,%d1                               
   45b96:	b280           	cmpl %d0,%d1                                
   45b98:	6716           	beqs 45bb0 <rtems_termios_baud_to_index+0xdc>
   45b9a:	0c80 0000 1001 	cmpil #4097,%d0                             
   45ba0:	6600 ff70      	bnew 45b12 <rtems_termios_baud_to_index+0x3e>
    case B2400:     baud_index = 11;  break;                          
    case B4800:     baud_index = 12;  break;                          
    case B9600:     baud_index = 13;  break;                          
    case B19200:    baud_index = 14;  break;                          
    case B38400:    baud_index = 15;  break;                          
    case B57600:    baud_index = 16;  break;                          
   45ba4:	7010           	moveq #16,%d0                               
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
   45ba6:	4e5e           	unlk %fp                                    
   45ba8:	4e75           	rts                                         
    case B19200:    baud_index = 14;  break;                          
    case B38400:    baud_index = 15;  break;                          
    case B57600:    baud_index = 16;  break;                          
    case B115200:   baud_index = 17;  break;                          
    case B230400:   baud_index = 18;  break;                          
    case B460800:   baud_index = 19;  break;                          
   45baa:	7013           	moveq #19,%d0                               
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
   45bac:	4e5e           	unlk %fp                                    
   45bae:	4e75           	rts                                         
    case B1800:     baud_index = 10;  break;                          
    case B2400:     baud_index = 11;  break;                          
    case B4800:     baud_index = 12;  break;                          
    case B9600:     baud_index = 13;  break;                          
    case B19200:    baud_index = 14;  break;                          
    case B38400:    baud_index = 15;  break;                          
   45bb0:	700f           	moveq #15,%d0                               
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
   45bb2:	4e5e           	unlk %fp                                    
   45bb4:	4e75           	rts                                         
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
    case B0:        baud_index =  0;  break;                          
    case B50:       baud_index =  1;  break;                          
    case B75:       baud_index =  2;  break;                          
   45bb6:	7002           	moveq #2,%d0                                
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
   45bb8:	4e5e           	unlk %fp                                    
   45bba:	4e75           	rts                                         
    case B9600:     baud_index = 13;  break;                          
    case B19200:    baud_index = 14;  break;                          
    case B38400:    baud_index = 15;  break;                          
    case B57600:    baud_index = 16;  break;                          
    case B115200:   baud_index = 17;  break;                          
    case B230400:   baud_index = 18;  break;                          
   45bbc:	7012           	moveq #18,%d0                               
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
   45bbe:	4e5e           	unlk %fp                                    
   45bc0:	4e75           	rts                                         
    case B1200:     baud_index =  9;  break;                          
    case B1800:     baud_index = 10;  break;                          
    case B2400:     baud_index = 11;  break;                          
    case B4800:     baud_index = 12;  break;                          
    case B9600:     baud_index = 13;  break;                          
    case B19200:    baud_index = 14;  break;                          
   45bc2:	700e           	moveq #14,%d0                               
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
   45bc4:	4e5e           	unlk %fp                                    
   45bc6:	4e75           	rts                                         
    case B50:       baud_index =  1;  break;                          
    case B75:       baud_index =  2;  break;                          
    case B110:      baud_index =  3;  break;                          
    case B134:      baud_index =  4;  break;                          
    case B150:      baud_index =  5;  break;                          
    case B200:      baud_index =  6;  break;                          
   45bc8:	7006           	moveq #6,%d0                                
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
   45bca:	4e5e           	unlk %fp                                    
   45bcc:	4e75           	rts                                         
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
    case B0:        baud_index =  0;  break;                          
    case B50:       baud_index =  1;  break;                          
   45bce:	7001           	moveq #1,%d0                                
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
   45bd0:	4e5e           	unlk %fp                                    
   45bd2:	4e75           	rts                                         
    case B200:      baud_index =  6;  break;                          
    case B300:      baud_index =  7;  break;                          
    case B600:      baud_index =  8;  break;                          
    case B1200:     baud_index =  9;  break;                          
    case B1800:     baud_index = 10;  break;                          
    case B2400:     baud_index = 11;  break;                          
   45bd4:	700b           	moveq #11,%d0                               
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
   45bd6:	4e5e           	unlk %fp                                    
   45bd8:	4e75           	rts                                         
    case B4800:     baud_index = 12;  break;                          
    case B9600:     baud_index = 13;  break;                          
    case B19200:    baud_index = 14;  break;                          
    case B38400:    baud_index = 15;  break;                          
    case B57600:    baud_index = 16;  break;                          
    case B115200:   baud_index = 17;  break;                          
   45bda:	7011           	moveq #17,%d0                               
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
   45bdc:	4e5e           	unlk %fp                                    
   45bde:	4e75           	rts                                         
    case B75:       baud_index =  2;  break;                          
    case B110:      baud_index =  3;  break;                          
    case B134:      baud_index =  4;  break;                          
    case B150:      baud_index =  5;  break;                          
    case B200:      baud_index =  6;  break;                          
    case B300:      baud_index =  7;  break;                          
   45be0:	7007           	moveq #7,%d0                                
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
   45be2:	4e5e           	unlk %fp                                    
   45be4:	4e75           	rts                                         
    case B300:      baud_index =  7;  break;                          
    case B600:      baud_index =  8;  break;                          
    case B1200:     baud_index =  9;  break;                          
    case B1800:     baud_index = 10;  break;                          
    case B2400:     baud_index = 11;  break;                          
    case B4800:     baud_index = 12;  break;                          
   45be6:	700c           	moveq #12,%d0                               
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
   45be8:	4e5e           	unlk %fp                                    
   45bea:	4e75           	rts                                         
    case B134:      baud_index =  4;  break;                          
    case B150:      baud_index =  5;  break;                          
    case B200:      baud_index =  6;  break;                          
    case B300:      baud_index =  7;  break;                          
    case B600:      baud_index =  8;  break;                          
    case B1200:     baud_index =  9;  break;                          
   45bec:	7009           	moveq #9,%d0                                
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
   45bee:	4e5e           	unlk %fp                                    
   45bf0:	4e75           	rts                                         
  switch (termios_baud) {                                             
    case B0:        baud_index =  0;  break;                          
    case B50:       baud_index =  1;  break;                          
    case B75:       baud_index =  2;  break;                          
    case B110:      baud_index =  3;  break;                          
    case B134:      baud_index =  4;  break;                          
   45bf2:	7004           	moveq #4,%d0                                
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
   45bf4:	4e5e           	unlk %fp                                    
   45bf6:	4e75           	rts                                         
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
   45bf8:	4a80           	tstl %d0                                    
   45bfa:	6600 ff16      	bnew 45b12 <rtems_termios_baud_to_index+0x3e>
    case B0:        baud_index =  0;  break;                          
   45bfe:	4280           	clrl %d0                                    
    case B460800:   baud_index = 19;  break;                          
    default:        baud_index = -1;  break;                          
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
   45c00:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00044496 <rtems_termios_close>: } } rtems_status_code rtems_termios_close (void *arg) {
   44496:	4e56 fff4      	linkw %fp,#-12                              
   4449a:	48d7 1c00      	moveml %a2-%a4,%sp@                         
   4449e:	266e 0008      	moveal %fp@(8),%a3                          
  rtems_libio_open_close_args_t *args = arg;                          
  struct rtems_termios_tty *tty = args->iop->data1;                   
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain(                                        
   444a2:	49f9 0004 6768 	lea 46768 <rtems_semaphore_obtain>,%a4      
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
  rtems_libio_open_close_args_t *args = arg;                          
  struct rtems_termios_tty *tty = args->iop->data1;                   
   444a8:	2053           	moveal %a3@,%a0                             
   444aa:	2468 0034      	moveal %a0@(52),%a2                         
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain(                                        
   444ae:	42a7           	clrl %sp@-                                  
   444b0:	42a7           	clrl %sp@-                                  
   444b2:	2f39 0006 0b58 	movel 60b58 <rtems_termios_ttyMutex>,%sp@-  
   444b8:	4e94           	jsr %a4@                                    
    rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);            
  if (sc != RTEMS_SUCCESSFUL)                                         
   444ba:	4fef 000c      	lea %sp@(12),%sp                            
   444be:	4a80           	tstl %d0                                    
   444c0:	6600 011c      	bnew 445de <rtems_termios_close+0x148>      
    rtems_fatal_error_occurred (sc);                                  
  if (--tty->refcount == 0) {                                         
   444c4:	202a 0008      	movel %a2@(8),%d0                           
   444c8:	5380           	subql #1,%d0                                
   444ca:	2540 0008      	movel %d0,%a2@(8)                           
   444ce:	6600 00a4      	bnew 44574 <rtems_termios_close+0xde>       
    if (rtems_termios_linesw[tty->t_line].l_close != NULL) {          
   444d2:	202a 00cc      	movel %a2@(204),%d0                         
   444d6:	eb88           	lsll #5,%d0                                 
   444d8:	0680 0006 0320 	addil #394016,%d0                           
   444de:	2240           	moveal %d0,%a1                              
   444e0:	2051           	moveal %a1@,%a0                             
   444e2:	4a88           	tstl %a0                                    
   444e4:	6700 0128      	beqw 4460e <rtems_termios_close+0x178>      
      /*                                                              
       * call discipline-specific close                               
       */                                                             
      sc = rtems_termios_linesw[tty->t_line].l_close(tty);            
   444e8:	2f0a           	movel %a2,%sp@-                             
   444ea:	4e90           	jsr %a0@                                    
   444ec:	588f           	addql #4,%sp                                
      }                                                               
      drainOutput (tty);                                              
      rtems_semaphore_release (tty->osem);                            
    }                                                                 
                                                                      
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
   444ee:	7002           	moveq #2,%d0                                
   444f0:	b0aa 00b4      	cmpl %a2@(180),%d0                          
   444f4:	6700 00c0      	beqw 445b6 <rtems_termios_close+0x120>      
        rtems_fatal_error_occurred (sc);                              
      sc = rtems_event_send( tty->txTaskId, TERMIOS_TX_TERMINATE_EVENT );
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
    }                                                                 
    if (tty->device.lastClose)                                        
   444f8:	206a 009c      	moveal %a2@(156),%a0                        
   444fc:	4a88           	tstl %a0                                    
   444fe:	6710           	beqs 44510 <rtems_termios_close+0x7a>       
       (*tty->device.lastClose)(tty->major, tty->minor, arg);         
   44500:	2f0b           	movel %a3,%sp@-                             
   44502:	2f2a 0010      	movel %a2@(16),%sp@-                        
   44506:	2f2a 000c      	movel %a2@(12),%sp@-                        
   4450a:	4e90           	jsr %a0@                                    
   4450c:	4fef 000c      	lea %sp@(12),%sp                            
    if (tty->forw == NULL) {                                          
   44510:	2052           	moveal %a2@,%a0                             
   44512:	4a88           	tstl %a0                                    
   44514:	6700 00e2      	beqw 445f8 <rtems_termios_close+0x162>      
      rtems_termios_ttyTail = tty->back;                              
      if ( rtems_termios_ttyTail != NULL ) {                          
        rtems_termios_ttyTail->forw = NULL;                           
      }                                                               
    } else {                                                          
      tty->forw->back = tty->back;                                    
   44518:	216a 0004 0004 	movel %a2@(4),%a0@(4)                       
   4451e:	226a 0004      	moveal %a2@(4),%a1                          
    }                                                                 
                                                                      
    if (tty->back == NULL) {                                          
   44522:	4a89           	tstl %a1                                    
   44524:	6700 00c0      	beqw 445e6 <rtems_termios_close+0x150>      
      rtems_termios_ttyHead = tty->forw;                              
      if ( rtems_termios_ttyHead != NULL ) {                          
        rtems_termios_ttyHead->back = NULL;                           
      }                                                               
    } else {                                                          
      tty->back->forw = tty->forw;                                    
   44528:	2288           	movel %a0,%a1@                              <== NOT EXECUTED
    }                                                                 
                                                                      
    rtems_semaphore_delete (tty->isem);                               
   4452a:	2f2a 0014      	movel %a2@(20),%sp@-                        
   4452e:	47f9 0004 6690 	lea 46690 <rtems_semaphore_delete>,%a3      
   44534:	4e93           	jsr %a3@                                    
    rtems_semaphore_delete (tty->osem);                               
   44536:	2f2a 0018      	movel %a2@(24),%sp@-                        
   4453a:	4e93           	jsr %a3@                                    
    rtems_semaphore_delete (tty->rawOutBuf.Semaphore);                
   4453c:	2f2a 008c      	movel %a2@(140),%sp@-                       
   44540:	4e93           	jsr %a3@                                    
    if ((tty->device.pollRead == NULL) ||                             
   44542:	4fef 000c      	lea %sp@(12),%sp                            
   44546:	4aaa 00a0      	tstl %a2@(160)                              
   4454a:	6740           	beqs 4458c <rtems_termios_close+0xf6>       
   4454c:	7002           	moveq #2,%d0                                
   4454e:	b0aa 00b4      	cmpl %a2@(180),%d0                          
   44552:	6738           	beqs 4458c <rtems_termios_close+0xf6>       
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN))    
      rtems_semaphore_delete (tty->rawInBuf.Semaphore);               
    free (tty->rawInBuf.theBuf);                                      
   44554:	2f2a 0058      	movel %a2@(88),%sp@-                        
   44558:	47f9 0004 2fe4 	lea 42fe4 <free>,%a3                        
   4455e:	4e93           	jsr %a3@                                    
    free (tty->rawOutBuf.theBuf);                                     
   44560:	2f2a 007c      	movel %a2@(124),%sp@-                       
   44564:	4e93           	jsr %a3@                                    
    free (tty->cbuf);                                                 
   44566:	2f2a 001c      	movel %a2@(28),%sp@-                        
   4456a:	4e93           	jsr %a3@                                    
    free (tty);                                                       
   4456c:	2f0a           	movel %a2,%sp@-                             
   4456e:	4e93           	jsr %a3@                                    
   44570:	4fef 0010      	lea %sp@(16),%sp                            
  }                                                                   
  rtems_semaphore_release (rtems_termios_ttyMutex);                   
   44574:	2f39 0006 0b58 	movel 60b58 <rtems_termios_ttyMutex>,%sp@-  
   4457a:	4eb9 0004 68a8 	jsr 468a8 <rtems_semaphore_release>         
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   44580:	4cee 1c00 fff4 	moveml %fp@(-12),%a2-%a4                    
   44586:	4280           	clrl %d0                                    
   44588:	4e5e           	unlk %fp                                    
   4458a:	4e75           	rts                                         
    rtems_semaphore_delete (tty->isem);                               
    rtems_semaphore_delete (tty->osem);                               
    rtems_semaphore_delete (tty->rawOutBuf.Semaphore);                
    if ((tty->device.pollRead == NULL) ||                             
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN))    
      rtems_semaphore_delete (tty->rawInBuf.Semaphore);               
   4458c:	2f2a 0068      	movel %a2@(104),%sp@-                       
   44590:	4e93           	jsr %a3@                                    
   44592:	588f           	addql #4,%sp                                
    free (tty->rawInBuf.theBuf);                                      
   44594:	47f9 0004 2fe4 	lea 42fe4 <free>,%a3                        
   4459a:	2f2a 0058      	movel %a2@(88),%sp@-                        
   4459e:	4e93           	jsr %a3@                                    
    free (tty->rawOutBuf.theBuf);                                     
   445a0:	2f2a 007c      	movel %a2@(124),%sp@-                       
   445a4:	4e93           	jsr %a3@                                    
    free (tty->cbuf);                                                 
   445a6:	2f2a 001c      	movel %a2@(28),%sp@-                        
   445aa:	4e93           	jsr %a3@                                    
    free (tty);                                                       
   445ac:	2f0a           	movel %a2,%sp@-                             
   445ae:	4e93           	jsr %a3@                                    
   445b0:	4fef 0010      	lea %sp@(16),%sp                            
   445b4:	60be           	bras 44574 <rtems_termios_close+0xde>       
                                                                      
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
      /*                                                              
       * send "terminate" to I/O tasks                                
       */                                                             
      sc = rtems_event_send( tty->rxTaskId, TERMIOS_RX_TERMINATE_EVENT );
   445b6:	4878 0001      	pea 1 <ADD>                                 
   445ba:	49f9 0004 6258 	lea 46258 <rtems_event_send>,%a4            
   445c0:	2f2a 00c4      	movel %a2@(196),%sp@-                       
   445c4:	4e94           	jsr %a4@                                    
      if (sc != RTEMS_SUCCESSFUL)                                     
   445c6:	508f           	addql #8,%sp                                
   445c8:	4a80           	tstl %d0                                    
   445ca:	6612           	bnes 445de <rtems_termios_close+0x148>      <== NEVER TAKEN
        rtems_fatal_error_occurred (sc);                              
      sc = rtems_event_send( tty->txTaskId, TERMIOS_TX_TERMINATE_EVENT );
   445cc:	4878 0001      	pea 1 <ADD>                                 
   445d0:	2f2a 00c8      	movel %a2@(200),%sp@-                       
   445d4:	4e94           	jsr %a4@                                    
      if (sc != RTEMS_SUCCESSFUL)                                     
   445d6:	508f           	addql #8,%sp                                
   445d8:	4a80           	tstl %d0                                    
   445da:	6700 ff1c      	beqw 444f8 <rtems_termios_close+0x62>       
        rtems_fatal_error_occurred (sc);                              
   445de:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   445e0:	4eb9 0004 6eb8 	jsr 46eb8 <rtems_fatal_error_occurred>      <== NOT EXECUTED
    } else {                                                          
      tty->forw->back = tty->back;                                    
    }                                                                 
                                                                      
    if (tty->back == NULL) {                                          
      rtems_termios_ttyHead = tty->forw;                              
   445e6:	23c8 0006 0b60 	movel %a0,60b60 <rtems_termios_ttyHead>     
      if ( rtems_termios_ttyHead != NULL ) {                          
   445ec:	6700 ff3c      	beqw 4452a <rtems_termios_close+0x94>       
        rtems_termios_ttyHead->back = NULL;                           
   445f0:	42a8 0004      	clrl %a0@(4)                                
   445f4:	6000 ff34      	braw 4452a <rtems_termios_close+0x94>       
        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;                              
   445f8:	226a 0004      	moveal %a2@(4),%a1                          
   445fc:	23c9 0006 0b5c 	movel %a1,60b5c <rtems_termios_ttyTail>     
      if ( rtems_termios_ttyTail != NULL ) {                          
   44602:	67e2           	beqs 445e6 <rtems_termios_close+0x150>      
        rtems_termios_ttyTail->forw = NULL;                           
   44604:	4291           	clrl %a1@                                   
   44606:	2052           	moveal %a2@,%a0                             
      rtems_termios_ttyHead = tty->forw;                              
      if ( rtems_termios_ttyHead != NULL ) {                          
        rtems_termios_ttyHead->back = NULL;                           
      }                                                               
    } else {                                                          
      tty->back->forw = tty->forw;                                    
   44608:	2288           	movel %a0,%a1@                              
   4460a:	6000 ff1e      	braw 4452a <rtems_termios_close+0x94>       
      sc = rtems_termios_linesw[tty->t_line].l_close(tty);            
    } else {                                                          
      /*                                                              
       * default: just flush output buffer                            
       */                                                             
      sc = rtems_semaphore_obtain(tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
   4460e:	42a7           	clrl %sp@-                                  
   44610:	42a7           	clrl %sp@-                                  
   44612:	2f2a 0018      	movel %a2@(24),%sp@-                        
   44616:	4e94           	jsr %a4@                                    
      if (sc != RTEMS_SUCCESSFUL) {                                   
   44618:	4fef 000c      	lea %sp@(12),%sp                            
   4461c:	4a80           	tstl %d0                                    
   4461e:	66be           	bnes 445de <rtems_termios_close+0x148>      <== NEVER TAKEN
        rtems_fatal_error_occurred (sc);                              
      }                                                               
      drainOutput (tty);                                              
   44620:	2f0a           	movel %a2,%sp@-                             
   44622:	4eba f9bc      	jsr %pc@(43fe0 <drainOutput>)               
      rtems_semaphore_release (tty->osem);                            
   44626:	2f2a 0018      	movel %a2@(24),%sp@-                        
   4462a:	4eb9 0004 68a8 	jsr 468a8 <rtems_semaphore_release>         
   44630:	508f           	addql #8,%sp                                
    }                                                                 
                                                                      
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
   44632:	7002           	moveq #2,%d0                                
   44634:	b0aa 00b4      	cmpl %a2@(180),%d0                          
   44638:	6600 febe      	bnew 444f8 <rtems_termios_close+0x62>       
   4463c:	6000 ff78      	braw 445b6 <rtems_termios_close+0x120>      
                                                                      

00045c6e <rtems_termios_dequeue_characters>: * for each transmitted character. * It returns number of characters left to transmit */ int rtems_termios_dequeue_characters (void *ttyp, int len) {
   45c6e:	4e56 0000      	linkw %fp,#0                                
  rtems_status_code sc;                                               
                                                                      
  /*                                                                  
   * sum up character count already sent                              
   */                                                                 
  tty->t_dqlen += len;                                                
   45c72:	202e 000c      	movel %fp@(12),%d0                          
 * for each transmitted character.                                    
 * It returns number of characters left to transmit                   
 */                                                                   
int                                                                   
rtems_termios_dequeue_characters (void *ttyp, int len)                
{                                                                     
   45c76:	206e 0008      	moveal %fp@(8),%a0                          
  rtems_status_code sc;                                               
                                                                      
  /*                                                                  
   * sum up character count already sent                              
   */                                                                 
  tty->t_dqlen += len;                                                
   45c7a:	d1a8 0090      	addl %d0,%a0@(144)                          
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
   45c7e:	7002           	moveq #2,%d0                                
   45c80:	b0a8 00b4      	cmpl %a0@(180),%d0                          
   45c84:	672a           	beqs 45cb0 <rtems_termios_dequeue_characters+0x42>
    if (sc != RTEMS_SUCCESSFUL)                                       
      rtems_fatal_error_occurred (sc);                                
    return 0; /* nothing to output in IRQ... */                       
  }                                                                   
                                                                      
  if (tty->t_line == PPPDISC ) {                                      
   45c86:	7005           	moveq #5,%d0                                
   45c88:	b0a8 00cc      	cmpl %a0@(204),%d0                          
   45c8c:	670c           	beqs 45c9a <rtems_termios_dequeue_characters+0x2c>
      rtems_termios_linesw[tty->t_line].l_start(tty);                 
    }                                                                 
    return 0; /* nothing to output in IRQ... */                       
  }                                                                   
                                                                      
  return rtems_termios_refill_transmitter(tty);                       
   45c8e:	2d48 0008      	movel %a0,%fp@(8)                           
}                                                                     
   45c92:	4e5e           	unlk %fp                                    
      rtems_termios_linesw[tty->t_line].l_start(tty);                 
    }                                                                 
    return 0; /* nothing to output in IRQ... */                       
  }                                                                   
                                                                      
  return rtems_termios_refill_transmitter(tty);                       
   45c94:	4ef9 0004 59ba 	jmp 459ba <rtems_termios_refill_transmitter>
                                                                      
  if (tty->t_line == PPPDISC ) {                                      
    /*                                                                
     * call any line discipline start function                        
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_start != NULL) {          
   45c9a:	2279 0006 03d0 	moveal 603d0 <rtems_termios_linesw+0xb4>,%a1
   45ca0:	4a89           	tstl %a1                                    
   45ca2:	6706           	beqs 45caa <rtems_termios_dequeue_characters+0x3c><== NEVER TAKEN
      rtems_termios_linesw[tty->t_line].l_start(tty);                 
   45ca4:	2f08           	movel %a0,%sp@-                             
   45ca6:	4e91           	jsr %a1@                                    
   45ca8:	588f           	addql #4,%sp                                
    }                                                                 
    return 0; /* nothing to output in IRQ... */                       
  }                                                                   
                                                                      
  return rtems_termios_refill_transmitter(tty);                       
}                                                                     
   45caa:	4280           	clrl %d0                                    
   45cac:	4e5e           	unlk %fp                                    
   45cae:	4e75           	rts                                         
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
    /*                                                                
     * send wake up to transmitter task                               
     */                                                               
    sc = rtems_event_send(tty->txTaskId, TERMIOS_TX_START_EVENT);     
   45cb0:	4878 0002      	pea 2 <DOUBLE_FLOAT>                        
   45cb4:	2f28 00c8      	movel %a0@(200),%sp@-                       
   45cb8:	4eb9 0004 6258 	jsr 46258 <rtems_event_send>                
    if (sc != RTEMS_SUCCESSFUL)                                       
   45cbe:	508f           	addql #8,%sp                                
   45cc0:	4a80           	tstl %d0                                    
   45cc2:	67e6           	beqs 45caa <rtems_termios_dequeue_characters+0x3c><== ALWAYS TAKEN
      rtems_fatal_error_occurred (sc);                                
   45cc4:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   45cc6:	4eb9 0004 6eb8 	jsr 46eb8 <rtems_fatal_error_occurred>      <== NOT EXECUTED
                                                                      

0004566c <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) {
   4566c:	4e56 ffcc      	linkw %fp,#-52                              
   45670:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
   45674:	246e 0008      	moveal %fp@(8),%a2                          
  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) {             
   45678:	202a 00cc      	movel %a2@(204),%d0                         
   4567c:	eb88           	lsll #5,%d0                                 
 *       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) 
{                                                                     
   4567e:	266e 000c      	moveal %fp@(12),%a3                         
  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) {             
   45682:	0680 0006 032c 	addil #394028,%d0                           
   45688:	2240           	moveal %d0,%a1                              
 *       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) 
{                                                                     
   4568a:	242e 0010      	movel %fp@(16),%d2                          
  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) {             
   4568e:	2051           	moveal %a1@,%a0                             
   45690:	4a88           	tstl %a0                                    
   45692:	6774           	beqs 45708 <rtems_termios_enqueue_raw_characters+0x9c>
    while (len--) {                                                   
   45694:	4a82           	tstl %d2                                    
   45696:	6734           	beqs 456cc <rtems_termios_enqueue_raw_characters+0x60><== NEVER TAKEN
      c = *buf++;                                                     
      rtems_termios_linesw[tty->t_line].l_rint(c,tty);                
   45698:	2f0a           	movel %a2,%sp@-                             
   4569a:	5382           	subql #1,%d2                                
   4569c:	121b           	moveb %a3@+,%d1                             
   4569e:	49c1           	extbl %d1                                   
   456a0:	2f01           	movel %d1,%sp@-                             
   456a2:	4e90           	jsr %a0@                                    
  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--) {                                                   
   456a4:	508f           	addql #8,%sp                                
   456a6:	4a82           	tstl %d2                                    
   456a8:	6722           	beqs 456cc <rtems_termios_enqueue_raw_characters+0x60>
   456aa:	202a 00cc      	movel %a2@(204),%d0                         
      c = *buf++;                                                     
      rtems_termios_linesw[tty->t_line].l_rint(c,tty);                
   456ae:	5382           	subql #1,%d2                                
  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--) {                                                   
   456b0:	eb88           	lsll #5,%d0                                 
   456b2:	0680 0006 032c 	addil #394028,%d0                           
   456b8:	2240           	moveal %d0,%a1                              
   456ba:	2051           	moveal %a1@,%a0                             
      c = *buf++;                                                     
      rtems_termios_linesw[tty->t_line].l_rint(c,tty);                
   456bc:	2f0a           	movel %a2,%sp@-                             
   456be:	121b           	moveb %a3@+,%d1                             
   456c0:	49c1           	extbl %d1                                   
   456c2:	2f01           	movel %d1,%sp@-                             
   456c4:	4e90           	jsr %a0@                                    
  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--) {                                                   
   456c6:	508f           	addql #8,%sp                                
   456c8:	4a82           	tstl %d2                                    
   456ca:	66de           	bnes 456aa <rtems_termios_enqueue_raw_characters+0x3e>
    }                                                                 
                                                                      
    /*                                                                
     * check to see if rcv wakeup callback was set                    
     */                                                               
    if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) { 
   456cc:	4aaa 00e4      	tstl %a2@(228)                              
   456d0:	6628           	bnes 456fa <rtems_termios_enqueue_raw_characters+0x8e><== NEVER TAKEN
   456d2:	206a 00dc      	moveal %a2@(220),%a0                        
   456d6:	4a88           	tstl %a0                                    
   456d8:	6720           	beqs 456fa <rtems_termios_enqueue_raw_characters+0x8e>
      (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);     
   456da:	2f2a 00e0      	movel %a2@(224),%sp@-                       
      tty->tty_rcvwakeup = 1;                                         
        }                                                             
    return 0;                                                         
   456de:	4285           	clrl %d5                                    
                                                                      
    /*                                                                
     * 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);     
   456e0:	486a 0030      	pea %a2@(48)                                
   456e4:	4e90           	jsr %a0@                                    
      tty->tty_rcvwakeup = 1;                                         
   456e6:	508f           	addql #8,%sp                                
   456e8:	7001           	moveq #1,%d0                                
   456ea:	2540 00e4      	movel %d0,%a2@(228)                         
  }                                                                   
                                                                      
  tty->rawInBufDropped += dropped;                                    
  rtems_semaphore_release (tty->rawInBuf.Semaphore);                  
  return dropped;                                                     
}                                                                     
   456ee:	2005           	movel %d5,%d0                               
   456f0:	4cee 3cfc ffcc 	moveml %fp@(-52),%d2-%d7/%a2-%a5            
   456f6:	4e5e           	unlk %fp                                    
   456f8:	4e75           	rts                                         
     */                                                               
    if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) { 
      (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);     
      tty->tty_rcvwakeup = 1;                                         
        }                                                             
    return 0;                                                         
   456fa:	4285           	clrl %d5                                    
  }                                                                   
                                                                      
  tty->rawInBufDropped += dropped;                                    
  rtems_semaphore_release (tty->rawInBuf.Semaphore);                  
  return dropped;                                                     
}                                                                     
   456fc:	2005           	movel %d5,%d0                               
   456fe:	4cee 3cfc ffcc 	moveml %fp@(-52),%d2-%d7/%a2-%a5            
   45704:	4e5e           	unlk %fp                                    
   45706:	4e75           	rts                                         
          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,                          
   45708:	41ea 004a      	lea %a2@(74),%a0                            
  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) {             
   4570c:	4285           	clrl %d5                                    
    }                                                                 
    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);                               
   4570e:	387c 0700      	moveaw #1792,%a4                            
                                                                      
        /*                                                            
         * 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); 
   45712:	4bea 0030      	lea %a2@(48),%a5                            
  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) {             
   45716:	4200           	clrb %d0                                    
          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,                          
   45718:	2d48 fffc      	movel %a0,%fp@(-4)                          
  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) {             
   4571c:	1d40 fff7      	moveb %d0,%fp@(-9)                          
      tty->tty_rcvwakeup = 1;                                         
        }                                                             
    return 0;                                                         
  }                                                                   
                                                                      
  while (len--) {                                                     
   45720:	4a82           	tstl %d2                                    
   45722:	6700 00e6      	beqw 4580a <rtems_termios_enqueue_raw_characters+0x19e>
    c = *buf++;                                                       
    /* FIXME: implement IXANY: any character restarts output */       
    /* if incoming XON/XOFF controls outgoing stream: */              
    if (tty->flow_ctrl & FL_MDXON) {                                  
   45726:	202a 00b8      	movel %a2@(184),%d0                         
        }                                                             
    return 0;                                                         
  }                                                                   
                                                                      
  while (len--) {                                                     
    c = *buf++;                                                       
   4572a:	181b           	moveb %a3@+,%d4                             
    /* FIXME: implement IXANY: any character restarts output */       
    /* if incoming XON/XOFF controls outgoing stream: */              
    if (tty->flow_ctrl & FL_MDXON) {                                  
   4572c:	0800 0009      	btst #9,%d0                                 
   45730:	671c           	beqs 4574e <rtems_termios_enqueue_raw_characters+0xe2>
      /* if received char is V_STOP and V_START (both are equal value) */
      if (c == tty->termios.c_cc[VSTOP]) {                            
   45732:	4281           	clrl %d1                                    
   45734:	122a 004a      	moveb %a2@(74),%d1                          
   45738:	1004           	moveb %d4,%d0                               
   4573a:	49c0           	extbl %d0                                   
   4573c:	b280           	cmpl %d0,%d1                                
   4573e:	6700 0146      	beqw 45886 <rtems_termios_enqueue_raw_characters+0x21a>
          /* stop output                             */               
          tty->flow_ctrl |= FL_ORCVXOF;                               
        }                                                             
        flow_rcv = true;                                              
      }                                                               
      else if (c == tty->termios.c_cc[VSTART]) {                      
   45742:	4281           	clrl %d1                                    
   45744:	122a 0049      	moveb %a2@(73),%d1                          
   45748:	b280           	cmpl %d0,%d1                                
   4574a:	6700 00da      	beqw 45826 <rtems_termios_enqueue_raw_characters+0x1ba>
        /* restart output  */                                         
        tty->flow_ctrl &= ~FL_ORCVXOF;                                
        flow_rcv = true;                                              
      }                                                               
    }                                                                 
    if (flow_rcv) {                                                   
   4574e:	4a2e fff7      	tstb %fp@(-9)                               
   45752:	6600 00e4      	bnew 45838 <rtems_termios_enqueue_raw_characters+0x1cc>
        }                                                             
        /* reenable interrupts */                                     
        rtems_interrupt_enable(level);                                
      }                                                               
    } else {                                                          
      newTail = (tty->rawInBuf.Tail + 1) % tty->rawInBuf.Size;        
   45756:	2e2a 0060      	movel %a2@(96),%d7                          
   4575a:	5287           	addql #1,%d7                                
      /* if chars_in_buffer > highwater                */             
      rtems_interrupt_disable(level);                                 
   4575c:	200c           	movel %a4,%d0                               
        }                                                             
        /* reenable interrupts */                                     
        rtems_interrupt_enable(level);                                
      }                                                               
    } else {                                                          
      newTail = (tty->rawInBuf.Tail + 1) % tty->rawInBuf.Size;        
   4575e:	222a 0064      	movel %a2@(100),%d1                         
   45762:	4c41 7003      	remul %d1,%d3,%d7                           
      /* if chars_in_buffer > highwater                */             
      rtems_interrupt_disable(level);                                 
   45766:	40c7           	movew %sr,%d7                               
   45768:	8087           	orl %d7,%d0                                 
   4576a:	46c0           	movew %d0,%sr                               
      if ((((newTail - tty->rawInBuf.Head + tty->rawInBuf.Size)       
   4576c:	222a 005c      	movel %a2@(92),%d1                          
   45770:	202a 0064      	movel %a2@(100),%d0                         
   45774:	9081           	subl %d1,%d0                                
   45776:	2240           	moveal %d0,%a1                              
   45778:	d3c3           	addal %d3,%a1                               
            % tty->rawInBuf.Size) > tty->highwater) &&                
   4577a:	2209           	movel %a1,%d1                               
   4577c:	202a 0064      	movel %a2@(100),%d0                         
   45780:	4c40 1006      	remul %d0,%d6,%d1                           
   45784:	2d40 fff8      	movel %d0,%fp@(-8)                          
      }                                                               
    } else {                                                          
      newTail = (tty->rawInBuf.Tail + 1) % tty->rawInBuf.Size;        
      /* if chars_in_buffer > highwater                */             
      rtems_interrupt_disable(level);                                 
      if ((((newTail - tty->rawInBuf.Head + tty->rawInBuf.Size)       
   45788:	bcaa 00c0      	cmpl %a2@(192),%d6                          
   4578c:	633e           	blss 457cc <rtems_termios_enqueue_raw_characters+0x160><== ALWAYS TAKEN
            % tty->rawInBuf.Size) > tty->highwater) &&                
          !(tty->flow_ctrl & FL_IREQXOF)) {                           
   4578e:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
    } else {                                                          
      newTail = (tty->rawInBuf.Tail + 1) % tty->rawInBuf.Size;        
      /* if chars_in_buffer > highwater                */             
      rtems_interrupt_disable(level);                                 
      if ((((newTail - tty->rawInBuf.Head + tty->rawInBuf.Size)       
            % tty->rawInBuf.Size) > tty->highwater) &&                
   45792:	0800 0000      	btst #0,%d0                                 <== NOT EXECUTED
   45796:	6634           	bnes 457cc <rtems_termios_enqueue_raw_characters+0x160><== NOT EXECUTED
          !(tty->flow_ctrl & FL_IREQXOF)) {                           
        /* incoming data stream should be stopped */                  
        tty->flow_ctrl |= FL_IREQXOF;                                 
   45798:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   4579c:	7201           	moveq #1,%d1                                <== NOT EXECUTED
   4579e:	8081           	orl %d1,%d0                                 <== NOT EXECUTED
   457a0:	2540 00b8      	movel %d0,%a2@(184)                         <== NOT EXECUTED
        if ((tty->flow_ctrl & (FL_MDXOF | FL_ISNTXOF))                
   457a4:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   457a8:	0280 0000 0402 	andil #1026,%d0                             <== NOT EXECUTED
   457ae:	0c80 0000 0400 	cmpil #1024,%d0                             <== NOT EXECUTED
   457b4:	6700 010c      	beqw 458c2 <rtems_termios_enqueue_raw_characters+0x256><== NOT EXECUTED
            /*    call write function here                 */         
            tty->flow_ctrl |= FL_ISNTXOF;                             
            (*tty->device.write)(tty->minor,                          
                (void *)&(tty->termios.c_cc[VSTOP]), 1);              
          }                                                           
        } else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF)) == (FL_MDRTS) ) {
   457b8:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   457bc:	0280 0000 0104 	andil #260,%d0                              <== NOT EXECUTED
   457c2:	0c80 0000 0100 	cmpil #256,%d0                              <== NOT EXECUTED
   457c8:	6700 0130      	beqw 458fa <rtems_termios_enqueue_raw_characters+0x28e><== NOT EXECUTED
          }                                                           
        }                                                             
      }                                                               
                                                                      
      /* reenable interrupts */                                       
      rtems_interrupt_enable(level);                                  
   457cc:	46c7           	movew %d7,%sr                               
                                                                      
      if (newTail == tty->rawInBuf.Head) {                            
   457ce:	202a 005c      	movel %a2@(92),%d0                          
   457d2:	b680           	cmpl %d0,%d3                                
   457d4:	6700 00ce      	beqw 458a4 <rtems_termios_enqueue_raw_characters+0x238>
        dropped++;                                                    
      } else {                                                        
        tty->rawInBuf.theBuf[newTail] = c;                            
   457d8:	206a 0058      	moveal %a2@(88),%a0                         
   457dc:	1184 3800      	moveb %d4,%a0@(00000000,%d3:l)              
        tty->rawInBuf.Tail = newTail;                                 
   457e0:	2543 0060      	movel %d3,%a2@(96)                          
                                                                      
        /*                                                            
         * check to see if rcv wakeup callback was set                
         */                                                           
        if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {
   457e4:	4aaa 00e4      	tstl %a2@(228)                              
   457e8:	6618           	bnes 45802 <rtems_termios_enqueue_raw_characters+0x196><== NEVER TAKEN
   457ea:	206a 00dc      	moveal %a2@(220),%a0                        
   457ee:	4a88           	tstl %a0                                    
   457f0:	6710           	beqs 45802 <rtems_termios_enqueue_raw_characters+0x196><== ALWAYS TAKEN
          (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg); 
   457f2:	2f2a 00e0      	movel %a2@(224),%sp@-                       <== NOT EXECUTED
   457f6:	2f0d           	movel %a5,%sp@-                             <== NOT EXECUTED
   457f8:	4e90           	jsr %a0@                                    <== NOT EXECUTED
          tty->tty_rcvwakeup = 1;                                     
   457fa:	508f           	addql #8,%sp                                <== NOT EXECUTED
   457fc:	7201           	moveq #1,%d1                                <== NOT EXECUTED
   457fe:	2541 00e4      	movel %d1,%a2@(228)                         <== NOT EXECUTED
   45802:	5382           	subql #1,%d2                                
      tty->tty_rcvwakeup = 1;                                         
        }                                                             
    return 0;                                                         
  }                                                                   
                                                                      
  while (len--) {                                                     
   45804:	4a82           	tstl %d2                                    
   45806:	6600 ff1e      	bnew 45726 <rtems_termios_enqueue_raw_characters+0xba>
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  tty->rawInBufDropped += dropped;                                    
  rtems_semaphore_release (tty->rawInBuf.Semaphore);                  
   4580a:	2f2a 0068      	movel %a2@(104),%sp@-                       
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  tty->rawInBufDropped += dropped;                                    
   4580e:	dbaa 0078      	addl %d5,%a2@(120)                          
  rtems_semaphore_release (tty->rawInBuf.Semaphore);                  
   45812:	4eb9 0004 68a8 	jsr 468a8 <rtems_semaphore_release>         
  return dropped;                                                     
   45818:	588f           	addql #4,%sp                                
}                                                                     
   4581a:	2005           	movel %d5,%d0                               
   4581c:	4cee 3cfc ffcc 	moveml %fp@(-52),%d2-%d7/%a2-%a5            
   45822:	4e5e           	unlk %fp                                    
   45824:	4e75           	rts                                         
        flow_rcv = true;                                              
      }                                                               
      else if (c == tty->termios.c_cc[VSTART]) {                      
        /* VSTART received */                                         
        /* restart output  */                                         
        tty->flow_ctrl &= ~FL_ORCVXOF;                                
   45826:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   4582a:	72ef           	moveq #-17,%d1                              <== NOT EXECUTED
   4582c:	c081           	andl %d1,%d0                                <== 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) 
{                                                                     
   4582e:	7c01           	moveq #1,%d6                                <== NOT EXECUTED
        flow_rcv = true;                                              
      }                                                               
      else if (c == tty->termios.c_cc[VSTART]) {                      
        /* VSTART received */                                         
        /* restart output  */                                         
        tty->flow_ctrl &= ~FL_ORCVXOF;                                
   45830:	2540 00b8      	movel %d0,%a2@(184)                         <== 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) 
{                                                                     
   45834:	1d46 fff7      	moveb %d6,%fp@(-9)                          <== NOT EXECUTED
        flow_rcv = true;                                              
      }                                                               
    }                                                                 
    if (flow_rcv) {                                                   
      /* restart output according to FL_ORCVXOF flag */               
      if ((tty->flow_ctrl & (FL_ORCVXOF | FL_OSTOP)) == FL_OSTOP) {   
   45838:	202a 00b8      	movel %a2@(184),%d0                         
   4583c:	7c30           	moveq #48,%d6                               
   4583e:	7220           	moveq #32,%d1                               
   45840:	c086           	andl %d6,%d0                                
   45842:	b280           	cmpl %d0,%d1                                
   45844:	66bc           	bnes 45802 <rtems_termios_enqueue_raw_characters+0x196><== ALWAYS TAKEN
        /* disable interrupts    */                                   
        rtems_interrupt_disable(level);                               
   45846:	200c           	movel %a4,%d0                               <== NOT EXECUTED
   45848:	40c3           	movew %sr,%d3                               <== NOT EXECUTED
   4584a:	8083           	orl %d3,%d0                                 <== NOT EXECUTED
   4584c:	46c0           	movew %d0,%sr                               <== NOT EXECUTED
        tty->flow_ctrl &= ~FL_OSTOP;                                  
   4584e:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   45852:	7cdf           	moveq #-33,%d6                              <== NOT EXECUTED
   45854:	c086           	andl %d6,%d0                                <== NOT EXECUTED
   45856:	2540 00b8      	movel %d0,%a2@(184)                         <== NOT EXECUTED
        /* check for chars in output buffer (or rob_state?) */        
        if (tty->rawOutBufState != rob_idle) {                        
   4585a:	4aaa 0094      	tstl %a2@(148)                              <== NOT EXECUTED
   4585e:	6606           	bnes 45866 <rtems_termios_enqueue_raw_characters+0x1fa><== NOT EXECUTED
          /* if chars available, call write function... */            
          (*tty->device.write)(                                       
            tty->minor, &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail], 1);
        }                                                             
        /* reenable interrupts */                                     
        rtems_interrupt_enable(level);                                
   45860:	46c3           	movew %d3,%sr                               <== NOT EXECUTED
        /*                                                            
         * check to see if rcv wakeup callback was set                
         */                                                           
        if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {
          (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg); 
          tty->tty_rcvwakeup = 1;                                     
   45862:	5382           	subql #1,%d2                                <== NOT EXECUTED
   45864:	609e           	bras 45804 <rtems_termios_enqueue_raw_characters+0x198><== NOT EXECUTED
        rtems_interrupt_disable(level);                               
        tty->flow_ctrl &= ~FL_OSTOP;                                  
        /* check for chars in output buffer (or rob_state?) */        
        if (tty->rawOutBufState != rob_idle) {                        
          /* if chars available, call write function... */            
          (*tty->device.write)(                                       
   45866:	4878 0001      	pea 1 <ADD>                                 <== NOT EXECUTED
            tty->minor, &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail], 1);
   4586a:	202a 0084      	movel %a2@(132),%d0                         <== NOT EXECUTED
        rtems_interrupt_disable(level);                               
        tty->flow_ctrl &= ~FL_OSTOP;                                  
        /* check for chars in output buffer (or rob_state?) */        
        if (tty->rawOutBufState != rob_idle) {                        
          /* if chars available, call write function... */            
          (*tty->device.write)(                                       
   4586e:	d0aa 007c      	addl %a2@(124),%d0                          <== NOT EXECUTED
   45872:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   45874:	2f2a 0010      	movel %a2@(16),%sp@-                        <== NOT EXECUTED
   45878:	206a 00a4      	moveal %a2@(164),%a0                        <== NOT EXECUTED
   4587c:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   4587e:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
            tty->minor, &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail], 1);
        }                                                             
        /* reenable interrupts */                                     
        rtems_interrupt_enable(level);                                
   45882:	46c3           	movew %d3,%sr                               <== NOT EXECUTED
   45884:	60dc           	bras 45862 <rtems_termios_enqueue_raw_characters+0x1f6><== NOT EXECUTED
    /* FIXME: implement IXANY: any character restarts output */       
    /* if incoming XON/XOFF controls outgoing stream: */              
    if (tty->flow_ctrl & FL_MDXON) {                                  
      /* if received char is V_STOP and V_START (both are equal value) */
      if (c == tty->termios.c_cc[VSTOP]) {                            
        if (c == tty->termios.c_cc[VSTART]) {                         
   45886:	4281           	clrl %d1                                    
   45888:	122a 0049      	moveb %a2@(73),%d1                          
   4588c:	b280           	cmpl %d0,%d1                                
   4588e:	671c           	beqs 458ac <rtems_termios_enqueue_raw_characters+0x240><== NEVER TAKEN
          tty->flow_ctrl = tty->flow_ctrl ^ FL_ORCVXOF;               
        }                                                             
        else {                                                        
          /* VSTOP received (other code than VSTART) */               
          /* stop output                             */               
          tty->flow_ctrl |= FL_ORCVXOF;                               
   45890:	202a 00b8      	movel %a2@(184),%d0                         
   45894:	7c10           	moveq #16,%d6                               
   45896:	8086           	orl %d6,%d0                                 
 *       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) 
{                                                                     
   45898:	7c01           	moveq #1,%d6                                
          tty->flow_ctrl = tty->flow_ctrl ^ FL_ORCVXOF;               
        }                                                             
        else {                                                        
          /* VSTOP received (other code than VSTART) */               
          /* stop output                             */               
          tty->flow_ctrl |= FL_ORCVXOF;                               
   4589a:	2540 00b8      	movel %d0,%a2@(184)                         
 *       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) 
{                                                                     
   4589e:	1d46 fff7      	moveb %d6,%fp@(-9)                          
   458a2:	6094           	bras 45838 <rtems_termios_enqueue_raw_characters+0x1cc>
                                                                      
      /* reenable interrupts */                                       
      rtems_interrupt_enable(level);                                  
                                                                      
      if (newTail == tty->rawInBuf.Head) {                            
        dropped++;                                                    
   458a4:	5285           	addql #1,%d5                                <== NOT EXECUTED
        /*                                                            
         * check to see if rcv wakeup callback was set                
         */                                                           
        if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {
          (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg); 
          tty->tty_rcvwakeup = 1;                                     
   458a6:	5382           	subql #1,%d2                                <== NOT EXECUTED
   458a8:	6000 ff5a      	braw 45804 <rtems_termios_enqueue_raw_characters+0x198><== 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;               
   458ac:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   458b0:	7210           	moveq #16,%d1                               <== NOT EXECUTED
   458b2:	b380           	eorl %d1,%d0                                <== 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) 
{                                                                     
   458b4:	7c01           	moveq #1,%d6                                <== 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;               
   458b6:	2540 00b8      	movel %d0,%a2@(184)                         <== 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) 
{                                                                     
   458ba:	1d46 fff7      	moveb %d6,%fp@(-9)                          <== NOT EXECUTED
   458be:	6000 ff78      	braw 45838 <rtems_termios_enqueue_raw_characters+0x1cc><== NOT EXECUTED
          !(tty->flow_ctrl & FL_IREQXOF)) {                           
        /* incoming data stream should be stopped */                  
        tty->flow_ctrl |= FL_IREQXOF;                                 
        if ((tty->flow_ctrl & (FL_MDXOF | FL_ISNTXOF))                
            ==                (FL_MDXOF             ) ) {             
          if ((tty->flow_ctrl & FL_OSTOP) ||                          
   458c2:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   458c6:	0800 0005      	btst #5,%d0                                 <== NOT EXECUTED
   458ca:	6608           	bnes 458d4 <rtems_termios_enqueue_raw_characters+0x268><== NOT EXECUTED
   458cc:	4aaa 0094      	tstl %a2@(148)                              <== NOT EXECUTED
   458d0:	6600 fefa      	bnew 457cc <rtems_termios_enqueue_raw_characters+0x160><== 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;                             
            (*tty->device.write)(tty->minor,                          
   458d4:	4878 0001      	pea 1 <ADD>                                 <== NOT EXECUTED
            ==                (FL_MDXOF             ) ) {             
          if ((tty->flow_ctrl & FL_OSTOP) ||                          
              (tty->rawOutBufState == rob_idle)) {                    
            /* if tx is stopped due to XOFF or out of data */         
            /*    call write function here                 */         
            tty->flow_ctrl |= FL_ISNTXOF;                             
   458d8:	7c02           	moveq #2,%d6                                <== NOT EXECUTED
   458da:	222a 00b8      	movel %a2@(184),%d1                         <== NOT EXECUTED
            (*tty->device.write)(tty->minor,                          
   458de:	2f2e fffc      	movel %fp@(-4),%sp@-                        <== NOT EXECUTED
   458e2:	2f2a 0010      	movel %a2@(16),%sp@-                        <== NOT EXECUTED
   458e6:	206a 00a4      	moveal %a2@(164),%a0                        <== NOT EXECUTED
            ==                (FL_MDXOF             ) ) {             
          if ((tty->flow_ctrl & FL_OSTOP) ||                          
              (tty->rawOutBufState == rob_idle)) {                    
            /* if tx is stopped due to XOFF or out of data */         
            /*    call write function here                 */         
            tty->flow_ctrl |= FL_ISNTXOF;                             
   458ea:	8286           	orl %d6,%d1                                 <== NOT EXECUTED
   458ec:	2541 00b8      	movel %d1,%a2@(184)                         <== NOT EXECUTED
            (*tty->device.write)(tty->minor,                          
   458f0:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   458f2:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
   458f6:	6000 fed4      	braw 457cc <rtems_termios_enqueue_raw_characters+0x160><== NOT EXECUTED
                (void *)&(tty->termios.c_cc[VSTOP]), 1);              
          }                                                           
        } else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF)) == (FL_MDRTS) ) {
          tty->flow_ctrl |= FL_IRTSOFF;                               
   458fa:	222a 00b8      	movel %a2@(184),%d1                         <== NOT EXECUTED
   458fe:	303c 0004      	movew #4,%d0                                <== NOT EXECUTED
          /* deactivate RTS line */                                   
          if (tty->device.stopRemoteTx != NULL) {                     
   45902:	206a 00ac      	moveal %a2@(172),%a0                        <== NOT EXECUTED
            tty->flow_ctrl |= FL_ISNTXOF;                             
            (*tty->device.write)(tty->minor,                          
                (void *)&(tty->termios.c_cc[VSTOP]), 1);              
          }                                                           
        } else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF)) == (FL_MDRTS) ) {
          tty->flow_ctrl |= FL_IRTSOFF;                               
   45906:	8280           	orl %d0,%d1                                 <== NOT EXECUTED
   45908:	2541 00b8      	movel %d1,%a2@(184)                         <== NOT EXECUTED
          /* deactivate RTS line */                                   
          if (tty->device.stopRemoteTx != NULL) {                     
   4590c:	4a88           	tstl %a0                                    <== NOT EXECUTED
   4590e:	6700 febc      	beqw 457cc <rtems_termios_enqueue_raw_characters+0x160><== NOT EXECUTED
            tty->device.stopRemoteTx(tty->minor);                     
   45912:	2f2a 0010      	movel %a2@(16),%sp@-                        <== NOT EXECUTED
   45916:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   45918:	588f           	addql #4,%sp                                <== NOT EXECUTED
   4591a:	6000 feb0      	braw 457cc <rtems_termios_enqueue_raw_characters+0x160><== NOT EXECUTED
                                                                      

00044668 <rtems_termios_ioctl>: } } rtems_status_code rtems_termios_ioctl (void *arg) {
   44668:	4e56 ffec      	linkw %fp,#-20                              
   4466c:	48d7 1c0c      	moveml %d2-%d3/%a2-%a4,%sp@                 
   44670:	266e 0008      	moveal %fp@(8),%a3                          
  rtems_libio_ioctl_args_t *args = arg;                               
  struct rtems_termios_tty *tty = args->iop->data1;                   
   44674:	2053           	moveal %a3@,%a0                             
   44676:	2468 0034      	moveal %a0@(52),%a2                         
  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);
   4467a:	42a7           	clrl %sp@-                                  
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;
   4467c:	286b 0008      	moveal %a3@(8),%a4                          
  rtems_status_code sc;                                               
                                                                      
   args->ioctl_return = 0;                                            
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
   44680:	42a7           	clrl %sp@-                                  
   44682:	2f2a 0018      	movel %a2@(24),%sp@-                        
  rtems_libio_ioctl_args_t *args = arg;                               
  struct rtems_termios_tty *tty = args->iop->data1;                   
  struct ttywakeup         *wakeup = (struct ttywakeup *)args->buffer;
  rtems_status_code sc;                                               
                                                                      
   args->ioctl_return = 0;                                            
   44686:	42ab 000c      	clrl %a3@(12)                               
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
   4468a:	4eb9 0004 6768 	jsr 46768 <rtems_semaphore_obtain>          
  if (sc != RTEMS_SUCCESSFUL) {                                       
   44690:	4fef 000c      	lea %sp@(12),%sp                            
  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);
   44694:	2400           	movel %d0,%d2                               
  if (sc != RTEMS_SUCCESSFUL) {                                       
   44696:	662c           	bnes 446c4 <rtems_termios_ioctl+0x5c>       <== NEVER TAKEN
    args->ioctl_return = sc;                                          
    return sc;                                                        
  }                                                                   
  switch (args->command) {                                            
   44698:	202b 0004      	movel %a3@(4),%d0                           
   4469c:	7204           	moveq #4,%d1                                
   4469e:	b280           	cmpl %d0,%d1                                
   446a0:	6774           	beqs 44716 <rtems_termios_ioctl+0xae>       
   446a2:	6530           	bcss 446d4 <rtems_termios_ioctl+0x6c>       
   446a4:	7602           	moveq #2,%d3                                
   446a6:	b680           	cmpl %d0,%d3                                
   446a8:	6700 00b6      	beqw 44760 <rtems_termios_ioctl+0xf8>       
   446ac:	6400 0228      	bccw 448d6 <rtems_termios_ioctl+0x26e>      
    if (tty->device.setAttributes)                                    
      (*tty->device.setAttributes)(tty->minor, &tty->termios);        
    break;                                                            
                                                                      
  case RTEMS_IO_TCDRAIN:                                              
    drainOutput (tty);                                                
   446b0:	2f0a           	movel %a2,%sp@-                             
   446b2:	4eba f92c      	jsr %pc@(43fe0 <drainOutput>)               
    break;                                                            
   446b6:	588f           	addql #4,%sp                                
      *(int *)args->buffer = tty->ccount - tty->cindex + rawnc;       
    }                                                                 
    break;                                                            
  }                                                                   
                                                                      
  rtems_semaphore_release (tty->osem);                                
   446b8:	2f2a 0018      	movel %a2@(24),%sp@-                        
   446bc:	4eb9 0004 68a8 	jsr 468a8 <rtems_semaphore_release>         
  args->ioctl_return = sc;                                            
  return sc;                                                          
   446c2:	588f           	addql #4,%sp                                
}                                                                     
   446c4:	2002           	movel %d2,%d0                               
    }                                                                 
    break;                                                            
  }                                                                   
                                                                      
  rtems_semaphore_release (tty->osem);                                
  args->ioctl_return = sc;                                            
   446c6:	2742 000c      	movel %d2,%a3@(12)                          
  return sc;                                                          
}                                                                     
   446ca:	4cee 1c0c ffec 	moveml %fp@(-20),%d2-%d3/%a2-%a4            
   446d0:	4e5e           	unlk %fp                                    
   446d2:	4e75           	rts                                         
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
  if (sc != RTEMS_SUCCESSFUL) {                                       
    args->ioctl_return = sc;                                          
    return sc;                                                        
  }                                                                   
  switch (args->command) {                                            
   446d4:	0c80 4004 667f 	cmpil #1074030207,%d0                       
   446da:	6756           	beqs 44732 <rtems_termios_ioctl+0xca>       <== NEVER TAKEN
   446dc:	6200 023a      	bhiw 44918 <rtems_termios_ioctl+0x2b0>      
   446e0:	7605           	moveq #5,%d3                                
   446e2:	b680           	cmpl %d0,%d3                                
   446e4:	6700 01d2      	beqw 448b8 <rtems_termios_ioctl+0x250>      
  default:                                                            
    if (rtems_termios_linesw[tty->t_line].l_ioctl != NULL) {          
   446e8:	202a 00cc      	movel %a2@(204),%d0                         
   446ec:	eb88           	lsll #5,%d0                                 
   446ee:	0680 0006 0334 	addil #394036,%d0                           
   446f4:	2240           	moveal %d0,%a1                              
   446f6:	2051           	moveal %a1@,%a0                             
   446f8:	4a88           	tstl %a0                                    
   446fa:	6700 02a6      	beqw 449a2 <rtems_termios_ioctl+0x33a>      
      sc = rtems_termios_linesw[tty->t_line].l_ioctl(tty,args);       
   446fe:	2f0b           	movel %a3,%sp@-                             
   44700:	2f0a           	movel %a2,%sp@-                             
   44702:	4e90           	jsr %a0@                                    
   44704:	508f           	addql #8,%sp                                
   44706:	2400           	movel %d0,%d2                               
      *(int *)args->buffer = tty->ccount - tty->cindex + rawnc;       
    }                                                                 
    break;                                                            
  }                                                                   
                                                                      
  rtems_semaphore_release (tty->osem);                                
   44708:	2f2a 0018      	movel %a2@(24),%sp@-                        
   4470c:	4eb9 0004 68a8 	jsr 468a8 <rtems_semaphore_release>         
  args->ioctl_return = sc;                                            
  return sc;                                                          
   44712:	588f           	addql #4,%sp                                
   44714:	60ae           	bras 446c4 <rtems_termios_ioctl+0x5c>       
  case RTEMS_IO_SNDWAKEUP:                                            
    tty->tty_snd = *wakeup;                                           
    break;                                                            
                                                                      
  case RTEMS_IO_RCVWAKEUP:                                            
    tty->tty_rcv = *wakeup;                                           
   44716:	2014           	movel %a4@,%d0                              
   44718:	222c 0004      	movel %a4@(4),%d1                           
   4471c:	2540 00dc      	movel %d0,%a2@(220)                         
   44720:	2541 00e0      	movel %d1,%a2@(224)                         
      *(int *)args->buffer = tty->ccount - tty->cindex + rawnc;       
    }                                                                 
    break;                                                            
  }                                                                   
                                                                      
  rtems_semaphore_release (tty->osem);                                
   44724:	2f2a 0018      	movel %a2@(24),%sp@-                        
   44728:	4eb9 0004 68a8 	jsr 468a8 <rtems_semaphore_release>         
  args->ioctl_return = sc;                                            
  return sc;                                                          
   4472e:	588f           	addql #4,%sp                                
   44730:	6092           	bras 446c4 <rtems_termios_ioctl+0x5c>       
  case TIOCGETD:                                                      
    *(int*)(args->buffer)=tty->t_line;                                
    break;                                                            
#endif                                                                
   case FIONREAD: {                                                   
      int rawnc = tty->rawInBuf.Tail - tty->rawInBuf.Head;            
   44732:	202a 0060      	movel %a2@(96),%d0                          <== NOT EXECUTED
   44736:	222a 005c      	movel %a2@(92),%d1                          <== NOT EXECUTED
   4473a:	9081           	subl %d1,%d0                                <== NOT EXECUTED
      if ( rawnc < 0 )                                                
   4473c:	6b00 02ae      	bmiw 449ec <rtems_termios_ioctl+0x384>      <== NOT EXECUTED
        rawnc += tty->rawInBuf.Size;                                  
      /* Half guess that this is the right operation */               
      *(int *)args->buffer = tty->ccount - tty->cindex + rawnc;       
   44740:	222a 0020      	movel %a2@(32),%d1                          <== NOT EXECUTED
   44744:	92aa 0024      	subl %a2@(36),%d1                           <== NOT EXECUTED
   44748:	d280           	addl %d0,%d1                                <== NOT EXECUTED
   4474a:	206b 0008      	moveal %a3@(8),%a0                          <== NOT EXECUTED
   4474e:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
    }                                                                 
    break;                                                            
  }                                                                   
                                                                      
  rtems_semaphore_release (tty->osem);                                
   44750:	2f2a 0018      	movel %a2@(24),%sp@-                        <== NOT EXECUTED
   44754:	4eb9 0004 68a8 	jsr 468a8 <rtems_semaphore_release>         <== NOT EXECUTED
  args->ioctl_return = sc;                                            
  return sc;                                                          
   4475a:	588f           	addql #4,%sp                                <== NOT EXECUTED
   4475c:	6000 ff66      	braw 446c4 <rtems_termios_ioctl+0x5c>       <== 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;                   
   44760:	206b 0008      	moveal %a3@(8),%a0                          
   44764:	49ea 0030      	lea %a2@(48),%a4                            
   44768:	2898           	movel %a0@+,%a4@                            
   4476a:	2558 0034      	movel %a0@+,%a2@(52)                        
   4476e:	2558 0038      	movel %a0@+,%a2@(56)                        
   44772:	2558 003c      	movel %a0@+,%a2@(60)                        
   44776:	2558 0040      	movel %a0@+,%a2@(64)                        
   4477a:	2558 0044      	movel %a0@+,%a2@(68)                        
   4477e:	2558 0048      	movel %a0@+,%a2@(72)                        
   44782:	2558 004c      	movel %a0@+,%a2@(76)                        
  /*                                                                  
   * check for flow control options to be switched off                
   */                                                                 
                                                                      
  /* check for outgoing XON/XOFF flow control switched off */         
  if (( tty->flow_ctrl & FL_MDXON) &&                                 
   44786:	202a 00b8      	movel %a2@(184),%d0                         
  case RTEMS_IO_GET_ATTRIBUTES:                                       
    *(struct termios *)args->buffer = tty->termios;                   
    break;                                                            
                                                                      
  case RTEMS_IO_SET_ATTRIBUTES:                                       
    tty->termios = *(struct termios *)args->buffer;                   
   4478a:	2550 0050      	movel %a0@,%a2@(80)                         
  /*                                                                  
   * check for flow control options to be switched off                
   */                                                                 
                                                                      
  /* check for outgoing XON/XOFF flow control switched off */         
  if (( tty->flow_ctrl & FL_MDXON) &&                                 
   4478e:	0800 0009      	btst #9,%d0                                 
   44792:	6746           	beqs 447da <rtems_termios_ioctl+0x172>      
      !(tty->termios.c_iflag & IXON)) {                               
   44794:	202a 0030      	movel %a2@(48),%d0                          
   44798:	0280 0000 0400 	andil #1024,%d0                             
  /*                                                                  
   * check for flow control options to be switched off                
   */                                                                 
                                                                      
  /* check for outgoing XON/XOFF flow control switched off */         
  if (( tty->flow_ctrl & FL_MDXON) &&                                 
   4479e:	663a           	bnes 447da <rtems_termios_ioctl+0x172>      
      !(tty->termios.c_iflag & IXON)) {                               
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDXON | FL_ORCVXOF);                       
   447a0:	202a 00b8      	movel %a2@(184),%d0                         
   447a4:	0280 ffff fdef 	andil #-529,%d0                             
   447aa:	2540 00b8      	movel %d0,%a2@(184)                         
                                                                      
    /* has output been stopped due to received XOFF? */               
    if (tty->flow_ctrl & FL_OSTOP) {                                  
   447ae:	202a 00b8      	movel %a2@(184),%d0                         
   447b2:	0800 0005      	btst #5,%d0                                 
   447b6:	6722           	beqs 447da <rtems_termios_ioctl+0x172>      <== ALWAYS TAKEN
      /* disable interrupts    */                                     
      rtems_interrupt_disable(level);                                 
   447b8:	203c 0000 0700 	movel #1792,%d0                             <== NOT EXECUTED
   447be:	40c3           	movew %sr,%d3                               <== NOT EXECUTED
   447c0:	8083           	orl %d3,%d0                                 <== NOT EXECUTED
   447c2:	46c0           	movew %d0,%sr                               <== NOT EXECUTED
      tty->flow_ctrl &= ~FL_OSTOP;                                    
   447c4:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   447c8:	72df           	moveq #-33,%d1                              <== NOT EXECUTED
   447ca:	c081           	andl %d1,%d0                                <== NOT EXECUTED
   447cc:	2540 00b8      	movel %d0,%a2@(184)                         <== NOT EXECUTED
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
   447d0:	4aaa 0094      	tstl %a2@(148)                              <== NOT EXECUTED
   447d4:	6600 0240      	bnew 44a16 <rtems_termios_ioctl+0x3ae>      <== NOT EXECUTED
        /* if chars available, call write function... */              
        (*tty->device.write)(                                         
          tty->minor, &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1); 
      }                                                               
      /* reenable interrupts */                                       
      rtems_interrupt_enable(level);                                  
   447d8:	46c3           	movew %d3,%sr                               <== NOT EXECUTED
    }                                                                 
  }                                                                   
  /* check for incoming XON/XOFF flow control switched off */         
  if (( tty->flow_ctrl & FL_MDXOF) && !(tty->termios.c_iflag & IXOFF)) {
   447da:	202a 00b8      	movel %a2@(184),%d0                         
   447de:	0800 000a      	btst #10,%d0                                
   447e2:	6724           	beqs 44808 <rtems_termios_ioctl+0x1a0>      
   447e4:	202a 0030      	movel %a2@(48),%d0                          
   447e8:	0280 0000 1000 	andil #4096,%d0                             
   447ee:	6618           	bnes 44808 <rtems_termios_ioctl+0x1a0>      <== NEVER TAKEN
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDXOF);                                    
   447f0:	202a 00b8      	movel %a2@(184),%d0                         
    /* FIXME: what happens, if we had sent XOFF but not yet XON? */   
    tty->flow_ctrl &= ~(FL_ISNTXOF);                                  
   447f4:	76fd           	moveq #-3,%d3                               
    }                                                                 
  }                                                                   
  /* check for incoming XON/XOFF flow control switched off */         
  if (( tty->flow_ctrl & FL_MDXOF) && !(tty->termios.c_iflag & IXOFF)) {
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDXOF);                                    
   447f6:	0880 000a      	bclr #10,%d0                                
   447fa:	2540 00b8      	movel %d0,%a2@(184)                         
    /* FIXME: what happens, if we had sent XOFF but not yet XON? */   
    tty->flow_ctrl &= ~(FL_ISNTXOF);                                  
   447fe:	202a 00b8      	movel %a2@(184),%d0                         
   44802:	c083           	andl %d3,%d0                                
   44804:	2540 00b8      	movel %d0,%a2@(184)                         
  }                                                                   
                                                                      
  /* check for incoming RTS/CTS flow control switched off */          
  if (( tty->flow_ctrl & FL_MDRTS) && !(tty->termios.c_cflag & CRTSCTS)) {
   44808:	202a 00b8      	movel %a2@(184),%d0                         
   4480c:	0800 0008      	btst #8,%d0                                 
   44810:	6700 0186      	beqw 44998 <rtems_termios_ioctl+0x330>      
   44814:	222a 0038      	movel %a2@(56),%d1                          <== NOT EXECUTED
   44818:	6d00 01ec      	bltw 44a06 <rtems_termios_ioctl+0x39e>      <== NOT EXECUTED
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDRTS);                                    
   4481c:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   44820:	0880 0008      	bclr #8,%d0                                 <== NOT EXECUTED
   44824:	2540 00b8      	movel %d0,%a2@(184)                         <== NOT EXECUTED
                                                                      
    /* restart remote Tx, if it was stopped */                        
    if ((tty->flow_ctrl & FL_IRTSOFF) && (tty->device.startRemoteTx != NULL)) {
   44828:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   4482c:	44c0           	movew %d0,%ccr                              <== NOT EXECUTED
   4482e:	6614           	bnes 44844 <rtems_termios_ioctl+0x1dc>      <== NOT EXECUTED
   44830:	206a 00b0      	moveal %a2@(176),%a0                        <== NOT EXECUTED
   44834:	4a88           	tstl %a0                                    <== NOT EXECUTED
   44836:	670c           	beqs 44844 <rtems_termios_ioctl+0x1dc>      <== NOT EXECUTED
      tty->device.startRemoteTx(tty->minor);                          
   44838:	2f2a 0010      	movel %a2@(16),%sp@-                        <== NOT EXECUTED
   4483c:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   4483e:	222a 0038      	movel %a2@(56),%d1                          <== NOT EXECUTED
   44842:	588f           	addql #4,%sp                                <== NOT EXECUTED
    }                                                                 
    tty->flow_ctrl &= ~(FL_IRTSOFF);                                  
   44844:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   44848:	76fb           	moveq #-5,%d3                               <== NOT EXECUTED
   4484a:	c083           	andl %d3,%d0                                <== NOT EXECUTED
   4484c:	2540 00b8      	movel %d0,%a2@(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) {                               
   44850:	4a81           	tstl %d1                                    <== NOT EXECUTED
   44852:	6d00 01b2      	bltw 44a06 <rtems_termios_ioctl+0x39e>      <== NOT EXECUTED
    tty->flow_ctrl |= FL_MDRTS;                                       
  }                                                                   
  /* check for incoming XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXOFF) {                                 
   44856:	202a 0030      	movel %a2@(48),%d0                          
   4485a:	0800 000c      	btst #12,%d0                                
   4485e:	670c           	beqs 4486c <rtems_termios_ioctl+0x204>      
    tty->flow_ctrl |= FL_MDXOF;                                       
   44860:	222a 00b8      	movel %a2@(184),%d1                         
   44864:	08c1 000a      	bset #10,%d1                                
   44868:	2541 00b8      	movel %d1,%a2@(184)                         
  }                                                                   
  /* check for outgoing XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXON) {                                  
   4486c:	0800 000a      	btst #10,%d0                                
   44870:	670c           	beqs 4487e <rtems_termios_ioctl+0x216>      
    tty->flow_ctrl |= FL_MDXON;                                       
   44872:	202a 00b8      	movel %a2@(184),%d0                         
   44876:	08c0 0009      	bset #9,%d0                                 
   4487a:	2540 00b8      	movel %d0,%a2@(184)                         
    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) {                              
   4487e:	7002           	moveq #2,%d0                                
   44880:	c0aa 003c      	andl %a2@(60),%d0                           
   44884:	6700 012e      	beqw 449b4 <rtems_termios_ioctl+0x34c>      
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
        else                                                          
          tty->rawInBufSemaphoreFirstTimeout = tty->vtimeTicks;       
      } else {                                                        
        if (tty->termios.c_cc[VMIN]) {                                
          tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                 
   44888:	42aa 006c      	clrl %a2@(108)                              
          tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;           
   4488c:	42aa 0070      	clrl %a2@(112)                              
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
   44890:	42aa 0074      	clrl %a2@(116)                              
        } else {                                                      
          tty->rawInBufSemaphoreOptions = RTEMS_NO_WAIT;              
        }                                                             
      }                                                               
    }                                                                 
    if (tty->device.setAttributes)                                    
   44894:	206a 00a8      	moveal %a2@(168),%a0                        
   44898:	4a88           	tstl %a0                                    
   4489a:	6700 fe1c      	beqw 446b8 <rtems_termios_ioctl+0x50>       
      (*tty->device.setAttributes)(tty->minor, &tty->termios);        
   4489e:	2f0c           	movel %a4,%sp@-                             
   448a0:	2f2a 0010      	movel %a2@(16),%sp@-                        
   448a4:	4e90           	jsr %a0@                                    
   448a6:	508f           	addql #8,%sp                                
      *(int *)args->buffer = tty->ccount - tty->cindex + rawnc;       
    }                                                                 
    break;                                                            
  }                                                                   
                                                                      
  rtems_semaphore_release (tty->osem);                                
   448a8:	2f2a 0018      	movel %a2@(24),%sp@-                        
   448ac:	4eb9 0004 68a8 	jsr 468a8 <rtems_semaphore_release>         
  args->ioctl_return = sc;                                            
  return sc;                                                          
   448b2:	588f           	addql #4,%sp                                
   448b4:	6000 fe0e      	braw 446c4 <rtems_termios_ioctl+0x5c>       
  case RTEMS_IO_TCDRAIN:                                              
    drainOutput (tty);                                                
    break;                                                            
                                                                      
  case RTEMS_IO_SNDWAKEUP:                                            
    tty->tty_snd = *wakeup;                                           
   448b8:	2014           	movel %a4@,%d0                              
   448ba:	222c 0004      	movel %a4@(4),%d1                           
   448be:	2540 00d4      	movel %d0,%a2@(212)                         
   448c2:	2541 00d8      	movel %d1,%a2@(216)                         
      *(int *)args->buffer = tty->ccount - tty->cindex + rawnc;       
    }                                                                 
    break;                                                            
  }                                                                   
                                                                      
  rtems_semaphore_release (tty->osem);                                
   448c6:	2f2a 0018      	movel %a2@(24),%sp@-                        
   448ca:	4eb9 0004 68a8 	jsr 468a8 <rtems_semaphore_release>         
  args->ioctl_return = sc;                                            
  return sc;                                                          
   448d0:	588f           	addql #4,%sp                                
   448d2:	6000 fdf0      	braw 446c4 <rtems_termios_ioctl+0x5c>       
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
  if (sc != RTEMS_SUCCESSFUL) {                                       
    args->ioctl_return = sc;                                          
    return sc;                                                        
  }                                                                   
  switch (args->command) {                                            
   448d6:	123c 0001      	moveb #1,%d1                                
   448da:	b280           	cmpl %d0,%d1                                
   448dc:	6600 fe0a      	bnew 446e8 <rtems_termios_ioctl+0x80>       
      sc = RTEMS_INVALID_NUMBER;                                      
    }                                                                 
    break;                                                            
                                                                      
  case RTEMS_IO_GET_ATTRIBUTES:                                       
    *(struct termios *)args->buffer = tty->termios;                   
   448e0:	206b 0008      	moveal %a3@(8),%a0                          
   448e4:	20ea 0030      	movel %a2@(48),%a0@+                        
   448e8:	20ea 0034      	movel %a2@(52),%a0@+                        
   448ec:	20ea 0038      	movel %a2@(56),%a0@+                        
   448f0:	20ea 003c      	movel %a2@(60),%a0@+                        
   448f4:	20ea 0040      	movel %a2@(64),%a0@+                        
   448f8:	20ea 0044      	movel %a2@(68),%a0@+                        
   448fc:	20ea 0048      	movel %a2@(72),%a0@+                        
   44900:	20ea 004c      	movel %a2@(76),%a0@+                        
   44904:	20aa 0050      	movel %a2@(80),%a0@                         
      *(int *)args->buffer = tty->ccount - tty->cindex + rawnc;       
    }                                                                 
    break;                                                            
  }                                                                   
                                                                      
  rtems_semaphore_release (tty->osem);                                
   44908:	2f2a 0018      	movel %a2@(24),%sp@-                        
   4490c:	4eb9 0004 68a8 	jsr 468a8 <rtems_semaphore_release>         
  args->ioctl_return = sc;                                            
  return sc;                                                          
   44912:	588f           	addql #4,%sp                                
   44914:	6000 fdae      	braw 446c4 <rtems_termios_ioctl+0x5c>       
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
  if (sc != RTEMS_SUCCESSFUL) {                                       
    args->ioctl_return = sc;                                          
    return sc;                                                        
  }                                                                   
  switch (args->command) {                                            
   44918:	0c80 4004 741a 	cmpil #1074033690,%d0                       
   4491e:	6760           	beqs 44980 <rtems_termios_ioctl+0x318>      
   44920:	0c80 8004 741b 	cmpil #-2147191781,%d0                      
   44926:	6600 fdc0      	bnew 446e8 <rtems_termios_ioctl+0x80>       
#if 1 /* FIXME */                                                     
  case TIOCSETD:                                                      
    /*                                                                
     * close old line discipline                                      
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_close != NULL) {          
   4492a:	202a 00cc      	movel %a2@(204),%d0                         
   4492e:	eb88           	lsll #5,%d0                                 
   44930:	0680 0006 0320 	addil #394016,%d0                           
   44936:	2240           	moveal %d0,%a1                              
   44938:	2051           	moveal %a1@,%a0                             
   4493a:	4a88           	tstl %a0                                    
   4493c:	6708           	beqs 44946 <rtems_termios_ioctl+0x2de>      
      sc = rtems_termios_linesw[tty->t_line].l_close(tty);            
   4493e:	2f0a           	movel %a2,%sp@-                             
   44940:	4e90           	jsr %a0@                                    
   44942:	588f           	addql #4,%sp                                
   44944:	2400           	movel %d0,%d2                               
    }                                                                 
    tty->t_line=*(int*)(args->buffer);                                
   44946:	206b 0008      	moveal %a3@(8),%a0                          
   4494a:	2010           	movel %a0@,%d0                              
    tty->t_sc = NULL; /* ensure that no more valid data */            
    /*                                                                
     * open new line discipline                                       
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_open != NULL) {           
   4494c:	2200           	movel %d0,%d1                               
   4494e:	41f9 0006 031c 	lea 6031c <rtems_termios_linesw>,%a0        
   44954:	eb89           	lsll #5,%d1                                 
     * 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);                                
   44956:	2540 00cc      	movel %d0,%a2@(204)                         
    tty->t_sc = NULL; /* ensure that no more valid data */            
    /*                                                                
     * open new line discipline                                       
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_open != NULL) {           
   4495a:	2070 1800      	moveal %a0@(00000000,%d1:l),%a0             
     */                                                               
    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 */            
   4495e:	42aa 00d0      	clrl %a2@(208)                              
    /*                                                                
     * open new line discipline                                       
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_open != NULL) {           
   44962:	4a88           	tstl %a0                                    
   44964:	6700 fd52      	beqw 446b8 <rtems_termios_ioctl+0x50>       
      sc = rtems_termios_linesw[tty->t_line].l_open(tty);             
   44968:	2f0a           	movel %a2,%sp@-                             
   4496a:	4e90           	jsr %a0@                                    
   4496c:	588f           	addql #4,%sp                                
   4496e:	2400           	movel %d0,%d2                               
      *(int *)args->buffer = tty->ccount - tty->cindex + rawnc;       
    }                                                                 
    break;                                                            
  }                                                                   
                                                                      
  rtems_semaphore_release (tty->osem);                                
   44970:	2f2a 0018      	movel %a2@(24),%sp@-                        
   44974:	4eb9 0004 68a8 	jsr 468a8 <rtems_semaphore_release>         
  args->ioctl_return = sc;                                            
  return sc;                                                          
   4497a:	588f           	addql #4,%sp                                
   4497c:	6000 fd46      	braw 446c4 <rtems_termios_ioctl+0x5c>       
    if (rtems_termios_linesw[tty->t_line].l_open != NULL) {           
      sc = rtems_termios_linesw[tty->t_line].l_open(tty);             
    }                                                                 
    break;                                                            
  case TIOCGETD:                                                      
    *(int*)(args->buffer)=tty->t_line;                                
   44980:	206b 0008      	moveal %a3@(8),%a0                          
   44984:	20aa 00cc      	movel %a2@(204),%a0@                        
      *(int *)args->buffer = tty->ccount - tty->cindex + rawnc;       
    }                                                                 
    break;                                                            
  }                                                                   
                                                                      
  rtems_semaphore_release (tty->osem);                                
   44988:	2f2a 0018      	movel %a2@(24),%sp@-                        
   4498c:	4eb9 0004 68a8 	jsr 468a8 <rtems_semaphore_release>         
  args->ioctl_return = sc;                                            
  return sc;                                                          
   44992:	588f           	addql #4,%sp                                
   44994:	6000 fd2e      	braw 446c4 <rtems_termios_ioctl+0x5c>       
    /* FIXME: what happens, if we had sent XOFF but not yet XON? */   
    tty->flow_ctrl &= ~(FL_ISNTXOF);                                  
  }                                                                   
                                                                      
  /* check for incoming RTS/CTS flow control switched off */          
  if (( tty->flow_ctrl & FL_MDRTS) && !(tty->termios.c_cflag & CRTSCTS)) {
   44998:	222a 0038      	movel %a2@(56),%d1                          
                                                                      
  /*                                                                  
   * check for flow control options to be switched on                 
   */                                                                 
  /* check for incoming RTS/CTS flow control switched on */           
  if (tty->termios.c_cflag & CRTSCTS) {                               
   4499c:	6c00 feb8      	bgew 44856 <rtems_termios_ioctl+0x1ee>      
   449a0:	6064           	bras 44a06 <rtems_termios_ioctl+0x39e>      <== NOT EXECUTED
      *(int *)args->buffer = tty->ccount - tty->cindex + rawnc;       
    }                                                                 
    break;                                                            
  }                                                                   
                                                                      
  rtems_semaphore_release (tty->osem);                                
   449a2:	2f2a 0018      	movel %a2@(24),%sp@-                        <== NOT EXECUTED
  default:                                                            
    if (rtems_termios_linesw[tty->t_line].l_ioctl != NULL) {          
      sc = rtems_termios_linesw[tty->t_line].l_ioctl(tty,args);       
    }                                                                 
    else {                                                            
      sc = RTEMS_INVALID_NUMBER;                                      
   449a6:	740a           	moveq #10,%d2                               <== NOT EXECUTED
      *(int *)args->buffer = tty->ccount - tty->cindex + rawnc;       
    }                                                                 
    break;                                                            
  }                                                                   
                                                                      
  rtems_semaphore_release (tty->osem);                                
   449a8:	4eb9 0004 68a8 	jsr 468a8 <rtems_semaphore_release>         <== NOT EXECUTED
  args->ioctl_return = sc;                                            
  return sc;                                                          
   449ae:	588f           	addql #4,%sp                                <== NOT EXECUTED
   449b0:	6000 fd12      	braw 446c4 <rtems_termios_ioctl+0x5c>       <== NOT EXECUTED
    if (tty->termios.c_lflag & ICANON) {                              
      tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                     
      tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;               
      tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;          
    } else {                                                          
      tty->vtimeTicks = tty->termios.c_cc[VTIME] *                    
   449b4:	4283           	clrl %d3                                    
   449b6:	162a 0046      	moveb %a2@(70),%d3                          
                    rtems_clock_get_ticks_per_second() / 10;          
   449ba:	4eb9 0004 602c 	jsr 4602c <rtems_clock_get_ticks_per_second>
    if (tty->termios.c_lflag & ICANON) {                              
      tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                     
      tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;               
      tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;          
    } else {                                                          
      tty->vtimeTicks = tty->termios.c_cc[VTIME] *                    
   449c0:	4c03 0800      	mulsl %d3,%d0                               
                    rtems_clock_get_ticks_per_second() / 10;          
   449c4:	760a           	moveq #10,%d3                               
   449c6:	4c43 0000      	remul %d3,%d0,%d0                           
    if (tty->termios.c_lflag & ICANON) {                              
      tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                     
      tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;               
      tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;          
    } else {                                                          
      tty->vtimeTicks = tty->termios.c_cc[VTIME] *                    
   449ca:	2540 0054      	movel %d0,%a2@(84)                          
                    rtems_clock_get_ticks_per_second() / 10;          
      if (tty->termios.c_cc[VTIME]) {                                 
   449ce:	4a2a 0046      	tstb %a2@(70)                               
   449d2:	6764           	beqs 44a38 <rtems_termios_ioctl+0x3d0>      
        tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                   
   449d4:	42aa 006c      	clrl %a2@(108)                              
        tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;              
   449d8:	2540 0070      	movel %d0,%a2@(112)                         
        if (tty->termios.c_cc[VMIN])                                  
   449dc:	4a2a 0047      	tstb %a2@(71)                               
   449e0:	6600 feae      	bnew 44890 <rtems_termios_ioctl+0x228>      
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
        else                                                          
          tty->rawInBufSemaphoreFirstTimeout = tty->vtimeTicks;       
   449e4:	2540 0074      	movel %d0,%a2@(116)                         
   449e8:	6000 feaa      	braw 44894 <rtems_termios_ioctl+0x22c>      
    break;                                                            
#endif                                                                
   case FIONREAD: {                                                   
      int rawnc = tty->rawInBuf.Tail - tty->rawInBuf.Head;            
      if ( rawnc < 0 )                                                
        rawnc += tty->rawInBuf.Size;                                  
   449ec:	222a 0064      	movel %a2@(100),%d1                         <== NOT EXECUTED
   449f0:	d081           	addl %d1,%d0                                <== NOT EXECUTED
      /* Half guess that this is the right operation */               
      *(int *)args->buffer = tty->ccount - tty->cindex + rawnc;       
   449f2:	222a 0020      	movel %a2@(32),%d1                          <== NOT EXECUTED
   449f6:	92aa 0024      	subl %a2@(36),%d1                           <== NOT EXECUTED
   449fa:	d280           	addl %d0,%d1                                <== NOT EXECUTED
   449fc:	206b 0008      	moveal %a3@(8),%a0                          <== NOT EXECUTED
   44a00:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
   44a02:	6000 fd4c      	braw 44750 <rtems_termios_ioctl+0xe8>       <== NOT EXECUTED
  /*                                                                  
   * check for flow control options to be switched on                 
   */                                                                 
  /* check for incoming RTS/CTS flow control switched on */           
  if (tty->termios.c_cflag & CRTSCTS) {                               
    tty->flow_ctrl |= FL_MDRTS;                                       
   44a06:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   44a0a:	08c0 0008      	bset #8,%d0                                 <== NOT EXECUTED
   44a0e:	2540 00b8      	movel %d0,%a2@(184)                         <== NOT EXECUTED
   44a12:	6000 fe42      	braw 44856 <rtems_termios_ioctl+0x1ee>      <== NOT EXECUTED
      tty->flow_ctrl &= ~FL_OSTOP;                                    
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
        /* if chars available, call write function... */              
        (*tty->device.write)(                                         
          tty->minor, &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1); 
   44a16:	202a 0084      	movel %a2@(132),%d0                         <== NOT EXECUTED
      rtems_interrupt_disable(level);                                 
      tty->flow_ctrl &= ~FL_OSTOP;                                    
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
        /* if chars available, call write function... */              
        (*tty->device.write)(                                         
   44a1a:	4878 0001      	pea 1 <ADD>                                 <== NOT EXECUTED
   44a1e:	d0aa 007c      	addl %a2@(124),%d0                          <== NOT EXECUTED
   44a22:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   44a24:	2f2a 0010      	movel %a2@(16),%sp@-                        <== NOT EXECUTED
   44a28:	206a 00a4      	moveal %a2@(164),%a0                        <== NOT EXECUTED
   44a2c:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   44a2e:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
          tty->minor, &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1); 
      }                                                               
      /* reenable interrupts */                                       
      rtems_interrupt_enable(level);                                  
   44a32:	46c3           	movew %d3,%sr                               <== NOT EXECUTED
   44a34:	6000 fda4      	braw 447da <rtems_termios_ioctl+0x172>      <== NOT EXECUTED
        if (tty->termios.c_cc[VMIN])                                  
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
        else                                                          
          tty->rawInBufSemaphoreFirstTimeout = tty->vtimeTicks;       
      } else {                                                        
        if (tty->termios.c_cc[VMIN]) {                                
   44a38:	4a2a 0047      	tstb %a2@(71)                               
   44a3c:	6600 fe4a      	bnew 44888 <rtems_termios_ioctl+0x220>      
          tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                 
          tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;           
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
        } else {                                                      
          tty->rawInBufSemaphoreOptions = RTEMS_NO_WAIT;              
   44a40:	7001           	moveq #1,%d0                                
   44a42:	2540 006c      	movel %d0,%a2@(108)                         
   44a46:	6000 fe4c      	braw 44894 <rtems_termios_ioctl+0x22c>      
                                                                      

00044054 <rtems_termios_open>: rtems_device_major_number major, rtems_device_minor_number minor, void *arg, const rtems_termios_callbacks *callbacks ) {
   44054:	4e56 ffd8      	linkw %fp,#-40                              
   44058:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
  struct rtems_termios_tty *tty;                                      
                                                                      
  /*                                                                  
   * See if the device has already been opened                        
   */                                                                 
  sc = rtems_semaphore_obtain(                                        
   4405c:	42a7           	clrl %sp@-                                  
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
)                                                                     
{                                                                     
   4405e:	242e 0008      	movel %fp@(8),%d2                           
  struct rtems_termios_tty *tty;                                      
                                                                      
  /*                                                                  
   * See if the device has already been opened                        
   */                                                                 
  sc = rtems_semaphore_obtain(                                        
   44062:	42a7           	clrl %sp@-                                  
   44064:	2f39 0006 0b58 	movel 60b58 <rtems_termios_ttyMutex>,%sp@-  
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
)                                                                     
{                                                                     
   4406a:	262e 000c      	movel %fp@(12),%d3                          
   4406e:	266e 0010      	moveal %fp@(16),%a3                         
  struct rtems_termios_tty *tty;                                      
                                                                      
  /*                                                                  
   * See if the device has already been opened                        
   */                                                                 
  sc = rtems_semaphore_obtain(                                        
   44072:	4eb9 0004 6768 	jsr 46768 <rtems_semaphore_obtain>          
    rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);            
  if (sc != RTEMS_SUCCESSFUL)                                         
   44078:	4fef 000c      	lea %sp@(12),%sp                            
  struct rtems_termios_tty *tty;                                      
                                                                      
  /*                                                                  
   * See if the device has already been opened                        
   */                                                                 
  sc = rtems_semaphore_obtain(                                        
   4407c:	2800           	movel %d0,%d4                               
    rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);            
  if (sc != RTEMS_SUCCESSFUL)                                         
   4407e:	6600 027e      	bnew 442fe <rtems_termios_open+0x2aa>       
    return sc;                                                        
                                                                      
  for (tty = rtems_termios_ttyHead ; tty != NULL ; tty = tty->forw) { 
   44082:	2879 0006 0b60 	moveal 60b60 <rtems_termios_ttyHead>,%a4    
   44088:	4a8c           	tstl %a4                                    
   4408a:	6710           	beqs 4409c <rtems_termios_open+0x48>        
   4408c:	244c           	moveal %a4,%a2                              
    if ((tty->major == major) && (tty->minor == minor))               
   4408e:	b4aa 000c      	cmpl %a2@(12),%d2                           
   44092:	6700 0276      	beqw 4430a <rtems_termios_open+0x2b6>       
  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) { 
   44096:	2452           	moveal %a2@,%a2                             
   44098:	4a8a           	tstl %a2                                    
   4409a:	66f2           	bnes 4408e <rtems_termios_open+0x3a>        <== NEVER TAKEN
    static char c = 'a';                                              
                                                                      
    /*                                                                
     * Create a new device                                            
     */                                                               
    tty = calloc (1, sizeof (struct rtems_termios_tty));              
   4409c:	4878 00e8      	pea e8 <DBL_MANT_DIG+0xb3>                  
   440a0:	4878 0001      	pea 1 <ADD>                                 
   440a4:	4eb9 0004 2bd8 	jsr 42bd8 <calloc>                          
    if (tty == NULL) {                                                
   440aa:	508f           	addql #8,%sp                                
    static char c = 'a';                                              
                                                                      
    /*                                                                
     * Create a new device                                            
     */                                                               
    tty = calloc (1, sizeof (struct rtems_termios_tty));              
   440ac:	2a40           	moveal %d0,%a5                              
   440ae:	2440           	moveal %d0,%a2                              
    if (tty == NULL) {                                                
   440b0:	4a80           	tstl %d0                                    
   440b2:	6700 0346      	beqw 443fa <rtems_termios_open+0x3a6>       
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * allocate raw input buffer                                      
     */                                                               
    tty->rawInBuf.Size = RAW_INPUT_BUFFER_SIZE;                       
   440b6:	41f9 0005 f4d8 	lea 5f4d8 <rtems_termios_raw_input_size>,%a0
   440bc:	2b50 0064      	movel %a0@,%a5@(100)                        
    tty->rawInBuf.theBuf = malloc (tty->rawInBuf.Size);               
   440c0:	2e3c 0004 3314 	movel #275220,%d7                           
   440c6:	2047           	moveal %d7,%a0                              
   440c8:	202d 0064      	movel %a5@(100),%d0                         
   440cc:	2f00           	movel %d0,%sp@-                             
   440ce:	4e90           	jsr %a0@                                    
    if (tty->rawInBuf.theBuf == NULL) {                               
   440d0:	588f           	addql #4,%sp                                
    }                                                                 
    /*                                                                
     * allocate raw input buffer                                      
     */                                                               
    tty->rawInBuf.Size = RAW_INPUT_BUFFER_SIZE;                       
    tty->rawInBuf.theBuf = malloc (tty->rawInBuf.Size);               
   440d2:	2a00           	movel %d0,%d5                               
   440d4:	2b40 0058      	movel %d0,%a5@(88)                          
    if (tty->rawInBuf.theBuf == NULL) {                               
   440d8:	6700 033c      	beqw 44416 <rtems_termios_open+0x3c2>       
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * allocate raw output buffer                                     
     */                                                               
    tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;                     
   440dc:	41f9 0005 f4dc 	lea 5f4dc <rtems_termios_raw_output_size>,%a0
   440e2:	2b50 0088      	movel %a0@,%a5@(136)                        
    tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);             
   440e6:	2047           	moveal %d7,%a0                              
   440e8:	202d 0088      	movel %a5@(136),%d0                         
   440ec:	2f00           	movel %d0,%sp@-                             
   440ee:	4e90           	jsr %a0@                                    
    if (tty->rawOutBuf.theBuf == NULL) {                              
   440f0:	588f           	addql #4,%sp                                
    }                                                                 
    /*                                                                
     * allocate raw output buffer                                     
     */                                                               
    tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;                     
    tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);             
   440f2:	2c00           	movel %d0,%d6                               
   440f4:	2b40 007c      	movel %d0,%a5@(124)                         
    if (tty->rawOutBuf.theBuf == NULL) {                              
   440f8:	6700 0340      	beqw 4443a <rtems_termios_open+0x3e6>       
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * allocate cooked buffer                                         
     */                                                               
    tty->cbuf  = malloc (CBUFSIZE);                                   
   440fc:	2f39 0005 f4d4 	movel 5f4d4 <rtems_termios_cbufsize>,%sp@-  
   44102:	2047           	moveal %d7,%a0                              
   44104:	4e90           	jsr %a0@                                    
    if (tty->cbuf == NULL) {                                          
   44106:	588f           	addql #4,%sp                                
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * allocate cooked buffer                                         
     */                                                               
    tty->cbuf  = malloc (CBUFSIZE);                                   
   44108:	2b40 001c      	movel %d0,%a5@(28)                          
    if (tty->cbuf == NULL) {                                          
   4410c:	6700 0358      	beqw 44466 <rtems_termios_open+0x412>       
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * Initialize wakeup callbacks                                    
     */                                                               
    tty->tty_snd.sw_pfn = NULL;                                       
   44110:	42ad 00d4      	clrl %a5@(212)                              
    tty->tty_snd.sw_arg = NULL;                                       
   44114:	42ad 00d8      	clrl %a5@(216)                              
    tty->tty_rcv.sw_pfn = NULL;                                       
   44118:	42ad 00dc      	clrl %a5@(220)                              
    tty->tty_rcv.sw_arg = NULL;                                       
   4411c:	42ad 00e0      	clrl %a5@(224)                              
    tty->tty_rcvwakeup  = 0;                                          
   44120:	42ad 00e4      	clrl %a5@(228)                              
                                                                      
    /*                                                                
     * link tty                                                       
     */                                                               
    tty->forw = rtems_termios_ttyHead;                                
   44124:	2a8c           	movel %a4,%a5@                              
    tty->back = NULL;                                                 
   44126:	42ad 0004      	clrl %a5@(4)                                
    if (rtems_termios_ttyHead != NULL)                                
   4412a:	4a8c           	tstl %a4                                    
   4412c:	6704           	beqs 44132 <rtems_termios_open+0xde>        
      rtems_termios_ttyHead->back = tty;                              
   4412e:	294d 0004      	movel %a5,%a4@(4)                           
    rtems_termios_ttyHead = tty;                                      
   44132:	23cd 0006 0b60 	movel %a5,60b60 <rtems_termios_ttyHead>     
    if (rtems_termios_ttyTail == NULL)                                
   44138:	4ab9 0006 0b5c 	tstl 60b5c <rtems_termios_ttyTail>          
   4413e:	6700 02b0      	beqw 443f0 <rtems_termios_open+0x39c>       
    tty->major = major;                                               
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
   44142:	486d 0014      	pea %a5@(20)                                
   44146:	49f9 0004 64cc 	lea 464cc <rtems_semaphore_create>,%a4      
      rtems_build_name ('T', 'R', 'i', c),                            
   4414c:	1039 0005 f4e0 	moveb 5f4e0 <c.6362>,%d0                    
    tty->major = major;                                               
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
   44152:	42a7           	clrl %sp@-                                  
   44154:	4878 0054      	pea 54 <DBL_MANT_DIG+0x1f>                  
      rtems_build_name ('T', 'R', 'i', c),                            
   44158:	49c0           	extbl %d0                                   
    tty->major = major;                                               
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
   4415a:	4878 0001      	pea 1 <ADD>                                 
   4415e:	0080 5452 6900 	oril #1414686976,%d0                        
      rtems_termios_ttyHead->back = tty;                              
    rtems_termios_ttyHead = tty;                                      
    if (rtems_termios_ttyTail == NULL)                                
      rtems_termios_ttyTail = tty;                                    
                                                                      
    tty->minor = minor;                                               
   44164:	2b43 0010      	movel %d3,%a5@(16)                          
    tty->major = major;                                               
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
   44168:	2f00           	movel %d0,%sp@-                             
    rtems_termios_ttyHead = tty;                                      
    if (rtems_termios_ttyTail == NULL)                                
      rtems_termios_ttyTail = tty;                                    
                                                                      
    tty->minor = minor;                                               
    tty->major = major;                                               
   4416a:	2b42 000c      	movel %d2,%a5@(12)                          
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
   4416e:	4e94           	jsr %a4@                                    
      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)                                       
   44170:	4fef 0014      	lea %sp@(20),%sp                            
   44174:	4a80           	tstl %d0                                    
   44176:	6600 020a      	bnew 44382 <rtems_termios_open+0x32e>       
      rtems_fatal_error_occurred (sc);                                
    sc = rtems_semaphore_create (                                     
   4417a:	486d 0018      	pea %a5@(24)                                
      rtems_build_name ('T', 'R', 'o', c),                            
   4417e:	1039 0005 f4e0 	moveb 5f4e0 <c.6362>,%d0                    
      RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY,
      RTEMS_NO_PRIORITY,                                              
      &tty->isem);                                                    
    if (sc != RTEMS_SUCCESSFUL)                                       
      rtems_fatal_error_occurred (sc);                                
    sc = rtems_semaphore_create (                                     
   44184:	42a7           	clrl %sp@-                                  
   44186:	4878 0054      	pea 54 <DBL_MANT_DIG+0x1f>                  
      rtems_build_name ('T', 'R', 'o', c),                            
   4418a:	49c0           	extbl %d0                                   
      RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY,
      RTEMS_NO_PRIORITY,                                              
      &tty->isem);                                                    
    if (sc != RTEMS_SUCCESSFUL)                                       
      rtems_fatal_error_occurred (sc);                                
    sc = rtems_semaphore_create (                                     
   4418c:	4878 0001      	pea 1 <ADD>                                 
   44190:	0080 5452 6f00 	oril #1414688512,%d0                        
   44196:	2f00           	movel %d0,%sp@-                             
   44198:	4e94           	jsr %a4@                                    
      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)                                       
   4419a:	4fef 0014      	lea %sp@(20),%sp                            
   4419e:	4a80           	tstl %d0                                    
   441a0:	6600 01e0      	bnew 44382 <rtems_termios_open+0x32e>       
      rtems_fatal_error_occurred (sc);                                
    sc = rtems_semaphore_create (                                     
   441a4:	486d 008c      	pea %a5@(140)                               
      rtems_build_name ('T', 'R', 'x', c),                            
   441a8:	1039 0005 f4e0 	moveb 5f4e0 <c.6362>,%d0                    
      RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY,
      RTEMS_NO_PRIORITY,                                              
      &tty->osem);                                                    
    if (sc != RTEMS_SUCCESSFUL)                                       
      rtems_fatal_error_occurred (sc);                                
    sc = rtems_semaphore_create (                                     
   441ae:	42a7           	clrl %sp@-                                  
   441b0:	4878 0020      	pea 20 <OPER2+0xc>                          
      rtems_build_name ('T', 'R', 'x', c),                            
   441b4:	49c0           	extbl %d0                                   
      RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY,
      RTEMS_NO_PRIORITY,                                              
      &tty->osem);                                                    
    if (sc != RTEMS_SUCCESSFUL)                                       
      rtems_fatal_error_occurred (sc);                                
    sc = rtems_semaphore_create (                                     
   441b6:	0080 5452 7800 	oril #1414690816,%d0                        
   441bc:	42a7           	clrl %sp@-                                  
   441be:	2f00           	movel %d0,%sp@-                             
   441c0:	4e94           	jsr %a4@                                    
      rtems_build_name ('T', 'R', 'x', c),                            
      0,                                                              
      RTEMS_SIMPLE_BINARY_SEMAPHORE | RTEMS_FIFO,                     
      RTEMS_NO_PRIORITY,                                              
      &tty->rawOutBuf.Semaphore);                                     
    if (sc != RTEMS_SUCCESSFUL)                                       
   441c2:	4fef 0014      	lea %sp@(20),%sp                            
   441c6:	4a80           	tstl %d0                                    
   441c8:	6600 01b8      	bnew 44382 <rtems_termios_open+0x32e>       
    tty->rawOutBufState = rob_idle;                                   
                                                                      
    /*                                                                
     * Set callbacks                                                  
     */                                                               
    tty->device = *callbacks;                                         
   441cc:	226e 0014      	moveal %fp@(20),%a1                         
   441d0:	41ed 0098      	lea %a5@(152),%a0                           
                                                                      
    /*                                                                
     * Create I/O tasks                                               
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
   441d4:	7002           	moveq #2,%d0                                
    tty->rawOutBufState = rob_idle;                                   
                                                                      
    /*                                                                
     * Set callbacks                                                  
     */                                                               
    tty->device = *callbacks;                                         
   441d6:	20d9           	movel %a1@+,%a0@+                           
   441d8:	20d9           	movel %a1@+,%a0@+                           
   441da:	20d9           	movel %a1@+,%a0@+                           
   441dc:	20d9           	movel %a1@+,%a0@+                           
   441de:	20d9           	movel %a1@+,%a0@+                           
   441e0:	20d9           	movel %a1@+,%a0@+                           
   441e2:	20d9           	movel %a1@+,%a0@+                           
   441e4:	2091           	movel %a1@,%a0@                             
      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;                                   
   441e6:	42ad 0094      	clrl %a5@(148)                              
    tty->device = *callbacks;                                         
                                                                      
    /*                                                                
     * Create I/O tasks                                               
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
   441ea:	b0ad 00b4      	cmpl %a5@(180),%d0                          
   441ee:	6700 019a      	beqw 4438a <rtems_termios_open+0x336>       
           &tty->rxTaskId);                                           
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
                                                                      
    }                                                                 
    if ((tty->device.pollRead == NULL) ||                             
   441f2:	4aad 00a0      	tstl %a5@(160)                              
   441f6:	6700 0162      	beqw 4435a <rtems_termios_open+0x306>       
   441fa:	7002           	moveq #2,%d0                                
   441fc:	b0ad 00b4      	cmpl %a5@(180),%d0                          
   44200:	6700 0158      	beqw 4435a <rtems_termios_open+0x306>       
    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;                                               
   44204:	42ad 00b8      	clrl %a5@(184)                              
    /*                                                                
     * set low/highwater mark for XON/XOFF support                    
     */                                                               
    tty->lowwater  = tty->rawInBuf.Size * 1/2;                        
   44208:	222d 0064      	movel %a5@(100),%d1                         
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
   4420c:	206d 0064      	moveal %a5@(100),%a0                        
    /* 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;                        
   44210:	e289           	lsrl #1,%d1                                 
    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';                                
   44212:	7c03           	moveq #3,%d6                                
    tty->lowwater  = tty->rawInBuf.Size * 1/2;                        
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
   44214:	1039 0005 f4e0 	moveb 5f4e0 <c.6362>,%d0                    
    /* 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;                        
   4421a:	2b41 00bc      	movel %d1,%a5@(188)                         
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
   4421e:	49c0           	extbl %d0                                   
   44220:	2a00           	movel %d0,%d5                               
   44222:	2240           	moveal %d0,%a1                              
   44224:	5285           	addql #1,%d5                                
    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';                                
   44226:	1b46 0041      	moveb %d6,%a5@(65)                          
    tty->termios.c_cc[VQUIT] = '\034';                                
   4422a:	7c1c           	moveq #28,%d6                               
    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;                        
   4422c:	41f0 8a00      	lea %a0@(00000000,%a0:l:2),%a0              
    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';                                 
   44230:	4201           	clrb %d1                                    
    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';                                
   44232:	1b46 0042      	moveb %d6,%a5@(66)                          
    tty->termios.c_cc[VERASE] = '\177';                               
   44236:	7c7f           	moveq #127,%d6                              
    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;                        
   44238:	2008           	movel %a0,%d0                               
   4423a:	e488           	lsrl #2,%d0                                 
    }                                                                 
                                                                      
    /*                                                                
     * Set default parameters                                         
     */                                                               
    tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;           
   4423c:	307c 2502      	moveaw #9474,%a0                            
    tty->termios.c_lflag =                                            
       ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;       
                                                                      
    tty->termios.c_cc[VINTR] = '\003';                                
    tty->termios.c_cc[VQUIT] = '\034';                                
    tty->termios.c_cc[VERASE] = '\177';                               
   44240:	1b46 0043      	moveb %d6,%a5@(67)                          
    tty->termios.c_cc[VKILL] = '\025';                                
   44244:	7c15           	moveq #21,%d6                               
    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;                        
   44246:	2b40 00c0      	movel %d0,%a5@(192)                         
       ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;       
                                                                      
    tty->termios.c_cc[VINTR] = '\003';                                
    tty->termios.c_cc[VQUIT] = '\034';                                
    tty->termios.c_cc[VERASE] = '\177';                               
    tty->termios.c_cc[VKILL] = '\025';                                
   4424a:	1b46 0044      	moveb %d6,%a5@(68)                          
    }                                                                 
                                                                      
    /*                                                                
     * Set default parameters                                         
     */                                                               
    tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;           
   4424e:	2b48 0030      	movel %a0,%a5@(48)                          
                                                                      
    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';                                 
   44252:	7c04           	moveq #4,%d6                                
    tty->termios.c_cc[VEOL] = '\000';                                 
    tty->termios.c_cc[VEOL2] = '\000';                                
    tty->termios.c_cc[VSTART] = '\021';                               
    tty->termios.c_cc[VSTOP] = '\023';                                
   44254:	7013           	moveq #19,%d0                               
                                                                      
    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';                                 
   44256:	1b46 0045      	moveb %d6,%a5@(69)                          
    tty->termios.c_cc[VEOL] = '\000';                                 
    tty->termios.c_cc[VEOL2] = '\000';                                
    tty->termios.c_cc[VSTART] = '\021';                               
   4425a:	7c11           	moveq #17,%d6                               
    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';                                 
   4425c:	1b41 004c      	moveb %d1,%a5@(76)                          
    tty->termios.c_cc[VEOL2] = '\000';                                
   44260:	1b41 0051      	moveb %d1,%a5@(81)                          
    tty->termios.c_cc[VSTART] = '\021';                               
   44264:	1b46 0049      	moveb %d6,%a5@(73)                          
    tty->termios.c_cc[VSTOP] = '\023';                                
    tty->termios.c_cc[VSUSP] = '\032';                                
   44268:	721a           	moveq #26,%d1                               
    tty->termios.c_cc[VREPRINT] = '\022';                             
   4426a:	7c12           	moveq #18,%d6                               
    tty->termios.c_cc[VKILL] = '\025';                                
    tty->termios.c_cc[VEOF] = '\004';                                 
    tty->termios.c_cc[VEOL] = '\000';                                 
    tty->termios.c_cc[VEOL2] = '\000';                                
    tty->termios.c_cc[VSTART] = '\021';                               
    tty->termios.c_cc[VSTOP] = '\023';                                
   4426c:	1b40 004a      	moveb %d0,%a5@(74)                          
    tty->termios.c_cc[VSUSP] = '\032';                                
    tty->termios.c_cc[VREPRINT] = '\022';                             
    tty->termios.c_cc[VDISCARD] = '\017';                             
   44270:	700f           	moveq #15,%d0                               
    tty->termios.c_cc[VEOF] = '\004';                                 
    tty->termios.c_cc[VEOL] = '\000';                                 
    tty->termios.c_cc[VEOL2] = '\000';                                
    tty->termios.c_cc[VSTART] = '\021';                               
    tty->termios.c_cc[VSTOP] = '\023';                                
    tty->termios.c_cc[VSUSP] = '\032';                                
   44272:	1b41 004b      	moveb %d1,%a5@(75)                          
    tty->termios.c_cc[VREPRINT] = '\022';                             
   44276:	1b46 004d      	moveb %d6,%a5@(77)                          
    tty->termios.c_cc[VDISCARD] = '\017';                             
    tty->termios.c_cc[VWERASE] = '\027';                              
   4427a:	7217           	moveq #23,%d1                               
    tty->termios.c_cc[VLNEXT] = '\026';                               
   4427c:	7c16           	moveq #22,%d6                               
    tty->termios.c_cc[VEOL2] = '\000';                                
    tty->termios.c_cc[VSTART] = '\021';                               
    tty->termios.c_cc[VSTOP] = '\023';                                
    tty->termios.c_cc[VSUSP] = '\032';                                
    tty->termios.c_cc[VREPRINT] = '\022';                             
    tty->termios.c_cc[VDISCARD] = '\017';                             
   4427e:	1b40 004e      	moveb %d0,%a5@(78)                          
                                                                      
    /*                                                                
     * Set default parameters                                         
     */                                                               
    tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;           
    tty->termios.c_oflag = OPOST | ONLCR | XTABS;                     
   44282:	203c 0000 1805 	movel #6149,%d0                             
    tty->termios.c_cc[VSTART] = '\021';                               
    tty->termios.c_cc[VSTOP] = '\023';                                
    tty->termios.c_cc[VSUSP] = '\032';                                
    tty->termios.c_cc[VREPRINT] = '\022';                             
    tty->termios.c_cc[VDISCARD] = '\017';                             
    tty->termios.c_cc[VWERASE] = '\027';                              
   44288:	1b41 004f      	moveb %d1,%a5@(79)                          
    tty->termios.c_cc[VLNEXT] = '\026';                               
   4428c:	1b46 0050      	moveb %d6,%a5@(80)                          
                                                                      
    /*                                                                
     * Set default parameters                                         
     */                                                               
    tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;           
    tty->termios.c_oflag = OPOST | ONLCR | XTABS;                     
   44290:	2b40 0034      	movel %d0,%a5@(52)                          
    tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;              
   44294:	223c 0000 08bd 	movel #2237,%d1                             
   4429a:	2b41 0038      	movel %d1,%a5@(56)                          
    tty->termios.c_lflag =                                            
   4429e:	2c3c 0000 823b 	movel #33339,%d6                            
    tty->lowwater  = tty->rawInBuf.Size * 1/2;                        
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
   442a4:	303c 007a      	movew #122,%d0                              
   442a8:	13c5 0005 f4e0 	moveb %d5,5f4e0 <c.6362>                    
     * 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 =                                            
   442ae:	2b46 003c      	movel %d6,%a5@(60)                          
    tty->lowwater  = tty->rawInBuf.Size * 1/2;                        
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
   442b2:	b089           	cmpl %a1,%d0                                
   442b4:	6608           	bnes 442be <rtems_termios_open+0x26a>       
      c = 'a';                                                        
   442b6:	7261           	moveq #97,%d1                               
   442b8:	13c1 0005 f4e0 	moveb %d1,5f4e0 <c.6362>                    
                                                                      
  }                                                                   
  args->iop->data1 = tty;                                             
  if (!tty->refcount++) {                                             
   442be:	202a 0008      	movel %a2@(8),%d0                           
   442c2:	2c00           	movel %d0,%d6                               
   442c4:	5286           	addql #1,%d6                                
     */                                                               
    if (c++ == 'z')                                                   
      c = 'a';                                                        
                                                                      
  }                                                                   
  args->iop->data1 = tty;                                             
   442c6:	2053           	moveal %a3@,%a0                             
   442c8:	214a 0034      	movel %a2,%a0@(52)                          
  if (!tty->refcount++) {                                             
   442cc:	2546 0008      	movel %d6,%a2@(8)                           
   442d0:	4a80           	tstl %d0                                    
   442d2:	661c           	bnes 442f0 <rtems_termios_open+0x29c>       
    if (tty->device.firstOpen)                                        
   442d4:	206a 0098      	moveal %a2@(152),%a0                        
   442d8:	4a88           	tstl %a0                                    
   442da:	670c           	beqs 442e8 <rtems_termios_open+0x294>       
      (*tty->device.firstOpen)(major, minor, arg);                    
   442dc:	2f0b           	movel %a3,%sp@-                             
   442de:	2f03           	movel %d3,%sp@-                             
   442e0:	2f02           	movel %d2,%sp@-                             
   442e2:	4e90           	jsr %a0@                                    
   442e4:	4fef 000c      	lea %sp@(12),%sp                            
                                                                      
    /*                                                                
     * start I/O tasks, if needed                                     
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
   442e8:	7002           	moveq #2,%d0                                
   442ea:	b0aa 00b4      	cmpl %a2@(180),%d0                          
   442ee:	672c           	beqs 4431c <rtems_termios_open+0x2c8>       
        tty->txTaskId, rtems_termios_txdaemon, (rtems_task_argument)tty);
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
    }                                                                 
  }                                                                   
  rtems_semaphore_release (rtems_termios_ttyMutex);                   
   442f0:	2f39 0006 0b58 	movel 60b58 <rtems_termios_ttyMutex>,%sp@-  
   442f6:	4eb9 0004 68a8 	jsr 468a8 <rtems_semaphore_release>         
  return RTEMS_SUCCESSFUL;                                            
   442fc:	588f           	addql #4,%sp                                
}                                                                     
   442fe:	2004           	movel %d4,%d0                               
   44300:	4cee 3cfc ffd8 	moveml %fp@(-40),%d2-%d7/%a2-%a5            
   44306:	4e5e           	unlk %fp                                    
   44308:	4e75           	rts                                         
    rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);            
  if (sc != RTEMS_SUCCESSFUL)                                         
    return sc;                                                        
                                                                      
  for (tty = rtems_termios_ttyHead ; tty != NULL ; tty = tty->forw) { 
    if ((tty->major == major) && (tty->minor == minor))               
   4430a:	b6aa 0010      	cmpl %a2@(16),%d3                           
   4430e:	67ae           	beqs 442be <rtems_termios_open+0x26a>       <== ALWAYS TAKEN
  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) { 
   44310:	2452           	moveal %a2@,%a2                             <== NOT EXECUTED
   44312:	4a8a           	tstl %a2                                    <== NOT EXECUTED
   44314:	6600 fd78      	bnew 4408e <rtems_termios_open+0x3a>        <== NOT EXECUTED
   44318:	6000 fd82      	braw 4409c <rtems_termios_open+0x48>        <== NOT EXECUTED
                                                                      
    /*                                                                
     * start I/O tasks, if needed                                     
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
      sc = rtems_task_start(                                          
   4431c:	2f0a           	movel %a2,%sp@-                             
   4431e:	487a 15fe      	pea %pc@(4591e <rtems_termios_rxdaemon>)    
   44322:	47f9 0004 6c14 	lea 46c14 <rtems_task_start>,%a3            
   44328:	2f2a 00c4      	movel %a2@(196),%sp@-                       
   4432c:	4e93           	jsr %a3@                                    
        tty->rxTaskId, rtems_termios_rxdaemon, (rtems_task_argument)tty);
      if (sc != RTEMS_SUCCESSFUL)                                     
   4432e:	4fef 000c      	lea %sp@(12),%sp                            
   44332:	4a80           	tstl %d0                                    
   44334:	664c           	bnes 44382 <rtems_termios_open+0x32e>       <== NEVER TAKEN
        rtems_fatal_error_occurred (sc);                              
                                                                      
      sc = rtems_task_start(                                          
   44336:	2f0a           	movel %a2,%sp@-                             
   44338:	487a 18b2      	pea %pc@(45bec <rtems_termios_txdaemon>)    
   4433c:	2f2a 00c8      	movel %a2@(200),%sp@-                       
   44340:	4e93           	jsr %a3@                                    
        tty->txTaskId, rtems_termios_txdaemon, (rtems_task_argument)tty);
      if (sc != RTEMS_SUCCESSFUL)                                     
   44342:	4fef 000c      	lea %sp@(12),%sp                            
   44346:	4a80           	tstl %d0                                    
   44348:	6638           	bnes 44382 <rtems_termios_open+0x32e>       <== NEVER TAKEN
        rtems_fatal_error_occurred (sc);                              
    }                                                                 
  }                                                                   
  rtems_semaphore_release (rtems_termios_ttyMutex);                   
   4434a:	2f39 0006 0b58 	movel 60b58 <rtems_termios_ttyMutex>,%sp@-  
   44350:	4eb9 0004 68a8 	jsr 468a8 <rtems_semaphore_release>         
  return RTEMS_SUCCESSFUL;                                            
   44356:	588f           	addql #4,%sp                                
   44358:	60a4           	bras 442fe <rtems_termios_open+0x2aa>       
        rtems_fatal_error_occurred (sc);                              
                                                                      
    }                                                                 
    if ((tty->device.pollRead == NULL) ||                             
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN)){   
      sc = rtems_semaphore_create (                                   
   4435a:	486d 0068      	pea %a5@(104)                               
        rtems_build_name ('T', 'R', 'r', c),                          
   4435e:	1039 0005 f4e0 	moveb 5f4e0 <c.6362>,%d0                    
        rtems_fatal_error_occurred (sc);                              
                                                                      
    }                                                                 
    if ((tty->device.pollRead == NULL) ||                             
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN)){   
      sc = rtems_semaphore_create (                                   
   44364:	42a7           	clrl %sp@-                                  
   44366:	4878 0024      	pea 24 <OPER2+0x10>                         
        rtems_build_name ('T', 'R', 'r', c),                          
   4436a:	49c0           	extbl %d0                                   
        rtems_fatal_error_occurred (sc);                              
                                                                      
    }                                                                 
    if ((tty->device.pollRead == NULL) ||                             
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN)){   
      sc = rtems_semaphore_create (                                   
   4436c:	0080 5452 7200 	oril #1414689280,%d0                        
   44372:	42a7           	clrl %sp@-                                  
   44374:	2f00           	movel %d0,%sp@-                             
   44376:	4e94           	jsr %a4@                                    
        rtems_build_name ('T', 'R', 'r', c),                          
        0,                                                            
        RTEMS_SIMPLE_BINARY_SEMAPHORE | RTEMS_PRIORITY,               
        RTEMS_NO_PRIORITY,                                            
        &tty->rawInBuf.Semaphore);                                    
      if (sc != RTEMS_SUCCESSFUL)                                     
   44378:	4fef 0014      	lea %sp@(20),%sp                            
   4437c:	4a80           	tstl %d0                                    
   4437e:	6700 fe84      	beqw 44204 <rtems_termios_open+0x1b0>       
        rtems_fatal_error_occurred (sc);                              
                                                                      
      sc = rtems_task_start(                                          
        tty->txTaskId, rtems_termios_txdaemon, (rtems_task_argument)tty);
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
   44382:	2f00           	movel %d0,%sp@-                             
   44384:	4eb9 0004 6eb8 	jsr 46eb8 <rtems_fatal_error_occurred>      
                                                                      
    /*                                                                
     * Create I/O tasks                                               
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
      sc = rtems_task_create (                                        
   4438a:	486d 00c8      	pea %a5@(200)                               
   4438e:	2a3c 0004 6964 	movel #289124,%d5                           
   44394:	2045           	moveal %d5,%a0                              
   44396:	42a7           	clrl %sp@-                                  
   44398:	4878 0500      	pea 500 <DBL_MAX_EXP+0xff>                  
   4439c:	4878 0400      	pea 400 <D_BIAS+0x2>                        
   443a0:	4878 000a      	pea a <LASTO>                               
                                   rtems_build_name ('T', 'x', 'T', c),
   443a4:	1039 0005 f4e0 	moveb 5f4e0 <c.6362>,%d0                    
   443aa:	49c0           	extbl %d0                                   
                                                                      
    /*                                                                
     * Create I/O tasks                                               
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
      sc = rtems_task_create (                                        
   443ac:	0080 5478 5400 	oril #1417171968,%d0                        
   443b2:	2f00           	movel %d0,%sp@-                             
   443b4:	4e90           	jsr %a0@                                    
           TERMIOS_TXTASK_STACKSIZE,                                  
           RTEMS_NO_PREEMPT | RTEMS_NO_TIMESLICE |                    
           RTEMS_NO_ASR,                                              
           RTEMS_NO_FLOATING_POINT | RTEMS_LOCAL,                     
           &tty->txTaskId);                                           
      if (sc != RTEMS_SUCCESSFUL)                                     
   443b6:	4fef 0018      	lea %sp@(24),%sp                            
   443ba:	4a80           	tstl %d0                                    
   443bc:	66c4           	bnes 44382 <rtems_termios_open+0x32e>       <== NEVER TAKEN
        rtems_fatal_error_occurred (sc);                              
      sc = rtems_task_create (                                        
   443be:	486d 00c4      	pea %a5@(196)                               
   443c2:	2045           	moveal %d5,%a0                              
                                   rtems_build_name ('R', 'x', 'T', c),
   443c4:	1039 0005 f4e0 	moveb 5f4e0 <c.6362>,%d0                    
           RTEMS_NO_ASR,                                              
           RTEMS_NO_FLOATING_POINT | RTEMS_LOCAL,                     
           &tty->txTaskId);                                           
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
      sc = rtems_task_create (                                        
   443ca:	42a7           	clrl %sp@-                                  
   443cc:	4878 0500      	pea 500 <DBL_MAX_EXP+0xff>                  
                                   rtems_build_name ('R', 'x', 'T', c),
   443d0:	49c0           	extbl %d0                                   
           RTEMS_NO_ASR,                                              
           RTEMS_NO_FLOATING_POINT | RTEMS_LOCAL,                     
           &tty->txTaskId);                                           
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
      sc = rtems_task_create (                                        
   443d2:	4878 0400      	pea 400 <D_BIAS+0x2>                        
   443d6:	4878 0009      	pea 9 <DIVIDE_BY_ZERO+0x1>                  
   443da:	0080 5278 5400 	oril #1383617536,%d0                        
   443e0:	2f00           	movel %d0,%sp@-                             
   443e2:	4e90           	jsr %a0@                                    
           TERMIOS_RXTASK_STACKSIZE,                                  
           RTEMS_NO_PREEMPT | RTEMS_NO_TIMESLICE |                    
           RTEMS_NO_ASR,                                              
           RTEMS_NO_FLOATING_POINT | RTEMS_LOCAL,                     
           &tty->rxTaskId);                                           
      if (sc != RTEMS_SUCCESSFUL)                                     
   443e4:	4fef 0018      	lea %sp@(24),%sp                            
   443e8:	4a80           	tstl %d0                                    
   443ea:	6700 fe06      	beqw 441f2 <rtems_termios_open+0x19e>       
   443ee:	6092           	bras 44382 <rtems_termios_open+0x32e>       <== NOT EXECUTED
    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;                                    
   443f0:	23cd 0006 0b5c 	movel %a5,60b5c <rtems_termios_ttyTail>     
   443f6:	6000 fd4a      	braw 44142 <rtems_termios_open+0xee>        
    /*                                                                
     * Create a new device                                            
     */                                                               
    tty = calloc (1, sizeof (struct rtems_termios_tty));              
    if (tty == NULL) {                                                
      rtems_semaphore_release (rtems_termios_ttyMutex);               
   443fa:	2f39 0006 0b58 	movel 60b58 <rtems_termios_ttyMutex>,%sp@-  
      return RTEMS_NO_MEMORY;                                         
   44400:	781a           	moveq #26,%d4                               
    /*                                                                
     * Create a new device                                            
     */                                                               
    tty = calloc (1, sizeof (struct rtems_termios_tty));              
    if (tty == NULL) {                                                
      rtems_semaphore_release (rtems_termios_ttyMutex);               
   44402:	4eb9 0004 68a8 	jsr 468a8 <rtems_semaphore_release>         
      return RTEMS_NO_MEMORY;                                         
   44408:	588f           	addql #4,%sp                                
        rtems_fatal_error_occurred (sc);                              
    }                                                                 
  }                                                                   
  rtems_semaphore_release (rtems_termios_ttyMutex);                   
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4440a:	2004           	movel %d4,%d0                               
   4440c:	4cee 3cfc ffd8 	moveml %fp@(-40),%d2-%d7/%a2-%a5            
   44412:	4e5e           	unlk %fp                                    
   44414:	4e75           	rts                                         
     * allocate raw input buffer                                      
     */                                                               
    tty->rawInBuf.Size = RAW_INPUT_BUFFER_SIZE;                       
    tty->rawInBuf.theBuf = malloc (tty->rawInBuf.Size);               
    if (tty->rawInBuf.theBuf == NULL) {                               
            free(tty);                                                
   44416:	2f0d           	movel %a5,%sp@-                             
      rtems_semaphore_release (rtems_termios_ttyMutex);               
      return RTEMS_NO_MEMORY;                                         
   44418:	781a           	moveq #26,%d4                               
     * allocate raw input buffer                                      
     */                                                               
    tty->rawInBuf.Size = RAW_INPUT_BUFFER_SIZE;                       
    tty->rawInBuf.theBuf = malloc (tty->rawInBuf.Size);               
    if (tty->rawInBuf.theBuf == NULL) {                               
            free(tty);                                                
   4441a:	4eb9 0004 2fe4 	jsr 42fe4 <free>                            
      rtems_semaphore_release (rtems_termios_ttyMutex);               
   44420:	2f39 0006 0b58 	movel 60b58 <rtems_termios_ttyMutex>,%sp@-  
   44426:	4eb9 0004 68a8 	jsr 468a8 <rtems_semaphore_release>         
      return RTEMS_NO_MEMORY;                                         
   4442c:	508f           	addql #8,%sp                                
        rtems_fatal_error_occurred (sc);                              
    }                                                                 
  }                                                                   
  rtems_semaphore_release (rtems_termios_ttyMutex);                   
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4442e:	2004           	movel %d4,%d0                               
   44430:	4cee 3cfc ffd8 	moveml %fp@(-40),%d2-%d7/%a2-%a5            
   44436:	4e5e           	unlk %fp                                    
   44438:	4e75           	rts                                         
     * allocate raw output buffer                                     
     */                                                               
    tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;                     
    tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);             
    if (tty->rawOutBuf.theBuf == NULL) {                              
            free((void *)(tty->rawInBuf.theBuf));                     
   4443a:	2f05           	movel %d5,%sp@-                             <== NOT EXECUTED
   4443c:	45f9 0004 2fe4 	lea 42fe4 <free>,%a2                        <== NOT EXECUTED
            free(tty);                                                
      rtems_semaphore_release (rtems_termios_ttyMutex);               
      return RTEMS_NO_MEMORY;                                         
   44442:	781a           	moveq #26,%d4                               <== NOT EXECUTED
     * allocate raw output buffer                                     
     */                                                               
    tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;                     
    tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);             
    if (tty->rawOutBuf.theBuf == NULL) {                              
            free((void *)(tty->rawInBuf.theBuf));                     
   44444:	4e92           	jsr %a2@                                    <== NOT EXECUTED
            free(tty);                                                
   44446:	2f0d           	movel %a5,%sp@-                             <== NOT EXECUTED
   44448:	4e92           	jsr %a2@                                    <== NOT EXECUTED
      rtems_semaphore_release (rtems_termios_ttyMutex);               
   4444a:	2f39 0006 0b58 	movel 60b58 <rtems_termios_ttyMutex>,%sp@-  <== NOT EXECUTED
   44450:	4eb9 0004 68a8 	jsr 468a8 <rtems_semaphore_release>         <== NOT EXECUTED
      return RTEMS_NO_MEMORY;                                         
   44456:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
        rtems_fatal_error_occurred (sc);                              
    }                                                                 
  }                                                                   
  rtems_semaphore_release (rtems_termios_ttyMutex);                   
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4445a:	2004           	movel %d4,%d0                               <== NOT EXECUTED
   4445c:	4cee 3cfc ffd8 	moveml %fp@(-40),%d2-%d7/%a2-%a5            <== NOT EXECUTED
   44462:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   44464:	4e75           	rts                                         <== NOT EXECUTED
    /*                                                                
     * allocate cooked buffer                                         
     */                                                               
    tty->cbuf  = malloc (CBUFSIZE);                                   
    if (tty->cbuf == NULL) {                                          
            free((void *)(tty->rawOutBuf.theBuf));                    
   44466:	2f06           	movel %d6,%sp@-                             
   44468:	45f9 0004 2fe4 	lea 42fe4 <free>,%a2                        
            free((void *)(tty->rawInBuf.theBuf));                     
            free(tty);                                                
      rtems_semaphore_release (rtems_termios_ttyMutex);               
      return RTEMS_NO_MEMORY;                                         
   4446e:	781a           	moveq #26,%d4                               
    /*                                                                
     * allocate cooked buffer                                         
     */                                                               
    tty->cbuf  = malloc (CBUFSIZE);                                   
    if (tty->cbuf == NULL) {                                          
            free((void *)(tty->rawOutBuf.theBuf));                    
   44470:	4e92           	jsr %a2@                                    
            free((void *)(tty->rawInBuf.theBuf));                     
   44472:	2f05           	movel %d5,%sp@-                             
   44474:	4e92           	jsr %a2@                                    
            free(tty);                                                
   44476:	2f0d           	movel %a5,%sp@-                             
   44478:	4e92           	jsr %a2@                                    
      rtems_semaphore_release (rtems_termios_ttyMutex);               
   4447a:	2f39 0006 0b58 	movel 60b58 <rtems_termios_ttyMutex>,%sp@-  
   44480:	4eb9 0004 68a8 	jsr 468a8 <rtems_semaphore_release>         
      return RTEMS_NO_MEMORY;                                         
   44486:	4fef 0010      	lea %sp@(16),%sp                            
        rtems_fatal_error_occurred (sc);                              
    }                                                                 
  }                                                                   
  rtems_semaphore_release (rtems_termios_ttyMutex);                   
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
   4448a:	2004           	movel %d4,%d0                               
   4448c:	4cee 3cfc ffd8 	moveml %fp@(-40),%d2-%d7/%a2-%a5            
   44492:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00044a4a <rtems_termios_puts>: * Send characters to device-specific code */ void rtems_termios_puts ( const void *_buf, int len, struct rtems_termios_tty *tty) {
   44a4a:	4e56 ffdc      	linkw %fp,#-36                              
   44a4e:	48d7 1cfc      	moveml %d2-%d7/%a2-%a4,%sp@                 
   44a52:	286e 0008      	moveal %fp@(8),%a4                          
   44a56:	242e 000c      	movel %fp@(12),%d2                          
   44a5a:	246e 0010      	moveal %fp@(16),%a2                         
  const unsigned char *buf = _buf;                                    
  unsigned int newHead;                                               
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
   44a5e:	4aaa 00b4      	tstl %a2@(180)                              
   44a62:	6700 00c6      	beqw 44b2a <rtems_termios_puts+0xe0>        
    (*tty->device.write)(tty->minor, (void *)buf, len);               
    return;                                                           
  }                                                                   
  newHead = tty->rawOutBuf.Head;                                      
   44a66:	2c2a 0080      	movel %a2@(128),%d6                         
  while (len) {                                                       
   44a6a:	4a82           	tstl %d2                                    
   44a6c:	6700 008e      	beqw 44afc <rtems_termios_puts+0xb2>        
     *                                                                
     * To minimize latency, the memcpy should be done                 
     * with interrupts enabled.                                       
     */                                                               
    newHead = (newHead + 1) % tty->rawOutBuf.Size;                    
    rtems_interrupt_disable (level);                                  
   44a70:	2a3c 0000 0700 	movel #1792,%d5                             
   44a76:	47f9 0004 6768 	lea 46768 <rtems_semaphore_obtain>,%a3      
     *  len -= ncopy                                                  
     *                                                                
     * To minimize latency, the memcpy should be done                 
     * with interrupts enabled.                                       
     */                                                               
    newHead = (newHead + 1) % tty->rawOutBuf.Size;                    
   44a7c:	222a 0088      	movel %a2@(136),%d1                         
   44a80:	5286           	addql #1,%d6                                
    rtems_interrupt_disable (level);                                  
   44a82:	2005           	movel %d5,%d0                               
     *  len -= ncopy                                                  
     *                                                                
     * To minimize latency, the memcpy should be done                 
     * with interrupts enabled.                                       
     */                                                               
    newHead = (newHead + 1) % tty->rawOutBuf.Size;                    
   44a84:	4c41 6007      	remul %d1,%d7,%d6                           
   44a88:	2c07           	movel %d7,%d6                               
    rtems_interrupt_disable (level);                                  
   44a8a:	40c3           	movew %sr,%d3                               
   44a8c:	8083           	orl %d3,%d0                                 
   44a8e:	46c0           	movew %d0,%sr                               
    while (newHead == tty->rawOutBuf.Tail) {                          
   44a90:	282a 0084      	movel %a2@(132),%d4                         
   44a94:	be84           	cmpl %d4,%d7                                
   44a96:	662c           	bnes 44ac4 <rtems_termios_puts+0x7a>        
      tty->rawOutBufState = rob_wait;                                 
   44a98:	7002           	moveq #2,%d0                                
   44a9a:	2540 0094      	movel %d0,%a2@(148)                         
      rtems_interrupt_enable (level);                                 
   44a9e:	46c3           	movew %d3,%sr                               
      sc = rtems_semaphore_obtain(                                    
   44aa0:	42a7           	clrl %sp@-                                  
   44aa2:	42a7           	clrl %sp@-                                  
   44aa4:	2f2a 008c      	movel %a2@(140),%sp@-                       
   44aa8:	4e93           	jsr %a3@                                    
        tty->rawOutBuf.Semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);      
      if (sc != RTEMS_SUCCESSFUL)                                     
   44aaa:	4fef 000c      	lea %sp@(12),%sp                            
   44aae:	4a80           	tstl %d0                                    
   44ab0:	6600 0094      	bnew 44b46 <rtems_termios_puts+0xfc>        
        rtems_fatal_error_occurred (sc);                              
      rtems_interrupt_disable (level);                                
   44ab4:	2005           	movel %d5,%d0                               
   44ab6:	40c3           	movew %sr,%d3                               
   44ab8:	8083           	orl %d3,%d0                                 
   44aba:	46c0           	movew %d0,%sr                               
     * 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) {                          
   44abc:	202a 0084      	movel %a2@(132),%d0                         
   44ac0:	b880           	cmpl %d0,%d4                                
   44ac2:	67d4           	beqs 44a98 <rtems_termios_puts+0x4e>        <== NEVER TAKEN
        tty->rawOutBuf.Semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);      
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
      rtems_interrupt_disable (level);                                
    }                                                                 
    tty->rawOutBuf.theBuf[tty->rawOutBuf.Head] = *buf++;              
   44ac4:	202a 0080      	movel %a2@(128),%d0                         
   44ac8:	206a 007c      	moveal %a2@(124),%a0                        
   44acc:	119c 0800      	moveb %a4@+,%a0@(00000000,%d0:l)            
    tty->rawOutBuf.Head = newHead;                                    
   44ad0:	2547 0080      	movel %d7,%a2@(128)                         
    if (tty->rawOutBufState == rob_idle) {                            
   44ad4:	4aaa 0094      	tstl %a2@(148)                              
   44ad8:	661c           	bnes 44af6 <rtems_termios_puts+0xac>        
      /* check, whether XOFF has been received */                     
      if (!(tty->flow_ctrl & FL_ORCVXOF)) {                           
   44ada:	202a 00b8      	movel %a2@(184),%d0                         
   44ade:	0800 0004      	btst #4,%d0                                 
   44ae2:	6722           	beqs 44b06 <rtems_termios_puts+0xbc>        <== ALWAYS TAKEN
        (*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;                                   
   44ae4:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   44ae8:	7220           	moveq #32,%d1                               <== NOT EXECUTED
   44aea:	8081           	orl %d1,%d0                                 <== NOT EXECUTED
   44aec:	2540 00b8      	movel %d0,%a2@(184)                         <== NOT EXECUTED
      }                                                               
      tty->rawOutBufState = rob_busy;                                 
   44af0:	7001           	moveq #1,%d0                                <== NOT EXECUTED
   44af2:	2540 0094      	movel %d0,%a2@(148)                         <== NOT EXECUTED
    }                                                                 
    rtems_interrupt_enable (level);                                   
   44af6:	46c3           	movew %d3,%sr                               
    len--;                                                            
   44af8:	5382           	subql #1,%d2                                
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
    (*tty->device.write)(tty->minor, (void *)buf, len);               
    return;                                                           
  }                                                                   
  newHead = tty->rawOutBuf.Head;                                      
  while (len) {                                                       
   44afa:	6680           	bnes 44a7c <rtems_termios_puts+0x32>        
      tty->rawOutBufState = rob_busy;                                 
    }                                                                 
    rtems_interrupt_enable (level);                                   
    len--;                                                            
  }                                                                   
}                                                                     
   44afc:	4cee 1cfc ffdc 	moveml %fp@(-36),%d2-%d7/%a2-%a4            
   44b02:	4e5e           	unlk %fp                                    
   44b04:	4e75           	rts                                         
    tty->rawOutBuf.theBuf[tty->rawOutBuf.Head] = *buf++;              
    tty->rawOutBuf.Head = newHead;                                    
    if (tty->rawOutBufState == rob_idle) {                            
      /* check, whether XOFF has been received */                     
      if (!(tty->flow_ctrl & FL_ORCVXOF)) {                           
        (*tty->device.write)(tty->minor,                              
   44b06:	4878 0001      	pea 1 <ADD>                                 
      (char *)&tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);         
   44b0a:	202a 0084      	movel %a2@(132),%d0                         
    tty->rawOutBuf.theBuf[tty->rawOutBuf.Head] = *buf++;              
    tty->rawOutBuf.Head = newHead;                                    
    if (tty->rawOutBufState == rob_idle) {                            
      /* check, whether XOFF has been received */                     
      if (!(tty->flow_ctrl & FL_ORCVXOF)) {                           
        (*tty->device.write)(tty->minor,                              
   44b0e:	d0aa 007c      	addl %a2@(124),%d0                          
   44b12:	2f00           	movel %d0,%sp@-                             
   44b14:	2f2a 0010      	movel %a2@(16),%sp@-                        
   44b18:	206a 00a4      	moveal %a2@(164),%a0                        
   44b1c:	4e90           	jsr %a0@                                    
   44b1e:	4fef 000c      	lea %sp@(12),%sp                            
      (char *)&tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);         
      } else {                                                        
        /* remember that output has been stopped due to flow ctrl*/   
        tty->flow_ctrl |= FL_OSTOP;                                   
      }                                                               
      tty->rawOutBufState = rob_busy;                                 
   44b22:	7001           	moveq #1,%d0                                
   44b24:	2540 0094      	movel %d0,%a2@(148)                         
   44b28:	60cc           	bras 44af6 <rtems_termios_puts+0xac>        
  unsigned int newHead;                                               
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
    (*tty->device.write)(tty->minor, (void *)buf, len);               
   44b2a:	226a 00a4      	moveal %a2@(164),%a1                        
   44b2e:	2d6a 0010 0008 	movel %a2@(16),%fp@(8)                      
   44b34:	2d42 0010      	movel %d2,%fp@(16)                          
   44b38:	2d4c 000c      	movel %a4,%fp@(12)                          
      tty->rawOutBufState = rob_busy;                                 
    }                                                                 
    rtems_interrupt_enable (level);                                   
    len--;                                                            
  }                                                                   
}                                                                     
   44b3c:	4cee 1cfc ffdc 	moveml %fp@(-36),%d2-%d7/%a2-%a4            
   44b42:	4e5e           	unlk %fp                                    
  unsigned int newHead;                                               
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
    (*tty->device.write)(tty->minor, (void *)buf, len);               
   44b44:	4ed1           	jmp %a1@                                    
      tty->rawOutBufState = rob_wait;                                 
      rtems_interrupt_enable (level);                                 
      sc = rtems_semaphore_obtain(                                    
        tty->rawOutBuf.Semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);      
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
   44b46:	2f00           	movel %d0,%sp@-                             <== NOT EXECUTED
   44b48:	4eb9 0004 6eb8 	jsr 46eb8 <rtems_fatal_error_occurred>      <== NOT EXECUTED
                                                                      

0004530a <rtems_termios_read>: return RTEMS_SUCCESSFUL; } rtems_status_code rtems_termios_read (void *arg) {
   4530a:	4e56 ffd4      	linkw %fp,#-44                              
   4530e:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
   45312:	2a6e 0008      	moveal %fp@(8),%a5                          
  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);
   45316:	2c3c 0004 6768 	movel #288616,%d6                           
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
  rtems_libio_rw_args_t *args = arg;                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
   4531c:	2055           	moveal %a5@,%a0                             
   4531e:	2468 0034      	moveal %a0@(52),%a2                         
  uint32_t   count = args->count;                                     
  char      *buffer = args->buffer;                                   
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
   45322:	2046           	moveal %d6,%a0                              
   45324:	42a7           	clrl %sp@-                                  
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;                                     
   45326:	282d 0010      	movel %a5@(16),%d4                          
  char      *buffer = args->buffer;                                   
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
   4532a:	42a7           	clrl %sp@-                                  
   4532c:	2f2a 0014      	movel %a2@(20),%sp@-                        
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;                                   
   45330:	286d 000c      	moveal %a5@(12),%a4                         
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
   45334:	4e90           	jsr %a0@                                    
  if (sc != RTEMS_SUCCESSFUL)                                         
   45336:	4fef 000c      	lea %sp@(12),%sp                            
  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);
   4533a:	2a00           	movel %d0,%d5                               
  if (sc != RTEMS_SUCCESSFUL)                                         
   4533c:	662e           	bnes 4536c <rtems_termios_read+0x62>        <== NEVER TAKEN
    return sc;                                                        
                                                                      
  if (rtems_termios_linesw[tty->t_line].l_read != NULL) {             
   4533e:	202a 00cc      	movel %a2@(204),%d0                         
   45342:	eb88           	lsll #5,%d0                                 
   45344:	0680 0006 0324 	addil #394020,%d0                           
   4534a:	2240           	moveal %d0,%a1                              
   4534c:	2051           	moveal %a1@,%a0                             
   4534e:	4a88           	tstl %a0                                    
   45350:	6726           	beqs 45378 <rtems_termios_read+0x6e>        
    sc = rtems_termios_linesw[tty->t_line].l_read(tty,args);          
   45352:	2f0d           	movel %a5,%sp@-                             
   45354:	2f0a           	movel %a2,%sp@-                             
   45356:	4e90           	jsr %a0@                                    
   45358:	2a00           	movel %d0,%d5                               
    tty->tty_rcvwakeup = 0;                                           
   4535a:	42aa 00e4      	clrl %a2@(228)                              
    rtems_semaphore_release (tty->isem);                              
   4535e:	2f2a 0014      	movel %a2@(20),%sp@-                        
   45362:	4eb9 0004 68a8 	jsr 468a8 <rtems_semaphore_release>         
    return sc;                                                        
   45368:	4fef 000c      	lea %sp@(12),%sp                            
  }                                                                   
  args->bytes_moved = args->count - count;                            
  tty->tty_rcvwakeup = 0;                                             
  rtems_semaphore_release (tty->isem);                                
  return sc;                                                          
}                                                                     
   4536c:	2005           	movel %d5,%d0                               
   4536e:	4cee 3cfc ffd4 	moveml %fp@(-44),%d2-%d7/%a2-%a5            
   45374:	4e5e           	unlk %fp                                    
   45376:	4e75           	rts                                         
    tty->tty_rcvwakeup = 0;                                           
    rtems_semaphore_release (tty->isem);                              
    return sc;                                                        
  }                                                                   
                                                                      
  if (tty->cindex == tty->ccount) {                                   
   45378:	202a 0020      	movel %a2@(32),%d0                          
   4537c:	b0aa 0024      	cmpl %a2@(36),%d0                           
   45380:	674e           	beqs 453d0 <rtems_termios_read+0xc6>        <== ALWAYS TAKEN
      sc = fillBufferQueue (tty);                                     
                                                                      
    if (sc != RTEMS_SUCCESSFUL)                                       
      tty->cindex = tty->ccount = 0;                                  
  }                                                                   
  while (count && (tty->cindex < tty->ccount)) {                      
   45382:	4a84           	tstl %d4                                    
   45384:	6724           	beqs 453aa <rtems_termios_read+0xa0>        <== NEVER TAKEN
   45386:	202a 0024      	movel %a2@(36),%d0                          
   4538a:	b0aa 0020      	cmpl %a2@(32),%d0                           
   4538e:	6c1a           	bges 453aa <rtems_termios_read+0xa0>        <== NEVER TAKEN
    *buffer++ = tty->cbuf[tty->cindex++];                             
   45390:	206a 001c      	moveal %a2@(28),%a0                         
    count--;                                                          
   45394:	5384           	subql #1,%d4                                
                                                                      
    if (sc != RTEMS_SUCCESSFUL)                                       
      tty->cindex = tty->ccount = 0;                                  
  }                                                                   
  while (count && (tty->cindex < tty->ccount)) {                      
    *buffer++ = tty->cbuf[tty->cindex++];                             
   45396:	18f0 0800      	moveb %a0@(00000000,%d0:l),%a4@+            
   4539a:	5280           	addql #1,%d0                                
   4539c:	2540 0024      	movel %d0,%a2@(36)                          
      sc = fillBufferQueue (tty);                                     
                                                                      
    if (sc != RTEMS_SUCCESSFUL)                                       
      tty->cindex = tty->ccount = 0;                                  
  }                                                                   
  while (count && (tty->cindex < tty->ccount)) {                      
   453a0:	4a84           	tstl %d4                                    
   453a2:	6706           	beqs 453aa <rtems_termios_read+0xa0>        
   453a4:	b0aa 0020      	cmpl %a2@(32),%d0                           
   453a8:	6de6           	blts 45390 <rtems_termios_read+0x86>        
    *buffer++ = tty->cbuf[tty->cindex++];                             
    count--;                                                          
  }                                                                   
  args->bytes_moved = args->count - count;                            
   453aa:	202d 0010      	movel %a5@(16),%d0                          
   453ae:	9084           	subl %d4,%d0                                
   453b0:	2b40 0018      	movel %d0,%a5@(24)                          
  tty->tty_rcvwakeup = 0;                                             
   453b4:	42aa 00e4      	clrl %a2@(228)                              
  rtems_semaphore_release (tty->isem);                                
   453b8:	2f2a 0014      	movel %a2@(20),%sp@-                        
   453bc:	4eb9 0004 68a8 	jsr 468a8 <rtems_semaphore_release>         
  return sc;                                                          
   453c2:	588f           	addql #4,%sp                                
}                                                                     
   453c4:	2005           	movel %d5,%d0                               
   453c6:	4cee 3cfc ffd4 	moveml %fp@(-44),%d2-%d7/%a2-%a5            
   453cc:	4e5e           	unlk %fp                                    
   453ce:	4e75           	rts                                         
  }                                                                   
                                                                      
  if (tty->cindex == tty->ccount) {                                   
    tty->cindex = tty->ccount = 0;                                    
    tty->read_start_column = tty->column;                             
    if (tty->device.pollRead != NULL &&                               
   453d0:	206a 00a0      	moveal %a2@(160),%a0                        
    return sc;                                                        
  }                                                                   
                                                                      
  if (tty->cindex == tty->ccount) {                                   
    tty->cindex = tty->ccount = 0;                                    
    tty->read_start_column = tty->column;                             
   453d4:	256a 0028 002c 	movel %a2@(40),%a2@(44)                     
    rtems_semaphore_release (tty->isem);                              
    return sc;                                                        
  }                                                                   
                                                                      
  if (tty->cindex == tty->ccount) {                                   
    tty->cindex = tty->ccount = 0;                                    
   453da:	42aa 0020      	clrl %a2@(32)                               
   453de:	42aa 0024      	clrl %a2@(36)                               
    tty->read_start_column = tty->column;                             
    if (tty->device.pollRead != NULL &&                               
   453e2:	4a88           	tstl %a0                                    
   453e4:	6708           	beqs 453ee <rtems_termios_read+0xe4>        
   453e6:	4aaa 00b4      	tstl %a2@(180)                              
   453ea:	6700 0162      	beqw 4554e <rtems_termios_read+0x244>       
        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)(                                       
   453ee:	41ea 0049      	lea %a2@(73),%a0                            
static rtems_status_code                                              
fillBufferQueue (struct rtems_termios_tty *tty)                       
{                                                                     
  rtems_interval timeout = tty->rawInBufSemaphoreFirstTimeout;        
  rtems_status_code sc;                                               
  int               wait = (int)1;                                    
   453f2:	7401           	moveq #1,%d2                                
   453f4:	47fa fdca      	lea %pc@(451c0 <siproc>),%a3                
 * Fill the input buffer from the raw input queue                     
 */                                                                   
static rtems_status_code                                              
fillBufferQueue (struct rtems_termios_tty *tty)                       
{                                                                     
  rtems_interval timeout = tty->rawInBufSemaphoreFirstTimeout;        
   453f8:	262a 0074      	movel %a2@(116),%d3                         
        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)(                                       
   453fc:	2d48 fffc      	movel %a0,%fp@(-4)                          
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
   45400:	222a 005c      	movel %a2@(92),%d1                          
   45404:	202a 0060      	movel %a2@(96),%d0                          
   45408:	b081           	cmpl %d1,%d0                                
   4540a:	6700 00cc      	beqw 454d8 <rtems_termios_read+0x1ce>       
                       (tty->ccount < (CBUFSIZE-1))) {                
   4540e:	2039 0005 f4d4 	movel 5f4d4 <rtems_termios_cbufsize>,%d0    
   45414:	5380           	subql #1,%d0                                
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
   45416:	b0aa 0020      	cmpl %a2@(32),%d0                           
   4541a:	6f00 00bc      	blew 454d8 <rtems_termios_read+0x1ce>       
                       (tty->ccount < (CBUFSIZE-1))) {                
      unsigned char c;                                                
      unsigned int newHead;                                           
                                                                      
      newHead = (tty->rawInBuf.Head + 1) % tty->rawInBuf.Size;        
   4541e:	262a 005c      	movel %a2@(92),%d3                          
   45422:	5283           	addql #1,%d3                                
   45424:	202a 0064      	movel %a2@(100),%d0                         
      c = tty->rawInBuf.theBuf[newHead];                              
   45428:	206a 0058      	moveal %a2@(88),%a0                         
    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;        
   4542c:	4c40 3001      	remul %d0,%d1,%d3                           
      c = tty->rawInBuf.theBuf[newHead];                              
   45430:	1630 1800      	moveb %a0@(00000000,%d1:l),%d3              
      tty->rawInBuf.Head = newHead;                                   
   45434:	2541 005c      	movel %d1,%a2@(92)                          
      if(((tty->rawInBuf.Tail-newHead+tty->rawInBuf.Size)             
   45438:	202a 0060      	movel %a2@(96),%d0                          
   4543c:	206a 0064      	moveal %a2@(100),%a0                        
   45440:	d088           	addl %a0,%d0                                
   45442:	9081           	subl %d1,%d0                                
          % tty->rawInBuf.Size)                                       
   45444:	222a 0064      	movel %a2@(100),%d1                         
   45448:	4c41 0007      	remul %d1,%d7,%d0                           
      unsigned int newHead;                                           
                                                                      
      newHead = (tty->rawInBuf.Head + 1) % tty->rawInBuf.Size;        
      c = tty->rawInBuf.theBuf[newHead];                              
      tty->rawInBuf.Head = newHead;                                   
      if(((tty->rawInBuf.Tail-newHead+tty->rawInBuf.Size)             
   4544c:	beaa 00bc      	cmpl %a2@(188),%d7                          
   45450:	6446           	bccs 45498 <rtems_termios_read+0x18e>       <== NEVER TAKEN
          % tty->rawInBuf.Size)                                       
         < tty->lowwater) {                                           
        tty->flow_ctrl &= ~FL_IREQXOF;                                
   45452:	202a 00b8      	movel %a2@(184),%d0                         
   45456:	72fe           	moveq #-2,%d1                               
   45458:	c081           	andl %d1,%d0                                
   4545a:	2540 00b8      	movel %d0,%a2@(184)                         
        /* if tx stopped and XON should be sent... */                 
        if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))               
   4545e:	202a 00b8      	movel %a2@(184),%d0                         
   45462:	0280 0000 0202 	andil #514,%d0                              
   45468:	0c80 0000 0202 	cmpil #514,%d0                              
   4546e:	6700 008a      	beqw 454fa <rtems_termios_read+0x1f0>       
            && ((tty->rawOutBufState == rob_idle)                     
          || (tty->flow_ctrl & FL_OSTOP))) {                          
          /* XON should be sent now... */                             
          (*tty->device.write)(                                       
            tty->minor, (void *)&(tty->termios.c_cc[VSTART]), 1);     
        } else if (tty->flow_ctrl & FL_MDRTS) {                       
   45472:	202a 00b8      	movel %a2@(184),%d0                         
   45476:	0800 0008      	btst #8,%d0                                 
   4547a:	671c           	beqs 45498 <rtems_termios_read+0x18e>       <== ALWAYS TAKEN
          tty->flow_ctrl &= ~FL_IRTSOFF;                              
   4547c:	222a 00b8      	movel %a2@(184),%d1                         <== NOT EXECUTED
   45480:	7efb           	moveq #-5,%d7                               <== NOT EXECUTED
   45482:	c287           	andl %d7,%d1                                <== NOT EXECUTED
          /* activate RTS line */                                     
          if (tty->device.startRemoteTx != NULL) {                    
   45484:	206a 00b0      	moveal %a2@(176),%a0                        <== NOT EXECUTED
          || (tty->flow_ctrl & FL_OSTOP))) {                          
          /* XON should be sent now... */                             
          (*tty->device.write)(                                       
            tty->minor, (void *)&(tty->termios.c_cc[VSTART]), 1);     
        } else if (tty->flow_ctrl & FL_MDRTS) {                       
          tty->flow_ctrl &= ~FL_IRTSOFF;                              
   45488:	2541 00b8      	movel %d1,%a2@(184)                         <== NOT EXECUTED
          /* activate RTS line */                                     
          if (tty->device.startRemoteTx != NULL) {                    
   4548c:	4a88           	tstl %a0                                    <== NOT EXECUTED
   4548e:	6708           	beqs 45498 <rtems_termios_read+0x18e>       <== NOT EXECUTED
            tty->device.startRemoteTx(tty->minor);                    
   45490:	2f2a 0010      	movel %a2@(16),%sp@-                        <== NOT EXECUTED
   45494:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   45496:	588f           	addql #4,%sp                                <== NOT EXECUTED
          }                                                           
        }                                                             
      }                                                               
                                                                      
      /* continue processing new character */                         
      if (tty->termios.c_lflag & ICANON) {                            
   45498:	7002           	moveq #2,%d0                                
   4549a:	c0aa 003c      	andl %a2@(60),%d0                           
   4549e:	6700 008c      	beqw 4552c <rtems_termios_read+0x222>       
        if (siproc (c, tty))                                          
   454a2:	2f0a           	movel %a2,%sp@-                             
   454a4:	0283 0000 00ff 	andil #255,%d3                              
   454aa:	2f03           	movel %d3,%sp@-                             
   454ac:	4e93           	jsr %a3@                                    
   454ae:	508f           	addql #8,%sp                                
          wait = 0;                                                   
   454b0:	4a80           	tstl %d0                                    
   454b2:	57c0           	seq %d0                                     
   454b4:	49c0           	extbl %d0                                   
   454b6:	c480           	andl %d0,%d2                                
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
   454b8:	222a 005c      	movel %a2@(92),%d1                          
      } else {                                                        
        siproc (c, tty);                                              
        if (tty->ccount >= tty->termios.c_cc[VMIN])                   
          wait = 0;                                                   
      }                                                               
      timeout = tty->rawInBufSemaphoreTimeout;                        
   454bc:	262a 0070      	movel %a2@(112),%d3                         
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
   454c0:	202a 0060      	movel %a2@(96),%d0                          
   454c4:	b081           	cmpl %d1,%d0                                
   454c6:	6710           	beqs 454d8 <rtems_termios_read+0x1ce>       
                       (tty->ccount < (CBUFSIZE-1))) {                
   454c8:	2039 0005 f4d4 	movel 5f4d4 <rtems_termios_cbufsize>,%d0    
   454ce:	5380           	subql #1,%d0                                
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
   454d0:	b0aa 0020      	cmpl %a2@(32),%d0                           
   454d4:	6e00 ff48      	bgtw 4541e <rtems_termios_read+0x114>       
    }                                                                 
                                                                      
    /*                                                                
     * Wait for characters                                            
     */                                                               
    if ( wait ) {                                                     
   454d8:	4a82           	tstl %d2                                    
   454da:	6700 fea6      	beqw 45382 <rtems_termios_read+0x78>        
      sc = rtems_semaphore_obtain(                                    
   454de:	2f03           	movel %d3,%sp@-                             
   454e0:	2f2a 006c      	movel %a2@(108),%sp@-                       
   454e4:	2046           	moveal %d6,%a0                              
   454e6:	2f2a 0068      	movel %a2@(104),%sp@-                       
   454ea:	4e90           	jsr %a0@                                    
        tty->rawInBuf.Semaphore, tty->rawInBufSemaphoreOptions, timeout);
      if (sc != RTEMS_SUCCESSFUL)                                     
   454ec:	4fef 000c      	lea %sp@(12),%sp                            
   454f0:	4a80           	tstl %d0                                    
   454f2:	6700 ff0c      	beqw 45400 <rtems_termios_read+0xf6>        
   454f6:	6000 fe8a      	braw 45382 <rtems_termios_read+0x78>        <== NOT EXECUTED
         < tty->lowwater) {                                           
        tty->flow_ctrl &= ~FL_IREQXOF;                                
        /* if tx stopped and XON should be sent... */                 
        if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))               
             ==                (FL_MDXON | FL_ISNTXOF))               
            && ((tty->rawOutBufState == rob_idle)                     
   454fa:	4aaa 0094      	tstl %a2@(148)                              <== NOT EXECUTED
   454fe:	670c           	beqs 4550c <rtems_termios_read+0x202>       <== NOT EXECUTED
          || (tty->flow_ctrl & FL_OSTOP))) {                          
   45500:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   45504:	0800 0005      	btst #5,%d0                                 <== NOT EXECUTED
   45508:	6700 ff68      	beqw 45472 <rtems_termios_read+0x168>       <== NOT EXECUTED
          /* XON should be sent now... */                             
          (*tty->device.write)(                                       
   4550c:	4878 0001      	pea 1 <ADD>                                 <== NOT EXECUTED
   45510:	2f2e fffc      	movel %fp@(-4),%sp@-                        <== NOT EXECUTED
   45514:	2f2a 0010      	movel %a2@(16),%sp@-                        <== NOT EXECUTED
   45518:	206a 00a4      	moveal %a2@(164),%a0                        <== NOT EXECUTED
   4551c:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   4551e:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
          }                                                           
        }                                                             
      }                                                               
                                                                      
      /* continue processing new character */                         
      if (tty->termios.c_lflag & ICANON) {                            
   45522:	7002           	moveq #2,%d0                                <== NOT EXECUTED
   45524:	c0aa 003c      	andl %a2@(60),%d0                           <== NOT EXECUTED
   45528:	6600 ff78      	bnew 454a2 <rtems_termios_read+0x198>       <== NOT EXECUTED
        if (siproc (c, tty))                                          
          wait = 0;                                                   
      } else {                                                        
        siproc (c, tty);                                              
   4552c:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   4552e:	0283 0000 00ff 	andil #255,%d3                              <== NOT EXECUTED
   45534:	2f03           	movel %d3,%sp@-                             <== NOT EXECUTED
   45536:	4e93           	jsr %a3@                                    <== NOT EXECUTED
        if (tty->ccount >= tty->termios.c_cc[VMIN])                   
   45538:	508f           	addql #8,%sp                                <== NOT EXECUTED
   4553a:	4280           	clrl %d0                                    <== NOT EXECUTED
   4553c:	102a 0047      	moveb %a2@(71),%d0                          <== NOT EXECUTED
          wait = 0;                                                   
   45540:	b0aa 0020      	cmpl %a2@(32),%d0                           <== NOT EXECUTED
   45544:	5ec0           	sgt %d0                                     <== NOT EXECUTED
   45546:	49c0           	extbl %d0                                   <== NOT EXECUTED
   45548:	c480           	andl %d0,%d2                                <== NOT EXECUTED
   4554a:	6000 ff6c      	braw 454b8 <rtems_termios_read+0x1ae>       <== NOT EXECUTED
static rtems_status_code                                              
fillBufferPoll (struct rtems_termios_tty *tty)                        
{                                                                     
  int n;                                                              
                                                                      
  if (tty->termios.c_lflag & ICANON) {                                
   4554e:	7002           	moveq #2,%d0                                
   45550:	c0aa 003c      	andl %a2@(60),%d0                           
   45554:	6740           	beqs 45596 <rtems_termios_read+0x28c>       
   45556:	47fa fc68      	lea %pc@(451c0 <siproc>),%a3                
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
      if (n < 0) {                                                    
        rtems_task_wake_after (1);                                    
   4555a:	243c 0004 6cd4 	movel #290004,%d2                           
{                                                                     
  int n;                                                              
                                                                      
  if (tty->termios.c_lflag & ICANON) {                                
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
   45560:	2f2a 0010      	movel %a2@(16),%sp@-                        
   45564:	4e90           	jsr %a0@                                    
      if (n < 0) {                                                    
   45566:	588f           	addql #4,%sp                                
   45568:	4a80           	tstl %d0                                    
   4556a:	6d1a           	blts 45586 <rtems_termios_read+0x27c>       
        rtems_task_wake_after (1);                                    
      } else {                                                        
        if  (siproc (n, tty))                                         
   4556c:	2f0a           	movel %a2,%sp@-                             
   4556e:	0280 0000 00ff 	andil #255,%d0                              
   45574:	2f00           	movel %d0,%sp@-                             
   45576:	4e93           	jsr %a3@                                    
   45578:	508f           	addql #8,%sp                                
   4557a:	4a80           	tstl %d0                                    
   4557c:	6600 fe04      	bnew 45382 <rtems_termios_read+0x78>        
static rtems_status_code                                              
fillBufferPoll (struct rtems_termios_tty *tty)                        
{                                                                     
  int n;                                                              
                                                                      
  if (tty->termios.c_lflag & ICANON) {                                
   45580:	206a 00a0      	moveal %a2@(160),%a0                        
   45584:	60da           	bras 45560 <rtems_termios_read+0x256>       
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
      if (n < 0) {                                                    
        rtems_task_wake_after (1);                                    
   45586:	4878 0001      	pea 1 <ADD>                                 
   4558a:	2042           	moveal %d2,%a0                              
   4558c:	4e90           	jsr %a0@                                    
static rtems_status_code                                              
fillBufferPoll (struct rtems_termios_tty *tty)                        
{                                                                     
  int n;                                                              
                                                                      
  if (tty->termios.c_lflag & ICANON) {                                
   4558e:	206a 00a0      	moveal %a2@(160),%a0                        
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
      if (n < 0) {                                                    
        rtems_task_wake_after (1);                                    
   45592:	588f           	addql #4,%sp                                
   45594:	60ca           	bras 45560 <rtems_termios_read+0x256>       
            break;                                                    
          }                                                           
        }                                                             
        rtems_task_wake_after (1);                                    
      } else {                                                        
        siproc (n, tty);                                              
   45596:	47fa fc28      	lea %pc@(451c0 <siproc>),%a3                
      }                                                               
    }                                                                 
  } else {                                                            
    rtems_interval then, now;                                         
                                                                      
    then = rtems_clock_get_ticks_since_boot();                        
   4559a:	263c 0004 6044 	movel #286788,%d3                           
          now = rtems_clock_get_ticks_since_boot();                   
          if ((now - then) > tty->vtimeTicks) {                       
            break;                                                    
          }                                                           
        }                                                             
        rtems_task_wake_after (1);                                    
   455a0:	243c 0004 6cd4 	movel #290004,%d2                           
      }                                                               
    }                                                                 
  } else {                                                            
    rtems_interval then, now;                                         
                                                                      
    then = rtems_clock_get_ticks_since_boot();                        
   455a6:	2243           	moveal %d3,%a1                              
   455a8:	4e91           	jsr %a1@                                    
   455aa:	2c00           	movel %d0,%d6                               
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
   455ac:	2f2a 0010      	movel %a2@(16),%sp@-                        
   455b0:	206a 00a0      	moveal %a2@(160),%a0                        
   455b4:	4e90           	jsr %a0@                                    
      if (n < 0) {                                                    
   455b6:	588f           	addql #4,%sp                                
   455b8:	4a80           	tstl %d0                                    
   455ba:	6d38           	blts 455f4 <rtems_termios_read+0x2ea>       
            break;                                                    
          }                                                           
        }                                                             
        rtems_task_wake_after (1);                                    
      } else {                                                        
        siproc (n, tty);                                              
   455bc:	2f0a           	movel %a2,%sp@-                             
   455be:	0280 0000 00ff 	andil #255,%d0                              
   455c4:	2f00           	movel %d0,%sp@-                             
   455c6:	4e93           	jsr %a3@                                    
        if (tty->ccount >= tty->termios.c_cc[VMIN])                   
   455c8:	508f           	addql #8,%sp                                
   455ca:	4281           	clrl %d1                                    
   455cc:	102a 0047      	moveb %a2@(71),%d0                          
   455d0:	1200           	moveb %d0,%d1                               
   455d2:	b2aa 0020      	cmpl %a2@(32),%d1                           
   455d6:	6f00 fdaa      	blew 45382 <rtems_termios_read+0x78>        
          break;                                                      
        if (tty->termios.c_cc[VMIN] && tty->termios.c_cc[VTIME])      
   455da:	4a00           	tstb %d0                                    
   455dc:	67ce           	beqs 455ac <rtems_termios_read+0x2a2>       <== NEVER TAKEN
   455de:	4a2a 0046      	tstb %a2@(70)                               
   455e2:	66c2           	bnes 455a6 <rtems_termios_read+0x29c>       <== ALWAYS TAKEN
  } else {                                                            
    rtems_interval then, now;                                         
                                                                      
    then = rtems_clock_get_ticks_since_boot();                        
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
   455e4:	2f2a 0010      	movel %a2@(16),%sp@-                        <== NOT EXECUTED
   455e8:	206a 00a0      	moveal %a2@(160),%a0                        <== NOT EXECUTED
   455ec:	4e90           	jsr %a0@                                    <== NOT EXECUTED
      if (n < 0) {                                                    
   455ee:	588f           	addql #4,%sp                                <== NOT EXECUTED
   455f0:	4a80           	tstl %d0                                    <== NOT EXECUTED
   455f2:	6cc8           	bges 455bc <rtems_termios_read+0x2b2>       <== NOT EXECUTED
        if (tty->termios.c_cc[VMIN]) {                                
   455f4:	4a2a 0047      	tstb %a2@(71)                               
   455f8:	6732           	beqs 4562c <rtems_termios_read+0x322>       <== NEVER TAKEN
          if (tty->termios.c_cc[VTIME] && tty->ccount) {              
   455fa:	4a2a 0046      	tstb %a2@(70)                               
   455fe:	6706           	beqs 45606 <rtems_termios_read+0x2fc>       <== NEVER TAKEN
   45600:	4aaa 0020      	tstl %a2@(32)                               
   45604:	660c           	bnes 45612 <rtems_termios_read+0x308>       
          now = rtems_clock_get_ticks_since_boot();                   
          if ((now - then) > tty->vtimeTicks) {                       
            break;                                                    
          }                                                           
        }                                                             
        rtems_task_wake_after (1);                                    
   45606:	4878 0001      	pea 1 <ADD>                                 
   4560a:	2042           	moveal %d2,%a0                              
   4560c:	4e90           	jsr %a0@                                    
   4560e:	588f           	addql #4,%sp                                
   45610:	609a           	bras 455ac <rtems_termios_read+0x2a2>       
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
      if (n < 0) {                                                    
        if (tty->termios.c_cc[VMIN]) {                                
          if (tty->termios.c_cc[VTIME] && tty->ccount) {              
            now = rtems_clock_get_ticks_since_boot();                 
   45612:	2043           	moveal %d3,%a0                              
   45614:	4e90           	jsr %a0@                                    
            if ((now - then) > tty->vtimeTicks) {                     
   45616:	9086           	subl %d6,%d0                                
   45618:	b0aa 0054      	cmpl %a2@(84),%d0                           
   4561c:	6200 fd64      	bhiw 45382 <rtems_termios_read+0x78>        
          now = rtems_clock_get_ticks_since_boot();                   
          if ((now - then) > tty->vtimeTicks) {                       
            break;                                                    
          }                                                           
        }                                                             
        rtems_task_wake_after (1);                                    
   45620:	4878 0001      	pea 1 <ADD>                                 
   45624:	2042           	moveal %d2,%a0                              
   45626:	4e90           	jsr %a0@                                    
   45628:	588f           	addql #4,%sp                                
   4562a:	6080           	bras 455ac <rtems_termios_read+0x2a2>       
            if ((now - then) > tty->vtimeTicks) {                     
              break;                                                  
            }                                                         
          }                                                           
        } else {                                                      
          if (!tty->termios.c_cc[VTIME])                              
   4562c:	4a2a 0046      	tstb %a2@(70)                               <== NOT EXECUTED
   45630:	6700 fd50      	beqw 45382 <rtems_termios_read+0x78>        <== NOT EXECUTED
            break;                                                    
          now = rtems_clock_get_ticks_since_boot();                   
   45634:	2243           	moveal %d3,%a1                              <== NOT EXECUTED
   45636:	4e91           	jsr %a1@                                    <== NOT EXECUTED
          if ((now - then) > tty->vtimeTicks) {                       
   45638:	9086           	subl %d6,%d0                                <== NOT EXECUTED
   4563a:	b0aa 0054      	cmpl %a2@(84),%d0                           <== NOT EXECUTED
   4563e:	6200 fd42      	bhiw 45382 <rtems_termios_read+0x78>        <== NOT EXECUTED
            break;                                                    
          }                                                           
        }                                                             
        rtems_task_wake_after (1);                                    
   45642:	4878 0001      	pea 1 <ADD>                                 <== NOT EXECUTED
   45646:	2042           	moveal %d2,%a0                              <== NOT EXECUTED
   45648:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   4564a:	588f           	addql #4,%sp                                <== NOT EXECUTED
   4564c:	6000 ff5e      	braw 455ac <rtems_termios_read+0x2a2>       <== NOT EXECUTED
                                                                      

000459ba <rtems_termios_refill_transmitter>: * 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) {
   459ba:	4e56 fff4      	linkw %fp,#-12                              
   459be:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
   459c2:	246e 0008      	moveal %fp@(8),%a2                          
  int nToSend;                                                        
  rtems_interrupt_level level;                                        
  int len;                                                            
                                                                      
  /* check for XOF/XON to send */                                     
  if ((tty->flow_ctrl & (FL_MDXOF | FL_IREQXOF | FL_ISNTXOF))         
   459c6:	202a 00b8      	movel %a2@(184),%d0                         
   459ca:	0280 0000 0403 	andil #1027,%d0                             
   459d0:	0c80 0000 0401 	cmpil #1025,%d0                             
   459d6:	6700 0140      	beqw 45b18 <rtems_termios_refill_transmitter+0x15e>
    tty->flow_ctrl |= FL_ISNTXOF;                                     
    rtems_interrupt_enable(level);                                    
                                                                      
    nToSend = 1;                                                      
                                                                      
  } else if ((tty->flow_ctrl & (FL_IREQXOF | FL_ISNTXOF)) == FL_ISNTXOF) {
   459da:	202a 00b8      	movel %a2@(184),%d0                         
   459de:	7603           	moveq #3,%d3                                
   459e0:	7202           	moveq #2,%d1                                
   459e2:	c083           	andl %d3,%d0                                
   459e4:	b280           	cmpl %d0,%d1                                
   459e6:	6700 0172      	beqw 45b5a <rtems_termios_refill_transmitter+0x1a0>
    tty->flow_ctrl &= ~FL_ISNTXOF;                                    
    rtems_interrupt_enable(level);                                    
                                                                      
    nToSend = 1;                                                      
  } else {                                                            
    if ( tty->rawOutBuf.Head == tty->rawOutBuf.Tail ) {               
   459ea:	222a 0080      	movel %a2@(128),%d1                         
   459ee:	202a 0084      	movel %a2@(132),%d0                         
   459f2:	b081           	cmpl %d1,%d0                                
   459f4:	6700 009a      	beqw 45a90 <rtems_termios_refill_transmitter+0xd6>
        rtems_semaphore_release (tty->rawOutBuf.Semaphore);           
      }                                                               
      return 0;                                                       
    }                                                                 
                                                                      
    rtems_interrupt_disable(level);                                   
   459f8:	203c 0000 0700 	movel #1792,%d0                             
   459fe:	40c2           	movew %sr,%d2                               
   45a00:	8082           	orl %d2,%d0                                 
   45a02:	46c0           	movew %d0,%sr                               
    len = tty->t_dqlen;                                               
   45a04:	222a 0090      	movel %a2@(144),%d1                         
    tty->t_dqlen = 0;                                                 
   45a08:	42aa 0090      	clrl %a2@(144)                              
    rtems_interrupt_enable(level);                                    
   45a0c:	46c2           	movew %d2,%sr                               
                                                                      
    newTail = (tty->rawOutBuf.Tail + len) % tty->rawOutBuf.Size;      
   45a0e:	202a 0084      	movel %a2@(132),%d0                         
   45a12:	d280           	addl %d0,%d1                                
   45a14:	202a 0088      	movel %a2@(136),%d0                         
   45a18:	4c40 1002      	remul %d0,%d2,%d1                           
    tty->rawOutBuf.Tail = newTail;                                    
    if (tty->rawOutBufState == rob_wait) {                            
   45a1c:	7002           	moveq #2,%d0                                
    len = tty->t_dqlen;                                               
    tty->t_dqlen = 0;                                                 
    rtems_interrupt_enable(level);                                    
                                                                      
    newTail = (tty->rawOutBuf.Tail + len) % tty->rawOutBuf.Size;      
    tty->rawOutBuf.Tail = newTail;                                    
   45a1e:	2542 0084      	movel %d2,%a2@(132)                         
    if (tty->rawOutBufState == rob_wait) {                            
   45a22:	b0aa 0094      	cmpl %a2@(148),%d0                          
   45a26:	6700 00d8      	beqw 45b00 <rtems_termios_refill_transmitter+0x146>
       * wake up any pending writer task                              
       */                                                             
      rtems_semaphore_release (tty->rawOutBuf.Semaphore);             
    }                                                                 
                                                                      
    if (newTail == tty->rawOutBuf.Head) {                             
   45a2a:	202a 0080      	movel %a2@(128),%d0                         
   45a2e:	b480           	cmpl %d0,%d2                                
   45a30:	6776           	beqs 45aa8 <rtems_termios_refill_transmitter+0xee>
      if ( tty->tty_snd.sw_pfn != NULL) {                             
        (*tty->tty_snd.sw_pfn)(&tty->termios, tty->tty_snd.sw_arg);   
      }                                                               
    }                                                                 
    /* check, whether output should stop due to received XOFF */      
    else if ((tty->flow_ctrl & (FL_MDXON | FL_ORCVXOF))               
   45a32:	202a 00b8      	movel %a2@(184),%d0                         
   45a36:	0280 0000 0210 	andil #528,%d0                              
   45a3c:	0c80 0000 0210 	cmpil #528,%d0                              
   45a42:	6700 015a      	beqw 45b9e <rtems_termios_refill_transmitter+0x1e4>
      nToSend = 0;                                                    
    } else {                                                          
      /*                                                              
       * Buffer not empty, start tranmitter                           
       */                                                             
      if (newTail > tty->rawOutBuf.Head)                              
   45a46:	202a 0080      	movel %a2@(128),%d0                         
   45a4a:	b082           	cmpl %d2,%d0                                
   45a4c:	647c           	bccs 45aca <rtems_termios_refill_transmitter+0x110>
        nToSend = tty->rawOutBuf.Size - newTail;                      
   45a4e:	262a 0088      	movel %a2@(136),%d3                         
   45a52:	9682           	subl %d2,%d3                                
      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)) {                   
   45a54:	202a 00b8      	movel %a2@(184),%d0                         
   45a58:	0280 0000 0600 	andil #1536,%d0                             
   45a5e:	667c           	bnes 45adc <rtems_termios_refill_transmitter+0x122><== NEVER TAKEN
   45a60:	2003           	movel %d3,%d0                               
        nToSend = 1;                                                  
      }                                                               
      tty->rawOutBufState = rob_busy; /*apm*/                         
   45a62:	7201           	moveq #1,%d1                                
      (*tty->device.write)(                                           
   45a64:	2f00           	movel %d0,%sp@-                             
   45a66:	202a 007c      	movel %a2@(124),%d0                         
   45a6a:	d082           	addl %d2,%d0                                
   45a6c:	2f00           	movel %d0,%sp@-                             
   45a6e:	2f2a 0010      	movel %a2@(16),%sp@-                        
   45a72:	206a 00a4      	moveal %a2@(164),%a0                        
      /* to allow fast reaction on incoming flow ctrl and low latency*/
      /* for outgoing flow control                                   */
      if (tty->flow_ctrl & (FL_MDXON | FL_MDXOF)) {                   
        nToSend = 1;                                                  
      }                                                               
      tty->rawOutBufState = rob_busy; /*apm*/                         
   45a76:	2541 0094      	movel %d1,%a2@(148)                         
      (*tty->device.write)(                                           
   45a7a:	4e90           	jsr %a0@                                    
   45a7c:	4fef 000c      	lea %sp@(12),%sp                            
        tty->minor, &tty->rawOutBuf.theBuf[newTail], nToSend);        
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
   45a80:	2542 0084      	movel %d2,%a2@(132)                         
  }                                                                   
  return nToSend;                                                     
}                                                                     
   45a84:	2003           	movel %d3,%d0                               
   45a86:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
   45a8c:	4e5e           	unlk %fp                                    
   45a8e:	4e75           	rts                                         
  } else {                                                            
    if ( tty->rawOutBuf.Head == tty->rawOutBuf.Tail ) {               
      /*                                                              
       * buffer was empty                                             
       */                                                             
      if (tty->rawOutBufState == rob_wait) {                          
   45a90:	7602           	moveq #2,%d3                                
   45a92:	b6aa 0094      	cmpl %a2@(148),%d3                          
   45a96:	6700 0130      	beqw 45bc8 <rtems_termios_refill_transmitter+0x20e>
        /*                                                            
         * this should never happen...                                
         */                                                           
        rtems_semaphore_release (tty->rawOutBuf.Semaphore);           
      }                                                               
      return 0;                                                       
   45a9a:	4283           	clrl %d3                                    
        tty->minor, &tty->rawOutBuf.theBuf[newTail], nToSend);        
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
  }                                                                   
  return nToSend;                                                     
}                                                                     
   45a9c:	2003           	movel %d3,%d0                               
   45a9e:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
   45aa4:	4e5e           	unlk %fp                                    
   45aa6:	4e75           	rts                                         
      nToSend = 0;                                                    
                                                                      
      /*                                                              
       * check to see if snd wakeup callback was set                  
       */                                                             
      if ( tty->tty_snd.sw_pfn != NULL) {                             
   45aa8:	206a 00d4      	moveal %a2@(212),%a0                        
                                                                      
    if (newTail == tty->rawOutBuf.Head) {                             
      /*                                                              
       * Buffer has become empty                                      
       */                                                             
      tty->rawOutBufState = rob_idle;                                 
   45aac:	42aa 0094      	clrl %a2@(148)                              
      nToSend = 0;                                                    
                                                                      
      /*                                                              
       * check to see if snd wakeup callback was set                  
       */                                                             
      if ( tty->tty_snd.sw_pfn != NULL) {                             
   45ab0:	4a88           	tstl %a0                                    
   45ab2:	6700 012e      	beqw 45be2 <rtems_termios_refill_transmitter+0x228>
        (*tty->tty_snd.sw_pfn)(&tty->termios, tty->tty_snd.sw_arg);   
   45ab6:	2f2a 00d8      	movel %a2@(216),%sp@-                       <== NOT EXECUTED
    if (newTail == tty->rawOutBuf.Head) {                             
      /*                                                              
       * Buffer has become empty                                      
       */                                                             
      tty->rawOutBufState = rob_idle;                                 
      nToSend = 0;                                                    
   45aba:	4283           	clrl %d3                                    <== NOT EXECUTED
                                                                      
      /*                                                              
       * check to see if snd wakeup callback was set                  
       */                                                             
      if ( tty->tty_snd.sw_pfn != NULL) {                             
        (*tty->tty_snd.sw_pfn)(&tty->termios, tty->tty_snd.sw_arg);   
   45abc:	486a 0030      	pea %a2@(48)                                <== NOT EXECUTED
   45ac0:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   45ac2:	508f           	addql #8,%sp                                <== NOT EXECUTED
      }                                                               
      tty->rawOutBufState = rob_busy; /*apm*/                         
      (*tty->device.write)(                                           
        tty->minor, &tty->rawOutBuf.theBuf[newTail], nToSend);        
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
   45ac4:	2542 0084      	movel %d2,%a2@(132)                         <== NOT EXECUTED
   45ac8:	60ba           	bras 45a84 <rtems_termios_refill_transmitter+0xca><== NOT EXECUTED
       * Buffer not empty, start tranmitter                           
       */                                                             
      if (newTail > tty->rawOutBuf.Head)                              
        nToSend = tty->rawOutBuf.Size - newTail;                      
      else                                                            
        nToSend = tty->rawOutBuf.Head - newTail;                      
   45aca:	262a 0080      	movel %a2@(128),%d3                         
   45ace:	9682           	subl %d2,%d3                                
      /* 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)) {                   
   45ad0:	202a 00b8      	movel %a2@(184),%d0                         
   45ad4:	0280 0000 0600 	andil #1536,%d0                             
   45ada:	6784           	beqs 45a60 <rtems_termios_refill_transmitter+0xa6>
   45adc:	7001           	moveq #1,%d0                                
        nToSend = 1;                                                  
      }                                                               
      tty->rawOutBufState = rob_busy; /*apm*/                         
   45ade:	7201           	moveq #1,%d1                                
        nToSend = tty->rawOutBuf.Head - newTail;                      
      /* when flow control XON or XOF, don't send blocks of data     */
      /* to allow fast reaction on incoming flow ctrl and low latency*/
      /* for outgoing flow control                                   */
      if (tty->flow_ctrl & (FL_MDXON | FL_MDXOF)) {                   
        nToSend = 1;                                                  
   45ae0:	7601           	moveq #1,%d3                                
      }                                                               
      tty->rawOutBufState = rob_busy; /*apm*/                         
      (*tty->device.write)(                                           
   45ae2:	2f00           	movel %d0,%sp@-                             
   45ae4:	202a 007c      	movel %a2@(124),%d0                         
   45ae8:	d082           	addl %d2,%d0                                
   45aea:	2f00           	movel %d0,%sp@-                             
   45aec:	2f2a 0010      	movel %a2@(16),%sp@-                        
   45af0:	206a 00a4      	moveal %a2@(164),%a0                        
      /* to allow fast reaction on incoming flow ctrl and low latency*/
      /* for outgoing flow control                                   */
      if (tty->flow_ctrl & (FL_MDXON | FL_MDXOF)) {                   
        nToSend = 1;                                                  
      }                                                               
      tty->rawOutBufState = rob_busy; /*apm*/                         
   45af4:	2541 0094      	movel %d1,%a2@(148)                         
      (*tty->device.write)(                                           
   45af8:	4e90           	jsr %a0@                                    
   45afa:	4fef 000c      	lea %sp@(12),%sp                            
   45afe:	6080           	bras 45a80 <rtems_termios_refill_transmitter+0xc6>
    tty->rawOutBuf.Tail = newTail;                                    
    if (tty->rawOutBufState == rob_wait) {                            
      /*                                                              
       * wake up any pending writer task                              
       */                                                             
      rtems_semaphore_release (tty->rawOutBuf.Semaphore);             
   45b00:	2f2a 008c      	movel %a2@(140),%sp@-                       
   45b04:	4eb9 0004 68a8 	jsr 468a8 <rtems_semaphore_release>         
    }                                                                 
                                                                      
    if (newTail == tty->rawOutBuf.Head) {                             
   45b0a:	202a 0080      	movel %a2@(128),%d0                         
    tty->rawOutBuf.Tail = newTail;                                    
    if (tty->rawOutBufState == rob_wait) {                            
      /*                                                              
       * wake up any pending writer task                              
       */                                                             
      rtems_semaphore_release (tty->rawOutBuf.Semaphore);             
   45b0e:	588f           	addql #4,%sp                                
    }                                                                 
                                                                      
    if (newTail == tty->rawOutBuf.Head) {                             
   45b10:	b480           	cmpl %d0,%d2                                
   45b12:	6600 ff1e      	bnew 45a32 <rtems_termios_refill_transmitter+0x78>
   45b16:	6090           	bras 45aa8 <rtems_termios_refill_transmitter+0xee>
                                                                      
  /* check for XOF/XON to send */                                     
  if ((tty->flow_ctrl & (FL_MDXOF | FL_IREQXOF | FL_ISNTXOF))         
      == (FL_MDXOF | FL_IREQXOF)) {                                   
    /* XOFF should be sent now... */                                  
    (*tty->device.write)(tty->minor, (void *)&(tty->termios.c_cc[VSTOP]), 1);
   45b18:	4878 0001      	pea 1 <ADD>                                 <== NOT EXECUTED
   45b1c:	486a 004a      	pea %a2@(74)                                <== NOT EXECUTED
   45b20:	2f2a 0010      	movel %a2@(16),%sp@-                        <== NOT EXECUTED
   45b24:	206a 00a4      	moveal %a2@(164),%a0                        <== NOT EXECUTED
   45b28:	4e90           	jsr %a0@                                    <== NOT EXECUTED
                                                                      
    rtems_interrupt_disable(level);                                   
   45b2a:	203c 0000 0700 	movel #1792,%d0                             <== NOT EXECUTED
   45b30:	40c1           	movew %sr,%d1                               <== NOT EXECUTED
   45b32:	8081           	orl %d1,%d0                                 <== NOT EXECUTED
   45b34:	46c0           	movew %d0,%sr                               <== NOT EXECUTED
    tty->t_dqlen--;                                                   
    tty->flow_ctrl |= FL_ISNTXOF;                                     
   45b36:	7402           	moveq #2,%d2                                <== NOT EXECUTED
      == (FL_MDXOF | FL_IREQXOF)) {                                   
    /* XOFF should be sent now... */                                  
    (*tty->device.write)(tty->minor, (void *)&(tty->termios.c_cc[VSTOP]), 1);
                                                                      
    rtems_interrupt_disable(level);                                   
    tty->t_dqlen--;                                                   
   45b38:	53aa 0090      	subql #1,%a2@(144)                          <== NOT EXECUTED
    tty->flow_ctrl |= FL_ISNTXOF;                                     
   45b3c:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   45b40:	8082           	orl %d2,%d0                                 <== NOT EXECUTED
   45b42:	2540 00b8      	movel %d0,%a2@(184)                         <== NOT EXECUTED
    rtems_interrupt_enable(level);                                    
   45b46:	46c1           	movew %d1,%sr                               <== NOT EXECUTED
                                                                      
    nToSend = 1;                                                      
   45b48:	7601           	moveq #1,%d3                                <== NOT EXECUTED
        tty->minor, &tty->rawOutBuf.theBuf[newTail], nToSend);        
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
  }                                                                   
  return nToSend;                                                     
}                                                                     
   45b4a:	2003           	movel %d3,%d0                               <== NOT EXECUTED
    (*tty->device.write)(tty->minor, (void *)&(tty->termios.c_cc[VSTOP]), 1);
                                                                      
    rtems_interrupt_disable(level);                                   
    tty->t_dqlen--;                                                   
    tty->flow_ctrl |= FL_ISNTXOF;                                     
    rtems_interrupt_enable(level);                                    
   45b4c:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
        tty->minor, &tty->rawOutBuf.theBuf[newTail], nToSend);        
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
  }                                                                   
  return nToSend;                                                     
}                                                                     
   45b50:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                <== NOT EXECUTED
   45b56:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   45b58:	4e75           	rts                                         <== NOT EXECUTED
     * FIXME: this .write call will generate another                  
     * dequeue callback. This will advance the "Tail" in the data     
     * buffer, although the corresponding data is not yet out!        
     * Therefore the dequeue "length" should be reduced by 1          
     */                                                               
    (*tty->device.write)(tty->minor, (void *)&(tty->termios.c_cc[VSTART]), 1);
   45b5a:	4878 0001      	pea 1 <ADD>                                 <== NOT EXECUTED
   45b5e:	486a 0049      	pea %a2@(73)                                <== NOT EXECUTED
   45b62:	2f2a 0010      	movel %a2@(16),%sp@-                        <== NOT EXECUTED
   45b66:	206a 00a4      	moveal %a2@(164),%a0                        <== NOT EXECUTED
   45b6a:	4e90           	jsr %a0@                                    <== NOT EXECUTED
                                                                      
    rtems_interrupt_disable(level);                                   
   45b6c:	203c 0000 0700 	movel #1792,%d0                             <== NOT EXECUTED
   45b72:	40c1           	movew %sr,%d1                               <== NOT EXECUTED
   45b74:	8081           	orl %d1,%d0                                 <== NOT EXECUTED
   45b76:	46c0           	movew %d0,%sr                               <== NOT EXECUTED
    tty->t_dqlen--;                                                   
    tty->flow_ctrl &= ~FL_ISNTXOF;                                    
   45b78:	74fd           	moveq #-3,%d2                               <== NOT EXECUTED
     * Therefore the dequeue "length" should be reduced by 1          
     */                                                               
    (*tty->device.write)(tty->minor, (void *)&(tty->termios.c_cc[VSTART]), 1);
                                                                      
    rtems_interrupt_disable(level);                                   
    tty->t_dqlen--;                                                   
   45b7a:	53aa 0090      	subql #1,%a2@(144)                          <== NOT EXECUTED
    tty->flow_ctrl &= ~FL_ISNTXOF;                                    
   45b7e:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   45b82:	c082           	andl %d2,%d0                                <== NOT EXECUTED
   45b84:	2540 00b8      	movel %d0,%a2@(184)                         <== NOT EXECUTED
    rtems_interrupt_enable(level);                                    
   45b88:	46c1           	movew %d1,%sr                               <== NOT EXECUTED
                                                                      
    nToSend = 1;                                                      
   45b8a:	163c 0001      	moveb #1,%d3                                <== NOT EXECUTED
        tty->minor, &tty->rawOutBuf.theBuf[newTail], nToSend);        
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
  }                                                                   
  return nToSend;                                                     
}                                                                     
   45b8e:	2003           	movel %d3,%d0                               <== NOT EXECUTED
    (*tty->device.write)(tty->minor, (void *)&(tty->termios.c_cc[VSTART]), 1);
                                                                      
    rtems_interrupt_disable(level);                                   
    tty->t_dqlen--;                                                   
    tty->flow_ctrl &= ~FL_ISNTXOF;                                    
    rtems_interrupt_enable(level);                                    
   45b90:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
        tty->minor, &tty->rawOutBuf.theBuf[newTail], nToSend);        
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
  }                                                                   
  return nToSend;                                                     
}                                                                     
   45b94:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                <== NOT EXECUTED
   45b9a:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   45b9c:	4e75           	rts                                         <== NOT EXECUTED
    /* check, whether output should stop due to received XOFF */      
    else if ((tty->flow_ctrl & (FL_MDXON | FL_ORCVXOF))               
       ==                (FL_MDXON | FL_ORCVXOF)) {                   
      /* Buffer not empty, but output stops due to XOFF */            
      /* set flag, that output has been stopped */                    
      rtems_interrupt_disable(level);                                 
   45b9e:	303c 0700      	movew #1792,%d0                             <== NOT EXECUTED
   45ba2:	40c1           	movew %sr,%d1                               <== NOT EXECUTED
   45ba4:	8081           	orl %d1,%d0                                 <== NOT EXECUTED
   45ba6:	46c0           	movew %d0,%sr                               <== NOT EXECUTED
      tty->flow_ctrl |= FL_OSTOP;                                     
   45ba8:	202a 00b8      	movel %a2@(184),%d0                         <== NOT EXECUTED
   45bac:	7620           	moveq #32,%d3                               <== NOT EXECUTED
   45bae:	8083           	orl %d3,%d0                                 <== NOT EXECUTED
      tty->rawOutBufState = rob_busy; /*apm*/                         
   45bb0:	163c 0001      	moveb #1,%d3                                <== NOT EXECUTED
    else if ((tty->flow_ctrl & (FL_MDXON | FL_ORCVXOF))               
       ==                (FL_MDXON | FL_ORCVXOF)) {                   
      /* Buffer not empty, but output stops due to XOFF */            
      /* set flag, that output has been stopped */                    
      rtems_interrupt_disable(level);                                 
      tty->flow_ctrl |= FL_OSTOP;                                     
   45bb4:	2540 00b8      	movel %d0,%a2@(184)                         <== NOT EXECUTED
      tty->rawOutBufState = rob_busy; /*apm*/                         
   45bb8:	2543 0094      	movel %d3,%a2@(148)                         <== NOT EXECUTED
      rtems_interrupt_enable(level);                                  
   45bbc:	46c1           	movew %d1,%sr                               <== NOT EXECUTED
      }                                                               
      tty->rawOutBufState = rob_busy; /*apm*/                         
      (*tty->device.write)(                                           
        tty->minor, &tty->rawOutBuf.theBuf[newTail], nToSend);        
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
   45bbe:	2542 0084      	movel %d2,%a2@(132)                         <== NOT EXECUTED
      /* set flag, that output has been stopped */                    
      rtems_interrupt_disable(level);                                 
      tty->flow_ctrl |= FL_OSTOP;                                     
      tty->rawOutBufState = rob_busy; /*apm*/                         
      rtems_interrupt_enable(level);                                  
      nToSend = 0;                                                    
   45bc2:	4203           	clrb %d3                                    <== NOT EXECUTED
   45bc4:	6000 febe      	braw 45a84 <rtems_termios_refill_transmitter+0xca><== NOT EXECUTED
       */                                                             
      if (tty->rawOutBufState == rob_wait) {                          
        /*                                                            
         * this should never happen...                                
         */                                                           
        rtems_semaphore_release (tty->rawOutBuf.Semaphore);           
   45bc8:	2f2a 008c      	movel %a2@(140),%sp@-                       <== NOT EXECUTED
      }                                                               
      return 0;                                                       
   45bcc:	4203           	clrb %d3                                    <== NOT EXECUTED
       */                                                             
      if (tty->rawOutBufState == rob_wait) {                          
        /*                                                            
         * this should never happen...                                
         */                                                           
        rtems_semaphore_release (tty->rawOutBuf.Semaphore);           
   45bce:	4eb9 0004 68a8 	jsr 468a8 <rtems_semaphore_release>         <== NOT EXECUTED
   45bd4:	588f           	addql #4,%sp                                <== NOT EXECUTED
        tty->minor, &tty->rawOutBuf.theBuf[newTail], nToSend);        
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
  }                                                                   
  return nToSend;                                                     
}                                                                     
   45bd6:	2003           	movel %d3,%d0                               <== NOT EXECUTED
   45bd8:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                <== NOT EXECUTED
   45bde:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   45be0:	4e75           	rts                                         <== NOT EXECUTED
      }                                                               
      tty->rawOutBufState = rob_busy; /*apm*/                         
      (*tty->device.write)(                                           
        tty->minor, &tty->rawOutBuf.theBuf[newTail], nToSend);        
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
   45be2:	2542 0084      	movel %d2,%a2@(132)                         
    if (newTail == tty->rawOutBuf.Head) {                             
      /*                                                              
       * Buffer has become empty                                      
       */                                                             
      tty->rawOutBufState = rob_idle;                                 
      nToSend = 0;                                                    
   45be6:	4283           	clrl %d3                                    
   45be8:	6000 fe9a      	braw 45a84 <rtems_termios_refill_transmitter+0xca>
                                                                      

0004591e <rtems_termios_rxdaemon>: /* * this task actually processes any receive events */ static rtems_task rtems_termios_rxdaemon(rtems_task_argument argument) {
   4591e:	4e56 ffe0      	linkw %fp,#-32                              
   45922:	48d7 3c0c      	moveml %d2-%d3/%a2-%a5,%sp@                 
   45926:	240e           	movel %fp,%d2                               
   45928:	260e           	movel %fp,%d3                               
   4592a:	5d82           	subql #6,%d2                                
   4592c:	47f9 0004 60b0 	lea 460b0 <rtems_event_receive>,%a3         
   45932:	49f9 0004 6aa8 	lea 46aa8 <rtems_task_delete>,%a4           
   45938:	5383           	subql #1,%d3                                
   4593a:	4bf9 0004 566c 	lea 4566c <rtems_termios_enqueue_raw_characters>,%a5
   45940:	246e 0008      	moveal %fp@(8),%a2                          
                                                                      
  while (1) {                                                         
    /*                                                                
     * wait for rtems event                                           
     */                                                               
    rtems_event_receive(                                              
   45944:	2f02           	movel %d2,%sp@-                             
   45946:	42a7           	clrl %sp@-                                  
   45948:	4878 0002      	pea 2 <DOUBLE_FLOAT>                        
   4594c:	4878 0003      	pea 3 <DIVIDE>                              
   45950:	4e93           	jsr %a3@                                    
      (TERMIOS_RX_PROC_EVENT | TERMIOS_RX_TERMINATE_EVENT),           
      RTEMS_EVENT_ANY | RTEMS_WAIT,                                   
      RTEMS_NO_TIMEOUT,                                               
      &the_event                                                      
    );                                                                
    if ((the_event & TERMIOS_RX_TERMINATE_EVENT) != 0) {              
   45952:	4fef 0010      	lea %sp@(16),%sp                            
   45956:	7001           	moveq #1,%d0                                
   45958:	c0ae fffa      	andl %fp@(-6),%d0                           
   4595c:	663e           	bnes 4599c <rtems_termios_rxdaemon+0x7e>    <== NEVER TAKEN
    }                                                                 
                                                                      
    /*                                                                
     * do something                                                   
     */                                                               
    c = tty->device.pollRead(tty->minor);                             
   4595e:	2f2a 0010      	movel %a2@(16),%sp@-                        
   45962:	206a 00a0      	moveal %a2@(160),%a0                        
   45966:	4e90           	jsr %a0@                                    
    if (c != EOF) {                                                   
   45968:	588f           	addql #4,%sp                                
   4596a:	72ff           	moveq #-1,%d1                               
   4596c:	b280           	cmpl %d0,%d1                                
   4596e:	67d4           	beqs 45944 <rtems_termios_rxdaemon+0x26>    
      /*                                                              
       * pollRead did call enqueue on its own                         
       */                                                             
      c_buf = c;                                                      
      rtems_termios_enqueue_raw_characters ( tty,&c_buf,1);           
   45970:	4878 0001      	pea 1 <ADD>                                 
    c = tty->device.pollRead(tty->minor);                             
    if (c != EOF) {                                                   
      /*                                                              
       * pollRead did call enqueue on its own                         
       */                                                             
      c_buf = c;                                                      
   45974:	1d40 ffff      	moveb %d0,%fp@(-1)                          
      rtems_termios_enqueue_raw_characters ( tty,&c_buf,1);           
   45978:	2f03           	movel %d3,%sp@-                             
   4597a:	2f0a           	movel %a2,%sp@-                             
   4597c:	4e95           	jsr %a5@                                    
   4597e:	4fef 000c      	lea %sp@(12),%sp                            
                                                                      
  while (1) {                                                         
    /*                                                                
     * wait for rtems event                                           
     */                                                               
    rtems_event_receive(                                              
   45982:	2f02           	movel %d2,%sp@-                             
   45984:	42a7           	clrl %sp@-                                  
   45986:	4878 0002      	pea 2 <DOUBLE_FLOAT>                        
   4598a:	4878 0003      	pea 3 <DIVIDE>                              
   4598e:	4e93           	jsr %a3@                                    
      (TERMIOS_RX_PROC_EVENT | TERMIOS_RX_TERMINATE_EVENT),           
      RTEMS_EVENT_ANY | RTEMS_WAIT,                                   
      RTEMS_NO_TIMEOUT,                                               
      &the_event                                                      
    );                                                                
    if ((the_event & TERMIOS_RX_TERMINATE_EVENT) != 0) {              
   45990:	4fef 0010      	lea %sp@(16),%sp                            
   45994:	7001           	moveq #1,%d0                                
   45996:	c0ae fffa      	andl %fp@(-6),%d0                           
   4599a:	67c2           	beqs 4595e <rtems_termios_rxdaemon+0x40>    <== ALWAYS TAKEN
      tty->rxTaskId = 0;                                              
   4599c:	42aa 00c4      	clrl %a2@(196)                              <== NOT EXECUTED
      rtems_task_delete(RTEMS_SELF);                                  
   459a0:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   459a2:	4e94           	jsr %a4@                                    <== NOT EXECUTED
   459a4:	588f           	addql #4,%sp                                <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * do something                                                   
     */                                                               
    c = tty->device.pollRead(tty->minor);                             
   459a6:	2f2a 0010      	movel %a2@(16),%sp@-                        <== NOT EXECUTED
   459aa:	206a 00a0      	moveal %a2@(160),%a0                        <== NOT EXECUTED
   459ae:	4e90           	jsr %a0@                                    <== NOT EXECUTED
    if (c != EOF) {                                                   
   459b0:	588f           	addql #4,%sp                                <== NOT EXECUTED
   459b2:	72ff           	moveq #-1,%d1                               <== NOT EXECUTED
   459b4:	b280           	cmpl %d0,%d1                                <== NOT EXECUTED
   459b6:	678c           	beqs 45944 <rtems_termios_rxdaemon+0x26>    <== NOT EXECUTED
   459b8:	60b6           	bras 45970 <rtems_termios_rxdaemon+0x52>    <== NOT EXECUTED
                                                                      

00045bec <rtems_termios_txdaemon>: /* * this task actually processes any transmit events */ static rtems_task rtems_termios_txdaemon(rtems_task_argument argument) {
   45bec:	4e56 ffe8      	linkw %fp,#-24                              
   45bf0:	48d7 3c04      	moveml %d2/%a2-%a5,%sp@                     
   45bf4:	240e           	movel %fp,%d2                               
   45bf6:	5982           	subql #4,%d2                                
   45bf8:	49f9 0004 60b0 	lea 460b0 <rtems_event_receive>,%a4         
   45bfe:	4bf9 0004 6aa8 	lea 46aa8 <rtems_task_delete>,%a5           
   45c04:	47f9 0004 59ba 	lea 459ba <rtems_termios_refill_transmitter>,%a3
                                                                      
  while (1) {                                                         
    /*                                                                
     * wait for rtems event                                           
     */                                                               
    rtems_event_receive(                                              
   45c0a:	2f02           	movel %d2,%sp@-                             
                                                                      
/*                                                                    
 * this task actually processes any transmit events                   
 */                                                                   
static rtems_task rtems_termios_txdaemon(rtems_task_argument argument)
{                                                                     
   45c0c:	246e 0008      	moveal %fp@(8),%a2                          
                                                                      
  while (1) {                                                         
    /*                                                                
     * wait for rtems event                                           
     */                                                               
    rtems_event_receive(                                              
   45c10:	42a7           	clrl %sp@-                                  
   45c12:	4878 0002      	pea 2 <DOUBLE_FLOAT>                        
   45c16:	4878 0003      	pea 3 <DIVIDE>                              
   45c1a:	4e94           	jsr %a4@                                    
       (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) {              
   45c1c:	4fef 0010      	lea %sp@(16),%sp                            
   45c20:	7001           	moveq #1,%d0                                
   45c22:	c0ae fffc      	andl %fp@(-4),%d0                           
   45c26:	663a           	bnes 45c62 <rtems_termios_txdaemon+0x76>    <== NEVER TAKEN
    }                                                                 
                                                                      
    /*                                                                
     * call any line discipline start function                        
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_start != NULL) {          
   45c28:	202a 00cc      	movel %a2@(204),%d0                         
   45c2c:	eb88           	lsll #5,%d0                                 
   45c2e:	0680 0006 0330 	addil #394032,%d0                           
   45c34:	2240           	moveal %d0,%a1                              
   45c36:	2051           	moveal %a1@,%a0                             
   45c38:	4a88           	tstl %a0                                    
   45c3a:	6706           	beqs 45c42 <rtems_termios_txdaemon+0x56>    <== ALWAYS TAKEN
      rtems_termios_linesw[tty->t_line].l_start(tty);                 
   45c3c:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   45c3e:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   45c40:	588f           	addql #4,%sp                                <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * try to push further characters to device                       
     */                                                               
    rtems_termios_refill_transmitter(tty);                            
   45c42:	2f0a           	movel %a2,%sp@-                             
   45c44:	4e93           	jsr %a3@                                    
  }                                                                   
   45c46:	588f           	addql #4,%sp                                
                                                                      
  while (1) {                                                         
    /*                                                                
     * wait for rtems event                                           
     */                                                               
    rtems_event_receive(                                              
   45c48:	2f02           	movel %d2,%sp@-                             
   45c4a:	42a7           	clrl %sp@-                                  
   45c4c:	4878 0002      	pea 2 <DOUBLE_FLOAT>                        
   45c50:	4878 0003      	pea 3 <DIVIDE>                              
   45c54:	4e94           	jsr %a4@                                    
       (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) {              
   45c56:	4fef 0010      	lea %sp@(16),%sp                            
   45c5a:	7001           	moveq #1,%d0                                
   45c5c:	c0ae fffc      	andl %fp@(-4),%d0                           
   45c60:	67c6           	beqs 45c28 <rtems_termios_txdaemon+0x3c>    <== ALWAYS TAKEN
      tty->txTaskId = 0;                                              
   45c62:	42aa 00c8      	clrl %a2@(200)                              <== NOT EXECUTED
      rtems_task_delete(RTEMS_SELF);                                  
   45c66:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   45c68:	4e95           	jsr %a5@                                    <== NOT EXECUTED
   45c6a:	588f           	addql #4,%sp                                <== NOT EXECUTED
   45c6c:	60ba           	bras 45c28 <rtems_termios_txdaemon+0x3c>    <== NOT EXECUTED
                                                                      

00045234 <rtems_termios_write>: rtems_termios_puts (&c, 1, tty); } rtems_status_code rtems_termios_write (void *arg) {
   45234:	4e56 ffe8      	linkw %fp,#-24                              
   45238:	48d7 3c0c      	moveml %d2-%d3/%a2-%a5,%sp@                 
   4523c:	266e 0008      	moveal %fp@(8),%a3                          
  rtems_libio_rw_args_t *args = arg;                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
   45240:	2053           	moveal %a3@,%a0                             
   45242:	2468 0034      	moveal %a0@(52),%a2                         
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
   45246:	42a7           	clrl %sp@-                                  
   45248:	42a7           	clrl %sp@-                                  
   4524a:	2f2a 0018      	movel %a2@(24),%sp@-                        
   4524e:	4eb9 0004 6768 	jsr 46768 <rtems_semaphore_obtain>          
  if (sc != RTEMS_SUCCESSFUL)                                         
   45254:	4fef 000c      	lea %sp@(12),%sp                            
{                                                                     
  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);
   45258:	2400           	movel %d0,%d2                               
  if (sc != RTEMS_SUCCESSFUL)                                         
   4525a:	662a           	bnes 45286 <rtems_termios_write+0x52>       <== NEVER TAKEN
    return sc;                                                        
  if (rtems_termios_linesw[tty->t_line].l_write != NULL) {            
   4525c:	202a 00cc      	movel %a2@(204),%d0                         
   45260:	eb88           	lsll #5,%d0                                 
   45262:	0680 0006 0328 	addil #394024,%d0                           
   45268:	2240           	moveal %d0,%a1                              
   4526a:	2051           	moveal %a1@,%a0                             
   4526c:	4a88           	tstl %a0                                    
   4526e:	6722           	beqs 45292 <rtems_termios_write+0x5e>       
    sc = rtems_termios_linesw[tty->t_line].l_write(tty,args);         
   45270:	2f0b           	movel %a3,%sp@-                             
   45272:	2f0a           	movel %a2,%sp@-                             
   45274:	4e90           	jsr %a0@                                    
    rtems_semaphore_release (tty->osem);                              
   45276:	2f2a 0018      	movel %a2@(24),%sp@-                        
                                                                      
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
  if (sc != RTEMS_SUCCESSFUL)                                         
    return sc;                                                        
  if (rtems_termios_linesw[tty->t_line].l_write != NULL) {            
    sc = rtems_termios_linesw[tty->t_line].l_write(tty,args);         
   4527a:	2400           	movel %d0,%d2                               
    rtems_semaphore_release (tty->osem);                              
   4527c:	4eb9 0004 68a8 	jsr 468a8 <rtems_semaphore_release>         
    return sc;                                                        
   45282:	4fef 000c      	lea %sp@(12),%sp                            
    rtems_termios_puts (args->buffer, args->count, tty);              
    args->bytes_moved = args->count;                                  
  }                                                                   
  rtems_semaphore_release (tty->osem);                                
  return sc;                                                          
}                                                                     
   45286:	2002           	movel %d2,%d0                               
   45288:	4cee 3c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a5            
   4528e:	4e5e           	unlk %fp                                    
   45290:	4e75           	rts                                         
  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) {                                 
   45292:	7001           	moveq #1,%d0                                
   45294:	c0aa 0034      	andl %a2@(52),%d0                           
   45298:	6740           	beqs 452da <rtems_termios_write+0xa6>       <== NEVER TAKEN
    uint32_t   count = args->count;                                   
   4529a:	262b 0010      	movel %a3@(16),%d3                          
    char      *buffer = args->buffer;                                 
   4529e:	286b 000c      	moveal %a3@(12),%a4                         
    while (count--)                                                   
   452a2:	675e           	beqs 45302 <rtems_termios_write+0xce>       <== NEVER TAKEN
   452a4:	4bfa f8a8      	lea %pc@(44b4e <oproc>),%a5                 
      oproc (*buffer++, tty);                                         
   452a8:	4280           	clrl %d0                                    
   452aa:	101c           	moveb %a4@+,%d0                             
   452ac:	5383           	subql #1,%d3                                
   452ae:	2f0a           	movel %a2,%sp@-                             
   452b0:	2f00           	movel %d0,%sp@-                             
   452b2:	4e95           	jsr %a5@                                    
    return sc;                                                        
  }                                                                   
  if (tty->termios.c_oflag & OPOST) {                                 
    uint32_t   count = args->count;                                   
    char      *buffer = args->buffer;                                 
    while (count--)                                                   
   452b4:	508f           	addql #8,%sp                                
   452b6:	4a83           	tstl %d3                                    
   452b8:	66ee           	bnes 452a8 <rtems_termios_write+0x74>       
   452ba:	202b 0010      	movel %a3@(16),%d0                          
      oproc (*buffer++, tty);                                         
    args->bytes_moved = args->count;                                  
   452be:	2740 0018      	movel %d0,%a3@(24)                          
  } else {                                                            
    rtems_termios_puts (args->buffer, args->count, tty);              
    args->bytes_moved = args->count;                                  
  }                                                                   
  rtems_semaphore_release (tty->osem);                                
   452c2:	2f2a 0018      	movel %a2@(24),%sp@-                        
   452c6:	4eb9 0004 68a8 	jsr 468a8 <rtems_semaphore_release>         
  return sc;                                                          
   452cc:	588f           	addql #4,%sp                                
}                                                                     
   452ce:	2002           	movel %d2,%d0                               
   452d0:	4cee 3c0c ffe8 	moveml %fp@(-24),%d2-%d3/%a2-%a5            
   452d6:	4e5e           	unlk %fp                                    
   452d8:	4e75           	rts                                         
    char      *buffer = args->buffer;                                 
    while (count--)                                                   
      oproc (*buffer++, tty);                                         
    args->bytes_moved = args->count;                                  
  } else {                                                            
    rtems_termios_puts (args->buffer, args->count, tty);              
   452da:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   452dc:	2f2b 0010      	movel %a3@(16),%sp@-                        <== NOT EXECUTED
   452e0:	2f2b 000c      	movel %a3@(12),%sp@-                        <== NOT EXECUTED
   452e4:	4eb9 0004 4a4a 	jsr 44a4a <rtems_termios_puts>              <== NOT EXECUTED
    args->bytes_moved = args->count;                                  
   452ea:	276b 0010 0018 	movel %a3@(16),%a3@(24)                     <== NOT EXECUTED
   452f0:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
  }                                                                   
  rtems_semaphore_release (tty->osem);                                
   452f4:	2f2a 0018      	movel %a2@(24),%sp@-                        <== NOT EXECUTED
   452f8:	4eb9 0004 68a8 	jsr 468a8 <rtems_semaphore_release>         <== NOT EXECUTED
  return sc;                                                          
   452fe:	588f           	addql #4,%sp                                <== NOT EXECUTED
   45300:	60cc           	bras 452ce <rtems_termios_write+0x9a>       <== NOT EXECUTED
    return sc;                                                        
  }                                                                   
  if (tty->termios.c_oflag & OPOST) {                                 
    uint32_t   count = args->count;                                   
    char      *buffer = args->buffer;                                 
    while (count--)                                                   
   45302:	4280           	clrl %d0                                    <== NOT EXECUTED
      oproc (*buffer++, tty);                                         
    args->bytes_moved = args->count;                                  
   45304:	2740 0018      	movel %d0,%a3@(24)                          <== NOT EXECUTED
   45308:	60b8           	bras 452c2 <rtems_termios_write+0x8e>       <== NOT EXECUTED
                                                                      

00058d2c <rtems_timer_cancel>: */ rtems_status_code rtems_timer_cancel( rtems_id id ) {
   58d2c:	4e56 fffc      	linkw %fp,#-4                               
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Timer_Control *)                                            
    _Objects_Get( &_Timer_Information, id, location );                
   58d30:	486e fffc      	pea %fp@(-4)                                
   58d34:	2f2e 0008      	movel %fp@(8),%sp@-                         
   58d38:	4879 0008 046e 	pea 8046e <_Timer_Information>              
   58d3e:	4eb9 0005 bcdc 	jsr 5bcdc <_Objects_Get>                    
  Timer_Control   *the_timer;                                         
  Objects_Locations       location;                                   
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
   58d44:	4fef 000c      	lea %sp@(12),%sp                            
   58d48:	4aae fffc      	tstl %fp@(-4)                               
   58d4c:	6706           	beqs 58d54 <rtems_timer_cancel+0x28>        
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
   58d4e:	7004           	moveq #4,%d0                                
}                                                                     
   58d50:	4e5e           	unlk %fp                                    
   58d52:	4e75           	rts                                         
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Timer_Is_dormant_class( the_timer->the_class ) )         
   58d54:	7204           	moveq #4,%d1                                
   58d56:	2040           	moveal %d0,%a0                              
   58d58:	b2a8 0038      	cmpl %a0@(56),%d1                           
   58d5c:	670c           	beqs 58d6a <rtems_timer_cancel+0x3e>        <== NEVER TAKEN
        (void) _Watchdog_Remove( &the_timer->Ticker );                
   58d5e:	4868 0010      	pea %a0@(16)                                
   58d62:	4eb9 0005 dc3c 	jsr 5dc3c <_Watchdog_Remove>                
   58d68:	588f           	addql #4,%sp                                
      _Thread_Enable_dispatch();                                      
   58d6a:	4eb9 0005 c9ce 	jsr 5c9ce <_Thread_Enable_dispatch>         
      return RTEMS_SUCCESSFUL;                                        
   58d70:	4280           	clrl %d0                                    
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   58d72:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00058f60 <rtems_timer_fire_when>: rtems_id id, rtems_time_of_day *wall_time, rtems_timer_service_routine_entry routine, void *user_data ) {
   58f60:	4e56 ffec      	linkw %fp,#-20                              
   58f64:	48d7 041c      	moveml %d2-%d4/%a2,%sp@                     
   58f68:	242e 000c      	movel %fp@(12),%d2                          
   58f6c:	262e 0010      	movel %fp@(16),%d3                          
  Timer_Control       *the_timer;                                     
  Objects_Locations    location;                                      
  rtems_interval       seconds;                                       
                                                                      
  if ( !_TOD_Is_set )                                                 
   58f70:	4a39 0007 fbfc 	tstb 7fbfc <_TOD_Is_set>                    
   58f76:	660c           	bnes 58f84 <rtems_timer_fire_when+0x24>     
    return RTEMS_NOT_DEFINED;                                         
   58f78:	700b           	moveq #11,%d0                               
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   58f7a:	4cee 041c ffec 	moveml %fp@(-20),%d2-%d4/%a2                
   58f80:	4e5e           	unlk %fp                                    
   58f82:	4e75           	rts                                         
  rtems_interval       seconds;                                       
                                                                      
  if ( !_TOD_Is_set )                                                 
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
   58f84:	2f02           	movel %d2,%sp@-                             
   58f86:	4eb9 0005 5fac 	jsr 55fac <_TOD_Validate>                   
   58f8c:	588f           	addql #4,%sp                                
   58f8e:	4a00           	tstb %d0                                    
   58f90:	671a           	beqs 58fac <rtems_timer_fire_when+0x4c>     
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  if ( !routine )                                                     
   58f92:	4a83           	tstl %d3                                    
   58f94:	6700 00a8      	beqw 5903e <rtems_timer_fire_when+0xde>     
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
   58f98:	2f02           	movel %d2,%sp@-                             
   58f9a:	4eb9 0005 5ea4 	jsr 55ea4 <_TOD_To_seconds>                 
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
   58fa0:	588f           	addql #4,%sp                                
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  if ( !routine )                                                     
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
   58fa2:	2400           	movel %d0,%d2                               
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
   58fa4:	b0b9 0007 fc76 	cmpl 7fc76 <_TOD_Now>,%d0                   
   58faa:	620c           	bhis 58fb8 <rtems_timer_fire_when+0x58>     
    return RTEMS_INVALID_CLOCK;                                       
   58fac:	7014           	moveq #20,%d0                               
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   58fae:	4cee 041c ffec 	moveml %fp@(-20),%d2-%d4/%a2                
   58fb4:	4e5e           	unlk %fp                                    
   58fb6:	4e75           	rts                                         
   58fb8:	486e fffc      	pea %fp@(-4)                                
   58fbc:	2f2e 0008      	movel %fp@(8),%sp@-                         
   58fc0:	4879 0008 046e 	pea 8046e <_Timer_Information>              
   58fc6:	4eb9 0005 bcdc 	jsr 5bcdc <_Objects_Get>                    
  seconds = _TOD_To_seconds( wall_time );                             
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
   58fcc:	4fef 000c      	lea %sp@(12),%sp                            
   58fd0:	2440           	moveal %d0,%a2                              
   58fd2:	4aae fffc      	tstl %fp@(-4)                               
   58fd6:	665a           	bnes 59032 <rtems_timer_fire_when+0xd2>     <== NEVER TAKEN
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
   58fd8:	2800           	movel %d0,%d4                               
   58fda:	0684 0000 0010 	addil #16,%d4                               
   58fe0:	2f04           	movel %d4,%sp@-                             
   58fe2:	4eb9 0005 dc3c 	jsr 5dc3c <_Watchdog_Remove>                
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
   58fe8:	256e 0014 0034 	movel %fp@(20),%a2@(52)                     
      the_timer->the_class = TIMER_TIME_OF_DAY;                       
   58fee:	7002           	moveq #2,%d0                                
      _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      _Watchdog_Insert_seconds(                                       
   58ff0:	94b9 0007 fc76 	subl 7fc76 <_TOD_Now>,%d2                   
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
      the_timer->the_class = TIMER_TIME_OF_DAY;                       
   58ff6:	2540 0038      	movel %d0,%a2@(56)                          
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
   58ffa:	202e 0008      	movel %fp@(8),%d0                           
      _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      _Watchdog_Insert_seconds(                                       
   58ffe:	2542 001c      	movel %d2,%a2@(28)                          
   59002:	2540 0030      	movel %d0,%a2@(48)                          
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
   59006:	42aa 0018      	clrl %a2@(24)                               
  the_watchdog->routine   = routine;                                  
   5900a:	2543 002c      	movel %d3,%a2@(44)                          
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Seconds_chain, the_watchdog );         
   5900e:	2f04           	movel %d4,%sp@-                             
   59010:	4879 0007 fca0 	pea 7fca0 <_Watchdog_Seconds_chain>         
   59016:	4eb9 0005 dae8 	jsr 5dae8 <_Watchdog_Insert>                
         &the_timer->Ticker,                                          
         seconds - _TOD_Seconds_since_epoch()                         
       );                                                             
      _Thread_Enable_dispatch();                                      
   5901c:	4eb9 0005 c9ce 	jsr 5c9ce <_Thread_Enable_dispatch>         
      return RTEMS_SUCCESSFUL;                                        
   59022:	4fef 000c      	lea %sp@(12),%sp                            
   59026:	4280           	clrl %d0                                    
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   59028:	4cee 041c ffec 	moveml %fp@(-20),%d2-%d4/%a2                
   5902e:	4e5e           	unlk %fp                                    
   59030:	4e75           	rts                                         
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
   59032:	7004           	moveq #4,%d0                                
}                                                                     
   59034:	4cee 041c ffec 	moveml %fp@(-20),%d2-%d4/%a2                
   5903a:	4e5e           	unlk %fp                                    
   5903c:	4e75           	rts                                         
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  if ( !routine )                                                     
    return RTEMS_INVALID_ADDRESS;                                     
   5903e:	7009           	moveq #9,%d0                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   59040:	4cee 041c ffec 	moveml %fp@(-20),%d2-%d4/%a2                
   59046:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

000597e2 <rtems_timer_initiate_server>: rtems_status_code rtems_timer_initiate_server( uint32_t priority, uint32_t stack_size, rtems_attribute attribute_set ) {
   597e2:	4e56 fffc      	linkw %fp,#-4                               
   597e6:	202e 0008      	movel %fp@(8),%d0                           
   597ea:	2f03           	movel %d3,%sp@-                             
   597ec:	2f02           	movel %d2,%sp@-                             
   597ee:	4a80           	tstl %d0                                    
   597f0:	6748           	beqs 5983a <rtems_timer_initiate_server+0x58><== NEVER TAKEN
            ( the_priority <= RTEMS_MAXIMUM_PRIORITY ) );             
   597f2:	4281           	clrl %d1                                    
   597f4:	1239 0007 9f42 	moveb 79f42 <rtems_maximum_priority>,%d1    
 */                                                                   
RTEMS_INLINE_ROUTINE bool _RTEMS_tasks_Priority_is_valid (            
  rtems_task_priority the_priority                                    
)                                                                     
{                                                                     
  return (  ( the_priority >= RTEMS_MINIMUM_PRIORITY ) &&             
   597fa:	b280           	cmpl %d0,%d1                                
   597fc:	644a           	bccs 59848 <rtems_timer_initiate_server+0x66>
   *  structured so we check it is invalid before looking for         
   *  a specific invalid value as the default.                        
   */                                                                 
  _priority = priority;                                               
  if ( !_RTEMS_tasks_Priority_is_valid( priority ) ) {                
    if ( priority != RTEMS_TIMER_SERVER_DEFAULT_PRIORITY )            
   597fe:	72ff           	moveq #-1,%d1                               
   59800:	b280           	cmpl %d0,%d1                                
   59802:	6636           	bnes 5983a <rtems_timer_initiate_server+0x58>
   59804:	2239 0007 fbec 	movel 7fbec <_Thread_Dispatch_disable_level>,%d1
   5980a:	5281           	addql #1,%d1                                
      return RTEMS_INVALID_PRIORITY;                                  
    _priority = 0;                                                    
   5980c:	4283           	clrl %d3                                    
   5980e:	23c1 0007 fbec 	movel %d1,7fbec <_Thread_Dispatch_disable_level>
  /*                                                                  
   *  Just to make sure this is only called once.                     
   */                                                                 
  _Thread_Disable_dispatch();                                         
    tmpInitialized  = initialized;                                    
    initialized = true;                                               
   59814:	7001           	moveq #1,%d0                                
                                                                      
  /*                                                                  
   *  Just to make sure this is only called once.                     
   */                                                                 
  _Thread_Disable_dispatch();                                         
    tmpInitialized  = initialized;                                    
   59816:	1439 0007 b0ca 	moveb 7b0ca <initialized.3668>,%d2          
    initialized = true;                                               
   5981c:	13c0 0007 b0ca 	moveb %d0,7b0ca <initialized.3668>          
  _Thread_Enable_dispatch();                                          
   59822:	4eb9 0005 c9ce 	jsr 5c9ce <_Thread_Enable_dispatch>         
                                                                      
  if ( tmpInitialized )                                               
   59828:	4a02           	tstb %d2                                    
   5982a:	6744           	beqs 59870 <rtems_timer_initiate_server+0x8e>
      initialized = false;                                            
    }                                                                 
  #endif                                                              
                                                                      
  return status;                                                      
}                                                                     
   5982c:	242e fff4      	movel %fp@(-12),%d2                         
    tmpInitialized  = initialized;                                    
    initialized = true;                                               
  _Thread_Enable_dispatch();                                          
                                                                      
  if ( tmpInitialized )                                               
    return RTEMS_INCORRECT_STATE;                                     
   59830:	700e           	moveq #14,%d0                               
      initialized = false;                                            
    }                                                                 
  #endif                                                              
                                                                      
  return status;                                                      
}                                                                     
   59832:	262e fff8      	movel %fp@(-8),%d3                          
   59836:	4e5e           	unlk %fp                                    
   59838:	4e75           	rts                                         
   5983a:	242e fff4      	movel %fp@(-12),%d2                         
   *  a specific invalid value as the default.                        
   */                                                                 
  _priority = priority;                                               
  if ( !_RTEMS_tasks_Priority_is_valid( priority ) ) {                
    if ( priority != RTEMS_TIMER_SERVER_DEFAULT_PRIORITY )            
      return RTEMS_INVALID_PRIORITY;                                  
   5983e:	7013           	moveq #19,%d0                               
      initialized = false;                                            
    }                                                                 
  #endif                                                              
                                                                      
  return status;                                                      
}                                                                     
   59840:	262e fff8      	movel %fp@(-8),%d3                          
   59844:	4e5e           	unlk %fp                                    
   59846:	4e75           	rts                                         
   59848:	2239 0007 fbec 	movel 7fbec <_Thread_Dispatch_disable_level>,%d1
   5984e:	5281           	addql #1,%d1                                
   59850:	2600           	movel %d0,%d3                               
   59852:	23c1 0007 fbec 	movel %d1,7fbec <_Thread_Dispatch_disable_level>
  /*                                                                  
   *  Just to make sure this is only called once.                     
   */                                                                 
  _Thread_Disable_dispatch();                                         
    tmpInitialized  = initialized;                                    
    initialized = true;                                               
   59858:	7001           	moveq #1,%d0                                
                                                                      
  /*                                                                  
   *  Just to make sure this is only called once.                     
   */                                                                 
  _Thread_Disable_dispatch();                                         
    tmpInitialized  = initialized;                                    
   5985a:	1439 0007 b0ca 	moveb 7b0ca <initialized.3668>,%d2          
    initialized = true;                                               
   59860:	13c0 0007 b0ca 	moveb %d0,7b0ca <initialized.3668>          
  _Thread_Enable_dispatch();                                          
   59866:	4eb9 0005 c9ce 	jsr 5c9ce <_Thread_Enable_dispatch>         
                                                                      
  if ( tmpInitialized )                                               
   5986c:	4a02           	tstb %d2                                    
   5986e:	66bc           	bnes 5982c <rtems_timer_initiate_server+0x4a><== NEVER TAKEN
   *  other library rules.  For example, if using a TSR written in Ada the
   *  Server should run at the same priority as the priority Ada task.
   *  Otherwise, the priority ceiling for the mutex used to protect the
   *  GNAT run-time is violated.                                      
   */                                                                 
  status = rtems_task_create(                                         
   59870:	222e 0010      	movel %fp@(16),%d1                          
   59874:	486e fffc      	pea %fp@(-4)                                
   59878:	08c1 000f      	bset #15,%d1                                
   5987c:	2f01           	movel %d1,%sp@-                             
   5987e:	4878 0100      	pea 100 <DBL_MANT_DIG+0xcb>                 
   59882:	2f2e 000c      	movel %fp@(12),%sp@-                        
   59886:	2f03           	movel %d3,%sp@-                             
   59888:	2f3c 5449 4d45 	movel #1414090053,%sp@-                     
   5988e:	4eb9 0005 8404 	jsr 58404 <rtems_task_create>               
                          /* user may want floating point but we need */
                          /*   system task specified for 0 priority */
    attribute_set | RTEMS_SYSTEM_TASK,                                
    &id                   /* get the id back */                       
  );                                                                  
  if (status) {                                                       
   59894:	4fef 0018      	lea %sp@(24),%sp                            
   59898:	4a80           	tstl %d0                                    
   5989a:	6714           	beqs 598b0 <rtems_timer_initiate_server+0xce>
      initialized = false;                                            
    }                                                                 
  #endif                                                              
                                                                      
  return status;                                                      
}                                                                     
   5989c:	242e fff4      	movel %fp@(-12),%d2                         
                          /*   system task specified for 0 priority */
    attribute_set | RTEMS_SYSTEM_TASK,                                
    &id                   /* get the id back */                       
  );                                                                  
  if (status) {                                                       
    initialized = false;                                              
   598a0:	4201           	clrb %d1                                    
      initialized = false;                                            
    }                                                                 
  #endif                                                              
                                                                      
  return status;                                                      
}                                                                     
   598a2:	262e fff8      	movel %fp@(-8),%d3                          
   598a6:	4e5e           	unlk %fp                                    
                          /*   system task specified for 0 priority */
    attribute_set | RTEMS_SYSTEM_TASK,                                
    &id                   /* get the id back */                       
  );                                                                  
  if (status) {                                                       
    initialized = false;                                              
   598a8:	13c1 0007 b0ca 	moveb %d1,7b0ca <initialized.3668>          
      initialized = false;                                            
    }                                                                 
  #endif                                                              
                                                                      
  return status;                                                      
}                                                                     
   598ae:	4e75           	rts                                         
   *  We work with the TCB pointer, not the ID, so we need to convert 
   *  to a TCB pointer from here out.                                 
   */                                                                 
  ts->thread = (Thread_Control *)_Objects_Get_local_object(           
    &_RTEMS_tasks_Information,                                        
    _Objects_Get_index(id)                                            
   598b0:	202e fffc      	movel %fp@(-4),%d0                          
   */                                                                 
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return NULL;                                                    
  #endif                                                              
  return information->local_table[ index ];                           
   598b4:	4282           	clrl %d2                                    
                                                                      
  /*                                                                  
   *  We work with the TCB pointer, not the ID, so we need to convert 
   *  to a TCB pointer from here out.                                 
   */                                                                 
  ts->thread = (Thread_Control *)_Objects_Get_local_object(           
   598b6:	2079 0007 fb82 	moveal 7fb82 <_RTEMS_tasks_Information+0x18>,%a0
   598bc:	3400           	movew %d0,%d2                               
   *  Initialize the pointer to the timer schedule method so applications that
   *  do not use the Timer Server do not have to pull it in.          
   */                                                                 
  ts->schedule_operation = _Timer_server_Schedule_operation_method;   
                                                                      
  ts->Interval_watchdogs.last_snapshot = _Watchdog_Ticks_since_boot;  
   598be:	2239 0007 fcf6 	movel 7fcf6 <_Watchdog_Ticks_since_boot>,%d1
                                                                      
  /*                                                                  
   *  We work with the TCB pointer, not the ID, so we need to convert 
   *  to a TCB pointer from here out.                                 
   */                                                                 
  ts->thread = (Thread_Control *)_Objects_Get_local_object(           
   598c4:	41f0 2c00      	lea %a0@(00000000,%d2:l:4),%a0              
   598c8:	23d0 0007 b04c 	movel %a0@,7b04c <_Timer_server_Default>    
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
   598ce:	41f9 0007 b080 	lea 7b080 <_Timer_server_Default+0x34>,%a0  
  _Timer_server = ts;                                                 
                                                                      
  /*                                                                  
   *  Start the timer server                                          
   */                                                                 
  status = rtems_task_start(                                          
   598d4:	4879 0007 b04c 	pea 7b04c <_Timer_server_Default>           
   598da:	487a fb6c      	pea %pc@(59448 <_Timer_server_Body>)        
   598de:	23c8 0007 b07c 	movel %a0,7b07c <_Timer_server_Default+0x30>
  head->previous = NULL;                                              
  tail->previous = head;                                              
   598e4:	41f9 0007 b07c 	lea 7b07c <_Timer_server_Default+0x30>,%a0  
   598ea:	23c8 0007 b084 	movel %a0,7b084 <_Timer_server_Default+0x38>
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
   598f0:	41f9 0007 b0b8 	lea 7b0b8 <_Timer_server_Default+0x6c>,%a0  
   *  Initialize the pointer to the timer schedule method so applications that
   *  do not use the Timer Server do not have to pull it in.          
   */                                                                 
  ts->schedule_operation = _Timer_server_Schedule_operation_method;   
                                                                      
  ts->Interval_watchdogs.last_snapshot = _Watchdog_Ticks_since_boot;  
   598f6:	23c1 0007 b088 	movel %d1,7b088 <_Timer_server_Default+0x3c>
  head->previous = NULL;                                              
  tail->previous = head;                                              
   598fc:	223c 0007 b0b4 	movel #503988,%d1                           
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
   59902:	23c8 0007 b0b4 	movel %a0,7b0b4 <_Timer_server_Default+0x68>
  ts->TOD_watchdogs.last_snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();
   59908:	41f9 0007 fc76 	lea 7fc76 <_TOD_Now>,%a0                    
  head->previous = NULL;                                              
  tail->previous = head;                                              
   5990e:	23c1 0007 b0bc 	movel %d1,7b0bc <_Timer_server_Default+0x70>
   59914:	23d0 0007 b0c0 	movel %a0@,7b0c0 <_Timer_server_Default+0x74>
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
   5991a:	223c 0005 c828 	movel #378920,%d1                           
   59920:	41f9 0005 c828 	lea 5c828 <_Thread_Delay_ended>,%a0         
   59926:	23c1 0007 b070 	movel %d1,7b070 <_Timer_server_Default+0x24>
                                                                      
  ts->insert_chain = NULL;                                            
  ts->active = false;                                                 
   5992c:	4201           	clrb %d1                                    
  ts->schedule_operation = _Timer_server_Schedule_operation_method;   
                                                                      
  ts->Interval_watchdogs.last_snapshot = _Watchdog_Ticks_since_boot;  
  ts->TOD_watchdogs.last_snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();
                                                                      
  ts->insert_chain = NULL;                                            
   5992e:	42b9 0007 b0c4 	clrl 7b0c4 <_Timer_server_Default+0x78>     
  ts->active = false;                                                 
   59934:	13c1 0007 b0c8 	moveb %d1,7b0c8 <_Timer_server_Default+0x7c>
   5993a:	23c8 0007 b0a8 	movel %a0,7b0a8 <_Timer_server_Default+0x5c>
                                                                      
  /*                                                                  
   * The default timer server is now available.                       
   */                                                                 
  _Timer_server = ts;                                                 
   59940:	41f9 0007 b04c 	lea 7b04c <_Timer_server_Default>,%a0       
                                                                      
  /*                                                                  
   *  Start the timer server                                          
   */                                                                 
  status = rtems_task_start(                                          
   59946:	2f00           	movel %d0,%sp@-                             
                                                                      
  /*                                                                  
   *  Initialize the pointer to the timer schedule method so applications that
   *  do not use the Timer Server do not have to pull it in.          
   */                                                                 
  ts->schedule_operation = _Timer_server_Schedule_operation_method;   
   59948:	223c 0005 9686 	movel #366214,%d1                           
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
   5994e:	42b9 0007 b080 	clrl 7b080 <_Timer_server_Default+0x34>     
   59954:	42b9 0007 b0b8 	clrl 7b0b8 <_Timer_server_Default+0x6c>     
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
   5995a:	42b9 0007 b05c 	clrl 7b05c <_Timer_server_Default+0x10>     
   59960:	23c1 0007 b050 	movel %d1,7b050 <_Timer_server_Default+0x4> 
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
   59966:	23c0 0007 b074 	movel %d0,7b074 <_Timer_server_Default+0x28>
  ts->active = false;                                                 
                                                                      
  /*                                                                  
   * The default timer server is now available.                       
   */                                                                 
  _Timer_server = ts;                                                 
   5996c:	23c8 0008 04a8 	movel %a0,804a8 <_Timer_server>             
  the_watchdog->user_data = user_data;                                
   59972:	42b9 0007 b078 	clrl 7b078 <_Timer_server_Default+0x2c>     
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
   59978:	42b9 0007 b094 	clrl 7b094 <_Timer_server_Default+0x48>     
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
   5997e:	23c0 0007 b0ac 	movel %d0,7b0ac <_Timer_server_Default+0x60>
  the_watchdog->user_data = user_data;                                
   59984:	42b9 0007 b0b0 	clrl 7b0b0 <_Timer_server_Default+0x64>     
                                                                      
  /*                                                                  
   *  Start the timer server                                          
   */                                                                 
  status = rtems_task_start(                                          
   5998a:	4eb9 0005 8b10 	jsr 58b10 <rtems_task_start>                
      initialized = false;                                            
    }                                                                 
  #endif                                                              
                                                                      
  return status;                                                      
}                                                                     
   59990:	242e fff4      	movel %fp@(-12),%d2                         
    if (status) {                                                     
      initialized = false;                                            
    }                                                                 
  #endif                                                              
                                                                      
  return status;                                                      
   59994:	4fef 000c      	lea %sp@(12),%sp                            
}                                                                     
   59998:	262e fff8      	movel %fp@(-8),%d3                          
   5999c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000590e4 <rtems_timer_reset>: */ rtems_status_code rtems_timer_reset( rtems_id id ) {
   590e4:	4e56 fff0      	linkw %fp,#-16                              
   590e8:	48d7 0c04      	moveml %d2/%a2-%a3,%sp@                     
   590ec:	486e fffc      	pea %fp@(-4)                                
   590f0:	2f2e 0008      	movel %fp@(8),%sp@-                         
   590f4:	4879 0008 046e 	pea 8046e <_Timer_Information>              
   590fa:	4eb9 0005 bcdc 	jsr 5bcdc <_Objects_Get>                    
  Timer_Control     *the_timer;                                       
  Objects_Locations  location;                                        
  rtems_status_code  status = RTEMS_SUCCESSFUL;                       
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
   59100:	4fef 000c      	lea %sp@(12),%sp                            
   59104:	2440           	moveal %d0,%a2                              
   59106:	4aae fffc      	tstl %fp@(-4)                               
   5910a:	670e           	beqs 5911a <rtems_timer_reset+0x36>         
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
   5910c:	7404           	moveq #4,%d2                                
}                                                                     
   5910e:	2002           	movel %d2,%d0                               
   59110:	4cee 0c04 fff0 	moveml %fp@(-16),%d2/%a2-%a3                
   59116:	4e5e           	unlk %fp                                    
   59118:	4e75           	rts                                         
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( the_timer->the_class == TIMER_INTERVAL ) {                 
   5911a:	202a 0038      	movel %a2@(56),%d0                          
   5911e:	671a           	beqs 5913a <rtems_timer_reset+0x56>         
        _Watchdog_Remove( &the_timer->Ticker );                       
        _Watchdog_Insert( &_Watchdog_Ticks_chain, &the_timer->Ticker );
      } else if ( the_timer->the_class == TIMER_INTERVAL_ON_TASK ) {  
   59120:	7201           	moveq #1,%d1                                
   59122:	b280           	cmpl %d0,%d1                                
   59124:	673c           	beqs 59162 <rtems_timer_reset+0x7e>         
        /*                                                            
         *  Must be dormant or time of day timer (e.g. TIMER_DORMANT, 
         *  TIMER_TIME_OF_DAY, or TIMER_TIME_OF_DAY_ON_TASK).  We     
         *  can only reset active interval timers.                    
         */                                                           
        status = RTEMS_NOT_DEFINED;                                   
   59126:	740b           	moveq #11,%d2                               
      }                                                               
      _Thread_Enable_dispatch();                                      
   59128:	4eb9 0005 c9ce 	jsr 5c9ce <_Thread_Enable_dispatch>         
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   5912e:	2002           	movel %d2,%d0                               
   59130:	4cee 0c04 fff0 	moveml %fp@(-16),%d2/%a2-%a3                
   59136:	4e5e           	unlk %fp                                    
   59138:	4e75           	rts                                         
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( the_timer->the_class == TIMER_INTERVAL ) {                 
        _Watchdog_Remove( &the_timer->Ticker );                       
   5913a:	45ea 0010      	lea %a2@(16),%a2                            
  rtems_id id                                                         
)                                                                     
{                                                                     
  Timer_Control     *the_timer;                                       
  Objects_Locations  location;                                        
  rtems_status_code  status = RTEMS_SUCCESSFUL;                       
   5913e:	4282           	clrl %d2                                    
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( the_timer->the_class == TIMER_INTERVAL ) {                 
        _Watchdog_Remove( &the_timer->Ticker );                       
   59140:	2f0a           	movel %a2,%sp@-                             
   59142:	4eb9 0005 dc3c 	jsr 5dc3c <_Watchdog_Remove>                
        _Watchdog_Insert( &_Watchdog_Ticks_chain, &the_timer->Ticker );
   59148:	2f0a           	movel %a2,%sp@-                             
   5914a:	4879 0007 fcac 	pea 7fcac <_Watchdog_Ticks_chain>           
   59150:	4eb9 0005 dae8 	jsr 5dae8 <_Watchdog_Insert>                
   59156:	4fef 000c      	lea %sp@(12),%sp                            
         *  TIMER_TIME_OF_DAY, or TIMER_TIME_OF_DAY_ON_TASK).  We     
         *  can only reset active interval timers.                    
         */                                                           
        status = RTEMS_NOT_DEFINED;                                   
      }                                                               
      _Thread_Enable_dispatch();                                      
   5915a:	4eb9 0005 c9ce 	jsr 5c9ce <_Thread_Enable_dispatch>         
   59160:	60cc           	bras 5912e <rtems_timer_reset+0x4a>         
          if ( !timer_server ) {                                      
            _Thread_Enable_dispatch();                                
            return RTEMS_INCORRECT_STATE;                             
          }                                                           
        #endif                                                        
        _Watchdog_Remove( &the_timer->Ticker );                       
   59162:	486a 0010      	pea %a2@(16)                                
  rtems_id id                                                         
)                                                                     
{                                                                     
  Timer_Control     *the_timer;                                       
  Objects_Locations  location;                                        
  rtems_status_code  status = RTEMS_SUCCESSFUL;                       
   59166:	4282           	clrl %d2                                    
    case OBJECTS_LOCAL:                                               
      if ( the_timer->the_class == TIMER_INTERVAL ) {                 
        _Watchdog_Remove( &the_timer->Ticker );                       
        _Watchdog_Insert( &_Watchdog_Ticks_chain, &the_timer->Ticker );
      } else if ( the_timer->the_class == TIMER_INTERVAL_ON_TASK ) {  
        Timer_server_Control *timer_server = _Timer_server;           
   59168:	2679 0008 04a8 	moveal 804a8 <_Timer_server>,%a3            
          if ( !timer_server ) {                                      
            _Thread_Enable_dispatch();                                
            return RTEMS_INCORRECT_STATE;                             
          }                                                           
        #endif                                                        
        _Watchdog_Remove( &the_timer->Ticker );                       
   5916e:	4eb9 0005 dc3c 	jsr 5dc3c <_Watchdog_Remove>                
        (*timer_server->schedule_operation)( timer_server, the_timer );
   59174:	2f0a           	movel %a2,%sp@-                             
   59176:	2f0b           	movel %a3,%sp@-                             
   59178:	206b 0004      	moveal %a3@(4),%a0                          
   5917c:	4e90           	jsr %a0@                                    
   5917e:	4fef 000c      	lea %sp@(12),%sp                            
         *  TIMER_TIME_OF_DAY, or TIMER_TIME_OF_DAY_ON_TASK).  We     
         *  can only reset active interval timers.                    
         */                                                           
        status = RTEMS_NOT_DEFINED;                                   
      }                                                               
      _Thread_Enable_dispatch();                                      
   59182:	4eb9 0005 c9ce 	jsr 5c9ce <_Thread_Enable_dispatch>         
   59188:	60a4           	bras 5912e <rtems_timer_reset+0x4a>         
	...                                                                  
                                                                      

0005918c <rtems_timer_server_fire_after>: rtems_id id, rtems_interval ticks, rtems_timer_service_routine_entry routine, void *user_data ) {
   5918c:	4e56 ffe8      	linkw %fp,#-24                              
   59190:	48d7 0c1c      	moveml %d2-%d4/%a2-%a3,%sp@                 
   59194:	282e 0008      	movel %fp@(8),%d4                           
   59198:	262e 000c      	movel %fp@(12),%d3                          
   5919c:	242e 0010      	movel %fp@(16),%d2                          
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  ISR_Level             level;                                        
  Timer_server_Control *timer_server = _Timer_server;                 
   591a0:	2479 0008 04a8 	moveal 804a8 <_Timer_server>,%a2            
                                                                      
  if ( !timer_server )                                                
   591a6:	4a8a           	tstl %a2                                    
   591a8:	6700 009c      	beqw 59246 <rtems_timer_server_fire_after+0xba>
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !routine )                                                     
   591ac:	4a82           	tstl %d2                                    
   591ae:	6700 00a2      	beqw 59252 <rtems_timer_server_fire_after+0xc6>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( ticks == 0 )                                                   
   591b2:	4a83           	tstl %d3                                    
   591b4:	660c           	bnes 591c2 <rtems_timer_server_fire_after+0x36>
    return RTEMS_INVALID_NUMBER;                                      
   591b6:	700a           	moveq #10,%d0                               
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   591b8:	4cee 0c1c ffe8 	moveml %fp@(-24),%d2-%d4/%a2-%a3            
   591be:	4e5e           	unlk %fp                                    
   591c0:	4e75           	rts                                         
   591c2:	486e fffc      	pea %fp@(-4)                                
   591c6:	2f04           	movel %d4,%sp@-                             
   591c8:	4879 0008 046e 	pea 8046e <_Timer_Information>              
   591ce:	4eb9 0005 bcdc 	jsr 5bcdc <_Objects_Get>                    
                                                                      
  if ( ticks == 0 )                                                   
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
   591d4:	4fef 000c      	lea %sp@(12),%sp                            
   591d8:	2640           	moveal %d0,%a3                              
   591da:	4aae fffc      	tstl %fp@(-4)                               
   591de:	665a           	bnes 5923a <rtems_timer_server_fire_after+0xae>
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
   591e0:	486b 0010      	pea %a3@(16)                                
   591e4:	4eb9 0005 dc3c 	jsr 5dc3c <_Watchdog_Remove>                
                                                                      
      _ISR_Disable( level );                                          
   591ea:	203c 0000 0700 	movel #1792,%d0                             
   591f0:	40c1           	movew %sr,%d1                               
   591f2:	8081           	orl %d1,%d0                                 
   591f4:	46c0           	movew %d0,%sr                               
        /*                                                            
         *  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 ) {         
   591f6:	588f           	addql #4,%sp                                
   591f8:	4aab 0018      	tstl %a3@(24)                               
   591fc:	6660           	bnes 5925e <rtems_timer_server_fire_after+0xd2><== NEVER TAKEN
        /*                                                            
         *  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;                
   591fe:	7001           	moveq #1,%d0                                
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
   59200:	276e 0014 0034 	movel %fp@(20),%a3@(52)                     
   59206:	2740 0038      	movel %d0,%a3@(56)                          
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
   5920a:	42ab 0018      	clrl %a3@(24)                               
  the_watchdog->routine   = routine;                                  
   5920e:	2742 002c      	movel %d2,%a3@(44)                          
  the_watchdog->id        = id;                                       
   59212:	2744 0030      	movel %d4,%a3@(48)                          
        _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
        the_timer->Ticker.initial = ticks;                            
   59216:	2743 001c      	movel %d3,%a3@(28)                          
      _ISR_Enable( level );                                           
   5921a:	46c1           	movew %d1,%sr                               
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
   5921c:	2f0b           	movel %a3,%sp@-                             
   5921e:	2f0a           	movel %a2,%sp@-                             
   59220:	206a 0004      	moveal %a2@(4),%a0                          
   59224:	4e90           	jsr %a0@                                    
                                                                      
      _Thread_Enable_dispatch();                                      
   59226:	4eb9 0005 c9ce 	jsr 5c9ce <_Thread_Enable_dispatch>         
      return RTEMS_SUCCESSFUL;                                        
   5922c:	508f           	addql #8,%sp                                
   5922e:	4280           	clrl %d0                                    
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   59230:	4cee 0c1c ffe8 	moveml %fp@(-24),%d2-%d4/%a2-%a3            
   59236:	4e5e           	unlk %fp                                    
   59238:	4e75           	rts                                         
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
   5923a:	7004           	moveq #4,%d0                                
}                                                                     
   5923c:	4cee 0c1c ffe8 	moveml %fp@(-24),%d2-%d4/%a2-%a3            
   59242:	4e5e           	unlk %fp                                    
   59244:	4e75           	rts                                         
  Objects_Locations     location;                                     
  ISR_Level             level;                                        
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
    return RTEMS_INCORRECT_STATE;                                     
   59246:	700e           	moveq #14,%d0                               
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   59248:	4cee 0c1c ffe8 	moveml %fp@(-24),%d2-%d4/%a2-%a3            
   5924e:	4e5e           	unlk %fp                                    
   59250:	4e75           	rts                                         
                                                                      
  if ( !timer_server )                                                
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !routine )                                                     
    return RTEMS_INVALID_ADDRESS;                                     
   59252:	7009           	moveq #9,%d0                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   59254:	4cee 0c1c ffe8 	moveml %fp@(-24),%d2-%d4/%a2-%a3            
   5925a:	4e5e           	unlk %fp                                    
   5925c:	4e75           	rts                                         
         *  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 ) {         
          _ISR_Enable( level );                                       
   5925e:	46c1           	movew %d1,%sr                               
          _Thread_Enable_dispatch();                                  
   59260:	4eb9 0005 c9ce 	jsr 5c9ce <_Thread_Enable_dispatch>         
          return RTEMS_SUCCESSFUL;                                    
   59266:	4280           	clrl %d0                                    
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   59268:	4cee 0c1c ffe8 	moveml %fp@(-24),%d2-%d4/%a2-%a3            
   5926e:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00059274 <rtems_timer_server_fire_when>: rtems_id id, rtems_time_of_day *wall_time, rtems_timer_service_routine_entry routine, void *user_data ) {
   59274:	4e56 ffec      	linkw %fp,#-20                              
   59278:	48d7 0c0c      	moveml %d2-%d3/%a2-%a3,%sp@                 
   5927c:	242e 000c      	movel %fp@(12),%d2                          
   59280:	262e 0010      	movel %fp@(16),%d3                          
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
   59284:	2479 0008 04a8 	moveal 804a8 <_Timer_server>,%a2            
                                                                      
  if ( !timer_server )                                                
   5928a:	4a8a           	tstl %a2                                    
   5928c:	6700 00c8      	beqw 59356 <rtems_timer_server_fire_when+0xe2>
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
   59290:	4a39 0007 fbfc 	tstb 7fbfc <_TOD_Is_set>                    
   59296:	6700 00a6      	beqw 5933e <rtems_timer_server_fire_when+0xca>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
   5929a:	4a83           	tstl %d3                                    
   5929c:	6700 00ac      	beqw 5934a <rtems_timer_server_fire_when+0xd6>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
   592a0:	2f02           	movel %d2,%sp@-                             
   592a2:	4eb9 0005 5fac 	jsr 55fac <_TOD_Validate>                   
   592a8:	588f           	addql #4,%sp                                
   592aa:	4a00           	tstb %d0                                    
   592ac:	660c           	bnes 592ba <rtems_timer_server_fire_when+0x46>
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
    return RTEMS_INVALID_CLOCK;                                       
   592ae:	7014           	moveq #20,%d0                               
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   592b0:	4cee 0c0c ffec 	moveml %fp@(-20),%d2-%d3/%a2-%a3            
   592b6:	4e5e           	unlk %fp                                    
   592b8:	4e75           	rts                                         
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
   592ba:	2f02           	movel %d2,%sp@-                             
   592bc:	4eb9 0005 5ea4 	jsr 55ea4 <_TOD_To_seconds>                 
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
   592c2:	588f           	addql #4,%sp                                
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
   592c4:	2400           	movel %d0,%d2                               
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
   592c6:	b0b9 0007 fc76 	cmpl 7fc76 <_TOD_Now>,%d0                   
   592cc:	63e0           	blss 592ae <rtems_timer_server_fire_when+0x3a>
   592ce:	486e fffc      	pea %fp@(-4)                                
   592d2:	2f2e 0008      	movel %fp@(8),%sp@-                         
   592d6:	4879 0008 046e 	pea 8046e <_Timer_Information>              
   592dc:	4eb9 0005 bcdc 	jsr 5bcdc <_Objects_Get>                    
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
   592e2:	4fef 000c      	lea %sp@(12),%sp                            
   592e6:	2640           	moveal %d0,%a3                              
   592e8:	4aae fffc      	tstl %fp@(-4)                               
   592ec:	6674           	bnes 59362 <rtems_timer_server_fire_when+0xee>
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
   592ee:	486b 0010      	pea %a3@(16)                                
   592f2:	4eb9 0005 dc3c 	jsr 5dc3c <_Watchdog_Remove>                
  the_watchdog->user_data = user_data;                                
   592f8:	276e 0014 0034 	movel %fp@(20),%a3@(52)                     
      the_timer->the_class = TIMER_TIME_OF_DAY_ON_TASK;               
   592fe:	7003           	moveq #3,%d0                                
      _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      the_timer->Ticker.initial = seconds - _TOD_Seconds_since_epoch();
   59300:	94b9 0007 fc76 	subl 7fc76 <_TOD_Now>,%d2                   
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
      the_timer->the_class = TIMER_TIME_OF_DAY_ON_TASK;               
   59306:	2740 0038      	movel %d0,%a3@(56)                          
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
   5930a:	202e 0008      	movel %fp@(8),%d0                           
      _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      the_timer->Ticker.initial = seconds - _TOD_Seconds_since_epoch();
   5930e:	2742 001c      	movel %d2,%a3@(28)                          
   59312:	2740 0030      	movel %d0,%a3@(48)                          
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
   59316:	42ab 0018      	clrl %a3@(24)                               
  the_watchdog->routine   = routine;                                  
   5931a:	2743 002c      	movel %d3,%a3@(44)                          
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
   5931e:	2f0b           	movel %a3,%sp@-                             
   59320:	2f0a           	movel %a2,%sp@-                             
   59322:	206a 0004      	moveal %a2@(4),%a0                          
   59326:	4e90           	jsr %a0@                                    
                                                                      
      _Thread_Enable_dispatch();                                      
   59328:	4eb9 0005 c9ce 	jsr 5c9ce <_Thread_Enable_dispatch>         
      return RTEMS_SUCCESSFUL;                                        
   5932e:	4fef 000c      	lea %sp@(12),%sp                            
   59332:	4280           	clrl %d0                                    
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   59334:	4cee 0c0c ffec 	moveml %fp@(-20),%d2-%d3/%a2-%a3            
   5933a:	4e5e           	unlk %fp                                    
   5933c:	4e75           	rts                                         
                                                                      
  if ( !timer_server )                                                
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
    return RTEMS_NOT_DEFINED;                                         
   5933e:	700b           	moveq #11,%d0                               <== NOT EXECUTED
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   59340:	4cee 0c0c ffec 	moveml %fp@(-20),%d2-%d3/%a2-%a3            <== NOT EXECUTED
   59346:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   59348:	4e75           	rts                                         <== NOT EXECUTED
                                                                      
  if ( !_TOD_Is_set )                                                 
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
    return RTEMS_INVALID_ADDRESS;                                     
   5934a:	7009           	moveq #9,%d0                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   5934c:	4cee 0c0c ffec 	moveml %fp@(-20),%d2-%d3/%a2-%a3            
   59352:	4e5e           	unlk %fp                                    
   59354:	4e75           	rts                                         
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
    return RTEMS_INCORRECT_STATE;                                     
   59356:	700e           	moveq #14,%d0                               
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
   59358:	4cee 0c0c ffec 	moveml %fp@(-20),%d2-%d3/%a2-%a3            
   5935e:	4e5e           	unlk %fp                                    
   59360:	4e75           	rts                                         
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
   59362:	7004           	moveq #4,%d0                                
}                                                                     
   59364:	4cee 0c0c ffec 	moveml %fp@(-20),%d2-%d3/%a2-%a3            
   5936a:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00042c3c <rtems_verror>: static int rtems_verror( rtems_error_code_t error_flag, const char *printf_format, va_list arglist ) {
   42c3c:	4e56 ffe8      	linkw %fp,#-24                              
   42c40:	48d7 1c1c      	moveml %d2-%d4/%a2-%a4,%sp@                 
   42c44:	242e 0008      	movel %fp@(8),%d2                           
  int               local_errno = 0;                                  
  int               chars_written = 0;                                
  rtems_status_code status;                                           
                                                                      
  if (error_flag & RTEMS_ERROR_PANIC) {                               
   42c48:	0802 001d      	btst #29,%d2                                
   42c4c:	6730           	beqs 42c7e <rtems_verror+0x42>              
    if (rtems_panic_in_progress++)                                    
   42c4e:	2239 0006 0b10 	movel 60b10 <rtems_panic_in_progress>,%d1   
   42c54:	2001           	movel %d1,%d0                               
   42c56:	5280           	addql #1,%d0                                
   42c58:	23c0 0006 0b10 	movel %d0,60b10 <rtems_panic_in_progress>   
   42c5e:	4a81           	tstl %d1                                    
   42c60:	6714           	beqs 42c76 <rtems_verror+0x3a>              <== ALWAYS TAKEN
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
   42c62:	2039 0006 0c68 	movel 60c68 <_Thread_Dispatch_disable_level>,%d0<== NOT EXECUTED
   42c68:	5280           	addql #1,%d0                                <== NOT EXECUTED
   42c6a:	23c0 0006 0c68 	movel %d0,60c68 <_Thread_Dispatch_disable_level><== NOT EXECUTED
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
   42c70:	2039 0006 0b10 	movel 60b10 <rtems_panic_in_progress>,%d0   <== NOT EXECUTED
      _Thread_Disable_dispatch();       /* disable task switches */   
                                                                      
    /* don't aggravate things */                                      
    if (rtems_panic_in_progress > 2)                                  
   42c76:	7202           	moveq #2,%d1                                
   42c78:	b280           	cmpl %d0,%d1                                
   42c7a:	6d00 00b6      	bltw 42d32 <rtems_verror+0xf6>              
      return 0;                                                       
  }                                                                   
                                                                      
  (void) fflush(stdout);            /* in case stdout/stderr same */  
   42c7e:	2079 0005 f5ac 	moveal 5f5ac <_impure_ptr>,%a0              
   42c84:	45f9 0004 ef3a 	lea 4ef3a <fflush>,%a2                      
                                                                      
  status = error_flag & ~RTEMS_ERROR_MASK;                            
   42c8a:	2802           	movel %d2,%d4                               
    /* don't aggravate things */                                      
    if (rtems_panic_in_progress > 2)                                  
      return 0;                                                       
  }                                                                   
                                                                      
  (void) fflush(stdout);            /* in case stdout/stderr same */  
   42c8c:	2f28 0008      	movel %a0@(8),%sp@-                         
                                                                      
  status = error_flag & ~RTEMS_ERROR_MASK;                            
   42c90:	0284 8fff ffff 	andil #-1879048193,%d4                      
    /* don't aggravate things */                                      
    if (rtems_panic_in_progress > 2)                                  
      return 0;                                                       
  }                                                                   
                                                                      
  (void) fflush(stdout);            /* in case stdout/stderr same */  
   42c96:	4e92           	jsr %a2@                                    
                                                                      
  status = error_flag & ~RTEMS_ERROR_MASK;                            
  if (error_flag & RTEMS_ERROR_ERRNO)     /* include errno? */        
   42c98:	588f           	addql #4,%sp                                
   42c9a:	0802 001e      	btst #30,%d2                                
   42c9e:	6600 00ca      	bnew 42d6a <rtems_verror+0x12e>             
  #if defined(RTEMS_MULTIPROCESSING)                                  
    if (_System_state_Is_multiprocessing)                             
      fprintf(stderr, "[%" PRIu32 "] ", _Configuration_MP_table->node);
  #endif                                                              
                                                                      
  chars_written += vfprintf(stderr, printf_format, arglist);          
   42ca2:	2f2e 0010      	movel %fp@(16),%sp@-                        
  rtems_error_code_t  error_flag,                                     
  const char         *printf_format,                                  
  va_list             arglist                                         
)                                                                     
{                                                                     
  int               local_errno = 0;                                  
   42ca6:	4283           	clrl %d3                                    
   42ca8:	47f9 0004 f362 	lea 4f362 <fprintf>,%a3                     
  #if defined(RTEMS_MULTIPROCESSING)                                  
    if (_System_state_Is_multiprocessing)                             
      fprintf(stderr, "[%" PRIu32 "] ", _Configuration_MP_table->node);
  #endif                                                              
                                                                      
  chars_written += vfprintf(stderr, printf_format, arglist);          
   42cae:	2f2e 000c      	movel %fp@(12),%sp@-                        
   42cb2:	2079 0005 f5ac 	moveal 5f5ac <_impure_ptr>,%a0              
   42cb8:	2f28 000c      	movel %a0@(12),%sp@-                        
   42cbc:	4eb9 0005 5fda 	jsr 55fda <vfprintf>                        
                                                                      
  if (status)                                                         
   42cc2:	4fef 000c      	lea %sp@(12),%sp                            
  #if defined(RTEMS_MULTIPROCESSING)                                  
    if (_System_state_Is_multiprocessing)                             
      fprintf(stderr, "[%" PRIu32 "] ", _Configuration_MP_table->node);
  #endif                                                              
                                                                      
  chars_written += vfprintf(stderr, printf_format, arglist);          
   42cc6:	2400           	movel %d0,%d2                               
                                                                      
  if (status)                                                         
   42cc8:	4a84           	tstl %d4                                    
   42cca:	6674           	bnes 42d40 <rtems_verror+0x104>             
    chars_written +=                                                  
      fprintf(stderr, " (status: %s)", rtems_status_text(status));    
                                                                      
  if (local_errno) {                                                  
   42ccc:	4a83           	tstl %d3                                    
   42cce:	6732           	beqs 42d02 <rtems_verror+0xc6>              
    if ((local_errno > 0) && *strerror(local_errno))                  
   42cd0:	4a83           	tstl %d3                                    
   42cd2:	6f14           	bles 42ce8 <rtems_verror+0xac>              
   42cd4:	2f03           	movel %d3,%sp@-                             
   42cd6:	49f9 0004 fbf8 	lea 4fbf8 <strerror>,%a4                    
   42cdc:	4e94           	jsr %a4@                                    
   42cde:	588f           	addql #4,%sp                                
   42ce0:	2040           	moveal %d0,%a0                              
   42ce2:	4a10           	tstb %a0@                                   
   42ce4:	6600 00ba      	bnew 42da0 <rtems_verror+0x164>             
      chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
    else                                                              
      chars_written += fprintf(stderr, " (unknown errno=%d)", local_errno);
   42ce8:	2f03           	movel %d3,%sp@-                             
   42cea:	4879 0005 dec0 	pea 5dec0 <IMFS_ops+0x6a>                   
   42cf0:	2079 0005 f5ac 	moveal 5f5ac <_impure_ptr>,%a0              
   42cf6:	2f28 000c      	movel %a0@(12),%sp@-                        
   42cfa:	4e93           	jsr %a3@                                    
   42cfc:	4fef 000c      	lea %sp@(12),%sp                            
   42d00:	d480           	addl %d0,%d2                                
  }                                                                   
                                                                      
  chars_written += fprintf(stderr, "\n");                             
   42d02:	4879 0005 dae7 	pea 5dae7 <rtems_filesystem_mount_table_size+0x2f9>
   42d08:	2079 0005 f5ac 	moveal 5f5ac <_impure_ptr>,%a0              
   42d0e:	2f28 000c      	movel %a0@(12),%sp@-                        
   42d12:	4e93           	jsr %a3@                                    
                                                                      
  (void) fflush(stderr);                                              
   42d14:	2079 0005 f5ac 	moveal 5f5ac <_impure_ptr>,%a0              
      chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
    else                                                              
      chars_written += fprintf(stderr, " (unknown errno=%d)", local_errno);
  }                                                                   
                                                                      
  chars_written += fprintf(stderr, "\n");                             
   42d1a:	d480           	addl %d0,%d2                                
                                                                      
  (void) fflush(stderr);                                              
   42d1c:	2f28 000c      	movel %a0@(12),%sp@-                        
   42d20:	4e92           	jsr %a2@                                    
                                                                      
  return chars_written;                                               
   42d22:	4fef 000c      	lea %sp@(12),%sp                            
}                                                                     
   42d26:	2002           	movel %d2,%d0                               
   42d28:	4cee 1c1c ffe8 	moveml %fp@(-24),%d2-%d4/%a2-%a4            
   42d2e:	4e5e           	unlk %fp                                    
   42d30:	4e75           	rts                                         
    if (rtems_panic_in_progress++)                                    
      _Thread_Disable_dispatch();       /* disable task switches */   
                                                                      
    /* don't aggravate things */                                      
    if (rtems_panic_in_progress > 2)                                  
      return 0;                                                       
   42d32:	4282           	clrl %d2                                    <== NOT EXECUTED
  chars_written += fprintf(stderr, "\n");                             
                                                                      
  (void) fflush(stderr);                                              
                                                                      
  return chars_written;                                               
}                                                                     
   42d34:	2002           	movel %d2,%d0                               <== NOT EXECUTED
   42d36:	4cee 1c1c ffe8 	moveml %fp@(-24),%d2-%d4/%a2-%a4            <== NOT EXECUTED
   42d3c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   42d3e:	4e75           	rts                                         <== NOT EXECUTED
                                                                      
  chars_written += vfprintf(stderr, printf_format, arglist);          
                                                                      
  if (status)                                                         
    chars_written +=                                                  
      fprintf(stderr, " (status: %s)", rtems_status_text(status));    
   42d40:	2f04           	movel %d4,%sp@-                             
   42d42:	4eb9 0004 2c24 	jsr 42c24 <rtems_status_text>               
   42d48:	2079 0005 f5ac 	moveal 5f5ac <_impure_ptr>,%a0              
   42d4e:	2f00           	movel %d0,%sp@-                             
   42d50:	4879 0005 dea5 	pea 5dea5 <IMFS_ops+0x4f>                   
   42d56:	2f28 000c      	movel %a0@(12),%sp@-                        
   42d5a:	4e93           	jsr %a3@                                    
  #endif                                                              
                                                                      
  chars_written += vfprintf(stderr, printf_format, arglist);          
                                                                      
  if (status)                                                         
    chars_written +=                                                  
   42d5c:	4fef 0010      	lea %sp@(16),%sp                            
   42d60:	d480           	addl %d0,%d2                                
      fprintf(stderr, " (status: %s)", rtems_status_text(status));    
                                                                      
  if (local_errno) {                                                  
   42d62:	4a83           	tstl %d3                                    
   42d64:	679c           	beqs 42d02 <rtems_verror+0xc6>              
   42d66:	6000 ff68      	braw 42cd0 <rtems_verror+0x94>              
                                                                      
  (void) fflush(stdout);            /* in case stdout/stderr same */  
                                                                      
  status = error_flag & ~RTEMS_ERROR_MASK;                            
  if (error_flag & RTEMS_ERROR_ERRNO)     /* include errno? */        
    local_errno = errno;                                              
   42d6a:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         
   42d70:	47f9 0004 f362 	lea 4f362 <fprintf>,%a3                     
   42d76:	2040           	moveal %d0,%a0                              
   42d78:	2610           	movel %a0@,%d3                              
  #if defined(RTEMS_MULTIPROCESSING)                                  
    if (_System_state_Is_multiprocessing)                             
      fprintf(stderr, "[%" PRIu32 "] ", _Configuration_MP_table->node);
  #endif                                                              
                                                                      
  chars_written += vfprintf(stderr, printf_format, arglist);          
   42d7a:	2f2e 0010      	movel %fp@(16),%sp@-                        
   42d7e:	2079 0005 f5ac 	moveal 5f5ac <_impure_ptr>,%a0              
   42d84:	2f2e 000c      	movel %fp@(12),%sp@-                        
   42d88:	2f28 000c      	movel %a0@(12),%sp@-                        
   42d8c:	4eb9 0005 5fda 	jsr 55fda <vfprintf>                        
                                                                      
  if (status)                                                         
   42d92:	4fef 000c      	lea %sp@(12),%sp                            
  #if defined(RTEMS_MULTIPROCESSING)                                  
    if (_System_state_Is_multiprocessing)                             
      fprintf(stderr, "[%" PRIu32 "] ", _Configuration_MP_table->node);
  #endif                                                              
                                                                      
  chars_written += vfprintf(stderr, printf_format, arglist);          
   42d96:	2400           	movel %d0,%d2                               
                                                                      
  if (status)                                                         
   42d98:	4a84           	tstl %d4                                    
   42d9a:	6700 ff30      	beqw 42ccc <rtems_verror+0x90>              
   42d9e:	60a0           	bras 42d40 <rtems_verror+0x104>             
    chars_written +=                                                  
      fprintf(stderr, " (status: %s)", rtems_status_text(status));    
                                                                      
  if (local_errno) {                                                  
    if ((local_errno > 0) && *strerror(local_errno))                  
      chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
   42da0:	2f03           	movel %d3,%sp@-                             
   42da2:	4e94           	jsr %a4@                                    
   42da4:	2079 0005 f5ac 	moveal 5f5ac <_impure_ptr>,%a0              
   42daa:	2f00           	movel %d0,%sp@-                             
   42dac:	4879 0005 deb3 	pea 5deb3 <IMFS_ops+0x5d>                   
   42db2:	2f28 000c      	movel %a0@(12),%sp@-                        
   42db6:	4e93           	jsr %a3@                                    
   42db8:	4fef 0010      	lea %sp@(16),%sp                            
   42dbc:	d480           	addl %d0,%d2                                
    else                                                              
      chars_written += fprintf(stderr, " (unknown errno=%d)", local_errno);
  }                                                                   
                                                                      
  chars_written += fprintf(stderr, "\n");                             
   42dbe:	4879 0005 dae7 	pea 5dae7 <rtems_filesystem_mount_table_size+0x2f9>
   42dc4:	2079 0005 f5ac 	moveal 5f5ac <_impure_ptr>,%a0              
   42dca:	2f28 000c      	movel %a0@(12),%sp@-                        
   42dce:	4e93           	jsr %a3@                                    
                                                                      
  (void) fflush(stderr);                                              
   42dd0:	2079 0005 f5ac 	moveal 5f5ac <_impure_ptr>,%a0              
      chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
    else                                                              
      chars_written += fprintf(stderr, " (unknown errno=%d)", local_errno);
  }                                                                   
                                                                      
  chars_written += fprintf(stderr, "\n");                             
   42dd6:	d480           	addl %d0,%d2                                
                                                                      
  (void) fflush(stderr);                                              
   42dd8:	2f28 000c      	movel %a0@(12),%sp@-                        
   42ddc:	4e92           	jsr %a2@                                    
                                                                      
  return chars_written;                                               
   42dde:	4fef 000c      	lea %sp@(12),%sp                            
   42de2:	6000 ff42      	braw 42d26 <rtems_verror+0xea>              
                                                                      

0004371c <scanInt>: /* * Extract an integer value from the database */ static int scanInt(FILE *fp, int *val) {
   4371c:	4e56 ffe4      	linkw %fp,#-28                              
   43720:	48d7 0c7c      	moveml %d2-%d6/%a2-%a3,%sp@                 
   43724:	246e 0008      	moveal %fp@(8),%a2                          
  int c;                                                              
  unsigned int i = 0;                                                 
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
   43728:	4284           	clrl %d4                                    
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
  int c;                                                              
  unsigned int i = 0;                                                 
  unsigned int limit = INT_MAX;                                       
   4372a:	263c 7fff ffff 	movel #2147483647,%d3                       
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
  int c;                                                              
  unsigned int i = 0;                                                 
   43730:	4282           	clrl %d2                                    
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
   43732:	47f9 0005 1118 	lea 51118 <__srget_r>,%a3                   
   43738:	202a 0004      	movel %a2@(4),%d0                           
   4373c:	5380           	subql #1,%d0                                
   4373e:	2540 0004      	movel %d0,%a2@(4)                           
   43742:	6d62           	blts 437a6 <scanInt+0x8a>                   <== NEVER TAKEN
   43744:	2052           	moveal %a2@,%a0                             
   43746:	4280           	clrl %d0                                    
   43748:	1010           	moveb %a0@,%d0                              
   4374a:	5288           	addql #1,%a0                                
    if (c == ':')                                                     
   4374c:	723a           	moveq #58,%d1                               
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
   4374e:	2488           	movel %a0,%a2@                              
    if (c == ':')                                                     
   43750:	b280           	cmpl %d0,%d1                                
   43752:	6764           	beqs 437b8 <scanInt+0x9c>                   
      break;                                                          
    if (sign == 0) {                                                  
   43754:	4a84           	tstl %d4                                    
   43756:	660a           	bnes 43762 <scanInt+0x46>                   
      if (c == '-') {                                                 
   43758:	7c2d           	moveq #45,%d6                               
   4375a:	bc80           	cmpl %d0,%d6                                
   4375c:	6700 0084      	beqw 437e2 <scanInt+0xc6>                   
        sign = -1;                                                    
        limit++;                                                      
        continue;                                                     
      }                                                               
      sign = 1;                                                       
   43760:	7801           	moveq #1,%d4                                
    }                                                                 
    if (!isdigit(c))                                                  
   43762:	2079 0006 1068 	moveal 61068 <__ctype_ptr__>,%a0            
   43768:	1230 0801      	moveb %a0@(00000001,%d0:l),%d1              
   4376c:	49c1           	extbl %d1                                   
   4376e:	44c1           	movew %d1,%ccr                              
   43770:	6664           	bnes 437d6 <scanInt+0xba>                   
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
   43772:	2203           	movel %d3,%d1                               
   43774:	7c0a           	moveq #10,%d6                               
   43776:	4c46 1005      	remul %d6,%d5,%d1                           
   4377a:	4c46 1001      	remul %d6,%d1,%d1                           
   4377e:	b282           	cmpl %d2,%d1                                
   43780:	6554           	bcss 437d6 <scanInt+0xba>                   
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
      return 0;                                                       
    d = c - '0';                                                      
   43782:	0680 ffff ffd0 	addil #-48,%d0                              
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
   43788:	b282           	cmpl %d2,%d1                                
   4378a:	6746           	beqs 437d2 <scanInt+0xb6>                   
      return 0;                                                       
    i = i * 10 + d;                                                   
   4378c:	2202           	movel %d2,%d1                               
   4378e:	e789           	lsll #3,%d1                                 
   43790:	2241           	moveal %d1,%a1                              
   43792:	41f1 2a00      	lea %a1@(00000000,%d2:l:2),%a0              
   43796:	2400           	movel %d0,%d2                               
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
   43798:	202a 0004      	movel %a2@(4),%d0                           
   4379c:	5380           	subql #1,%d0                                
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
      return 0;                                                       
    i = i * 10 + d;                                                   
   4379e:	d488           	addl %a0,%d2                                
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
   437a0:	2540 0004      	movel %d0,%a2@(4)                           
   437a4:	6c9e           	bges 43744 <scanInt+0x28>                   <== ALWAYS TAKEN
   437a6:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   437a8:	2f39 0006 106c 	movel 6106c <_impure_ptr>,%sp@-             <== NOT EXECUTED
   437ae:	4e93           	jsr %a3@                                    <== NOT EXECUTED
   437b0:	508f           	addql #8,%sp                                <== NOT EXECUTED
    if (c == ':')                                                     
   437b2:	723a           	moveq #58,%d1                               <== NOT EXECUTED
   437b4:	b280           	cmpl %d0,%d1                                <== NOT EXECUTED
   437b6:	669c           	bnes 43754 <scanInt+0x38>                   <== NOT EXECUTED
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
      return 0;                                                       
    i = i * 10 + d;                                                   
  }                                                                   
  if (sign == 0)                                                      
   437b8:	4a84           	tstl %d4                                    
   437ba:	671a           	beqs 437d6 <scanInt+0xba>                   <== NEVER TAKEN
    return 0;                                                         
  *val = i * sign;                                                    
   437bc:	4c02 4800      	mulsl %d2,%d4                               
  return 1;                                                           
   437c0:	7001           	moveq #1,%d0                                
      return 0;                                                       
    i = i * 10 + d;                                                   
  }                                                                   
  if (sign == 0)                                                      
    return 0;                                                         
  *val = i * sign;                                                    
   437c2:	206e 000c      	moveal %fp@(12),%a0                         
   437c6:	2084           	movel %d4,%a0@                              
  return 1;                                                           
}                                                                     
   437c8:	4cee 0c7c ffe4 	moveml %fp@(-28),%d2-%d6/%a2-%a3            
   437ce:	4e5e           	unlk %fp                                    
   437d0:	4e75           	rts                                         
    }                                                                 
    if (!isdigit(c))                                                  
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
   437d2:	ba80           	cmpl %d0,%d5                                
   437d4:	64b6           	bccs 4378c <scanInt+0x70>                   <== NEVER TAKEN
      return 0;                                                       
    i = i * 10 + d;                                                   
  }                                                                   
  if (sign == 0)                                                      
    return 0;                                                         
   437d6:	4280           	clrl %d0                                    
  *val = i * sign;                                                    
  return 1;                                                           
}                                                                     
   437d8:	4cee 0c7c ffe4 	moveml %fp@(-28),%d2-%d6/%a2-%a3            
   437de:	4e5e           	unlk %fp                                    
   437e0:	4e75           	rts                                         
    if (c == ':')                                                     
      break;                                                          
    if (sign == 0) {                                                  
      if (c == '-') {                                                 
        sign = -1;                                                    
        limit++;                                                      
   437e2:	5283           	addql #1,%d3                                
    c = getc(fp);                                                     
    if (c == ':')                                                     
      break;                                                          
    if (sign == 0) {                                                  
      if (c == '-') {                                                 
        sign = -1;                                                    
   437e4:	78ff           	moveq #-1,%d4                               
        limit++;                                                      
        continue;                                                     
   437e6:	6000 ff50      	braw 43738 <scanInt+0x1c>                   
                                                                      

000437ea <scanString>: /* * Extract a string value from the database */ static int scanString(FILE *fp, char **name, char **bufp, size_t *nleft, int nlFlag) {
   437ea:	4e56 ffec      	linkw %fp,#-20                              
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
   437ee:	206e 000c      	moveal %fp@(12),%a0                         
/*                                                                    
 * Extract a string value from the database                           
 */                                                                   
static int                                                            
scanString(FILE *fp, char **name, char **bufp, size_t *nleft, int nlFlag)
{                                                                     
   437f2:	48d7 3c04      	moveml %d2/%a2-%a5,%sp@                     
   437f6:	246e 0008      	moveal %fp@(8),%a2                          
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
   437fa:	4bf9 0005 1118 	lea 51118 <__srget_r>,%a5                   
/*                                                                    
 * Extract a string value from the database                           
 */                                                                   
static int                                                            
scanString(FILE *fp, char **name, char **bufp, size_t *nleft, int nlFlag)
{                                                                     
   43800:	266e 0010      	moveal %fp@(16),%a3                         
   43804:	286e 0014      	moveal %fp@(20),%a4                         
   43808:	242e 0018      	movel %fp@(24),%d2                          
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
   4380c:	2093           	movel %a3@,%a0@                             
  for (;;) {                                                          
    c = getc(fp);                                                     
   4380e:	202a 0004      	movel %a2@(4),%d0                           
   43812:	5380           	subql #1,%d0                                
   43814:	2540 0004      	movel %d0,%a2@(4)                           
   43818:	6d36           	blts 43850 <scanString+0x66>                
   4381a:	2052           	moveal %a2@,%a0                             
   4381c:	4280           	clrl %d0                                    
   4381e:	1010           	moveb %a0@,%d0                              
   43820:	5288           	addql #1,%a0                                
    if (c == ':') {                                                   
   43822:	723a           	moveq #58,%d1                               
{                                                                     
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
   43824:	2488           	movel %a0,%a2@                              
    if (c == ':') {                                                   
   43826:	b280           	cmpl %d0,%d1                                
   43828:	6738           	beqs 43862 <scanString+0x78>                
        if (nlFlag)                                                   
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == '\n') {                                                  
   4382a:	720a           	moveq #10,%d1                               
   4382c:	b280           	cmpl %d0,%d1                                
   4382e:	674a           	beqs 4387a <scanString+0x90>                
        if (!nlFlag)                                                  
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == EOF)                                                     
   43830:	72ff           	moveq #-1,%d1                               
   43832:	b280           	cmpl %d0,%d1                                
   43834:	6748           	beqs 4387e <scanString+0x94>                
      return 0;                                                       
    if (*nleft < 2)                                                   
   43836:	7201           	moveq #1,%d1                                
   43838:	b294           	cmpl %a4@,%d1                               
   4383a:	6442           	bccs 4387e <scanString+0x94>                <== NEVER TAKEN
      return 0;                                                       
    **bufp = c;                                                       
   4383c:	2053           	moveal %a3@,%a0                             
   4383e:	1080           	moveb %d0,%a0@                              
    ++(*bufp);                                                        
   43840:	5293           	addql #1,%a3@                               
    --(*nleft);                                                       
   43842:	5394           	subql #1,%a4@                               
{                                                                     
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
   43844:	202a 0004      	movel %a2@(4),%d0                           
   43848:	5380           	subql #1,%d0                                
   4384a:	2540 0004      	movel %d0,%a2@(4)                           
   4384e:	6cca           	bges 4381a <scanString+0x30>                <== ALWAYS TAKEN
   43850:	2f0a           	movel %a2,%sp@-                             
   43852:	2f39 0006 106c 	movel 6106c <_impure_ptr>,%sp@-             
   43858:	4e95           	jsr %a5@                                    
   4385a:	508f           	addql #8,%sp                                
    if (c == ':') {                                                   
   4385c:	723a           	moveq #58,%d1                               
   4385e:	b280           	cmpl %d0,%d1                                
   43860:	66c8           	bnes 4382a <scanString+0x40>                <== ALWAYS TAKEN
        if (nlFlag)                                                   
   43862:	4a82           	tstl %d2                                    
   43864:	6618           	bnes 4387e <scanString+0x94>                
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
   43866:	2053           	moveal %a3@,%a0                             
  ++(*bufp);                                                          
  --(*nleft);                                                         
  return 1;                                                           
   43868:	7001           	moveq #1,%d0                                
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
   4386a:	4210           	clrb %a0@                                   
  ++(*bufp);                                                          
   4386c:	5293           	addql #1,%a3@                               
  --(*nleft);                                                         
   4386e:	5394           	subql #1,%a4@                               
  return 1;                                                           
}                                                                     
   43870:	4cee 3c04 ffec 	moveml %fp@(-20),%d2/%a2-%a5                
   43876:	4e5e           	unlk %fp                                    
   43878:	4e75           	rts                                         
        if (nlFlag)                                                   
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == '\n') {                                                  
        if (!nlFlag)                                                  
   4387a:	4a82           	tstl %d2                                    
   4387c:	66e8           	bnes 43866 <scanString+0x7c>                
        break;                                                        
    }                                                                 
    if (c == EOF)                                                     
      return 0;                                                       
    if (*nleft < 2)                                                   
      return 0;                                                       
   4387e:	4280           	clrl %d0                                    
  }                                                                   
  **bufp = '\0';                                                      
  ++(*bufp);                                                          
  --(*nleft);                                                         
  return 1;                                                           
}                                                                     
   43880:	4cee 3c04 ffec 	moveml %fp@(-20),%d2/%a2-%a5                
   43886:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004388a <scangr>: FILE *fp, struct group *grp, char *buffer, size_t bufsize ) {
   4388a:	4e56 ffe4      	linkw %fp,#-28                              
   4388e:	48d7 0c1c      	moveml %d2-%d4/%a2-%a3,%sp@                 
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
   43892:	42a7           	clrl %sp@-                                  
   43894:	280e           	movel %fp,%d4                               
   43896:	0684 0000 0014 	addil #20,%d4                               
   4389c:	260e           	movel %fp,%d3                               
   4389e:	0683 0000 0010 	addil #16,%d3                               
   438a4:	47fa ff44      	lea %pc@(437ea <scanString>),%a3            
   438a8:	2f04           	movel %d4,%sp@-                             
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
   438aa:	246e 000c      	moveal %fp@(12),%a2                         
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
   438ae:	2f03           	movel %d3,%sp@-                             
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
   438b0:	242e 0008      	movel %fp@(8),%d2                           
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
   438b4:	2f0a           	movel %a2,%sp@-                             
   438b6:	2f02           	movel %d2,%sp@-                             
   438b8:	4e93           	jsr %a3@                                    
   438ba:	4fef 0014      	lea %sp@(20),%sp                            
   438be:	4a80           	tstl %d0                                    
   438c0:	660c           	bnes 438ce <scangr+0x44>                    
                                                                      
  /*                                                                  
   * Hack to produce (hopefully) a suitably-aligned array of pointers 
   */                                                                 
  if (bufsize < (((memcount+1)*sizeof(char *)) + 15))                 
    return 0;                                                         
   438c2:	4280           	clrl %d0                                    
      grp->gr_mem[memcount++] = cp + 1;                               
    }                                                                 
  }                                                                   
  grp->gr_mem[memcount] = NULL;                                       
  return 1;                                                           
}                                                                     
   438c4:	4cee 0c1c ffe4 	moveml %fp@(-28),%d2-%d4/%a2-%a3            
   438ca:	4e5e           	unlk %fp                                    
   438cc:	4e75           	rts                                         
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
   438ce:	42a7           	clrl %sp@-                                  
   438d0:	2f04           	movel %d4,%sp@-                             
   438d2:	2f03           	movel %d3,%sp@-                             
   438d4:	486a 0004      	pea %a2@(4)                                 
   438d8:	2f02           	movel %d2,%sp@-                             
   438da:	4e93           	jsr %a3@                                    
   438dc:	4fef 0014      	lea %sp@(20),%sp                            
   438e0:	4a80           	tstl %d0                                    
   438e2:	67de           	beqs 438c2 <scangr+0x38>                    <== NEVER TAKEN
   || !scanInt(fp, &grgid)                                            
   438e4:	486e fffc      	pea %fp@(-4)                                
   438e8:	2f02           	movel %d2,%sp@-                             
   438ea:	4eba fe30      	jsr %pc@(4371c <scanInt>)                   
   438ee:	508f           	addql #8,%sp                                
   438f0:	4a80           	tstl %d0                                    
   438f2:	67ce           	beqs 438c2 <scangr+0x38>                    <== NEVER TAKEN
   || !scanString(fp, &grmem, &buffer, &bufsize, 1))                  
   438f4:	4878 0001      	pea 1 <ADD>                                 
   438f8:	2f04           	movel %d4,%sp@-                             
   438fa:	2f03           	movel %d3,%sp@-                             
   438fc:	486e fff8      	pea %fp@(-8)                                
   43900:	2f02           	movel %d2,%sp@-                             
   43902:	4e93           	jsr %a3@                                    
   43904:	4fef 0014      	lea %sp@(20),%sp                            
   43908:	4a80           	tstl %d0                                    
   4390a:	67b6           	beqs 438c2 <scangr+0x38>                    <== NEVER TAKEN
  grp->gr_gid = grgid;                                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
   4390c:	266e fff8      	moveal %fp@(-8),%a3                         
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &grgid)                                            
   || !scanString(fp, &grmem, &buffer, &bufsize, 1))                  
    return 0;                                                         
  grp->gr_gid = grgid;                                                
   43910:	356e fffe 0008 	movew %fp@(-2),%a2@(8)                      
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
   43916:	1013           	moveb %a3@,%d0                              
   43918:	677a           	beqs 43994 <scangr+0x10a>                   <== NEVER TAKEN
}                                                                     
                                                                      
/*                                                                    
 * Extract a single group record from the database                    
 */                                                                   
static int scangr(                                                    
   4391a:	41eb 0001      	lea %a3@(1),%a0                             
  grp->gr_gid = grgid;                                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
   4391e:	7201           	moveq #1,%d1                                
    if(*cp == ',')                                                    
   43920:	49c0           	extbl %d0                                   
   43922:	742c           	moveq #44,%d2                               
   43924:	b480           	cmpl %d0,%d2                                
   43926:	6756           	beqs 4397e <scangr+0xf4>                    
  grp->gr_gid = grgid;                                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
   43928:	1018           	moveb %a0@+,%d0                             
   4392a:	66f4           	bnes 43920 <scangr+0x96>                    
   4392c:	e589           	lsll #2,%d1                                 
   4392e:	0681 0000 0013 	addil #19,%d1                               
  }                                                                   
                                                                      
  /*                                                                  
   * Hack to produce (hopefully) a suitably-aligned array of pointers 
   */                                                                 
  if (bufsize < (((memcount+1)*sizeof(char *)) + 15))                 
   43934:	b2ae 0014      	cmpl %fp@(20),%d1                           
   43938:	6288           	bhis 438c2 <scangr+0x38>                    <== NEVER TAKEN
    return 0;                                                         
  grp->gr_mem = (char **)(((uintptr_t)buffer + 15) & ~15);            
   4393a:	226e 0010      	moveal %fp@(16),%a1                         
   4393e:	43e9 000f      	lea %a1@(15),%a1                            
   43942:	2009           	movel %a1,%d0                               
   43944:	72f0           	moveq #-16,%d1                              
   43946:	c081           	andl %d1,%d0                                
   43948:	2540 000a      	movel %d0,%a2@(10)                          
   4394c:	2240           	moveal %d0,%a1                              
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
   4394e:	228b           	movel %a3,%a1@                              
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
   43950:	206e fff8      	moveal %fp@(-8),%a0                         
   43954:	1010           	moveb %a0@,%d0                              
   43956:	6740           	beqs 43998 <scangr+0x10e>                   <== NEVER TAKEN
}                                                                     
                                                                      
/*                                                                    
 * Extract a single group record from the database                    
 */                                                                   
static int scangr(                                                    
   43958:	5288           	addql #1,%a0                                
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
   4395a:	7201           	moveq #1,%d1                                
    if(*cp == ',') {                                                  
   4395c:	49c0           	extbl %d0                                   
   4395e:	742c           	moveq #44,%d2                               
   43960:	b480           	cmpl %d0,%d2                                
   43962:	671e           	beqs 43982 <scangr+0xf8>                    
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
   43964:	1018           	moveb %a0@+,%d0                             
   43966:	66f4           	bnes 4395c <scangr+0xd2>                    
   43968:	226a 000a      	moveal %a2@(10),%a1                         
      *cp = '\0';                                                     
      grp->gr_mem[memcount++] = cp + 1;                               
    }                                                                 
  }                                                                   
  grp->gr_mem[memcount] = NULL;                                       
  return 1;                                                           
   4396c:	7001           	moveq #1,%d0                                
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
   4396e:	e589           	lsll #2,%d1                                 
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
      grp->gr_mem[memcount++] = cp + 1;                               
    }                                                                 
  }                                                                   
  grp->gr_mem[memcount] = NULL;                                       
   43970:	42b1 1800      	clrl %a1@(00000000,%d1:l)                   
  return 1;                                                           
}                                                                     
   43974:	4cee 0c1c ffe4 	moveml %fp@(-28),%d2-%d4/%a2-%a3            
   4397a:	4e5e           	unlk %fp                                    
   4397c:	4e75           	rts                                         
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
    if(*cp == ',')                                                    
      memcount++;                                                     
   4397e:	5281           	addql #1,%d1                                
   43980:	60a6           	bras 43928 <scangr+0x9e>                    
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
   43982:	4200           	clrb %d0                                    
   43984:	1140 ffff      	moveb %d0,%a0@(-1)                          
      grp->gr_mem[memcount++] = cp + 1;                               
   43988:	226a 000a      	moveal %a2@(10),%a1                         
   4398c:	2388 1c00      	movel %a0,%a1@(00000000,%d1:l:4)            
   43990:	5281           	addql #1,%d1                                
   43992:	60d0           	bras 43964 <scangr+0xda>                    
  grp->gr_gid = grgid;                                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
   43994:	7217           	moveq #23,%d1                               <== NOT EXECUTED
   43996:	609c           	bras 43934 <scangr+0xaa>                    <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
   43998:	7204           	moveq #4,%d1                                <== NOT EXECUTED
      *cp = '\0';                                                     
      grp->gr_mem[memcount++] = cp + 1;                               
    }                                                                 
  }                                                                   
  grp->gr_mem[memcount] = NULL;                                       
  return 1;                                                           
   4399a:	7001           	moveq #1,%d0                                <== NOT EXECUTED
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
      grp->gr_mem[memcount++] = cp + 1;                               
    }                                                                 
  }                                                                   
  grp->gr_mem[memcount] = NULL;                                       
   4399c:	42b1 1800      	clrl %a1@(00000000,%d1:l)                   <== NOT EXECUTED
   439a0:	60d2           	bras 43974 <scangr+0xea>                    <== NOT EXECUTED
                                                                      

000439a2 <scanpw>: FILE *fp, struct passwd *pwd, char *buffer, size_t bufsize ) {
   439a2:	4e56 ffe0      	linkw %fp,#-32                              
   439a6:	48d7 1c1c      	moveml %d2-%d4/%a2-%a4,%sp@                 
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
   439aa:	42a7           	clrl %sp@-                                  
   439ac:	280e           	movel %fp,%d4                               
   439ae:	0684 0000 0014 	addil #20,%d4                               
   439b4:	260e           	movel %fp,%d3                               
   439b6:	0683 0000 0010 	addil #16,%d3                               
   439bc:	47fa fe2c      	lea %pc@(437ea <scanString>),%a3            
   439c0:	2f04           	movel %d4,%sp@-                             
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
   439c2:	246e 000c      	moveal %fp@(12),%a2                         
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
   439c6:	2f03           	movel %d3,%sp@-                             
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
   439c8:	242e 0008      	movel %fp@(8),%d2                           
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
   439cc:	2f0a           	movel %a2,%sp@-                             
   439ce:	2f02           	movel %d2,%sp@-                             
   439d0:	4e93           	jsr %a3@                                    
   439d2:	4fef 0014      	lea %sp@(20),%sp                            
   439d6:	4a80           	tstl %d0                                    
   439d8:	660c           	bnes 439e6 <scanpw+0x44>                    
   || !scanInt(fp, &pwgid)                                            
   || !scanString(fp, &pwd->pw_comment, &buffer, &bufsize, 0)         
   || !scanString(fp, &pwd->pw_gecos, &buffer, &bufsize, 0)           
   || !scanString(fp, &pwd->pw_dir, &buffer, &bufsize, 0)             
   || !scanString(fp, &pwd->pw_shell, &buffer, &bufsize, 1))          
    return 0;                                                         
   439da:	4280           	clrl %d0                                    
  pwd->pw_uid = pwuid;                                                
  pwd->pw_gid = pwgid;                                                
  return 1;                                                           
}                                                                     
   439dc:	4cee 1c1c ffe0 	moveml %fp@(-32),%d2-%d4/%a2-%a4            
   439e2:	4e5e           	unlk %fp                                    
   439e4:	4e75           	rts                                         
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
   439e6:	42a7           	clrl %sp@-                                  
   439e8:	2f04           	movel %d4,%sp@-                             
   439ea:	2f03           	movel %d3,%sp@-                             
   439ec:	486a 0004      	pea %a2@(4)                                 
   439f0:	2f02           	movel %d2,%sp@-                             
   439f2:	4e93           	jsr %a3@                                    
   439f4:	4fef 0014      	lea %sp@(20),%sp                            
   439f8:	4a80           	tstl %d0                                    
   439fa:	67de           	beqs 439da <scanpw+0x38>                    <== NEVER TAKEN
   || !scanInt(fp, &pwuid)                                            
   439fc:	486e fffc      	pea %fp@(-4)                                
   43a00:	49fa fd1a      	lea %pc@(4371c <scanInt>),%a4               
   43a04:	2f02           	movel %d2,%sp@-                             
   43a06:	4e94           	jsr %a4@                                    
   43a08:	508f           	addql #8,%sp                                
   43a0a:	4a80           	tstl %d0                                    
   43a0c:	67cc           	beqs 439da <scanpw+0x38>                    
   || !scanInt(fp, &pwgid)                                            
   43a0e:	486e fff8      	pea %fp@(-8)                                
   43a12:	2f02           	movel %d2,%sp@-                             
   43a14:	4e94           	jsr %a4@                                    
   43a16:	508f           	addql #8,%sp                                
   43a18:	4a80           	tstl %d0                                    
   43a1a:	67be           	beqs 439da <scanpw+0x38>                    
   || !scanString(fp, &pwd->pw_comment, &buffer, &bufsize, 0)         
   43a1c:	42a7           	clrl %sp@-                                  
   43a1e:	2f04           	movel %d4,%sp@-                             
   43a20:	2f03           	movel %d3,%sp@-                             
   43a22:	486a 000c      	pea %a2@(12)                                
   43a26:	2f02           	movel %d2,%sp@-                             
   43a28:	4e93           	jsr %a3@                                    
   43a2a:	4fef 0014      	lea %sp@(20),%sp                            
   43a2e:	4a80           	tstl %d0                                    
   43a30:	67a8           	beqs 439da <scanpw+0x38>                    <== NEVER TAKEN
   || !scanString(fp, &pwd->pw_gecos, &buffer, &bufsize, 0)           
   43a32:	42a7           	clrl %sp@-                                  
   43a34:	2f04           	movel %d4,%sp@-                             
   43a36:	2f03           	movel %d3,%sp@-                             
   43a38:	486a 0010      	pea %a2@(16)                                
   43a3c:	2f02           	movel %d2,%sp@-                             
   43a3e:	4e93           	jsr %a3@                                    
   43a40:	4fef 0014      	lea %sp@(20),%sp                            
   43a44:	4a80           	tstl %d0                                    
   43a46:	6792           	beqs 439da <scanpw+0x38>                    <== NEVER TAKEN
   || !scanString(fp, &pwd->pw_dir, &buffer, &bufsize, 0)             
   43a48:	42a7           	clrl %sp@-                                  
   43a4a:	2f04           	movel %d4,%sp@-                             
   43a4c:	2f03           	movel %d3,%sp@-                             
   43a4e:	486a 0014      	pea %a2@(20)                                
   43a52:	2f02           	movel %d2,%sp@-                             
   43a54:	4e93           	jsr %a3@                                    
   43a56:	4fef 0014      	lea %sp@(20),%sp                            
   43a5a:	4a80           	tstl %d0                                    
   43a5c:	6700 ff7c      	beqw 439da <scanpw+0x38>                    
   || !scanString(fp, &pwd->pw_shell, &buffer, &bufsize, 1))          
   43a60:	4878 0001      	pea 1 <ADD>                                 
   43a64:	2f04           	movel %d4,%sp@-                             
   43a66:	2f03           	movel %d3,%sp@-                             
   43a68:	486a 0018      	pea %a2@(24)                                
   43a6c:	2f02           	movel %d2,%sp@-                             
   43a6e:	4e93           	jsr %a3@                                    
   43a70:	4fef 0014      	lea %sp@(20),%sp                            
   43a74:	4a80           	tstl %d0                                    
   43a76:	6700 ff62      	beqw 439da <scanpw+0x38>                    
    return 0;                                                         
  pwd->pw_uid = pwuid;                                                
  pwd->pw_gid = pwgid;                                                
  return 1;                                                           
   43a7a:	7001           	moveq #1,%d0                                
   || !scanString(fp, &pwd->pw_comment, &buffer, &bufsize, 0)         
   || !scanString(fp, &pwd->pw_gecos, &buffer, &bufsize, 0)           
   || !scanString(fp, &pwd->pw_dir, &buffer, &bufsize, 0)             
   || !scanString(fp, &pwd->pw_shell, &buffer, &bufsize, 1))          
    return 0;                                                         
  pwd->pw_uid = pwuid;                                                
   43a7c:	356e fffe 0008 	movew %fp@(-2),%a2@(8)                      
  pwd->pw_gid = pwgid;                                                
   43a82:	356e fffa 000a 	movew %fp@(-6),%a2@(10)                     
  return 1;                                                           
}                                                                     
   43a88:	4cee 1c1c ffe0 	moveml %fp@(-32),%d2-%d4/%a2-%a4            
   43a8e:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000472a0 <sched_get_priority_max>: int sched_get_priority_max( int policy ) { switch ( policy ) {
   472a0:	7004           	moveq #4,%d0                                
#include <rtems/posix/priority.h>                                     
                                                                      
int sched_get_priority_max(                                           
  int  policy                                                         
)                                                                     
{                                                                     
   472a2:	4e56 0000      	linkw %fp,#0                                
   472a6:	222e 0008      	movel %fp@(8),%d1                           
  switch ( policy ) {                                                 
   472aa:	b081           	cmpl %d1,%d0                                
   472ac:	6412           	bccs 472c0 <sched_get_priority_max+0x20>    
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
   472ae:	4eb9 0004 fbd4 	jsr 4fbd4 <__errno>                         
   472b4:	7216           	moveq #22,%d1                               
   472b6:	2040           	moveal %d0,%a0                              
   472b8:	70ff           	moveq #-1,%d0                               
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MAXIMUM_PRIORITY;                            
}                                                                     
   472ba:	4e5e           	unlk %fp                                    
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
   472bc:	2081           	movel %d1,%a0@                              
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MAXIMUM_PRIORITY;                            
}                                                                     
   472be:	4e75           	rts                                         
                                                                      
int sched_get_priority_max(                                           
  int  policy                                                         
)                                                                     
{                                                                     
  switch ( policy ) {                                                 
   472c0:	103c 0001      	moveb #1,%d0                                
   472c4:	e3a8           	lsll %d1,%d0                                
   472c6:	7217           	moveq #23,%d1                               
   472c8:	c081           	andl %d1,%d0                                
   472ca:	67e2           	beqs 472ae <sched_get_priority_max+0xe>     <== NEVER TAKEN
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MAXIMUM_PRIORITY;                            
   472cc:	4280           	clrl %d0                                    
   472ce:	1039 0006 0806 	moveb 60806 <rtems_maximum_priority>,%d0    
}                                                                     
   472d4:	4e5e           	unlk %fp                                    
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MAXIMUM_PRIORITY;                            
   472d6:	5380           	subql #1,%d0                                
}                                                                     
	...                                                                  
                                                                      

000472dc <sched_get_priority_min>: int sched_get_priority_min( int policy ) { switch ( policy ) {
   472dc:	7004           	moveq #4,%d0                                
#include <rtems/posix/priority.h>                                     
                                                                      
int sched_get_priority_min(                                           
  int  policy                                                         
)                                                                     
{                                                                     
   472de:	4e56 0000      	linkw %fp,#0                                
   472e2:	222e 0008      	movel %fp@(8),%d1                           
  switch ( policy ) {                                                 
   472e6:	b081           	cmpl %d1,%d0                                
   472e8:	6412           	bccs 472fc <sched_get_priority_min+0x20>    
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
   472ea:	4eb9 0004 fbd4 	jsr 4fbd4 <__errno>                         
   472f0:	7216           	moveq #22,%d1                               
   472f2:	2040           	moveal %d0,%a0                              
   472f4:	70ff           	moveq #-1,%d0                               
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MINIMUM_PRIORITY;                            
}                                                                     
   472f6:	4e5e           	unlk %fp                                    
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
   472f8:	2081           	movel %d1,%a0@                              
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MINIMUM_PRIORITY;                            
}                                                                     
   472fa:	4e75           	rts                                         
                                                                      
int sched_get_priority_min(                                           
  int  policy                                                         
)                                                                     
{                                                                     
  switch ( policy ) {                                                 
   472fc:	103c 0001      	moveb #1,%d0                                
   47300:	e3a8           	lsll %d1,%d0                                
   47302:	7217           	moveq #23,%d1                               
   47304:	c081           	andl %d1,%d0                                
   47306:	67e2           	beqs 472ea <sched_get_priority_min+0xe>     <== NEVER TAKEN
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MINIMUM_PRIORITY;                            
   47308:	7001           	moveq #1,%d0                                
}                                                                     
   4730a:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00047310 <sched_rr_get_interval>: int sched_rr_get_interval( pid_t pid, struct timespec *interval ) {
   47310:	4e56 0000      	linkw %fp,#0                                
   47314:	2f03           	movel %d3,%sp@-                             
   47316:	262e 0008      	movel %fp@(8),%d3                           
   4731a:	2f02           	movel %d2,%sp@-                             
   4731c:	242e 000c      	movel %fp@(12),%d2                          
  /*                                                                  
   *  Only supported for the "calling process" (i.e. this node).      
   */                                                                 
                                                                      
  if ( pid && pid != getpid() )                                       
   47320:	4a83           	tstl %d3                                    
   47322:	6622           	bnes 47346 <sched_rr_get_interval+0x36>     <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( ESRCH );                    
                                                                      
  if ( !interval )                                                    
   47324:	4a82           	tstl %d2                                    
   47326:	6742           	beqs 4736a <sched_rr_get_interval+0x5a>     
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  _Timespec_From_ticks( _Thread_Ticks_per_timeslice, interval );      
   47328:	2f02           	movel %d2,%sp@-                             
   4732a:	2f39 0006 2080 	movel 62080 <_Thread_Ticks_per_timeslice>,%sp@-
   47330:	4eb9 0004 acec 	jsr 4acec <_Timespec_From_ticks>            
  return 0;                                                           
}                                                                     
   47336:	242e fff8      	movel %fp@(-8),%d2                          
                                                                      
  if ( !interval )                                                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  _Timespec_From_ticks( _Thread_Ticks_per_timeslice, interval );      
  return 0;                                                           
   4733a:	508f           	addql #8,%sp                                
   4733c:	4280           	clrl %d0                                    
}                                                                     
   4733e:	262e fffc      	movel %fp@(-4),%d3                          
   47342:	4e5e           	unlk %fp                                    
   47344:	4e75           	rts                                         
{                                                                     
  /*                                                                  
   *  Only supported for the "calling process" (i.e. this node).      
   */                                                                 
                                                                      
  if ( pid && pid != getpid() )                                       
   47346:	4eb9 0004 3994 	jsr 43994 <getpid>                          
   4734c:	b680           	cmpl %d0,%d3                                
   4734e:	67d4           	beqs 47324 <sched_rr_get_interval+0x14>     
    rtems_set_errno_and_return_minus_one( ESRCH );                    
   47350:	4eb9 0004 fbd4 	jsr 4fbd4 <__errno>                         
   47356:	7403           	moveq #3,%d2                                
   47358:	2040           	moveal %d0,%a0                              
   4735a:	70ff           	moveq #-1,%d0                               
   4735c:	2082           	movel %d2,%a0@                              
  if ( !interval )                                                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  _Timespec_From_ticks( _Thread_Ticks_per_timeslice, interval );      
  return 0;                                                           
}                                                                     
   4735e:	242e fff8      	movel %fp@(-8),%d2                          
   47362:	262e fffc      	movel %fp@(-4),%d3                          
   47366:	4e5e           	unlk %fp                                    
   47368:	4e75           	rts                                         
                                                                      
  if ( pid && pid != getpid() )                                       
    rtems_set_errno_and_return_minus_one( ESRCH );                    
                                                                      
  if ( !interval )                                                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   4736a:	4eb9 0004 fbd4 	jsr 4fbd4 <__errno>                         
                                                                      
  _Timespec_From_ticks( _Thread_Ticks_per_timeslice, interval );      
  return 0;                                                           
}                                                                     
   47370:	242e fff8      	movel %fp@(-8),%d2                          
                                                                      
  if ( pid && pid != getpid() )                                       
    rtems_set_errno_and_return_minus_one( ESRCH );                    
                                                                      
  if ( !interval )                                                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   47374:	2040           	moveal %d0,%a0                              
   47376:	7216           	moveq #22,%d1                               
   47378:	70ff           	moveq #-1,%d0                               
                                                                      
  _Timespec_From_ticks( _Thread_Ticks_per_timeslice, interval );      
  return 0;                                                           
}                                                                     
   4737a:	262e fffc      	movel %fp@(-4),%d3                          
   4737e:	4e5e           	unlk %fp                                    
                                                                      
  if ( pid && pid != getpid() )                                       
    rtems_set_errno_and_return_minus_one( ESRCH );                    
                                                                      
  if ( !interval )                                                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   47380:	2081           	movel %d1,%a0@                              <== NOT EXECUTED
                                                                      
  _Timespec_From_ticks( _Thread_Ticks_per_timeslice, interval );      
  return 0;                                                           
}                                                                     
                                                                      

000495c8 <sem_open>: int oflag, ... /* mode_t mode, */ /* unsigned int value */ ) {
   495c8:	4e56 ffe0      	linkw %fp,#-32                              
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
   495cc:	2039 0006 5f64 	movel 65f64 <_Thread_Dispatch_disable_level>,%d0
   495d2:	5280           	addql #1,%d0                                
   495d4:	48d7 043c      	moveml %d2-%d5/%a2,%sp@                     
   495d8:	2a2e 0008      	movel %fp@(8),%d5                           
   495dc:	262e 000c      	movel %fp@(12),%d3                          
   495e0:	23c0 0006 5f64 	movel %d0,65f64 <_Thread_Dispatch_disable_level>
  POSIX_Semaphore_Control   *the_semaphore;                           
  Objects_Locations          location;                                
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( oflag & O_CREAT ) {                                            
   495e6:	2803           	movel %d3,%d4                               
   495e8:	0284 0000 0200 	andil #512,%d4                              
   495ee:	6600 0086      	bnew 49676 <sem_open+0xae>                  
  /* unsigned int value */                                            
)                                                                     
{                                                                     
  va_list                    arg;                                     
  mode_t                     mode;                                    
  unsigned int               value = 0;                               
   495f2:	95ca           	subal %a2,%a2                               
    mode = (mode_t) va_arg( arg, unsigned int );                      
    value = va_arg( arg, unsigned int );                              
    va_end(arg);                                                      
  }                                                                   
                                                                      
  status = _POSIX_Semaphore_Name_to_id( name, &the_semaphore_id );    
   495f4:	486e fffc      	pea %fp@(-4)                                
   495f8:	2f05           	movel %d5,%sp@-                             
   495fa:	4eb9 0005 0084 	jsr 50084 <_POSIX_Semaphore_Name_to_id>     
   *  and we can just return a pointer to the id.  Otherwise we may   
   *  need to check to see if this is a "semaphore does not exist"    
   *  or some other miscellaneous error on the name.                  
   */                                                                 
                                                                      
  if ( status ) {                                                     
   49600:	508f           	addql #8,%sp                                
    mode = (mode_t) va_arg( arg, unsigned int );                      
    value = va_arg( arg, unsigned int );                              
    va_end(arg);                                                      
  }                                                                   
                                                                      
  status = _POSIX_Semaphore_Name_to_id( name, &the_semaphore_id );    
   49602:	2400           	movel %d0,%d2                               
   *  and we can just return a pointer to the id.  Otherwise we may   
   *  need to check to see if this is a "semaphore does not exist"    
   *  or some other miscellaneous error on the name.                  
   */                                                                 
                                                                      
  if ( status ) {                                                     
   49604:	6726           	beqs 4962c <sem_open+0x64>                  
    /*                                                                
     * Unless provided a valid name that did not already exist        
     * and we are willing to create then it is an error.              
     */                                                               
                                                                      
    if ( !( status == ENOENT && (oflag & O_CREAT) ) ) {               
   49606:	7002           	moveq #2,%d0                                
   49608:	b082           	cmpl %d2,%d0                                
   4960a:	6604           	bnes 49610 <sem_open+0x48>                  <== NEVER TAKEN
   4960c:	4a84           	tstl %d4                                    
   4960e:	666e           	bnes 4967e <sem_open+0xb6>                  
      _Thread_Enable_dispatch();                                      
   49610:	4eb9 0004 c54a 	jsr 4c54a <_Thread_Enable_dispatch>         
      rtems_set_errno_and_return_minus_one_cast( status, sem_t * );   
   49616:	4eb9 0005 2dd0 	jsr 52dd0 <__errno>                         
   4961c:	2040           	moveal %d0,%a0                              
   4961e:	70ff           	moveq #-1,%d0                               
   49620:	2082           	movel %d2,%a0@                              
    id = &the_semaphore->Semaphore_id;                                
  #else                                                               
    id = (sem_t *)&the_semaphore->Object.id;                          
  #endif                                                              
  return id;                                                          
}                                                                     
   49622:	4cee 043c ffe0 	moveml %fp@(-32),%d2-%d5/%a2                
   49628:	4e5e           	unlk %fp                                    
   4962a:	4e75           	rts                                         
                                                                      
    /*                                                                
     * Check for existence with creation.                             
     */                                                               
                                                                      
    if ( (oflag & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL) ) {       
   4962c:	0283 0000 0a00 	andil #2560,%d3                             
   49632:	0c83 0000 0a00 	cmpil #2560,%d3                             
   49638:	6772           	beqs 496ac <sem_open+0xe4>                  
   4963a:	486e fff4      	pea %fp@(-12)                               
      rtems_set_errno_and_return_minus_one_cast( EEXIST, sem_t * );   
    }                                                                 
                                                                      
    the_semaphore = _POSIX_Semaphore_Get( &the_semaphore_id, &location );
    the_semaphore->open_count += 1;                                   
    _Thread_Enable_dispatch();                                        
   4963e:	45f9 0004 c54a 	lea 4c54a <_Thread_Enable_dispatch>,%a2     
   49644:	2f2e fffc      	movel %fp@(-4),%sp@-                        
   49648:	4879 0006 617a 	pea 6617a <_POSIX_Semaphore_Information>    
   4964e:	4eb9 0004 b850 	jsr 4b850 <_Objects_Get>                    
      _Thread_Enable_dispatch();                                      
      rtems_set_errno_and_return_minus_one_cast( EEXIST, sem_t * );   
    }                                                                 
                                                                      
    the_semaphore = _POSIX_Semaphore_Get( &the_semaphore_id, &location );
    the_semaphore->open_count += 1;                                   
   49654:	2040           	moveal %d0,%a0                              
   49656:	52a8 0016      	addql #1,%a0@(22)                           
    if ( (oflag & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL) ) {       
      _Thread_Enable_dispatch();                                      
      rtems_set_errno_and_return_minus_one_cast( EEXIST, sem_t * );   
    }                                                                 
                                                                      
    the_semaphore = _POSIX_Semaphore_Get( &the_semaphore_id, &location );
   4965a:	2d40 fff8      	movel %d0,%fp@(-8)                          
    the_semaphore->open_count += 1;                                   
    _Thread_Enable_dispatch();                                        
   4965e:	4e92           	jsr %a2@                                    
    _Thread_Enable_dispatch();                                        
   49660:	4e92           	jsr %a2@                                    
    goto return_id;                                                   
   49662:	4fef 000c      	lea %sp@(12),%sp                            
return_id:                                                            
  #if defined(RTEMS_USE_16_BIT_OBJECT)                                
    the_semaphore->Semaphore_id = the_semaphore->Object.id;           
    id = &the_semaphore->Semaphore_id;                                
  #else                                                               
    id = (sem_t *)&the_semaphore->Object.id;                          
   49666:	202e fff8      	movel %fp@(-8),%d0                          
   4966a:	5080           	addql #8,%d0                                
  #endif                                                              
  return id;                                                          
}                                                                     
   4966c:	4cee 043c ffe0 	moveml %fp@(-32),%d2-%d5/%a2                
   49672:	4e5e           	unlk %fp                                    
   49674:	4e75           	rts                                         
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( oflag & O_CREAT ) {                                            
    va_start(arg, oflag);                                             
    mode = (mode_t) va_arg( arg, unsigned int );                      
    value = va_arg( arg, unsigned int );                              
   49676:	246e 0014      	moveal %fp@(20),%a2                         
   4967a:	6000 ff78      	braw 495f4 <sem_open+0x2c>                  
  /*                                                                  
   *  At this point, the semaphore does not exist and everything has been
   *  checked. We should go ahead and create a semaphore.             
   */                                                                 
                                                                      
  status =_POSIX_Semaphore_Create_support(                            
   4967e:	486e fff8      	pea %fp@(-8)                                
   49682:	2f0a           	movel %a2,%sp@-                             
   49684:	42a7           	clrl %sp@-                                  
   49686:	2f05           	movel %d5,%sp@-                             
   49688:	4eb9 0004 fecc 	jsr 4fecc <_POSIX_Semaphore_Create_support> 
   4968e:	2400           	movel %d0,%d2                               
                                                                      
  /*                                                                  
   * errno was set by Create_support, so don't set it again.          
   */                                                                 
                                                                      
  _Thread_Enable_dispatch();                                          
   49690:	4eb9 0004 c54a 	jsr 4c54a <_Thread_Enable_dispatch>         
                                                                      
  if ( status == -1 )                                                 
   49696:	4fef 0010      	lea %sp@(16),%sp                            
   4969a:	70ff           	moveq #-1,%d0                               
   4969c:	b082           	cmpl %d2,%d0                                
   4969e:	66c6           	bnes 49666 <sem_open+0x9e>                  
    return SEM_FAILED;                                                
   496a0:	70ff           	moveq #-1,%d0                               
    id = &the_semaphore->Semaphore_id;                                
  #else                                                               
    id = (sem_t *)&the_semaphore->Object.id;                          
  #endif                                                              
  return id;                                                          
}                                                                     
   496a2:	4cee 043c ffe0 	moveml %fp@(-32),%d2-%d5/%a2                
   496a8:	4e5e           	unlk %fp                                    
   496aa:	4e75           	rts                                         
    /*                                                                
     * Check for existence with creation.                             
     */                                                               
                                                                      
    if ( (oflag & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL) ) {       
      _Thread_Enable_dispatch();                                      
   496ac:	4eb9 0004 c54a 	jsr 4c54a <_Thread_Enable_dispatch>         
      rtems_set_errno_and_return_minus_one_cast( EEXIST, sem_t * );   
   496b2:	4eb9 0005 2dd0 	jsr 52dd0 <__errno>                         
   496b8:	7211           	moveq #17,%d1                               
   496ba:	2040           	moveal %d0,%a0                              
   496bc:	70ff           	moveq #-1,%d0                               
    id = &the_semaphore->Semaphore_id;                                
  #else                                                               
    id = (sem_t *)&the_semaphore->Object.id;                          
  #endif                                                              
  return id;                                                          
}                                                                     
   496be:	4cee 043c ffe0 	moveml %fp@(-32),%d2-%d5/%a2                
     * Check for existence with creation.                             
     */                                                               
                                                                      
    if ( (oflag & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL) ) {       
      _Thread_Enable_dispatch();                                      
      rtems_set_errno_and_return_minus_one_cast( EEXIST, sem_t * );   
   496c4:	2081           	movel %d1,%a0@                              
    id = &the_semaphore->Semaphore_id;                                
  #else                                                               
    id = (sem_t *)&the_semaphore->Object.id;                          
  #endif                                                              
  return id;                                                          
}                                                                     
   496c6:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00049724 <sem_timedwait>: int sem_timedwait( sem_t *sem, const struct timespec *abstime ) {
   49724:	4e56 fffc      	linkw %fp,#-4                               
   49728:	2f02           	movel %d2,%sp@-                             
   *                                                                  
   *  If the status is POSIX_ABSOLUTE_TIMEOUT_INVALID,                
   *  POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST, or POSIX_ABSOLUTE_TIMEOUT_IS_NOW,
   *  then we should not wait.                                        
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
   4972a:	486e fffc      	pea %fp@(-4)                                
   4972e:	2f2e 000c      	movel %fp@(12),%sp@-                        
                                                                      
int sem_timedwait(                                                    
  sem_t                 *sem,                                         
  const struct timespec *abstime                                      
)                                                                     
{                                                                     
   49732:	242e 0008      	movel %fp@(8),%d2                           
   *                                                                  
   *  If the status is POSIX_ABSOLUTE_TIMEOUT_INVALID,                
   *  POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST, or POSIX_ABSOLUTE_TIMEOUT_IS_NOW,
   *  then we should not wait.                                        
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
   49736:	4eb9 0004 f2e4 	jsr 4f2e4 <_POSIX_Absolute_timeout_to_ticks>
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
   4973c:	508f           	addql #8,%sp                                
   4973e:	7203           	moveq #3,%d1                                
   49740:	b280           	cmpl %d0,%d1                                
   49742:	671a           	beqs 4975e <sem_timedwait+0x3a>             <== ALWAYS TAKEN
    do_wait = false;                                                  
                                                                      
  lock_status = _POSIX_Semaphore_Wait_support( sem, do_wait, ticks ); 
   49744:	2f2e fffc      	movel %fp@(-4),%sp@-                        <== NOT EXECUTED
   49748:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   4974a:	2f02           	movel %d2,%sp@-                             <== NOT EXECUTED
   4974c:	4eb9 0005 00f8 	jsr 500f8 <_POSIX_Semaphore_Wait_support>   <== NOT EXECUTED
         lock_status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )               
      rtems_set_errno_and_return_minus_one( ETIMEDOUT );              
  }                                                                   
                                                                      
  return lock_status;                                                 
}                                                                     
   49752:	242e fff8      	movel %fp@(-8),%d2                          <== NOT EXECUTED
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  lock_status = _POSIX_Semaphore_Wait_support( sem, do_wait, ticks ); 
   49756:	4fef 000c      	lea %sp@(12),%sp                            <== NOT EXECUTED
         lock_status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )               
      rtems_set_errno_and_return_minus_one( ETIMEDOUT );              
  }                                                                   
                                                                      
  return lock_status;                                                 
}                                                                     
   4975a:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   4975c:	4e75           	rts                                         <== NOT EXECUTED
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  lock_status = _POSIX_Semaphore_Wait_support( sem, do_wait, ticks ); 
   4975e:	2f2e fffc      	movel %fp@(-4),%sp@-                        
   49762:	4878 0001      	pea 1 <ADD>                                 
   49766:	2f02           	movel %d2,%sp@-                             
   49768:	4eb9 0005 00f8 	jsr 500f8 <_POSIX_Semaphore_Wait_support>   
         lock_status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )               
      rtems_set_errno_and_return_minus_one( ETIMEDOUT );              
  }                                                                   
                                                                      
  return lock_status;                                                 
}                                                                     
   4976e:	242e fff8      	movel %fp@(-8),%d2                          
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  lock_status = _POSIX_Semaphore_Wait_support( sem, do_wait, ticks ); 
   49772:	4fef 000c      	lea %sp@(12),%sp                            
         lock_status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )               
      rtems_set_errno_and_return_minus_one( ETIMEDOUT );              
  }                                                                   
                                                                      
  return lock_status;                                                 
}                                                                     
   49776:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00049794 <sem_unlink>: */ int sem_unlink( const char *name ) {
   49794:	4e56 fffc      	linkw %fp,#-4                               
   49798:	2039 0006 5f64 	movel 65f64 <_Thread_Dispatch_disable_level>,%d0
   4979e:	5280           	addql #1,%d0                                
   497a0:	2f0a           	movel %a2,%sp@-                             
   497a2:	2f02           	movel %d2,%sp@-                             
   497a4:	23c0 0006 5f64 	movel %d0,65f64 <_Thread_Dispatch_disable_level>
  register POSIX_Semaphore_Control *the_semaphore;                    
  sem_t                        the_semaphore_id;                      
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  status = _POSIX_Semaphore_Name_to_id( name, &the_semaphore_id );    
   497aa:	486e fffc      	pea %fp@(-4)                                
   497ae:	2f2e 0008      	movel %fp@(8),%sp@-                         
   497b2:	4eb9 0005 0084 	jsr 50084 <_POSIX_Semaphore_Name_to_id>     
  if ( status != 0 ) {                                                
   497b8:	508f           	addql #8,%sp                                
  register POSIX_Semaphore_Control *the_semaphore;                    
  sem_t                        the_semaphore_id;                      
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  status = _POSIX_Semaphore_Name_to_id( name, &the_semaphore_id );    
   497ba:	2400           	movel %d0,%d2                               
  if ( status != 0 ) {                                                
   497bc:	6644           	bnes 49802 <sem_unlink+0x6e>                <== NEVER TAKEN
   */                                                                 
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return NULL;                                                    
  #endif                                                              
  return information->local_table[ index ];                           
   497be:	4280           	clrl %d0                                    
    _Thread_Enable_dispatch();                                        
    rtems_set_errno_and_return_minus_one( status );                   
  }                                                                   
                                                                      
  the_semaphore = (POSIX_Semaphore_Control *) _Objects_Get_local_object(
   497c0:	2079 0006 6192 	moveal 66192 <_POSIX_Semaphore_Information+0x18>,%a0
   497c6:	302e fffe      	movew %fp@(-2),%d0                          
   497ca:	2470 0c00      	moveal %a0@(00000000,%d0:l:4),%a2           
    &_POSIX_Semaphore_Information,                                    
    _Objects_Get_index( the_semaphore_id )                            
  );                                                                  
                                                                      
  the_semaphore->linked = false;                                      
   497ce:	4200           	clrb %d0                                    
   497d0:	1540 0015      	moveb %d0,%a2@(21)                          
                                                                      
RTEMS_INLINE_ROUTINE void _POSIX_Semaphore_Namespace_remove (         
  POSIX_Semaphore_Control *the_semaphore                              
)                                                                     
{                                                                     
  _Objects_Namespace_remove(                                          
   497d4:	2f0a           	movel %a2,%sp@-                             
   497d6:	4879 0006 617a 	pea 6617a <_POSIX_Semaphore_Information>    
   497dc:	4eb9 0004 b9d0 	jsr 4b9d0 <_Objects_Namespace_remove>       
  _POSIX_Semaphore_Namespace_remove( the_semaphore );                 
  _POSIX_Semaphore_Delete( the_semaphore );                           
   497e2:	2f0a           	movel %a2,%sp@-                             
   497e4:	4eb9 0005 002c 	jsr 5002c <_POSIX_Semaphore_Delete>         
                                                                      
  _Thread_Enable_dispatch();                                          
   497ea:	4eb9 0004 c54a 	jsr 4c54a <_Thread_Enable_dispatch>         
  return 0;                                                           
}                                                                     
   497f0:	242e fff4      	movel %fp@(-12),%d2                         
  the_semaphore->linked = false;                                      
  _POSIX_Semaphore_Namespace_remove( the_semaphore );                 
  _POSIX_Semaphore_Delete( the_semaphore );                           
                                                                      
  _Thread_Enable_dispatch();                                          
  return 0;                                                           
   497f4:	4fef 000c      	lea %sp@(12),%sp                            
   497f8:	4280           	clrl %d0                                    
}                                                                     
   497fa:	246e fff8      	moveal %fp@(-8),%a2                         
   497fe:	4e5e           	unlk %fp                                    
   49800:	4e75           	rts                                         
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  status = _POSIX_Semaphore_Name_to_id( name, &the_semaphore_id );    
  if ( status != 0 ) {                                                
    _Thread_Enable_dispatch();                                        
   49802:	4eb9 0004 c54a 	jsr 4c54a <_Thread_Enable_dispatch>         
    rtems_set_errno_and_return_minus_one( status );                   
   49808:	4eb9 0005 2dd0 	jsr 52dd0 <__errno>                         
  _POSIX_Semaphore_Namespace_remove( the_semaphore );                 
  _POSIX_Semaphore_Delete( the_semaphore );                           
                                                                      
  _Thread_Enable_dispatch();                                          
  return 0;                                                           
}                                                                     
   4980e:	246e fff8      	moveal %fp@(-8),%a2                         
  _Thread_Disable_dispatch();                                         
                                                                      
  status = _POSIX_Semaphore_Name_to_id( name, &the_semaphore_id );    
  if ( status != 0 ) {                                                
    _Thread_Enable_dispatch();                                        
    rtems_set_errno_and_return_minus_one( status );                   
   49812:	2040           	moveal %d0,%a0                              
   49814:	70ff           	moveq #-1,%d0                               
   49816:	2082           	movel %d2,%a0@                              
  _POSIX_Semaphore_Namespace_remove( the_semaphore );                 
  _POSIX_Semaphore_Delete( the_semaphore );                           
                                                                      
  _Thread_Enable_dispatch();                                          
  return 0;                                                           
}                                                                     
   49818:	242e fff4      	movel %fp@(-12),%d2                         
   4981c:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00047090 <sigaction>: int sigaction( int sig, const struct sigaction *act, struct sigaction *oact ) {
   47090:	4e56 fff4      	linkw %fp,#-12                              
   47094:	226e 0010      	moveal %fp@(16),%a1                         
   47098:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
   4709c:	242e 0008      	movel %fp@(8),%d2                           
   470a0:	246e 000c      	moveal %fp@(12),%a2                         
  ISR_Level     level;                                                
                                                                      
  if ( oact )                                                         
   470a4:	4a89           	tstl %a1                                    
   470a6:	6718           	beqs 470c0 <sigaction+0x30>                 
    *oact = _POSIX_signals_Vectors[ sig ];                            
   470a8:	2202           	movel %d2,%d1                               
   470aa:	2002           	movel %d2,%d0                               
   470ac:	e989           	lsll #4,%d1                                 
   470ae:	e588           	lsll #2,%d0                                 
   470b0:	2041           	moveal %d1,%a0                              
   470b2:	91c0           	subal %d0,%a0                               
   470b4:	d1fc 0006 3134 	addal #405812,%a0                           
   470ba:	22d8           	movel %a0@+,%a1@+                           
   470bc:	22d8           	movel %a0@+,%a1@+                           
   470be:	2290           	movel %a0@,%a1@                             
                                                                      
  if ( !sig )                                                         
   470c0:	4a82           	tstl %d2                                    
   470c2:	6700 0088      	beqw 4714c <sigaction+0xbc>                 
                                                                      
static inline bool is_valid_signo(                                    
  int signo                                                           
)                                                                     
{                                                                     
  return ((signo) >= 1 && (signo) <= 32 );                            
   470c6:	2002           	movel %d2,%d0                               
   470c8:	5380           	subql #1,%d0                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
   470ca:	721f           	moveq #31,%d1                               
   470cc:	b280           	cmpl %d0,%d1                                
   470ce:	657c           	bcss 4714c <sigaction+0xbc>                 
   *                                                                  
   *  NOTE: Solaris documentation claims to "silently enforce" this which
   *        contradicts the POSIX specification.                      
   */                                                                 
                                                                      
  if ( sig == SIGKILL )                                               
   470d0:	7009           	moveq #9,%d0                                
   470d2:	b082           	cmpl %d2,%d0                                
   470d4:	6776           	beqs 4714c <sigaction+0xbc>                 
  /*                                                                  
   *  Evaluate the new action structure and set the global signal vector
   *  appropriately.                                                  
   */                                                                 
                                                                      
  if ( act ) {                                                        
   470d6:	4a8a           	tstl %a2                                    
   470d8:	6766           	beqs 47140 <sigaction+0xb0>                 <== NEVER TAKEN
    /*                                                                
     *  Unless the user is installing the default signal actions, then
     *  we can just copy the provided sigaction structure into the vectors.
     */                                                               
                                                                      
    _ISR_Disable( level );                                            
   470da:	203c 0000 0700 	movel #1792,%d0                             
   470e0:	40c3           	movew %sr,%d3                               
   470e2:	8083           	orl %d3,%d0                                 
   470e4:	46c0           	movew %d0,%sr                               
      if ( act->sa_handler == SIG_DFL ) {                             
   470e6:	4aaa 0008      	tstl %a2@(8)                                
   470ea:	6730           	beqs 4711c <sigaction+0x8c>                 
        _POSIX_signals_Vectors[ sig ] = _POSIX_signals_Default_vectors[ sig ];
      } else {                                                        
         _POSIX_signals_Clear_process_signals( sig );                 
   470ec:	2f02           	movel %d2,%sp@-                             
   470ee:	4eb9 0004 cf44 	jsr 4cf44 <_POSIX_signals_Clear_process_signals>
         _POSIX_signals_Vectors[ sig ] = *act;                        
   470f4:	588f           	addql #4,%sp                                
   470f6:	2002           	movel %d2,%d0                               
   470f8:	224a           	moveal %a2,%a1                              
   470fa:	e98a           	lsll #4,%d2                                 
   470fc:	e588           	lsll #2,%d0                                 
   470fe:	2042           	moveal %d2,%a0                              
   47100:	91c0           	subal %d0,%a0                               
   47102:	d1fc 0006 3134 	addal #405812,%a0                           
   47108:	20d9           	movel %a1@+,%a0@+                           
   4710a:	20d9           	movel %a1@+,%a0@+                           
   4710c:	2091           	movel %a1@,%a0@                             
      }                                                               
    _ISR_Enable( level );                                             
   4710e:	46c3           	movew %d3,%sr                               
   *      now (signals not posted when SIG_IGN).                      
   *    + If we are now ignoring a signal that was previously pending,
   *      we clear the pending signal indicator.                      
   */                                                                 
                                                                      
  return 0;                                                           
   47110:	4280           	clrl %d0                                    
}                                                                     
   47112:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
   47118:	4e5e           	unlk %fp                                    
   4711a:	4e75           	rts                                         
     *  we can just copy the provided sigaction structure into the vectors.
     */                                                               
                                                                      
    _ISR_Disable( level );                                            
      if ( act->sa_handler == SIG_DFL ) {                             
        _POSIX_signals_Vectors[ sig ] = _POSIX_signals_Default_vectors[ sig ];
   4711c:	2002           	movel %d2,%d0                               
   4711e:	e98a           	lsll #4,%d2                                 
   47120:	e588           	lsll #2,%d0                                 
   47122:	9480           	subl %d0,%d2                                
   47124:	2242           	moveal %d2,%a1                              
   47126:	2042           	moveal %d2,%a0                              
   47128:	d3fc 0006 0696 	addal #394902,%a1                           
   4712e:	d1fc 0006 3134 	addal #405812,%a0                           
   47134:	20d9           	movel %a1@+,%a0@+                           
   47136:	20d9           	movel %a1@+,%a0@+                           
   47138:	2091           	movel %a1@,%a0@                             
      } else {                                                        
         _POSIX_signals_Clear_process_signals( sig );                 
         _POSIX_signals_Vectors[ sig ] = *act;                        
      }                                                               
    _ISR_Enable( level );                                             
   4713a:	46c3           	movew %d3,%sr                               
   *      now (signals not posted when SIG_IGN).                      
   *    + If we are now ignoring a signal that was previously pending,
   *      we clear the pending signal indicator.                      
   */                                                                 
                                                                      
  return 0;                                                           
   4713c:	4280           	clrl %d0                                    
   4713e:	60d2           	bras 47112 <sigaction+0x82>                 
   47140:	4280           	clrl %d0                                    <== NOT EXECUTED
}                                                                     
   47142:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                <== NOT EXECUTED
   47148:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   4714a:	4e75           	rts                                         <== NOT EXECUTED
   *  NOTE: Solaris documentation claims to "silently enforce" this which
   *        contradicts the POSIX specification.                      
   */                                                                 
                                                                      
  if ( sig == SIGKILL )                                               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   4714c:	4eb9 0004 fe3c 	jsr 4fe3c <__errno>                         
   47152:	7216           	moveq #22,%d1                               
   47154:	2040           	moveal %d0,%a0                              
   47156:	70ff           	moveq #-1,%d0                               
   *    + If we are now ignoring a signal that was previously pending,
   *      we clear the pending signal indicator.                      
   */                                                                 
                                                                      
  return 0;                                                           
}                                                                     
   47158:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
   *  NOTE: Solaris documentation claims to "silently enforce" this which
   *        contradicts the POSIX specification.                      
   */                                                                 
                                                                      
  if ( sig == SIGKILL )                                               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   4715e:	2081           	movel %d1,%a0@                              
   *    + If we are now ignoring a signal that was previously pending,
   *      we clear the pending signal indicator.                      
   */                                                                 
                                                                      
  return 0;                                                           
}                                                                     
   47160:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

000499f4 <sigwait>: int sigwait( const sigset_t *set, int *sig ) {
   499f4:	4e56 0000      	linkw %fp,#0                                
   499f8:	2f0a           	movel %a2,%sp@-                             
   499fa:	246e 000c      	moveal %fp@(12),%a2                         
  int status;                                                         
                                                                      
  status = sigtimedwait( set, NULL, NULL );                           
   499fe:	42a7           	clrl %sp@-                                  
   49a00:	42a7           	clrl %sp@-                                  
   49a02:	2f2e 0008      	movel %fp@(8),%sp@-                         
   49a06:	4eb9 0004 97dc 	jsr 497dc <sigtimedwait>                    
                                                                      
  if ( status != -1 ) {                                               
   49a0c:	4fef 000c      	lea %sp@(12),%sp                            
   49a10:	72ff           	moveq #-1,%d1                               
   49a12:	b280           	cmpl %d0,%d1                                
   49a14:	6710           	beqs 49a26 <sigwait+0x32>                   
    if ( sig )                                                        
   49a16:	4a8a           	tstl %a2                                    
   49a18:	671e           	beqs 49a38 <sigwait+0x44>                   <== NEVER TAKEN
      *sig = status;                                                  
   49a1a:	2480           	movel %d0,%a2@                              
    return 0;                                                         
  }                                                                   
                                                                      
  return errno;                                                       
}                                                                     
   49a1c:	246e fffc      	moveal %fp@(-4),%a2                         
  status = sigtimedwait( set, NULL, NULL );                           
                                                                      
  if ( status != -1 ) {                                               
    if ( sig )                                                        
      *sig = status;                                                  
    return 0;                                                         
   49a20:	4280           	clrl %d0                                    
  }                                                                   
                                                                      
  return errno;                                                       
}                                                                     
   49a22:	4e5e           	unlk %fp                                    
   49a24:	4e75           	rts                                         
    if ( sig )                                                        
      *sig = status;                                                  
    return 0;                                                         
  }                                                                   
                                                                      
  return errno;                                                       
   49a26:	4eb9 0005 23d0 	jsr 523d0 <__errno>                         
}                                                                     
   49a2c:	246e fffc      	moveal %fp@(-4),%a2                         
    if ( sig )                                                        
      *sig = status;                                                  
    return 0;                                                         
  }                                                                   
                                                                      
  return errno;                                                       
   49a30:	2040           	moveal %d0,%a0                              
}                                                                     
   49a32:	4e5e           	unlk %fp                                    
    if ( sig )                                                        
      *sig = status;                                                  
    return 0;                                                         
  }                                                                   
                                                                      
  return errno;                                                       
   49a34:	2010           	movel %a0@,%d0                              
}                                                                     
   49a36:	4e75           	rts                                         
   49a38:	246e fffc      	moveal %fp@(-4),%a2                         <== NOT EXECUTED
  status = sigtimedwait( set, NULL, NULL );                           
                                                                      
  if ( status != -1 ) {                                               
    if ( sig )                                                        
      *sig = status;                                                  
    return 0;                                                         
   49a3c:	4280           	clrl %d0                                    <== NOT EXECUTED
  }                                                                   
                                                                      
  return errno;                                                       
}                                                                     
   49a3e:	4e5e           	unlk %fp                                    <== NOT EXECUTED
	...                                                                  
                                                                      

000451c0 <siproc>: /* * Process input character, with semaphore. */ static int siproc (unsigned char c, struct rtems_termios_tty *tty) {
   451c0:	4e56 0000      	linkw %fp,#0                                
   451c4:	2f0a           	movel %a2,%sp@-                             
   451c6:	246e 000c      	moveal %fp@(12),%a2                         
  int i;                                                              
                                                                      
  /*                                                                  
   * Obtain output semaphore if character will be echoed              
   */                                                                 
  if (tty->termios.c_lflag & (ECHO|ECHOE|ECHOK|ECHONL|ECHOPRT|ECHOCTL|ECHOKE)) {
   451ca:	202a 003c      	movel %a2@(60),%d0                          
   451ce:	0280 0000 0e78 	andil #3704,%d0                             
/*                                                                    
 * Process input character, with semaphore.                           
 */                                                                   
static int                                                            
siproc (unsigned char c, struct rtems_termios_tty *tty)               
{                                                                     
   451d4:	2f02           	movel %d2,%sp@-                             
   451d6:	142e 000b      	moveb %fp@(11),%d2                          
  int i;                                                              
                                                                      
  /*                                                                  
   * Obtain output semaphore if character will be echoed              
   */                                                                 
  if (tty->termios.c_lflag & (ECHO|ECHOE|ECHOK|ECHONL|ECHOPRT|ECHOCTL|ECHOKE)) {
   451da:	4a80           	tstl %d0                                    
   451dc:	661c           	bnes 451fa <siproc+0x3a>                    <== ALWAYS TAKEN
    rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT); 
    i = iproc (c, tty);                                               
    rtems_semaphore_release (tty->osem);                              
  }                                                                   
  else {                                                              
    i = iproc (c, tty);                                               
   451de:	2d4a 000c      	movel %a2,%fp@(12)                          <== NOT EXECUTED
  }                                                                   
  return i;                                                           
}                                                                     
   451e2:	246e fffc      	moveal %fp@(-4),%a2                         <== 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);                                               
   451e6:	0282 0000 00ff 	andil #255,%d2                              <== NOT EXECUTED
   451ec:	2d42 0008      	movel %d2,%fp@(8)                           <== NOT EXECUTED
  }                                                                   
  return i;                                                           
}                                                                     
   451f0:	242e fff8      	movel %fp@(-8),%d2                          <== NOT EXECUTED
   451f4:	4e5e           	unlk %fp                                    <== 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);                                               
   451f6:	6000 fdd0      	braw 44fc8 <iproc>                          <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Obtain output semaphore if character will be echoed              
   */                                                                 
  if (tty->termios.c_lflag & (ECHO|ECHOE|ECHOK|ECHONL|ECHOPRT|ECHOCTL|ECHOKE)) {
    rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT); 
   451fa:	42a7           	clrl %sp@-                                  
    i = iproc (c, tty);                                               
   451fc:	0282 0000 00ff 	andil #255,%d2                              
                                                                      
  /*                                                                  
   * Obtain output semaphore if character will be echoed              
   */                                                                 
  if (tty->termios.c_lflag & (ECHO|ECHOE|ECHOK|ECHONL|ECHOPRT|ECHOCTL|ECHOKE)) {
    rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT); 
   45202:	42a7           	clrl %sp@-                                  
   45204:	2f2a 0018      	movel %a2@(24),%sp@-                        
   45208:	4eb9 0004 6768 	jsr 46768 <rtems_semaphore_obtain>          
    i = iproc (c, tty);                                               
   4520e:	2f0a           	movel %a2,%sp@-                             
   45210:	2f02           	movel %d2,%sp@-                             
   45212:	4eba fdb4      	jsr %pc@(44fc8 <iproc>)                     
    rtems_semaphore_release (tty->osem);                              
   45216:	2f2a 0018      	movel %a2@(24),%sp@-                        
  /*                                                                  
   * Obtain output semaphore if character will be echoed              
   */                                                                 
  if (tty->termios.c_lflag & (ECHO|ECHOE|ECHOK|ECHONL|ECHOPRT|ECHOCTL|ECHOKE)) {
    rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT); 
    i = iproc (c, tty);                                               
   4521a:	2400           	movel %d0,%d2                               
    rtems_semaphore_release (tty->osem);                              
   4521c:	4eb9 0004 68a8 	jsr 468a8 <rtems_semaphore_release>         
  }                                                                   
  else {                                                              
    i = iproc (c, tty);                                               
  }                                                                   
  return i;                                                           
}                                                                     
   45222:	246e fffc      	moveal %fp@(-4),%a2                         
   45226:	2002           	movel %d2,%d0                               
   * Obtain output semaphore if character will be echoed              
   */                                                                 
  if (tty->termios.c_lflag & (ECHO|ECHOE|ECHOK|ECHONL|ECHOPRT|ECHOCTL|ECHOKE)) {
    rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT); 
    i = iproc (c, tty);                                               
    rtems_semaphore_release (tty->osem);                              
   45228:	4fef 0018      	lea %sp@(24),%sp                            
  }                                                                   
  else {                                                              
    i = iproc (c, tty);                                               
  }                                                                   
  return i;                                                           
}                                                                     
   4522c:	242e fff8      	movel %fp@(-8),%d2                          
   45230:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

00046b8c <statvfs>: #include <sys/statvfs.h> int statvfs (const char *path, struct statvfs *sb) {
   46b8c:	4e56 ffdc      	linkw %fp,#-36                              
   46b90:	48d7 001c      	moveml %d2-%d4,%sp@                         
   46b94:	242e 0008      	movel %fp@(8),%d2                           
   *    The root node of the mounted filesytem.                       
   *    The node for the directory that the fileystem is mounted on.  
   *    The mount entry that is being refered to.                     
   */                                                                 
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x0, &loc, true ) )
   46b98:	260e           	movel %fp,%d3                               
   46b9a:	0683 ffff ffec 	addil #-20,%d3                              
   46ba0:	2f02           	movel %d2,%sp@-                             
                                                                      
#include <sys/statvfs.h>                                              
                                                                      
int                                                                   
statvfs (const char *path, struct statvfs *sb)                        
{                                                                     
   46ba2:	282e 000c      	movel %fp@(12),%d4                          
   *    The root node of the mounted filesytem.                       
   *    The node for the directory that the fileystem is mounted on.  
   *    The mount entry that is being refered to.                     
   */                                                                 
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x0, &loc, true ) )
   46ba6:	4eb9 0005 3ab0 	jsr 53ab0 <strlen>                          
   46bac:	7201           	moveq #1,%d1                                
   46bae:	2e81           	movel %d1,%sp@                              
   46bb0:	2f03           	movel %d3,%sp@-                             
   46bb2:	42a7           	clrl %sp@-                                  
   46bb4:	2f00           	movel %d0,%sp@-                             
   46bb6:	2f02           	movel %d2,%sp@-                             
   46bb8:	4eb9 0004 55fc 	jsr 455fc <rtems_filesystem_evaluate_path>  
   46bbe:	4fef 0014      	lea %sp@(20),%sp                            
   46bc2:	4a80           	tstl %d0                                    
   46bc4:	670c           	beqs 46bd2 <statvfs+0x46>                   <== ALWAYS TAKEN
    return -1;                                                        
   46bc6:	70ff           	moveq #-1,%d0                               <== NOT EXECUTED
  result = ( fs_mount_root->ops->statvfs_h )( fs_mount_root, sb );    
                                                                      
  rtems_filesystem_freenode( &loc );                                  
                                                                      
  return result;                                                      
}                                                                     
   46bc8:	4cee 001c ffdc 	moveml %fp@(-36),%d2-%d4                    <== NOT EXECUTED
   46bce:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   46bd0:	4e75           	rts                                         <== NOT EXECUTED
    return -1;                                                        
                                                                      
  mt_entry      = loc.mt_entry;                                       
  fs_mount_root = &mt_entry->mt_fs_root;                              
                                                                      
  memset (sb, 0, sizeof (struct statvfs));                            
   46bd2:	2044           	moveal %d4,%a0                              
   46bd4:	4298           	clrl %a0@+                                  
   */                                                                 
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x0, &loc, true ) )
    return -1;                                                        
                                                                      
  mt_entry      = loc.mt_entry;                                       
   46bd6:	226e fffc      	moveal %fp@(-4),%a1                         
  fs_mount_root = &mt_entry->mt_fs_root;                              
                                                                      
  memset (sb, 0, sizeof (struct statvfs));                            
   46bda:	4298           	clrl %a0@+                                  
   46bdc:	4298           	clrl %a0@+                                  
   46bde:	4298           	clrl %a0@+                                  
   46be0:	4298           	clrl %a0@+                                  
   46be2:	4298           	clrl %a0@+                                  
   46be4:	4298           	clrl %a0@+                                  
   46be6:	4298           	clrl %a0@+                                  
   46be8:	4298           	clrl %a0@+                                  
   46bea:	4298           	clrl %a0@+                                  
   46bec:	4298           	clrl %a0@+                                  
   46bee:	4298           	clrl %a0@+                                  
   46bf0:	4298           	clrl %a0@+                                  
   46bf2:	4290           	clrl %a0@                                   
                                                                      
  result = ( fs_mount_root->ops->statvfs_h )( fs_mount_root, sb );    
   46bf4:	2069 0028      	moveal %a1@(40),%a0                         
   46bf8:	2f04           	movel %d4,%sp@-                             
   46bfa:	4869 001c      	pea %a1@(28)                                
   46bfe:	2068 0044      	moveal %a0@(68),%a0                         
   46c02:	4e90           	jsr %a0@                                    
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   46c04:	2f03           	movel %d3,%sp@-                             
   46c06:	2d40 ffe8      	movel %d0,%fp@(-24)                         
   46c0a:	4eb9 0004 56e0 	jsr 456e0 <rtems_filesystem_freenode>       
                                                                      
  return result;                                                      
   46c10:	202e ffe8      	movel %fp@(-24),%d0                         
   46c14:	4fef 000c      	lea %sp@(12),%sp                            
}                                                                     
   46c18:	4cee 001c ffdc 	moveml %fp@(-36),%d2-%d4                    
   46c1e:	4e5e           	unlk %fp                                    
	...                                                                  
                                                                      

00045494 <sync_per_thread>: fdatasync(fn); } /* iterate over all FILE *'s for this thread */ static void sync_per_thread(Thread_Control *t) {
   45494:	4e56 0000      	linkw %fp,#0                                
   45498:	206e 0008      	moveal %fp@(8),%a0                          
                                                                      
   /*                                                                 
    *  The sync_wrapper() function will operate on the current thread's
    *  reent structure so we will temporarily use that.               
    */                                                                
   this_reent = t->libc_reent;                                        
   4549c:	2028 00fa      	movel %a0@(250),%d0                         
  fdatasync(fn);                                                      
}                                                                     
                                                                      
/* iterate over all FILE *'s for this thread */                       
static void sync_per_thread(Thread_Control *t)                        
{                                                                     
   454a0:	2f02           	movel %d2,%sp@-                             
   /*                                                                 
    *  The sync_wrapper() function will operate on the current thread's
    *  reent structure so we will temporarily use that.               
    */                                                                
   this_reent = t->libc_reent;                                        
   if ( this_reent ) {                                                
   454a2:	4a80           	tstl %d0                                    
   454a4:	6728           	beqs 454ce <sync_per_thread+0x3a>           <== NEVER TAKEN
     current_reent = _Thread_Executing->libc_reent;                   
   454a6:	2279 0006 2e12 	moveal 62e12 <_Per_CPU_Information+0xc>,%a1 
   454ac:	2429 00fa      	movel %a1@(250),%d2                         
     _Thread_Executing->libc_reent = this_reent;                      
   454b0:	2340 00fa      	movel %d0,%a1@(250)                         
     _fwalk (t->libc_reent, sync_wrapper);                            
   454b4:	487a 0020      	pea %pc@(454d6 <sync_wrapper>)              
   454b8:	2f28 00fa      	movel %a0@(250),%sp@-                       
   454bc:	4eb9 0005 0dc8 	jsr 50dc8 <_fwalk>                          
     _Thread_Executing->libc_reent = current_reent;                   
   454c2:	2079 0006 2e12 	moveal 62e12 <_Per_CPU_Information+0xc>,%a0 
   454c8:	508f           	addql #8,%sp                                
   454ca:	2142 00fa      	movel %d2,%a0@(250)                         
   }                                                                  
}                                                                     
   454ce:	242e fffc      	movel %fp@(-4),%d2                          
   454d2:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004c990 <tcsetattr>: int tcsetattr( int fd, int opt, struct termios *tp ) {
   4c990:	4e56 0000      	linkw %fp,#0                                
   4c994:	202e 000c      	movel %fp@(12),%d0                          
   4c998:	2f03           	movel %d3,%sp@-                             
   4c99a:	262e 0010      	movel %fp@(16),%d3                          
   4c99e:	2f02           	movel %d2,%sp@-                             
   4c9a0:	242e 0008      	movel %fp@(8),%d2                           
  switch (opt) {                                                      
   4c9a4:	4a80           	tstl %d0                                    
   4c9a6:	6738           	beqs 4c9e0 <tcsetattr+0x50>                 
   4c9a8:	7201           	moveq #1,%d1                                
   4c9aa:	b280           	cmpl %d0,%d1                                
   4c9ac:	671c           	beqs 4c9ca <tcsetattr+0x3a>                 
  default:                                                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
   4c9ae:	4eb9 0005 0940 	jsr 50940 <__errno>                         
   4c9b4:	2040           	moveal %d0,%a0                              
   4c9b6:	20bc 0000 0086 	movel #134,%a0@                             
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
  }                                                                   
}                                                                     
   4c9bc:	242e fff8      	movel %fp@(-8),%d2                          
   4c9c0:	70ff           	moveq #-1,%d0                               
   4c9c2:	262e fffc      	movel %fp@(-4),%d3                          
   4c9c6:	4e5e           	unlk %fp                                    
   4c9c8:	4e75           	rts                                         
  switch (opt) {                                                      
  default:                                                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  case TCSADRAIN:                                                     
    if (ioctl( fd, RTEMS_IO_TCDRAIN, NULL ) < 0)                      
   4c9ca:	42a7           	clrl %sp@-                                  
   4c9cc:	4878 0003      	pea 3 <DIVIDE>                              
   4c9d0:	2f02           	movel %d2,%sp@-                             
   4c9d2:	4eb9 0004 c5f8 	jsr 4c5f8 <ioctl>                           
   4c9d8:	4fef 000c      	lea %sp@(12),%sp                            
   4c9dc:	4a80           	tstl %d0                                    
   4c9de:	6ddc           	blts 4c9bc <tcsetattr+0x2c>                 <== NEVER TAKEN
    	return -1;                                                       
    /*                                                                
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
   4c9e0:	2d43 0010      	movel %d3,%fp@(16)                          
   4c9e4:	7002           	moveq #2,%d0                                
   4c9e6:	2d42 0008      	movel %d2,%fp@(8)                           
  }                                                                   
}                                                                     
   4c9ea:	242e fff8      	movel %fp@(-8),%d2                          
   4c9ee:	262e fffc      	movel %fp@(-4),%d3                          
    	return -1;                                                       
    /*                                                                
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
   4c9f2:	2d40 000c      	movel %d0,%fp@(12)                          
  }                                                                   
}                                                                     
   4c9f6:	4e5e           	unlk %fp                                    
    	return -1;                                                       
    /*                                                                
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
   4c9f8:	4ef9 0004 c5f8 	jmp 4c5f8 <ioctl>                           
	...                                                                  
                                                                      

00046516 <ualarm>: useconds_t ualarm( useconds_t useconds, useconds_t interval ) {
   46516:	4e56 ffe8      	linkw %fp,#-24                              
   4651a:	48d7 041c      	moveml %d2-%d4/%a2,%sp@                     
   4651e:	242e 0008      	movel %fp@(8),%d2                           
                                                                      
  /*                                                                  
   *  Initialize the timer used to implement alarm().                 
   */                                                                 
                                                                      
  if ( !the_timer->routine ) {                                        
   46522:	4ab9 0006 2ea8 	tstl 62ea8 <_POSIX_signals_Ualarm_timer+0x1c>
   46528:	6700 0086      	beqw 465b0 <ualarm+0x9a>                    
    _Watchdog_Initialize( the_timer, _POSIX_signals_Ualarm_TSR, 0, NULL );
  } else {                                                            
    Watchdog_States state;                                            
                                                                      
    state = _Watchdog_Remove( the_timer );                            
   4652c:	4879 0006 2e8c 	pea 62e8c <_POSIX_signals_Ualarm_timer>     
   46532:	4eb9 0004 a408 	jsr 4a408 <_Watchdog_Remove>                
    if ( (state == WATCHDOG_ACTIVE) || (state == WATCHDOG_REMOVE_IT) ) {
   46538:	588f           	addql #4,%sp                                
   4653a:	7201           	moveq #1,%d1                                
   4653c:	5580           	subql #2,%d0                                
   4653e:	b280           	cmpl %d0,%d1                                
   46540:	6400 0098      	bccw 465da <ualarm+0xc4>                    
useconds_t ualarm(                                                    
  useconds_t useconds,                                                
  useconds_t interval                                                 
)                                                                     
{                                                                     
  useconds_t        remaining = 0;                                    
   46544:	4283           	clrl %d3                                    <== 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 ) {                                                   
   46546:	4a82           	tstl %d2                                    <== NOT EXECUTED
   46548:	660c           	bnes 46556 <ualarm+0x40>                    <== NOT EXECUTED
                                                                      
    _Watchdog_Insert_ticks( the_timer, _Timespec_To_ticks( &tp ) );   
  }                                                                   
                                                                      
  return remaining;                                                   
}                                                                     
   4654a:	2003           	movel %d3,%d0                               
   4654c:	4cee 041c ffe8 	moveml %fp@(-24),%d2-%d4/%a2                
   46552:	4e5e           	unlk %fp                                    
   46554:	4e75           	rts                                         
  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 );                                
   46556:	280e           	movel %fp,%d4                               
   *  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;               
   46558:	223c 000f 4240 	movel #1000000,%d1                          
    tp.tv_nsec = (useconds % TOD_MICROSECONDS_PER_SECOND) * 1000;     
    ticks = _Timespec_To_ticks( &tp );                                
   4655e:	5184           	subql #8,%d4                                
   46560:	45f9 0004 9f08 	lea 49f08 <_Timespec_To_ticks>,%a2          
   *  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;               
   46566:	4c41 2000      	remul %d1,%d0,%d2                           
   4656a:	4c41 2002      	remul %d1,%d2,%d2                           
    tp.tv_nsec = (useconds % TOD_MICROSECONDS_PER_SECOND) * 1000;     
   4656e:	223c 0000 03e8 	movel #1000,%d1                             
   46574:	4c00 1800      	mulsl %d0,%d1                               
    ticks = _Timespec_To_ticks( &tp );                                
   46578:	2f04           	movel %d4,%sp@-                             
   */                                                                 
  if ( useconds ) {                                                   
    Watchdog_Interval ticks;                                          
                                                                      
    tp.tv_sec = useconds / TOD_MICROSECONDS_PER_SECOND;               
    tp.tv_nsec = (useconds % TOD_MICROSECONDS_PER_SECOND) * 1000;     
   4657a:	2d41 fffc      	movel %d1,%fp@(-4)                          
   *  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;               
   4657e:	2d42 fff8      	movel %d2,%fp@(-8)                          
    tp.tv_nsec = (useconds % TOD_MICROSECONDS_PER_SECOND) * 1000;     
    ticks = _Timespec_To_ticks( &tp );                                
   46582:	4e92           	jsr %a2@                                    
    if ( ticks == 0 )                                                 
      ticks = 1;                                                      
                                                                      
    _Watchdog_Insert_ticks( the_timer, _Timespec_To_ticks( &tp ) );   
   46584:	2f04           	movel %d4,%sp@-                             
   46586:	4e92           	jsr %a2@                                    
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
   46588:	4879 0006 2e8c 	pea 62e8c <_POSIX_signals_Ualarm_timer>     
   4658e:	4879 0006 2738 	pea 62738 <_Watchdog_Ticks_chain>           
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
   46594:	23c0 0006 2e98 	movel %d0,62e98 <_POSIX_signals_Ualarm_timer+0xc>
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
   4659a:	4eb9 0004 a2b4 	jsr 4a2b4 <_Watchdog_Insert>                
   465a0:	4fef 0010      	lea %sp@(16),%sp                            
  }                                                                   
                                                                      
  return remaining;                                                   
}                                                                     
   465a4:	2003           	movel %d3,%d0                               
   465a6:	4cee 041c ffe8 	moveml %fp@(-24),%d2-%d4/%a2                
   465ac:	4e5e           	unlk %fp                                    
   465ae:	4e75           	rts                                         
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
   465b0:	42b9 0006 2e94 	clrl 62e94 <_POSIX_signals_Ualarm_timer+0x8>
useconds_t ualarm(                                                    
  useconds_t useconds,                                                
  useconds_t interval                                                 
)                                                                     
{                                                                     
  useconds_t        remaining = 0;                                    
   465b6:	4283           	clrl %d3                                    
  the_watchdog->routine   = routine;                                  
   465b8:	203c 0004 64d4 	movel #287956,%d0                           
  the_watchdog->id        = id;                                       
   465be:	42b9 0006 2eac 	clrl 62eac <_POSIX_signals_Ualarm_timer+0x20>
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
   465c4:	23c0 0006 2ea8 	movel %d0,62ea8 <_POSIX_signals_Ualarm_timer+0x1c>
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
   465ca:	42b9 0006 2eb0 	clrl 62eb0 <_POSIX_signals_Ualarm_timer+0x24>
  /*                                                                  
   *  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 ) {                                                   
   465d0:	4a82           	tstl %d2                                    
   465d2:	6700 ff76      	beqw 4654a <ualarm+0x34>                    
   465d6:	6000 ff7e      	braw 46556 <ualarm+0x40>                    
       *  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);        
   465da:	2039 0006 2ea0 	movel 62ea0 <_POSIX_signals_Ualarm_timer+0x14>,%d0
   465e0:	d0b9 0006 2e98 	addl 62e98 <_POSIX_signals_Ualarm_timer+0xc>,%d0
      /* remaining is now in ticks */                                 
                                                                      
      _Timespec_From_ticks( ticks, &tp );                             
   465e6:	486e fff8      	pea %fp@(-8)                                
   465ea:	90b9 0006 2ea4 	subl 62ea4 <_POSIX_signals_Ualarm_timer+0x18>,%d0
      remaining  = tp.tv_sec * TOD_MICROSECONDS_PER_SECOND;           
   465f0:	283c 000f 4240 	movel #1000000,%d4                          
                                                                      
      ticks = the_timer->initial;                                     
      ticks -= (the_timer->stop_time - the_timer->start_time);        
      /* remaining is now in ticks */                                 
                                                                      
      _Timespec_From_ticks( ticks, &tp );                             
   465f6:	2f00           	movel %d0,%sp@-                             
   465f8:	4eb9 0004 9e7c 	jsr 49e7c <_Timespec_From_ticks>            
      remaining  = tp.tv_sec * TOD_MICROSECONDS_PER_SECOND;           
   465fe:	202e fff8      	movel %fp@(-8),%d0                          
   46602:	4c04 0800      	mulsl %d4,%d0                               
      remaining += tp.tv_nsec / 1000;                                 
   46606:	283c 0000 03e8 	movel #1000,%d4                             
   4660c:	508f           	addql #8,%sp                                
   4660e:	262e fffc      	movel %fp@(-4),%d3                          
   46612:	4c44 3803      	remsl %d4,%d3,%d3                           
   46616:	d680           	addl %d0,%d3                                
  /*                                                                  
   *  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 ) {                                                   
   46618:	4a82           	tstl %d2                                    
   4661a:	6700 ff2e      	beqw 4654a <ualarm+0x34>                    
   4661e:	6000 ff36      	braw 46556 <ualarm+0x40>                    <== NOT EXECUTED
	...                                                                  
                                                                      

00046f80 <unlink>: #include <rtems/seterr.h> int unlink( const char *path ) {
   46f80:	4e56 ffc0      	linkw %fp,#-64                              
   46f84:	48d7 0c1c      	moveml %d2-%d4/%a2-%a3,%sp@                 
   46f88:	242e 0008      	movel %fp@(8),%d2                           
                                                                      
  /*                                                                  
   * Get the node to be unlinked. Find the parent path first.         
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( path );                  
   46f8c:	2f02           	movel %d2,%sp@-                             
   46f8e:	4eb9 0004 40d0 	jsr 440d0 <rtems_filesystem_dirname>        
                                                                      
  if ( parentpathlen == 0 )                                           
   46f94:	588f           	addql #4,%sp                                
   46f96:	4a80           	tstl %d0                                    
   46f98:	6600 00f4      	bnew 4708e <unlink+0x10e>                   
    rtems_filesystem_get_start_loc( path, &i, &parentloc );           
   46f9c:	45ee ffe8      	lea %fp@(-24),%a2                           
   46fa0:	4283           	clrl %d3                                    
   46fa2:	2f0a           	movel %a2,%sp@-                             
   46fa4:	486e fffc      	pea %fp@(-4)                                
  const char                       *name;                             
  rtems_filesystem_location_info_t  parentloc;                        
  rtems_filesystem_location_info_t  loc;                              
  int                               i;                                
  int                               result;                           
  bool                              free_parentloc = false;           
   46fa8:	4204           	clrb %d4                                    
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( path );                  
                                                                      
  if ( parentpathlen == 0 )                                           
    rtems_filesystem_get_start_loc( path, &i, &parentloc );           
   46faa:	2f02           	movel %d2,%sp@-                             
   46fac:	4eb9 0004 517c 	jsr 4517c <rtems_filesystem_get_start_loc>  
   46fb2:	4fef 000c      	lea %sp@(12),%sp                            
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
   46fb6:	2d52 ffd4      	movel %a2@,%fp@(-44)                        
  name = path + parentpathlen;                                        
   46fba:	d682           	addl %d2,%d3                                
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
   46fbc:	47f9 0005 4324 	lea 54324 <strlen>,%a3                      
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
   46fc2:	240e           	movel %fp,%d2                               
   46fc4:	0682 ffff ffd4 	addil #-44,%d2                              
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
   46fca:	2d6e ffec ffd8 	movel %fp@(-20),%fp@(-40)                   
   46fd0:	2d6e fff0 ffdc 	movel %fp@(-16),%fp@(-36)                   
   46fd6:	2d6e fff4 ffe0 	movel %fp@(-12),%fp@(-32)                   
   46fdc:	2d6e fff8 ffe4 	movel %fp@(-8),%fp@(-28)                    
  name = path + parentpathlen;                                        
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
   46fe2:	2f03           	movel %d3,%sp@-                             
   46fe4:	4e93           	jsr %a3@                                    
   46fe6:	2e80           	movel %d0,%sp@                              
   46fe8:	2f03           	movel %d3,%sp@-                             
   46fea:	4eb9 0004 4112 	jsr 44112 <rtems_filesystem_prefix_separators>
   46ff0:	d680           	addl %d0,%d3                                
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
   46ff2:	2f03           	movel %d3,%sp@-                             
   46ff4:	4e93           	jsr %a3@                                    
   46ff6:	4297           	clrl %sp@                                   
   46ff8:	2f02           	movel %d2,%sp@-                             
   46ffa:	42a7           	clrl %sp@-                                  
   46ffc:	2f00           	movel %d0,%sp@-                             
   46ffe:	2f03           	movel %d3,%sp@-                             
   47000:	4eb9 0004 4014 	jsr 44014 <rtems_filesystem_evaluate_relative_path>
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
   47006:	4fef 001c      	lea %sp@(28),%sp                            
   4700a:	4a80           	tstl %d0                                    
   4700c:	6656           	bnes 47064 <unlink+0xe4>                    
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    return -1;                                                        
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY ) {
   4700e:	206e ffe0      	moveal %fp@(-32),%a0                        
   47012:	2f02           	movel %d2,%sp@-                             
   47014:	2068 0010      	moveal %a0@(16),%a0                         
   47018:	4e90           	jsr %a0@                                    
   4701a:	588f           	addql #4,%sp                                
   4701c:	7201           	moveq #1,%d1                                
   4701e:	b280           	cmpl %d0,%d1                                
   47020:	6700 0092      	beqw 470b4 <unlink+0x134>                   
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( EISDIR );                   
  }                                                                   
                                                                      
  result = (*loc.ops->unlink_h)( &parentloc, &loc );                  
   47024:	2f02           	movel %d2,%sp@-                             
   47026:	206e ffe0      	moveal %fp@(-32),%a0                        
   4702a:	2f0a           	movel %a2,%sp@-                             
   4702c:	2068 000c      	moveal %a0@(12),%a0                         
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   47030:	47f9 0004 4168 	lea 44168 <rtems_filesystem_freenode>,%a3   
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( EISDIR );                   
  }                                                                   
                                                                      
  result = (*loc.ops->unlink_h)( &parentloc, &loc );                  
   47036:	4e90           	jsr %a0@                                    
   47038:	2600           	movel %d0,%d3                               
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   4703a:	2f02           	movel %d2,%sp@-                             
   4703c:	4e93           	jsr %a3@                                    
  if ( free_parentloc )                                               
   4703e:	4fef 000c      	lea %sp@(12),%sp                            
   47042:	4a04           	tstb %d4                                    
   47044:	660c           	bnes 47052 <unlink+0xd2>                    
    rtems_filesystem_freenode( &parentloc );                          
                                                                      
  return result;                                                      
}                                                                     
   47046:	2003           	movel %d3,%d0                               
   47048:	4cee 0c1c ffc0 	moveml %fp@(-64),%d2-%d4/%a2-%a3            
   4704e:	4e5e           	unlk %fp                                    
   47050:	4e75           	rts                                         
                                                                      
  result = (*loc.ops->unlink_h)( &parentloc, &loc );                  
                                                                      
  rtems_filesystem_freenode( &loc );                                  
  if ( free_parentloc )                                               
    rtems_filesystem_freenode( &parentloc );                          
   47052:	2f0a           	movel %a2,%sp@-                             
   47054:	4e93           	jsr %a3@                                    
   47056:	588f           	addql #4,%sp                                
                                                                      
  return result;                                                      
}                                                                     
   47058:	2003           	movel %d3,%d0                               
   4705a:	4cee 0c1c ffc0 	moveml %fp@(-64),%d2-%d4/%a2-%a3            
   47060:	4e5e           	unlk %fp                                    
   47062:	4e75           	rts                                         
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
    if ( free_parentloc )                                             
   47064:	4a04           	tstb %d4                                    
   47066:	660e           	bnes 47076 <unlink+0xf6>                    <== ALWAYS TAKEN
      rtems_filesystem_freenode( &parentloc );                        
    return -1;                                                        
   47068:	76ff           	moveq #-1,%d3                               <== NOT EXECUTED
  rtems_filesystem_freenode( &loc );                                  
  if ( free_parentloc )                                               
    rtems_filesystem_freenode( &parentloc );                          
                                                                      
  return result;                                                      
}                                                                     
   4706a:	2003           	movel %d3,%d0                               <== NOT EXECUTED
   4706c:	4cee 0c1c ffc0 	moveml %fp@(-64),%d2-%d4/%a2-%a3            <== NOT EXECUTED
   47072:	4e5e           	unlk %fp                                    <== NOT EXECUTED
   47074:	4e75           	rts                                         <== NOT EXECUTED
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
   47076:	2f0a           	movel %a2,%sp@-                             
    return -1;                                                        
   47078:	76ff           	moveq #-1,%d3                               
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
   4707a:	4eb9 0004 4168 	jsr 44168 <rtems_filesystem_freenode>       
   47080:	588f           	addql #4,%sp                                
  rtems_filesystem_freenode( &loc );                                  
  if ( free_parentloc )                                               
    rtems_filesystem_freenode( &parentloc );                          
                                                                      
  return result;                                                      
}                                                                     
   47082:	2003           	movel %d3,%d0                               
   47084:	4cee 0c1c ffc0 	moveml %fp@(-64),%d2-%d4/%a2-%a3            
   4708a:	4e5e           	unlk %fp                                    
   4708c:	4e75           	rts                                         
  parentpathlen = rtems_filesystem_dirname ( path );                  
                                                                      
  if ( parentpathlen == 0 )                                           
    rtems_filesystem_get_start_loc( path, &i, &parentloc );           
  else {                                                              
    result = rtems_filesystem_evaluate_path( path, parentpathlen,     
   4708e:	42a7           	clrl %sp@-                                  
   47090:	45ee ffe8      	lea %fp@(-24),%a2                           
   47094:	2600           	movel %d0,%d3                               
   47096:	2f0a           	movel %a2,%sp@-                             
   47098:	4878 0002      	pea 2 <DOUBLE_FLOAT>                        
   4709c:	2f00           	movel %d0,%sp@-                             
   4709e:	2f02           	movel %d2,%sp@-                             
   470a0:	4eb9 0004 4084 	jsr 44084 <rtems_filesystem_evaluate_path>  
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &parentloc,              
                                             false );                 
    if ( result != 0 )                                                
   470a6:	4fef 0014      	lea %sp@(20),%sp                            
   470aa:	4a80           	tstl %d0                                    
   470ac:	66ba           	bnes 47068 <unlink+0xe8>                    <== NEVER TAKEN
      return -1;                                                      
                                                                      
    free_parentloc = true;                                            
   470ae:	7801           	moveq #1,%d4                                
   470b0:	6000 ff04      	braw 46fb6 <unlink+0x36>                    
      rtems_filesystem_freenode( &parentloc );                        
    return -1;                                                        
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY ) {
    rtems_filesystem_freenode( &loc );                                
   470b4:	2f02           	movel %d2,%sp@-                             
   470b6:	47f9 0004 4168 	lea 44168 <rtems_filesystem_freenode>,%a3   
   470bc:	4e93           	jsr %a3@                                    
    if ( free_parentloc )                                             
   470be:	588f           	addql #4,%sp                                
   470c0:	4a04           	tstb %d4                                    
   470c2:	661a           	bnes 470de <unlink+0x15e>                   <== NEVER TAKEN
      rtems_filesystem_freenode( &parentloc );                        
    rtems_set_errno_and_return_minus_one( EISDIR );                   
   470c4:	4eb9 0005 2f80 	jsr 52f80 <__errno>                         
   470ca:	76ff           	moveq #-1,%d3                               
   470cc:	2040           	moveal %d0,%a0                              
   470ce:	7015           	moveq #21,%d0                               
   470d0:	2080           	movel %d0,%a0@                              
  rtems_filesystem_freenode( &loc );                                  
  if ( free_parentloc )                                               
    rtems_filesystem_freenode( &parentloc );                          
                                                                      
  return result;                                                      
}                                                                     
   470d2:	2003           	movel %d3,%d0                               
   470d4:	4cee 0c1c ffc0 	moveml %fp@(-64),%d2-%d4/%a2-%a3            
   470da:	4e5e           	unlk %fp                                    
   470dc:	4e75           	rts                                         
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY ) {
    rtems_filesystem_freenode( &loc );                                
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
   470de:	2f0a           	movel %a2,%sp@-                             
    rtems_set_errno_and_return_minus_one( EISDIR );                   
   470e0:	76ff           	moveq #-1,%d3                               
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY ) {
    rtems_filesystem_freenode( &loc );                                
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
   470e2:	4e93           	jsr %a3@                                    
   470e4:	588f           	addql #4,%sp                                
    rtems_set_errno_and_return_minus_one( EISDIR );                   
   470e6:	4eb9 0005 2f80 	jsr 52f80 <__errno>                         
   470ec:	2040           	moveal %d0,%a0                              
   470ee:	7015           	moveq #21,%d0                               
   470f0:	2080           	movel %d0,%a0@                              
   470f2:	60de           	bras 470d2 <unlink+0x152>                   
                                                                      

00047300 <unmount>: */ int unmount( const char *path ) {
   47300:	4e56 ffe0      	linkw %fp,#-32                              
   47304:	48d7 0c04      	moveml %d2/%a2-%a3,%sp@                     
   47308:	246e 0008      	moveal %fp@(8),%a2                          
   *    The root node of the mounted filesytem.                       
   *    The node for the directory that the fileystem is mounted on.  
   *    The mount entry that is being refered to.                     
   */                                                                 
                                                                      
  if ( rtems_filesystem_evaluate_path( path, strlen( path ), 0x0, &loc, true ) )
   4730c:	240e           	movel %fp,%d2                               
   4730e:	0682 ffff ffec 	addil #-20,%d2                              
   47314:	2f0a           	movel %a2,%sp@-                             
   47316:	4eb9 0005 1470 	jsr 51470 <strlen>                          
   4731c:	7201           	moveq #1,%d1                                
   4731e:	2e81           	movel %d1,%sp@                              
   47320:	2f02           	movel %d2,%sp@-                             
   47322:	42a7           	clrl %sp@-                                  
   47324:	2f00           	movel %d0,%sp@-                             
   47326:	2f0a           	movel %a2,%sp@-                             
   47328:	4eb9 0004 3fe0 	jsr 43fe0 <rtems_filesystem_evaluate_path>  
   4732e:	4fef 0014      	lea %sp@(20),%sp                            
   47332:	4a80           	tstl %d0                                    
   47334:	6664           	bnes 4739a <unmount+0x9a>                   
    return -1;                                                        
                                                                      
  mt_entry     = loc.mt_entry;                                        
   47336:	246e fffc      	moveal %fp@(-4),%a2                         
                                                                      
  /*                                                                  
   * Verify this is the root node for the file system to be unmounted.
   */                                                                 
                                                                      
  if ( fs_root_loc->node_access != loc.node_access ){                 
   4733a:	202e ffec      	movel %fp@(-20),%d0                         
   4733e:	b0aa 001c      	cmpl %a2@(28),%d0                           
   47342:	6600 00b6      	bnew 473fa <unmount+0xfa>                   
                                                                      
  /*                                                                  
   * Free the loc node and just use the nodes from the mt_entry .     
   */                                                                 
                                                                      
  rtems_filesystem_freenode( &loc );                                  
   47346:	2f02           	movel %d2,%sp@-                             
   47348:	47f9 0004 40c4 	lea 440c4 <rtems_filesystem_freenode>,%a3   
   4734e:	4e93           	jsr %a3@                                    
   *        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 )                
   47350:	2079 0006 1a48 	moveal 61a48 <rtems_current_user_env>,%a0   
   47356:	588f           	addql #4,%sp                                
   47358:	b5e8 0014      	cmpal %a0@(20),%a2                          
   4735c:	6700 00be      	beqw 4741c <unmount+0x11c>                  
                                                                      
  /*                                                                  
   *  Verify there are no file systems below the path specified       
   */                                                                 
                                                                      
  if ( rtems_filesystem_mount_iterate( is_fs_below_mount_point,       
   47360:	2f2a 002c      	movel %a2@(44),%sp@-                        
   47364:	487a ff82      	pea %pc@(472e8 <is_fs_below_mount_point>)   
   47368:	4eb9 0004 49d4 	jsr 449d4 <rtems_filesystem_mount_iterate>  
   4736e:	508f           	addql #8,%sp                                
   47370:	4a00           	tstb %d0                                    
   47372:	6600 00a8      	bnew 4741c <unmount+0x11c>                  
   *  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 )             
   47376:	2f0a           	movel %a2,%sp@-                             
   47378:	4eb9 0004 447c 	jsr 4447c <rtems_libio_is_open_files_in_fs> 
   4737e:	588f           	addql #4,%sp                                
   47380:	7201           	moveq #1,%d1                                
   47382:	b280           	cmpl %d0,%d1                                
   47384:	6700 0096      	beqw 4741c <unmount+0x11c>                  
   * 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 )             
   47388:	206a 0014      	moveal %a2@(20),%a0                         
   4738c:	2f0a           	movel %a2,%sp@-                             
   4738e:	2068 0028      	moveal %a0@(40),%a0                         
   47392:	4e90           	jsr %a0@                                    
   47394:	588f           	addql #4,%sp                                
   47396:	4a80           	tstl %d0                                    
   47398:	670c           	beqs 473a6 <unmount+0xa6>                   <== ALWAYS TAKEN
   */                                                                 
                                                                      
  if ((fs_root_loc->ops->fsunmount_me_h )( mt_entry ) != 0){          
    if (( fs_mount_loc->ops->mount_h )( mt_entry ) != 0 )             
      rtems_fatal_error_occurred( 0 );                                
    return -1;                                                        
   4739a:	70ff           	moveq #-1,%d0                               
                                                                      
  rtems_filesystem_freenode( fs_mount_loc );                          
  free( mt_entry );                                                   
                                                                      
  return 0;                                                           
}                                                                     
   4739c:	4cee 0c04 ffe0 	moveml %fp@(-32),%d2/%a2-%a3                
   473a2:	4e5e           	unlk %fp                                    
   473a4:	4e75           	rts                                         
   *  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){          
   473a6:	206a 0028      	moveal %a2@(40),%a0                         
   473aa:	2f0a           	movel %a2,%sp@-                             
   473ac:	2068 002c      	moveal %a0@(44),%a0                         
   473b0:	4e90           	jsr %a0@                                    
   473b2:	588f           	addql #4,%sp                                
   473b4:	4a80           	tstl %d0                                    
   473b6:	667c           	bnes 47434 <unmount+0x134>                  <== NEVER TAKEN
rtems_status_code rtems_libio_set_private_env(void);                  
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;   
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
   473b8:	42a7           	clrl %sp@-                                  
   473ba:	42a7           	clrl %sp@-                                  
   473bc:	2f39 0006 310c 	movel 6310c <rtems_libio_semaphore>,%sp@-   
   473c2:	4eb9 0004 7eec 	jsr 47eec <rtems_semaphore_obtain>          
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
   473c8:	2f0a           	movel %a2,%sp@-                             
   473ca:	4eb9 0004 8948 	jsr 48948 <_Chain_Extract>                  
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
   473d0:	2f39 0006 310c 	movel 6310c <rtems_libio_semaphore>,%sp@-   
   473d6:	4eb9 0004 802c 	jsr 4802c <rtems_semaphore_release>         
  /*                                                                  
   *  Free the memory node that was allocated in mount                
   *  Free the memory associated with the extracted mount table entry.
   */                                                                 
                                                                      
  rtems_filesystem_freenode( fs_mount_loc );                          
   473dc:	486a 0008      	pea %a2@(8)                                 
   473e0:	4e93           	jsr %a3@                                    
  free( mt_entry );                                                   
   473e2:	2f0a           	movel %a2,%sp@-                             
   473e4:	4eb9 0004 40d8 	jsr 440d8 <free>                            
                                                                      
  return 0;                                                           
   473ea:	4fef 001c      	lea %sp@(28),%sp                            
   473ee:	4280           	clrl %d0                                    
}                                                                     
   473f0:	4cee 0c04 ffe0 	moveml %fp@(-32),%d2/%a2-%a3                
   473f6:	4e5e           	unlk %fp                                    
   473f8:	4e75           	rts                                         
  /*                                                                  
   * Verify this is the root node for the file system to be unmounted.
   */                                                                 
                                                                      
  if ( fs_root_loc->node_access != loc.node_access ){                 
    rtems_filesystem_freenode( &loc );                                
   473fa:	2f02           	movel %d2,%sp@-                             
    rtems_set_errno_and_return_minus_one( EACCES );                   
   473fc:	740d           	moveq #13,%d2                               
  /*                                                                  
   * Verify this is the root node for the file system to be unmounted.
   */                                                                 
                                                                      
  if ( fs_root_loc->node_access != loc.node_access ){                 
    rtems_filesystem_freenode( &loc );                                
   473fe:	4eb9 0004 40c4 	jsr 440c4 <rtems_filesystem_freenode>       
    rtems_set_errno_and_return_minus_one( EACCES );                   
   47404:	4eb9 0004 ff7c 	jsr 4ff7c <__errno>                         
   4740a:	588f           	addql #4,%sp                                
   4740c:	2040           	moveal %d0,%a0                              
   4740e:	70ff           	moveq #-1,%d0                               
   47410:	2082           	movel %d2,%a0@                              
                                                                      
  rtems_filesystem_freenode( fs_mount_loc );                          
  free( mt_entry );                                                   
                                                                      
  return 0;                                                           
}                                                                     
   47412:	4cee 0c04 ffe0 	moveml %fp@(-32),%d2/%a2-%a3                
   47418:	4e5e           	unlk %fp                                    
   4741a:	4e75           	rts                                         
   *  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 );                    
   4741c:	4eb9 0004 ff7c 	jsr 4ff7c <__errno>                         
   47422:	7210           	moveq #16,%d1                               
   47424:	2040           	moveal %d0,%a0                              
   47426:	70ff           	moveq #-1,%d0                               
                                                                      
  rtems_filesystem_freenode( fs_mount_loc );                          
  free( mt_entry );                                                   
                                                                      
  return 0;                                                           
}                                                                     
   47428:	4cee 0c04 ffe0 	moveml %fp@(-32),%d2/%a2-%a3                
   *  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 );                    
   4742e:	2081           	movel %d1,%a0@                              
                                                                      
  rtems_filesystem_freenode( fs_mount_loc );                          
  free( mt_entry );                                                   
                                                                      
  return 0;                                                           
}                                                                     
   47430:	4e5e           	unlk %fp                                    
   47432:	4e75           	rts                                         
   *         This was response was questionable but the best we could 
   *         come up with.                                            
   */                                                                 
                                                                      
  if ((fs_root_loc->ops->fsunmount_me_h )( mt_entry ) != 0){          
    if (( fs_mount_loc->ops->mount_h )( mt_entry ) != 0 )             
   47434:	206a 0014      	moveal %a2@(20),%a0                         <== NOT EXECUTED
   47438:	2f0a           	movel %a2,%sp@-                             <== NOT EXECUTED
   4743a:	2068 0020      	moveal %a0@(32),%a0                         <== NOT EXECUTED
   4743e:	4e90           	jsr %a0@                                    <== NOT EXECUTED
   47440:	588f           	addql #4,%sp                                <== NOT EXECUTED
   47442:	4a80           	tstl %d0                                    <== NOT EXECUTED
   47444:	6700 ff54      	beqw 4739a <unmount+0x9a>                   <== NOT EXECUTED
      rtems_fatal_error_occurred( 0 );                                
   47448:	42a7           	clrl %sp@-                                  <== NOT EXECUTED
   4744a:	4eb9 0004 85ec 	jsr 485ec <rtems_fatal_error_occurred>      <== NOT EXECUTED
                                                                      

00045ccc <vprintk>: */ void vprintk( const char *fmt, va_list ap ) {
   45ccc:	4e56 ffc0      	linkw %fp,#-64                              
   45cd0:	48d7 3cfc      	moveml %d2-%d7/%a2-%a5,%sp@                 
   45cd4:	246e 0008      	moveal %fp@(8),%a2                          
  for (; *fmt != '\0'; fmt++) {                                       
   45cd8:	1012           	moveb %a2@,%d0                              
 */                                                                   
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
   45cda:	2a6e 000c      	moveal %fp@(12),%a5                         
  for (; *fmt != '\0'; fmt++) {                                       
   45cde:	6700 01ae      	beqw 45e8e <vprintk+0x1c2>                  
   45ce2:	47f9 0005 e407 	lea 5e407 <rtems_filesystem_default_pathconf+0xb5>,%a3
    bool minus = false;                                               
    bool sign = false;                                                
    char lead = ' ';                                                  
    char c;                                                           
                                                                      
    if (*fmt != '%') {                                                
   45ce8:	49c0           	extbl %d0                                   
   45cea:	7225           	moveq #37,%d1                               
   45cec:	b280           	cmpl %d0,%d1                                
   45cee:	6600 01dc      	bnew 45ecc <vprintk+0x200>                  
      BSP_output_char(*fmt);                                          
      continue;                                                       
    }                                                                 
    fmt++;                                                            
   45cf2:	528a           	addql #1,%a2                                
    if (*fmt == '0' ) {                                               
   45cf4:	7430           	moveq #48,%d2                               
   45cf6:	1012           	moveb %a2@,%d0                              
   45cf8:	1200           	moveb %d0,%d1                               
   45cfa:	49c1           	extbl %d1                                   
   45cfc:	b481           	cmpl %d1,%d2                                
   45cfe:	6700 0218      	beqw 45f18 <vprintk+0x24c>                  
    unsigned base = 0;                                                
    unsigned width = 0;                                               
    bool lflag = false;                                               
    bool minus = false;                                               
    bool sign = false;                                                
    char lead = ' ';                                                  
   45d02:	7c20           	moveq #32,%d6                               
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
      fmt++;                                                          
    }                                                                 
    if (*fmt == '-' ) {                                               
   45d04:	762d           	moveq #45,%d3                               
   45d06:	b681           	cmpl %d1,%d3                                
   45d08:	6700 01e2      	beqw 45eec <vprintk+0x220>                  
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
   45d0c:	2400           	movel %d0,%d2                               
   45d0e:	0682 ffff ffd0 	addil #-48,%d2                              
   45d14:	7a09           	moveq #9,%d5                                
   45d16:	0282 0000 00ff 	andil #255,%d2                              
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
    unsigned base = 0;                                                
    unsigned width = 0;                                               
    bool lflag = false;                                               
    bool minus = false;                                               
   45d1c:	4204           	clrb %d4                                    
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
   45d1e:	ba82           	cmpl %d2,%d5                                
   45d20:	6500 01ea      	bcsw 45f0c <vprintk+0x240>                  
 *  console is not yet initialized or in ISR's.                       
 *                                                                    
 * Arguments:                                                         
 *    as in printf: fmt - format string, ... - unnamed arguments.     
 */                                                                   
void vprintk(                                                         
   45d24:	41ea 0001      	lea %a2@(1),%a0                             
   45d28:	4282           	clrl %d2                                    
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
      width *= 10;                                                    
   45d2a:	2602           	movel %d2,%d3                               
      width += ((unsigned) *fmt - '0');                               
   45d2c:	2448           	moveal %a0,%a2                              
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
   45d2e:	5288           	addql #1,%a0                                
   45d30:	7a09           	moveq #9,%d5                                
      width *= 10;                                                    
   45d32:	e78b           	lsll #3,%d3                                 
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
   45d34:	1012           	moveb %a2@,%d0                              
      width *= 10;                                                    
   45d36:	2243           	moveal %d3,%a1                              
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
   45d38:	2600           	movel %d0,%d3                               
   45d3a:	0683 ffff ffd0 	addil #-48,%d3                              
      width *= 10;                                                    
   45d40:	43f1 2a00      	lea %a1@(00000000,%d2:l:2),%a1              
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
   45d44:	0283 0000 00ff 	andil #255,%d3                              
      width *= 10;                                                    
      width += ((unsigned) *fmt - '0');                               
   45d4a:	43f1 18d0      	lea %a1@(ffffffd0,%d1:l),%a1                
   45d4e:	1200           	moveb %d0,%d1                               
   45d50:	2409           	movel %a1,%d2                               
   45d52:	49c1           	extbl %d1                                   
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
   45d54:	ba83           	cmpl %d3,%d5                                
   45d56:	64d2           	bccs 45d2a <vprintk+0x5e>                   
      width *= 10;                                                    
      width += ((unsigned) *fmt - '0');                               
      fmt++;                                                          
    }                                                                 
                                                                      
    if ((c = *fmt) == 'l') {                                          
   45d58:	766c           	moveq #108,%d3                              
   45d5a:	1200           	moveb %d0,%d1                               
   45d5c:	49c1           	extbl %d1                                   
   45d5e:	b681           	cmpl %d1,%d3                                
   45d60:	6700 0136      	beqw 45e98 <vprintk+0x1cc>                  
      lflag = true;                                                   
      c = *++fmt;                                                     
    }                                                                 
    if ( c == 'c' ) {                                                 
   45d64:	49c0           	extbl %d0                                   
   45d66:	7a63           	moveq #99,%d5                               
   45d68:	ba80           	cmpl %d0,%d5                                
   45d6a:	6700 013a      	beqw 45ea6 <vprintk+0x1da>                  
      /* need a cast here since va_arg() only takes fully promoted types */
      char chr = (char) va_arg(ap, int);                              
      BSP_output_char(chr);                                           
      continue;                                                       
    }                                                                 
    if ( c == 's' ) {                                                 
   45d6e:	7673           	moveq #115,%d3                              
   45d70:	b680           	cmpl %d0,%d3                                
   45d72:	6700 01b2      	beqw 45f26 <vprintk+0x25a>                  
                                                                      
      continue;                                                       
    }                                                                 
                                                                      
    /* must be a numeric format or something unsupported */           
    if ( c == 'o' || c == 'O' ) {                                     
   45d76:	7a6f           	moveq #111,%d5                              
   45d78:	ba80           	cmpl %d0,%d5                                
   45d7a:	6700 0166      	beqw 45ee2 <vprintk+0x216>                  
   45d7e:	764f           	moveq #79,%d3                               
   45d80:	b680           	cmpl %d0,%d3                                
   45d82:	6700 015e      	beqw 45ee2 <vprintk+0x216>                  
      base = 8; sign = false;                                         
    } else if ( c == 'i' || c == 'I' ||                               
   45d86:	1a3c 0069      	moveb #105,%d5                              
   45d8a:	ba80           	cmpl %d0,%d5                                
   45d8c:	6700 0134      	beqw 45ec2 <vprintk+0x1f6>                  
   45d90:	163c 0049      	moveb #73,%d3                               
   45d94:	b680           	cmpl %d0,%d3                                
   45d96:	6700 012a      	beqw 45ec2 <vprintk+0x1f6>                  
   45d9a:	1a3c 0064      	moveb #100,%d5                              
   45d9e:	ba80           	cmpl %d0,%d5                                
   45da0:	6700 0120      	beqw 45ec2 <vprintk+0x1f6>                  
                c == 'd' || c == 'D' ) {                              
   45da4:	163c 0044      	moveb #68,%d3                               
   45da8:	b680           	cmpl %d0,%d3                                
   45daa:	6700 0116      	beqw 45ec2 <vprintk+0x1f6>                  
      base = 10; sign = true;                                         
    } else if ( c == 'u' || c == 'U' ) {                              
   45dae:	1a3c 0075      	moveb #117,%d5                              
   45db2:	ba80           	cmpl %d0,%d5                                
   45db4:	6700 024e      	beqw 46004 <vprintk+0x338>                  
   45db8:	163c 0055      	moveb #85,%d3                               
   45dbc:	b680           	cmpl %d0,%d3                                
   45dbe:	6700 0244      	beqw 46004 <vprintk+0x338>                  
      base = 10; sign = false;                                        
    } else if ( c == 'x' || c == 'X' ) {                              
   45dc2:	1a3c 0078      	moveb #120,%d5                              
   45dc6:	ba80           	cmpl %d0,%d5                                
   45dc8:	6700 0256      	beqw 46020 <vprintk+0x354>                  
   45dcc:	163c 0058      	moveb #88,%d3                               
   45dd0:	b680           	cmpl %d0,%d3                                
   45dd2:	6700 024c      	beqw 46020 <vprintk+0x354>                  
      base = 16; sign = false;                                        
    } else if ( c == 'p' ) {                                          
   45dd6:	1a3c 0070      	moveb #112,%d5                              
   45dda:	ba80           	cmpl %d0,%d5                                
   45ddc:	6600 00ee      	bnew 45ecc <vprintk+0x200>                  
    } else {                                                          
      BSP_output_char(c);                                             
      continue;                                                       
    }                                                                 
                                                                      
    printNum(                                                         
   45de0:	49c6           	extbl %d6                                   
    } else if ( c == 'u' || c == 'U' ) {                              
      base = 10; sign = false;                                        
    } else if ( c == 'x' || c == 'X' ) {                              
      base = 16; sign = false;                                        
    } else if ( c == 'p' ) {                                          
      base = 16; sign = false; lflag = true;                          
   45de2:	7610           	moveq #16,%d3                               
   45de4:	4200           	clrb %d0                                    
    } else {                                                          
      BSP_output_char(c);                                             
      continue;                                                       
    }                                                                 
                                                                      
    printNum(                                                         
   45de6:	2815           	movel %a5@,%d4                              
      lflag ? va_arg(ap, long) : (long) va_arg(ap, int),              
   45de8:	588d           	addql #4,%a5                                
  unsigned long unsigned_num;                                         
  unsigned long n;                                                    
  unsigned count;                                                     
  char toPrint[20];                                                   
                                                                      
  if ( sign && (num <  0) ) {                                         
   45dea:	4a00           	tstb %d0                                    
   45dec:	6706           	beqs 45df4 <vprintk+0x128>                  
   45dee:	4a84           	tstl %d4                                    
   45df0:	6d00 01dc      	bltw 45fce <vprintk+0x302>                  
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
   45df4:	2004           	movel %d4,%d0                               
   45df6:	4c43 0000      	remul %d3,%d0,%d0                           
   45dfa:	6700 01f4      	beqw 45ff0 <vprintk+0x324>                  
   45dfe:	2200           	movel %d0,%d1                               
   45e00:	43ee ffec      	lea %fp@(-20),%a1                           
    if (maxwidth) maxwidth--;                                         
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
   45e04:	91c8           	subal %a0,%a0                               
  while ((n = unsigned_num / base) > 0) {                             
    toPrint[count++] = (char) (unsigned_num - (n * base));            
   45e06:	5288           	addql #1,%a0                                
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
   45e08:	1e03           	moveb %d3,%d7                               
    toPrint[count++] = (char) (unsigned_num - (n * base));            
   45e0a:	3a00           	movew %d0,%d5                               
   45e0c:	2d42 ffe8      	movel %d2,%fp@(-24)                         
   45e10:	cbc7           	mulsw %d7,%d5                               
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
   45e12:	4c43 1001      	remul %d3,%d1,%d1                           
    toPrint[count++] = (char) (unsigned_num - (n * base));            
   45e16:	9885           	subl %d5,%d4                                
   45e18:	2a04           	movel %d4,%d5                               
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
   45e1a:	2800           	movel %d0,%d4                               
    toPrint[count++] = (char) (unsigned_num - (n * base));            
   45e1c:	12c5           	moveb %d5,%a1@+                             
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
   45e1e:	4a81           	tstl %d1                                    
   45e20:	671a           	beqs 45e3c <vprintk+0x170>                  
   45e22:	2001           	movel %d1,%d0                               
   45e24:	2200           	movel %d0,%d1                               
    toPrint[count++] = (char) (unsigned_num - (n * base));            
   45e26:	5288           	addql #1,%a0                                
   45e28:	3a00           	movew %d0,%d5                               
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
   45e2a:	4c43 1001      	remul %d3,%d1,%d1                           
    toPrint[count++] = (char) (unsigned_num - (n * base));            
   45e2e:	cbc7           	mulsw %d7,%d5                               
   45e30:	9885           	subl %d5,%d4                                
   45e32:	2a04           	movel %d4,%d5                               
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
   45e34:	2800           	movel %d0,%d4                               
    toPrint[count++] = (char) (unsigned_num - (n * base));            
   45e36:	12c5           	moveb %d5,%a1@+                             
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
   45e38:	4a81           	tstl %d1                                    
   45e3a:	66e6           	bnes 45e22 <vprintk+0x156>                  
   45e3c:	2608           	movel %a0,%d3                               
   45e3e:	5283           	addql #1,%d3                                
   45e40:	242e ffe8      	movel %fp@(-24),%d2                         
    toPrint[count++] = (char) (unsigned_num - (n * base));            
    unsigned_num = n;                                                 
  }                                                                   
  toPrint[count++] = (char) unsigned_num;                             
   45e44:	1d80 88ec      	moveb %d0,%fp@(ffffffec,%a0:l)              
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
   45e48:	b682           	cmpl %d2,%d3                                
   45e4a:	6412           	bccs 45e5e <vprintk+0x192>                  
    BSP_output_char(lead);                                            
   45e4c:	2f06           	movel %d6,%sp@-                             
   45e4e:	2079 0005 f3c4 	moveal 5f3c4 <BSP_output_char>,%a0          
    toPrint[count++] = (char) (unsigned_num - (n * base));            
    unsigned_num = n;                                                 
  }                                                                   
  toPrint[count++] = (char) unsigned_num;                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
   45e54:	5382           	subql #1,%d2                                
    BSP_output_char(lead);                                            
   45e56:	4e90           	jsr %a0@                                    
    toPrint[count++] = (char) (unsigned_num - (n * base));            
    unsigned_num = n;                                                 
  }                                                                   
  toPrint[count++] = (char) unsigned_num;                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
   45e58:	588f           	addql #4,%sp                                
   45e5a:	b682           	cmpl %d2,%d3                                
   45e5c:	65ee           	bcss 45e4c <vprintk+0x180>                  
    BSP_output_char(lead);                                            
                                                                      
  for (n = 0; n < count; n++) {                                       
   45e5e:	4a83           	tstl %d3                                    
   45e60:	6724           	beqs 45e86 <vprintk+0x1ba>                  <== NEVER TAKEN
 *  console is not yet initialized or in ISR's.                       
 *                                                                    
 * Arguments:                                                         
 *    as in printf: fmt - format string, ... - unnamed arguments.     
 */                                                                   
void vprintk(                                                         
   45e62:	49ee ffec      	lea %fp@(-20),%a4                           
   45e66:	d9c3           	addal %d3,%a4                               
   45e68:	4282           	clrl %d2                                    
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
    BSP_output_char(lead);                                            
                                                                      
  for (n = 0; n < count; n++) {                                       
    BSP_output_char("0123456789ABCDEF"[(int)(toPrint[count-(n+1)])]); 
   45e6a:	2079 0005 f3c4 	moveal 5f3c4 <BSP_output_char>,%a0          
  toPrint[count++] = (char) unsigned_num;                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
    BSP_output_char(lead);                                            
                                                                      
  for (n = 0; n < count; n++) {                                       
   45e70:	5282           	addql #1,%d2                                
    BSP_output_char("0123456789ABCDEF"[(int)(toPrint[count-(n+1)])]); 
   45e72:	1024           	moveb %a4@-,%d0                             
   45e74:	49c0           	extbl %d0                                   
   45e76:	1033 0800      	moveb %a3@(00000000,%d0:l),%d0              
   45e7a:	49c0           	extbl %d0                                   
   45e7c:	2f00           	movel %d0,%sp@-                             
   45e7e:	4e90           	jsr %a0@                                    
  toPrint[count++] = (char) unsigned_num;                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
    BSP_output_char(lead);                                            
                                                                      
  for (n = 0; n < count; n++) {                                       
   45e80:	588f           	addql #4,%sp                                
   45e82:	b682           	cmpl %d2,%d3                                
   45e84:	62e4           	bhis 45e6a <vprintk+0x19e>                  
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
   45e86:	528a           	addql #1,%a2                                
   45e88:	1012           	moveb %a2@,%d0                              
   45e8a:	6600 fe5c      	bnew 45ce8 <vprintk+0x1c>                   
      sign,                                                           
      width,                                                          
      lead                                                            
    );                                                                
  }                                                                   
}                                                                     
   45e8e:	4cee 3cfc ffc0 	moveml %fp@(-64),%d2-%d7/%a2-%a5            
   45e94:	4e5e           	unlk %fp                                    
   45e96:	4e75           	rts                                         
      fmt++;                                                          
    }                                                                 
                                                                      
    if ((c = *fmt) == 'l') {                                          
      lflag = true;                                                   
      c = *++fmt;                                                     
   45e98:	528a           	addql #1,%a2                                
    }                                                                 
    if ( c == 'c' ) {                                                 
   45e9a:	7a63           	moveq #99,%d5                               
      fmt++;                                                          
    }                                                                 
                                                                      
    if ((c = *fmt) == 'l') {                                          
      lflag = true;                                                   
      c = *++fmt;                                                     
   45e9c:	1012           	moveb %a2@,%d0                              
    }                                                                 
    if ( c == 'c' ) {                                                 
   45e9e:	49c0           	extbl %d0                                   
   45ea0:	ba80           	cmpl %d0,%d5                                
   45ea2:	6600 feca      	bnew 45d6e <vprintk+0xa2>                   
      /* need a cast here since va_arg() only takes fully promoted types */
      char chr = (char) va_arg(ap, int);                              
   45ea6:	2015           	movel %a5@,%d0                              
      BSP_output_char(chr);                                           
   45ea8:	49c0           	extbl %d0                                   
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
   45eaa:	528a           	addql #1,%a2                                
      lflag = true;                                                   
      c = *++fmt;                                                     
    }                                                                 
    if ( c == 'c' ) {                                                 
      /* need a cast here since va_arg() only takes fully promoted types */
      char chr = (char) va_arg(ap, int);                              
   45eac:	588d           	addql #4,%a5                                
      BSP_output_char(chr);                                           
   45eae:	2f00           	movel %d0,%sp@-                             
   45eb0:	2079 0005 f3c4 	moveal 5f3c4 <BSP_output_char>,%a0          
   45eb6:	4e90           	jsr %a0@                                    
      continue;                                                       
   45eb8:	588f           	addql #4,%sp                                
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
   45eba:	1012           	moveb %a2@,%d0                              
   45ebc:	6600 fe2a      	bnew 45ce8 <vprintk+0x1c>                   
   45ec0:	60cc           	bras 45e8e <vprintk+0x1c2>                  <== NOT EXECUTED
    /* must be a numeric format or something unsupported */           
    if ( c == 'o' || c == 'O' ) {                                     
      base = 8; sign = false;                                         
    } else if ( c == 'i' || c == 'I' ||                               
                c == 'd' || c == 'D' ) {                              
      base = 10; sign = true;                                         
   45ec2:	760a           	moveq #10,%d3                               
    } else {                                                          
      BSP_output_char(c);                                             
      continue;                                                       
    }                                                                 
                                                                      
    printNum(                                                         
   45ec4:	49c6           	extbl %d6                                   
    /* must be a numeric format or something unsupported */           
    if ( c == 'o' || c == 'O' ) {                                     
      base = 8; sign = false;                                         
    } else if ( c == 'i' || c == 'I' ||                               
                c == 'd' || c == 'D' ) {                              
      base = 10; sign = true;                                         
   45ec6:	7001           	moveq #1,%d0                                
   45ec8:	6000 ff1c      	braw 45de6 <vprintk+0x11a>                  
    } else if ( c == 'x' || c == 'X' ) {                              
      base = 16; sign = false;                                        
    } else if ( c == 'p' ) {                                          
      base = 16; sign = false; lflag = true;                          
    } else {                                                          
      BSP_output_char(c);                                             
   45ecc:	2f00           	movel %d0,%sp@-                             
   45ece:	2079 0005 f3c4 	moveal 5f3c4 <BSP_output_char>,%a0          
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
   45ed4:	528a           	addql #1,%a2                                
    } else if ( c == 'x' || c == 'X' ) {                              
      base = 16; sign = false;                                        
    } else if ( c == 'p' ) {                                          
      base = 16; sign = false; lflag = true;                          
    } else {                                                          
      BSP_output_char(c);                                             
   45ed6:	4e90           	jsr %a0@                                    
      continue;                                                       
   45ed8:	588f           	addql #4,%sp                                
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
   45eda:	1012           	moveb %a2@,%d0                              
   45edc:	6600 fe0a      	bnew 45ce8 <vprintk+0x1c>                   
   45ee0:	60ac           	bras 45e8e <vprintk+0x1c2>                  
      continue;                                                       
    }                                                                 
                                                                      
    /* must be a numeric format or something unsupported */           
    if ( c == 'o' || c == 'O' ) {                                     
      base = 8; sign = false;                                         
   45ee2:	7608           	moveq #8,%d3                                
    } else {                                                          
      BSP_output_char(c);                                             
      continue;                                                       
    }                                                                 
                                                                      
    printNum(                                                         
   45ee4:	49c6           	extbl %d6                                   
      continue;                                                       
    }                                                                 
                                                                      
    /* must be a numeric format or something unsupported */           
    if ( c == 'o' || c == 'O' ) {                                     
      base = 8; sign = false;                                         
   45ee6:	4200           	clrb %d0                                    
   45ee8:	6000 fefc      	braw 45de6 <vprintk+0x11a>                  
      lead = '0';                                                     
      fmt++;                                                          
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
   45eec:	528a           	addql #1,%a2                                
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
   45eee:	7a09           	moveq #9,%d5                                
      lead = '0';                                                     
      fmt++;                                                          
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
   45ef0:	1012           	moveb %a2@,%d0                              
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
      fmt++;                                                          
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
   45ef2:	7801           	moveq #1,%d4                                
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
   45ef4:	2400           	movel %d0,%d2                               
   45ef6:	0682 ffff ffd0 	addil #-48,%d2                              
   45efc:	1200           	moveb %d0,%d1                               
   45efe:	0282 0000 00ff 	andil #255,%d2                              
   45f04:	49c1           	extbl %d1                                   
   45f06:	ba82           	cmpl %d2,%d5                                
   45f08:	6400 fe1a      	bccw 45d24 <vprintk+0x58>                   
   45f0c:	4282           	clrl %d2                                    
      width *= 10;                                                    
      width += ((unsigned) *fmt - '0');                               
      fmt++;                                                          
    }                                                                 
                                                                      
    if ((c = *fmt) == 'l') {                                          
   45f0e:	766c           	moveq #108,%d3                              
   45f10:	b681           	cmpl %d1,%d3                                
   45f12:	6600 fe50      	bnew 45d64 <vprintk+0x98>                   
   45f16:	6080           	bras 45e98 <vprintk+0x1cc>                  
      continue;                                                       
    }                                                                 
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
      fmt++;                                                          
   45f18:	528a           	addql #1,%a2                                
   45f1a:	1012           	moveb %a2@,%d0                              
      BSP_output_char(*fmt);                                          
      continue;                                                       
    }                                                                 
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
   45f1c:	7c30           	moveq #48,%d6                               
   45f1e:	1200           	moveb %d0,%d1                               
   45f20:	49c1           	extbl %d1                                   
   45f22:	6000 fde0      	braw 45d04 <vprintk+0x38>                   
    }                                                                 
    if ( c == 's' ) {                                                 
      unsigned i, len;                                                
      char *s, *str;                                                  
                                                                      
      str = va_arg(ap, char *);                                       
   45f26:	2855           	moveal %a5@,%a4                             
   45f28:	588d           	addql #4,%a5                                
                                                                      
      if ( str == NULL ) {                                            
   45f2a:	4a8c           	tstl %a4                                    
   45f2c:	6700 00e0      	beqw 4600e <vprintk+0x342>                  
        str = "";                                                     
      }                                                               
                                                                      
      /* calculate length of string */                                
      for ( len=0, s=str ; *s ; len++, s++ )                          
   45f30:	4a14           	tstb %a4@                                   
   45f32:	6700 00e6      	beqw 4601a <vprintk+0x34e>                  
 *  console is not yet initialized or in ISR's.                       
 *                                                                    
 * Arguments:                                                         
 *    as in printf: fmt - format string, ... - unnamed arguments.     
 */                                                                   
void vprintk(                                                         
   45f36:	41ec 0001      	lea %a4@(1),%a0                             
      if ( str == NULL ) {                                            
        str = "";                                                     
      }                                                               
                                                                      
      /* calculate length of string */                                
      for ( len=0, s=str ; *s ; len++, s++ )                          
   45f3a:	4283           	clrl %d3                                    
   45f3c:	5283           	addql #1,%d3                                
   45f3e:	4a18           	tstb %a0@+                                  
   45f40:	66fa           	bnes 45f3c <vprintk+0x270>                  
        ;                                                             
                                                                      
      /* leading spaces */                                            
      if ( !minus )                                                   
   45f42:	4a04           	tstb %d4                                    
   45f44:	661a           	bnes 45f60 <vprintk+0x294>                  
        for ( i=len ; i<width ; i++ )                                 
   45f46:	b483           	cmpl %d3,%d2                                
   45f48:	6316           	blss 45f60 <vprintk+0x294>                  
   45f4a:	2a03           	movel %d3,%d5                               
          BSP_output_char(' ');                                       
   45f4c:	4878 0020      	pea 20 <OPER2+0xc>                          
      for ( len=0, s=str ; *s ; len++, s++ )                          
        ;                                                             
                                                                      
      /* leading spaces */                                            
      if ( !minus )                                                   
        for ( i=len ; i<width ; i++ )                                 
   45f50:	5285           	addql #1,%d5                                
          BSP_output_char(' ');                                       
   45f52:	2079 0005 f3c4 	moveal 5f3c4 <BSP_output_char>,%a0          
   45f58:	4e90           	jsr %a0@                                    
      for ( len=0, s=str ; *s ; len++, s++ )                          
        ;                                                             
                                                                      
      /* leading spaces */                                            
      if ( !minus )                                                   
        for ( i=len ; i<width ; i++ )                                 
   45f5a:	588f           	addql #4,%sp                                
   45f5c:	b485           	cmpl %d5,%d2                                
   45f5e:	62ec           	bhis 45f4c <vprintk+0x280>                  
          BSP_output_char(' ');                                       
                                                                      
      /* no width option */                                           
      if (width == 0) {                                               
   45f60:	4a82           	tstl %d2                                    
   45f62:	6606           	bnes 45f6a <vprintk+0x29e>                  
          width = len;                                                
      }                                                               
                                                                      
      /* output the string */                                         
      for ( i=0 ; i<width && *str ; str++ )                           
   45f64:	4a83           	tstl %d3                                    
   45f66:	672c           	beqs 45f94 <vprintk+0x2c8>                  
   45f68:	2403           	movel %d3,%d2                               
   45f6a:	1014           	moveb %a4@,%d0                              
   45f6c:	6726           	beqs 45f94 <vprintk+0x2c8>                  <== NEVER TAKEN
        BSP_output_char(*str);                                        
   45f6e:	49c0           	extbl %d0                                   
      if (width == 0) {                                               
          width = len;                                                
      }                                                               
                                                                      
      /* output the string */                                         
      for ( i=0 ; i<width && *str ; str++ )                           
   45f70:	528c           	addql #1,%a4                                
        BSP_output_char(*str);                                        
   45f72:	2f00           	movel %d0,%sp@-                             
   45f74:	2079 0005 f3c4 	moveal 5f3c4 <BSP_output_char>,%a0          
   45f7a:	4e90           	jsr %a0@                                    
   45f7c:	588f           	addql #4,%sp                                
      if (width == 0) {                                               
          width = len;                                                
      }                                                               
                                                                      
      /* output the string */                                         
      for ( i=0 ; i<width && *str ; str++ )                           
   45f7e:	101c           	moveb %a4@+,%d0                             
   45f80:	6712           	beqs 45f94 <vprintk+0x2c8>                  
        BSP_output_char(*str);                                        
   45f82:	49c0           	extbl %d0                                   
   45f84:	2079 0005 f3c4 	moveal 5f3c4 <BSP_output_char>,%a0          
   45f8a:	2f00           	movel %d0,%sp@-                             
   45f8c:	4e90           	jsr %a0@                                    
   45f8e:	588f           	addql #4,%sp                                
      if (width == 0) {                                               
          width = len;                                                
      }                                                               
                                                                      
      /* output the string */                                         
      for ( i=0 ; i<width && *str ; str++ )                           
   45f90:	101c           	moveb %a4@+,%d0                             
   45f92:	66ee           	bnes 45f82 <vprintk+0x2b6>                  
        BSP_output_char(*str);                                        
                                                                      
      /* trailing spaces */                                           
      if ( minus )                                                    
   45f94:	4a04           	tstb %d4                                    
   45f96:	6700 feee      	beqw 45e86 <vprintk+0x1ba>                  
        for ( i=len ; i<width ; i++ )                                 
   45f9a:	b483           	cmpl %d3,%d2                                
   45f9c:	6300 fee8      	blsw 45e86 <vprintk+0x1ba>                  
          BSP_output_char(' ');                                       
   45fa0:	4878 0020      	pea 20 <OPER2+0xc>                          
      for ( i=0 ; i<width && *str ; str++ )                           
        BSP_output_char(*str);                                        
                                                                      
      /* trailing spaces */                                           
      if ( minus )                                                    
        for ( i=len ; i<width ; i++ )                                 
   45fa4:	5283           	addql #1,%d3                                
          BSP_output_char(' ');                                       
   45fa6:	2079 0005 f3c4 	moveal 5f3c4 <BSP_output_char>,%a0          
   45fac:	4e90           	jsr %a0@                                    
      for ( i=0 ; i<width && *str ; str++ )                           
        BSP_output_char(*str);                                        
                                                                      
      /* trailing spaces */                                           
      if ( minus )                                                    
        for ( i=len ; i<width ; i++ )                                 
   45fae:	588f           	addql #4,%sp                                
   45fb0:	b483           	cmpl %d3,%d2                                
   45fb2:	6300 fed2      	blsw 45e86 <vprintk+0x1ba>                  
          BSP_output_char(' ');                                       
   45fb6:	4878 0020      	pea 20 <OPER2+0xc>                          
      for ( i=0 ; i<width && *str ; str++ )                           
        BSP_output_char(*str);                                        
                                                                      
      /* trailing spaces */                                           
      if ( minus )                                                    
        for ( i=len ; i<width ; i++ )                                 
   45fba:	5283           	addql #1,%d3                                
          BSP_output_char(' ');                                       
   45fbc:	2079 0005 f3c4 	moveal 5f3c4 <BSP_output_char>,%a0          
   45fc2:	4e90           	jsr %a0@                                    
      for ( i=0 ; i<width && *str ; str++ )                           
        BSP_output_char(*str);                                        
                                                                      
      /* trailing spaces */                                           
      if ( minus )                                                    
        for ( i=len ; i<width ; i++ )                                 
   45fc4:	588f           	addql #4,%sp                                
   45fc6:	b483           	cmpl %d3,%d2                                
   45fc8:	62d6           	bhis 45fa0 <vprintk+0x2d4>                  
   45fca:	6000 feba      	braw 45e86 <vprintk+0x1ba>                  
  unsigned long n;                                                    
  unsigned count;                                                     
  char toPrint[20];                                                   
                                                                      
  if ( sign && (num <  0) ) {                                         
    BSP_output_char('-');                                             
   45fce:	4878 002d      	pea 2d <OPER2+0x19>                         
    unsigned_num = (unsigned long) -num;                              
   45fd2:	4484           	negl %d4                                    
  unsigned long n;                                                    
  unsigned count;                                                     
  char toPrint[20];                                                   
                                                                      
  if ( sign && (num <  0) ) {                                         
    BSP_output_char('-');                                             
   45fd4:	2079 0005 f3c4 	moveal 5f3c4 <BSP_output_char>,%a0          
   45fda:	4e90           	jsr %a0@                                    
    unsigned_num = (unsigned long) -num;                              
    if (maxwidth) maxwidth--;                                         
   45fdc:	588f           	addql #4,%sp                                
   45fde:	4a82           	tstl %d2                                    
   45fe0:	6700 fe12      	beqw 45df4 <vprintk+0x128>                  
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
   45fe4:	2004           	movel %d4,%d0                               
  char toPrint[20];                                                   
                                                                      
  if ( sign && (num <  0) ) {                                         
    BSP_output_char('-');                                             
    unsigned_num = (unsigned long) -num;                              
    if (maxwidth) maxwidth--;                                         
   45fe6:	5382           	subql #1,%d2                                
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
   45fe8:	4c43 0000      	remul %d3,%d0,%d0                           
   45fec:	6600 fe10      	bnew 45dfe <vprintk+0x132>                  
   45ff0:	2004           	movel %d4,%d0                               
    if (maxwidth) maxwidth--;                                         
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
   45ff2:	91c8           	subal %a0,%a0                               
  while ((n = unsigned_num / base) > 0) {                             
   45ff4:	7601           	moveq #1,%d3                                
    toPrint[count++] = (char) (unsigned_num - (n * base));            
    unsigned_num = n;                                                 
  }                                                                   
  toPrint[count++] = (char) unsigned_num;                             
   45ff6:	1d80 88ec      	moveb %d0,%fp@(ffffffec,%a0:l)              
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
   45ffa:	b682           	cmpl %d2,%d3                                
   45ffc:	6500 fe4e      	bcsw 45e4c <vprintk+0x180>                  
   46000:	6000 fe5c      	braw 45e5e <vprintk+0x192>                  
      base = 8; sign = false;                                         
    } else if ( c == 'i' || c == 'I' ||                               
                c == 'd' || c == 'D' ) {                              
      base = 10; sign = true;                                         
    } else if ( c == 'u' || c == 'U' ) {                              
      base = 10; sign = false;                                        
   46004:	760a           	moveq #10,%d3                               
    } else {                                                          
      BSP_output_char(c);                                             
      continue;                                                       
    }                                                                 
                                                                      
    printNum(                                                         
   46006:	49c6           	extbl %d6                                   
      base = 8; sign = false;                                         
    } else if ( c == 'i' || c == 'I' ||                               
                c == 'd' || c == 'D' ) {                              
      base = 10; sign = true;                                         
    } else if ( c == 'u' || c == 'U' ) {                              
      base = 10; sign = false;                                        
   46008:	4200           	clrb %d0                                    
   4600a:	6000 fdda      	braw 45de6 <vprintk+0x11a>                  
      char *s, *str;                                                  
                                                                      
      str = va_arg(ap, char *);                                       
                                                                      
      if ( str == NULL ) {                                            
        str = "";                                                     
   4600e:	49f9 0005 e406 	lea 5e406 <rtems_filesystem_default_pathconf+0xb4>,%a4
      }                                                               
                                                                      
      /* calculate length of string */                                
      for ( len=0, s=str ; *s ; len++, s++ )                          
   46014:	4a14           	tstb %a4@                                   
   46016:	6600 ff1e      	bnew 45f36 <vprintk+0x26a>                  
   4601a:	4283           	clrl %d3                                    
   4601c:	6000 ff24      	braw 45f42 <vprintk+0x276>                  
                c == 'd' || c == 'D' ) {                              
      base = 10; sign = true;                                         
    } else if ( c == 'u' || c == 'U' ) {                              
      base = 10; sign = false;                                        
    } else if ( c == 'x' || c == 'X' ) {                              
      base = 16; sign = false;                                        
   46020:	7610           	moveq #16,%d3                               
    } else {                                                          
      BSP_output_char(c);                                             
      continue;                                                       
    }                                                                 
                                                                      
    printNum(                                                         
   46022:	49c6           	extbl %d6                                   
                c == 'd' || c == 'D' ) {                              
      base = 10; sign = true;                                         
    } else if ( c == 'u' || c == 'U' ) {                              
      base = 10; sign = false;                                        
    } else if ( c == 'x' || c == 'X' ) {                              
      base = 16; sign = false;                                        
   46024:	4200           	clrb %d0                                    
   46026:	6000 fdbe      	braw 45de6 <vprintk+0x11a>                  
	...                                                                  
                                                                      

0005cd38 <write>: ssize_t write( int fd, const void *buffer, size_t count ) {
   5cd38:	4e56 fff4      	linkw %fp,#-12                              
   5cd3c:	202e 0008      	movel %fp@(8),%d0                           
   5cd40:	222e 000c      	movel %fp@(12),%d1                          
   5cd44:	206e 0010      	moveal %fp@(16),%a0                         
   5cd48:	48d7 040c      	moveml %d2-%d3/%a2,%sp@                     
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
   5cd4c:	b0b9 0005 f294 	cmpl 5f294 <rtems_libio_number_iops>,%d0    
   5cd52:	6468           	bccs 5cdbc <write+0x84>                     <== NEVER TAKEN
  iop = rtems_libio_iop( fd );                                        
   5cd54:	2400           	movel %d0,%d2                               
   5cd56:	ed88           	lsll #6,%d0                                 
   5cd58:	e78a           	lsll #3,%d2                                 
   5cd5a:	2479 0006 0b14 	moveal 60b14 <rtems_libio_iops>,%a2         
   5cd60:	9082           	subl %d2,%d0                                
   5cd62:	d5c0           	addal %d0,%a2                               
  rtems_libio_check_is_open( iop );                                   
   5cd64:	202a 0014      	movel %a2@(20),%d0                          
   5cd68:	0800 0008      	btst #8,%d0                                 
   5cd6c:	674e           	beqs 5cdbc <write+0x84>                     
  rtems_libio_check_buffer( buffer );                                 
   5cd6e:	4a81           	tstl %d1                                    
   5cd70:	6762           	beqs 5cdd4 <write+0x9c>                     <== NEVER TAKEN
  rtems_libio_check_count( count );                                   
   5cd72:	4a88           	tstl %a0                                    
   5cd74:	673a           	beqs 5cdb0 <write+0x78>                     
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
   5cd76:	44c0           	movew %d0,%ccr                              
   5cd78:	665a           	bnes 5cdd4 <write+0x9c>                     <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Now process the write() request.                                
   */                                                                 
  rc = (*iop->pathinfo.handlers->write_h)( iop, buffer, count );      
   5cd7a:	226a 0020      	moveal %a2@(32),%a1                         
   5cd7e:	2f08           	movel %a0,%sp@-                             
   5cd80:	2f01           	movel %d1,%sp@-                             
   5cd82:	2f0a           	movel %a2,%sp@-                             
   5cd84:	2069 000c      	moveal %a1@(12),%a0                         
   5cd88:	4e90           	jsr %a0@                                    
                                                                      
  if ( rc > 0 )                                                       
   5cd8a:	4fef 000c      	lea %sp@(12),%sp                            
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
                                                                      
  /*                                                                  
   *  Now process the write() request.                                
   */                                                                 
  rc = (*iop->pathinfo.handlers->write_h)( iop, buffer, count );      
   5cd8e:	2200           	movel %d0,%d1                               
                                                                      
  if ( rc > 0 )                                                       
   5cd90:	6f14           	bles 5cda6 <write+0x6e>                     
    iop->offset += rc;                                                
   5cd92:	2401           	movel %d1,%d2                               
   5cd94:	5bc1           	smi %d1                                     
   5cd96:	49c1           	extbl %d1                                   
   5cd98:	d5aa 0010      	addl %d2,%a2@(16)                           
   5cd9c:	262a 000c      	movel %a2@(12),%d3                          
   5cda0:	d781           	addxl %d1,%d3                               
   5cda2:	2543 000c      	movel %d3,%a2@(12)                          
                                                                      
  return rc;                                                          
}                                                                     
   5cda6:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
   5cdac:	4e5e           	unlk %fp                                    
   5cdae:	4e75           	rts                                         
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
  rtems_libio_check_buffer( buffer );                                 
  rtems_libio_check_count( count );                                   
   5cdb0:	4280           	clrl %d0                                    
                                                                      
  if ( rc > 0 )                                                       
    iop->offset += rc;                                                
                                                                      
  return rc;                                                          
}                                                                     
   5cdb2:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
   5cdb8:	4e5e           	unlk %fp                                    
   5cdba:	4e75           	rts                                         
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
   5cdbc:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         
   5cdc2:	7409           	moveq #9,%d2                                
   5cdc4:	2040           	moveal %d0,%a0                              
   5cdc6:	70ff           	moveq #-1,%d0                               
   5cdc8:	2082           	movel %d2,%a0@                              
                                                                      
  if ( rc > 0 )                                                       
    iop->offset += rc;                                                
                                                                      
  return rc;                                                          
}                                                                     
   5cdca:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
   5cdd0:	4e5e           	unlk %fp                                    
   5cdd2:	4e75           	rts                                         
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
  rtems_libio_check_buffer( buffer );                                 
  rtems_libio_check_count( count );                                   
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
   5cdd4:	4eb9 0004 ebd0 	jsr 4ebd0 <__errno>                         
   5cdda:	7216           	moveq #22,%d1                               
   5cddc:	2040           	moveal %d0,%a0                              
   5cdde:	70ff           	moveq #-1,%d0                               
                                                                      
  if ( rc > 0 )                                                       
    iop->offset += rc;                                                
                                                                      
  return rc;                                                          
}                                                                     
   5cde0:	4cee 040c fff4 	moveml %fp@(-12),%d2-%d3/%a2                
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
  rtems_libio_check_buffer( buffer );                                 
  rtems_libio_check_count( count );                                   
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
   5cde6:	2081           	movel %d1,%a0@                              
                                                                      
  if ( rc > 0 )                                                       
    iop->offset += rc;                                                
                                                                      
  return rc;                                                          
}                                                                     
   5cde8:	4e5e           	unlk %fp                                    <== NOT EXECUTED
                                                                      

0004748c <writev>: ssize_t writev( int fd, const struct iovec *iov, int iovcnt ) {
   4748c:	4e56 ffe4      	linkw %fp,#-28                              
   47490:	202e 0008      	movel %fp@(8),%d0                           
   47494:	48d7 0c7c      	moveml %d2-%d6/%a2-%a3,%sp@                 
   47498:	246e 000c      	moveal %fp@(12),%a2                         
   4749c:	242e 0010      	movel %fp@(16),%d2                          
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
   474a0:	b0b9 0006 0064 	cmpl 60064 <rtems_libio_number_iops>,%d0    
   474a6:	6400 00e8      	bccw 47590 <writev+0x104>                   
  iop = rtems_libio_iop( fd );                                        
   474aa:	2200           	movel %d0,%d1                               
   474ac:	ed88           	lsll #6,%d0                                 
   474ae:	e789           	lsll #3,%d1                                 
   474b0:	2679 0006 18e4 	moveal 618e4 <rtems_libio_iops>,%a3         
   474b6:	9081           	subl %d1,%d0                                
   474b8:	d7c0           	addal %d0,%a3                               
  rtems_libio_check_is_open( iop );                                   
   474ba:	202b 0014      	movel %a3@(20),%d0                          
   474be:	0800 0008      	btst #8,%d0                                 
   474c2:	6700 00cc      	beqw 47590 <writev+0x104>                   
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
   474c6:	44c0           	movew %d0,%ccr                              
   474c8:	6640           	bnes 4750a <writev+0x7e>                    <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Argument validation on IO vector                                
   */                                                                 
  if ( !iov )                                                         
   474ca:	4a8a           	tstl %a2                                    
   474cc:	673c           	beqs 4750a <writev+0x7e>                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
   474ce:	4a82           	tstl %d2                                    
   474d0:	6f38           	bles 4750a <writev+0x7e>                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
   474d2:	0c82 0000 0400 	cmpil #1024,%d2                             
   474d8:	6e30           	bgts 4750a <writev+0x7e>                    <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
   474da:	204a           	moveal %a2,%a0                              
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
   474dc:	4281           	clrl %d1                                    
   474de:	93c9           	subal %a1,%a1                               
   474e0:	7601           	moveq #1,%d3                                
                                                                      
    /*                                                                
     *  iov[v].iov_len cannot be less than 0 because size_t is unsigned.
     *  So we only check for zero.                                    
     */                                                               
    if ( iov[v].iov_base == 0 )                                       
   474e2:	4a90           	tstl %a0@                                   
   474e4:	6724           	beqs 4750a <writev+0x7e>                    <== NEVER TAKEN
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
   474e6:	2028 0004      	movel %a0@(4),%d0                           
      all_zeros = false;                                              
   474ea:	57c4           	seq %d4                                     
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
   474ec:	d089           	addl %a1,%d0                                
   *  this loop does that check as well and sets "all-zero" appropriately.
   *  The variable "all_zero" is used as an early exit point before   
   *  entering the write loop.                                        
   */                                                                 
  all_zeros = true;                                                   
  for ( old=0, total=0, v=0 ; v < iovcnt ; v++ ) {                    
   474ee:	5281           	addql #1,%d1                                
   474f0:	5088           	addql #8,%a0                                
     */                                                               
    if ( iov[v].iov_base == 0 )                                       
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
      all_zeros = false;                                              
   474f2:	c684           	andl %d4,%d3                                
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
   474f4:	b3c0           	cmpal %d0,%a1                               
   474f6:	6e12           	bgts 4750a <writev+0x7e>                    
   474f8:	0c80 0000 7fff 	cmpil #32767,%d0                            
   474fe:	6e0a           	bgts 4750a <writev+0x7e>                    <== NEVER TAKEN
   *  this loop does that check as well and sets "all-zero" appropriately.
   *  The variable "all_zero" is used as an early exit point before   
   *  entering the write loop.                                        
   */                                                                 
  all_zeros = true;                                                   
  for ( old=0, total=0, v=0 ; v < iovcnt ; v++ ) {                    
   47500:	b282           	cmpl %d2,%d1                                
   47502:	6c20           	bges 47524 <writev+0x98>                    
   47504:	2240           	moveal %d0,%a1                              
                                                                      
    /*                                                                
     *  iov[v].iov_len cannot be less than 0 because size_t is unsigned.
     *  So we only check for zero.                                    
     */                                                               
    if ( iov[v].iov_base == 0 )                                       
   47506:	4a90           	tstl %a0@                                   
   47508:	66dc           	bnes 474e6 <writev+0x5a>                    
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
      rtems_set_errno_and_return_minus_one( EINVAL );                 
   4750a:	4eb9 0004 fc5c 	jsr 4fc5c <__errno>                         
   47510:	78ff           	moveq #-1,%d4                               
   47512:	2040           	moveal %d0,%a0                              
   47514:	7016           	moveq #22,%d0                               
   47516:	2080           	movel %d0,%a0@                              
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
   47518:	2004           	movel %d4,%d0                               
   4751a:	4cee 0c7c ffe4 	moveml %fp@(-28),%d2-%d6/%a2-%a3            
   47520:	4e5e           	unlk %fp                                    
   47522:	4e75           	rts                                         
  }                                                                   
                                                                      
  /*                                                                  
   * A writev with all zeros is supposed to have no effect per OpenGroup.
   */                                                                 
  if ( all_zeros == true ) {                                          
   47524:	4a03           	tstb %d3                                    
   47526:	661c           	bnes 47544 <writev+0xb8>                    <== NEVER TAKEN
#include <sys/uio.h>                                                  
                                                                      
#include <rtems/libio_.h>                                             
#include <rtems/seterr.h>                                             
                                                                      
ssize_t writev(                                                       
   47528:	588a           	addql #4,%a2                                
   4752a:	4283           	clrl %d3                                    
   4752c:	4284           	clrl %d4                                    
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the writev().                                       
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
   4752e:	5283           	addql #1,%d3                                
    /* all zero lengths has no effect */                              
    if ( iov[v].iov_len == 0 )                                        
   47530:	2012           	movel %a2@,%d0                              
   47532:	661e           	bnes 47552 <writev+0xc6>                    <== ALWAYS TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the writev().                                       
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
   47534:	508a           	addql #8,%a2                                <== NOT EXECUTED
   47536:	b682           	cmpl %d2,%d3                                <== NOT EXECUTED
   47538:	6cde           	bges 47518 <writev+0x8c>                    <== NOT EXECUTED
    /* all zero lengths has no effect */                              
    if ( iov[v].iov_len == 0 )                                        
   4753a:	2012           	movel %a2@,%d0                              
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the writev().                                       
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
   4753c:	5283           	addql #1,%d3                                
    /* all zero lengths has no effect */                              
    if ( iov[v].iov_len == 0 )                                        
   4753e:	4a80           	tstl %d0                                    
   47540:	67f2           	beqs 47534 <writev+0xa8>                    <== NEVER TAKEN
   47542:	600e           	bras 47552 <writev+0xc6>                    
                                                                      
  /*                                                                  
   * A writev with all zeros is supposed to have no effect per OpenGroup.
   */                                                                 
  if ( all_zeros == true ) {                                          
    return 0;                                                         
   47544:	4284           	clrl %d4                                    
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
   47546:	2004           	movel %d4,%d0                               
   47548:	4cee 0c7c ffe4 	moveml %fp@(-28),%d2-%d6/%a2-%a3            
   4754e:	4e5e           	unlk %fp                                    
   47550:	4e75           	rts                                         
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
    /* all zero lengths has no effect */                              
    if ( iov[v].iov_len == 0 )                                        
      continue;                                                       
                                                                      
    bytes = (*iop->pathinfo.handlers->write_h)(                       
   47552:	206b 0020      	moveal %a3@(32),%a0                         
   47556:	2f00           	movel %d0,%sp@-                             
   47558:	2f2a fffc      	movel %a2@(-4),%sp@-                        
   4755c:	2f0b           	movel %a3,%sp@-                             
   4755e:	2068 000c      	moveal %a0@(12),%a0                         
   47562:	4e90           	jsr %a0@                                    
      iop,                                                            
      iov[v].iov_base,                                                
      iov[v].iov_len                                                  
    );                                                                
                                                                      
    if ( bytes < 0 )                                                  
   47564:	4fef 000c      	lea %sp@(12),%sp                            
   47568:	4a80           	tstl %d0                                    
   4756a:	6d3e           	blts 475aa <writev+0x11e>                   <== NEVER TAKEN
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
   4756c:	6716           	beqs 47584 <writev+0xf8>                    <== NEVER TAKEN
      iop->offset += bytes;                                           
      total       += bytes;                                           
   4756e:	d880           	addl %d0,%d4                                
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
      iop->offset += bytes;                                           
   47570:	2c00           	movel %d0,%d6                               
   47572:	5bc5           	smi %d5                                     
   47574:	49c5           	extbl %d5                                   
   47576:	ddab 0010      	addl %d6,%a3@(16)                           
   4757a:	222b 000c      	movel %a3@(12),%d1                          
   4757e:	d385           	addxl %d5,%d1                               
   47580:	2741 000c      	movel %d1,%a3@(12)                          
      total       += bytes;                                           
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
   47584:	b092           	cmpl %a2@,%d0                               
   47586:	6690           	bnes 47518 <writev+0x8c>                    <== NEVER TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the writev().                                       
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
   47588:	508a           	addql #8,%a2                                
   4758a:	b682           	cmpl %d2,%d3                                
   4758c:	6dac           	blts 4753a <writev+0xae>                    
   4758e:	6088           	bras 47518 <writev+0x8c>                    
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
   47590:	4eb9 0004 fc5c 	jsr 4fc5c <__errno>                         
   47596:	78ff           	moveq #-1,%d4                               
   47598:	7209           	moveq #9,%d1                                
   4759a:	2040           	moveal %d0,%a0                              
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
   4759c:	2004           	movel %d4,%d0                               
   4759e:	4cee 0c7c ffe4 	moveml %fp@(-28),%d2-%d6/%a2-%a3            
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
   475a4:	2081           	movel %d1,%a0@                              
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
   475a6:	4e5e           	unlk %fp                                    
   475a8:	4e75           	rts                                         
      iov[v].iov_base,                                                
      iov[v].iov_len                                                  
    );                                                                
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
   475aa:	78ff           	moveq #-1,%d4                               <== NOT EXECUTED
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
   475ac:	2004           	movel %d4,%d0                               <== NOT EXECUTED
   475ae:	4cee 0c7c ffe4 	moveml %fp@(-28),%d2-%d6/%a2-%a3            <== NOT EXECUTED
   475b4:	4e5e           	unlk %fp                                    <== NOT EXECUTED